Closed castlemilk closed 4 years ago
Hi, the --include flag is still supported.
In https://github.com/Stackdriver/stackdriver-prometheus-sidecar/blob/master/cmd/stackdriver-prometheus-sidecar/main.go, there's:
a.Flag("include", "PromQL metric and label matcher which must pass for a series to be forwarded to Stackdriver. If repeated, the series must pass any of the filter sets to be forwarded.").
StringsVar(&cfg.Filtersets)
When I run stackdriver-prometheus-sidecar --help
, I see:
--include=INCLUDE ... PromQL metric and label matcher which must pass for a series to be forwarded to
Stackdriver. If repeated, the series must pass any of the filter sets to be
forwarded.
Running
go get github.com/Stackdriver/stackdriver-prometheus-sidecar/...
fetches an unknown version of the binary. This is indicated by runningstackdriver-prometheus-sidecar --version
, which returns:When running
--help
we have the following output:note that there's no flag for
--include
, which is still references in the mainREADME.md
for the repo. Has this capability been depreciated?