Change prometheus doc to glob match
This commit is contained in:
parent
8cc72368ca
commit
a585119a67
|
@ -22,7 +22,7 @@ to filter and some tags
|
||||||
# An array of urls to scrape metrics from.
|
# An array of urls to scrape metrics from.
|
||||||
urls = ["http://my-kube-apiserver:8080/metrics"]
|
urls = ["http://my-kube-apiserver:8080/metrics"]
|
||||||
# Get only metrics with "apiserver_" string is in metric name
|
# Get only metrics with "apiserver_" string is in metric name
|
||||||
namepass = ["apiserver_"]
|
namepass = ["apiserver_*"]
|
||||||
# Add a metric name prefix
|
# Add a metric name prefix
|
||||||
name_prefix = "k8s_"
|
name_prefix = "k8s_"
|
||||||
# Add tags to be able to make beautiful dashboards
|
# Add tags to be able to make beautiful dashboards
|
||||||
|
|
Loading…
Reference in New Issue