graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03493
wildcard matches in target
so i think one of the most powerful mechanisms available in graphite/carbon is the ability to do a wildcard search for metrics - such that if i have a metric name of the format <cluster>.<machine>.<variable>, i can do searches like:
batch1.*.cpu
*.host1.cpu
etc. etc.
however, as i'm monitoring stuff cross domain, i often put the FQDN in for the hostnames - the problem is that not all domain names have the same number of subdomains:
batch1.com.domain1.machine1.cpu
batch1.edu.domain2.subdomain1.machine1.cpu
my question is whether there is a way i can do a wildcard search on the hostnames such that batch1.*.cpu would still return both of the machines in the above example?
if not, would anyone be interested in this functionality? something like a ** for example.
(i do not particular want to replace the fqdn with s/\./_/g, as then i would also loose the ability to do wildcard searches on the parts of the fqdn)