diff options
Diffstat (limited to 'doc/operations/metrics/dashboards/variables.md')
-rw-r--r-- | doc/operations/metrics/dashboards/variables.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/operations/metrics/dashboards/variables.md b/doc/operations/metrics/dashboards/variables.md index 5cd4dcdfa17..2881c084115 100644 --- a/doc/operations/metrics/dashboards/variables.md +++ b/doc/operations/metrics/dashboards/variables.md @@ -38,7 +38,7 @@ must be lowercase. The supported variables are: - `ci_environment_name` - `__range` -### environment_filter +### `environment_filter` `environment_filter` is automatically expanded to `container_name!="POD",environment="ENVIRONMENT_NAME"` where `ENVIRONMENT_NAME` is the name of the current environment. @@ -46,7 +46,7 @@ where `ENVIRONMENT_NAME` is the name of the current environment. For example, a Prometheus query like `container_memory_usage_bytes{ {{environment_filter}} }` becomes `container_memory_usage_bytes{ container_name!="POD",environment="production" }`. -### __range +### `__range` The `__range` variable is useful in Prometheus [range vector selectors](https://prometheus.io/docs/prometheus/latest/querying/basics/#range-vector-selectors). |