prometheus-community / stackdriver_exporter

Google Stackdriver Prometheus exporter
Apache License 2.0
256 stars 97 forks source link

Retrieving fails with 400 errors from API #28

Open atombender opened 6 years ago

atombender commented 6 years ago

I'm getting this continuously in the log:

time="2018-05-22T18:37:40Z" level=error msg="Error retrieving Time Series metrics for descriptor `loadbalancing.googleapis.com/https/backend_request_count`: googleapi: Error 400: The provided filter doesn't refer to any known metric., badRequest" source="monitoring_collector.go:176"
time="2018-05-22T18:37:40Z" level=error msg="Error retrieving Time Series metrics for descriptor `loadbalancing.googleapis.com/https/backend_request_bytes_count`: googleapi: Error 400: The provided filter doesn't refer to any known metric., badRequest" source="monitoring_collector.go:176"

Running with the command line:

--monitoring.metrics-type-prefixes loadbalancing.googleapis.com,storage.googleapis.com
--monitoring.metrics-interval 30m
--monitoring.metrics-offset 2m

I'm not sure if it's just a metric that doesn't exist (e.g. an LB without HTTPS?) and that this is ignorable, but it's logged as error.

Version 0.5.1.

atombender commented 6 years ago

Interestingly, I just restarted the pod, and now I'm not getting any error messages.