You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/grafana/README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,16 @@ to `global.imageRegistry`. If you were not previously setting `global.image.regi
53
53
is required on upgrade. If you were previously setting `global.image.registry`, you will
54
54
need to instead set `global.imageRegistry`.
55
55
56
+
### To 10.0.0
57
+
58
+
Static alerting resources now support Helm templating. This means that alerting resources loaded from external files (`alerting.*.files`) are now processed by the Helm template engine.
59
+
60
+
If you already use template expressions intended for Alertmanager (for example, `{{ $labels.instance }}`), these must now be escaped to avoid unintended Helm evaluation. To escape them, wrap the braces with an extra layer like this:
61
+
62
+
`{{ "{{" }} $labels.instance {{ "}}" }}`
63
+
64
+
This ensures the expressions are preserved for Alertmanager instead of being rendered by Helm.
65
+
56
66
## Configuration
57
67
58
68
| Parameter | Description | Default |
@@ -681,7 +691,7 @@ The two possibilities for static alerting resource provisioning are:
681
691
* The format of the files is defined in the [Grafana documentation](https://grafana.com/docs/grafana/next/alerting/set-up/provision-alerting-resources/file-provisioning/) on file provisioning.
682
692
* The chart supports importing YAML and JSON files.
683
693
* The filename must be unique, otherwise one volume mount will overwrite the other.
684
-
* In case of inlining, double curly braces that arise from the Grafana configuration format and are not intended as templates for the chart must be escaped.
694
+
* Alerting configurations support Helm templating. Double curly braces that arise from the Grafana configuration format and are not intended as templates for the chart must be escaped.
685
695
* The number of total files under `alerting:` is not limited. Each file will end up as a volume mount in the corresponding provisioning folder of the deployed Grafana instance.
686
696
* The file size for each import is limited by what the function `.Files.Get` can handle, which suffices for most cases.
| distributor.config.log_received_spans | object | `{"enabled":false,"filter_by_status_error":false,"include_all_attributes":false}` | Enable to log every received span to help debug ingestion or calculate span error distributions using the logs |
| distributor.config.max_attribute_bytes | int | `0` | Trace Attribute bytes limit. This is the maximum number of bytes that can be used in a trace.0 for no limit. |
375
376
| distributor.extraArgs | list | `[]` | Additional CLI args for the distributor |
376
377
| distributor.extraContainers | list | `[]` | Containers to add to the distributor pod |
377
378
| distributor.extraEnv | list | `[]` | Environment variables to add to the distributor pods |
@@ -384,6 +385,7 @@ The memcached default args are removed and should be provided manually. The sett
384
385
| distributor.image.repository | string | `nil` | Docker image repository for the distributor image. Overrides `tempo.image.repository` |
385
386
| distributor.image.tag | string | `nil` | Docker image tag for the distributor image. Overrides `tempo.image.tag` |
386
387
| distributor.initContainers | list | `[]` | Init containers to add to the distributor pods |
388
+
| distributor.lifecycle | object | `{}` | Container lifecycle hooks for the distributor |
387
389
| distributor.maxUnavailable | int | `1` | Pod Disruption Budget maxUnavailable |
388
390
| distributor.minReadySeconds | int | `10` | Minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing/terminating |
0 commit comments