Open laurentiuspurba opened 4 years ago
The documentation on the ReadMe for filters is incorrect and results in parsing errors. To reference a metric by name you must use this format, and do not include the extra quotes shown on the ReadMe example:
For example:
--include='{__name__="http_requests_total"}'
Should be:
--include={__name__="http_requests_total"}
Or you will get err="cannot parse --include flag
I am having issue using
include=
filter.Using the following filter, no data was sent to Stackdriver
The log that I see:
I was able to get data sent to Stackdriver if I use only the following:
--include={__name__=~\".+\"}
--include={job__=~\".+\"}
--include={__name__=~\"container_network_transmit_packets_total\"}
--include={__name__=~\"node_exporter_build_info\"}
Any help is appreciated.
Thank you,