The Prometheus configuration documentation warns that the "node_meta"
parameter for consul_sd_config is going away, so I switched to using the
"filter" parameter, but it doesn't seem to work at all.

>From command line:
curl -s 'http://gis-consul-csg:8500/v1/catalog/nodes' -> returns 559 nodes
curl -s 'http://gis-consul-csg:8500/v1/catalog/nodes?filter=Meta.silo=="mdb";'
-> returns 36 nodes

Now in Prometheus when I use:

  consul_sd_configs:
  - server: gis-consul-csg:8500
    filter: 'Meta.silo=="mdb"'


I get 559 targets, as if the "filter" is empty.  What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/prometheus-users/CACDZGiJiVPd5Us325UDZQ7FjMgs7iM%2BZRbC6Ae_FwO2aaFJKLA%40mail.gmail.com.

Reply via email to