add '*' to metric prefixes for consistency

This commit is contained in:
Cameron Sparr 2016-03-28 13:36:44 -06:00 committed by Michele Fadda
parent 2ab5099681
commit 0baf60420a
1 changed files with 2 additions and 2 deletions

View File

@ -141,12 +141,12 @@ fields which begin with `time_`.
# Drop all metrics about containers for kubelet # Drop all metrics about containers for kubelet
[[inputs.prometheus]] [[inputs.prometheus]]
urls = ["http://kube-node-1:4194/metrics"] urls = ["http://kube-node-1:4194/metrics"]
namedrop = ["container_"] namedrop = ["container_*"]
# Only store rest client related metrics for kubelet # Only store rest client related metrics for kubelet
[[inputs.prometheus]] [[inputs.prometheus]]
urls = ["http://kube-node-1:4194/metrics"] urls = ["http://kube-node-1:4194/metrics"]
namepass = ["rest_client_"] namepass = ["rest_client_*"]
``` ```
#### Input config: prefix, suffix, and override #### Input config: prefix, suffix, and override