aristanetworks / goarista

Fairly general building blocks used in Arista Go code and open-sourced for the benefit of all.
Apache License 2.0
213 stars 68 forks source link

deviceLabels feature doesn't work in ocprometheus #29

Open aned opened 6 years ago

aned commented 6 years ago

I'm trying: ./ocprometheus -addr 10.1.1.1:6042 -username blah -password blah -config sampleconf.yml

Config file: deviceLabels: 10.1.1.1: device_name: xyz

subscriptions:

metrics:

The label device_name never gets added. Tried the same with FQDN - the same issue.