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?