ovh / beamium

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

add feature : filter metrics based on labels values #85

Open gregoiremahe opened 6 years ago

gregoiremahe commented 6 years ago

Could we have feature for filtering labels in beamium.yaml file ? i.e. filter ethX and lo devices labels, but not others

Manipulate labels during scraping phase, for example filtering on label value, drop labels, etc

StevenLeRoux commented 6 years ago

Hi Greg.

In the Sink conf area, you can set a "selector: metrics.* ". As I understand your issue. There could be an improvement that would precise :

As a workaround, if you use Noderig, you can already select only interfaces you need :

net-opts: interfaces: # Give a filtering list of interfaces for which you want metrics

  • eth0
  • eth1
gregoiremahe commented 6 years ago

Hi Steven

I'm unfortunately using node_exporter

Further information concerning the improvements :

@PierreZ has the same problematics, he has a label which change on every restart