Nomon / nomad-exporter

Nomad exporter for prometheus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: add datacenter and region labels

itatabitovski opened this issue · comments

It would be nice to have datacenter and region labels to the running allocations.

Good idea, I had no need for these myself as I added them via relabel configs from the __consul_meta_dc info from the prometheus consul discovery.

Yes that is how I solved it for the datacenter, but it doesn't work for a region unless you name your datacenters something like "region-dc".

I will try to make a PR.