ovh / beamium

Prometheus to Warp10 metrics forwarder
Other
84 stars 21 forks source link

beamium doesn't append scraper-specific labels #72

Closed babolivier closed 6 years ago

babolivier commented 6 years ago

Part of our scrapers config looks like this:

  exporter:
    url: http://exporter:9238/metrics
    period: 60000
    format: prometheus
    labels:
      cluster: cluster1

Because not all nodes belong to the same cluster, we specify their cluster in a label because that way we can easily distinguish a cluster from another in Warp10. However, none of the metrics sent to Warp10 contain the cluster label.

babolivier commented 6 years ago

Ahem. I didn't look into that enough, and it's actually part of the latest beamium release we haven't deployed yet. Sorry for the disturbance.