Explorar o código

Merge pull request #3798 from mtanda/prometheus_doc_metrics

(prometheus) add explanation about incompatibility of metric find query
Torkel Ödegaard %!s(int64=10) %!d(string=hai) anos
pai
achega
32ffedccda
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      docs/sources/datasources/prometheus.md

+ 2 - 0
docs/sources/datasources/prometheus.md

@@ -51,6 +51,8 @@ Name | Description
 
 
 For details of `metric names` & `label names`, and `label values`, please refer to the [Prometheus documentation](http://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
 For details of `metric names` & `label names`, and `label values`, please refer to the [Prometheus documentation](http://prometheus.io/docs/concepts/data_model/#metric-names-and-labels).
 
 
+> Note: The part of queries is incompatible with the version before 2.6, if you specify like `foo.*`, please change like `metrics(foo.*)`.
+
 You can create a template variable in Grafana and have that variable filled with values from any Prometheus metric exploration query.
 You can create a template variable in Grafana and have that variable filled with values from any Prometheus metric exploration query.
 You can then use this variable in your Prometheus metric queries.
 You can then use this variable in your Prometheus metric queries.