prometheus-community/stackdriver_exporter

(0.14.1) https_request_count data does not match the data on GCP

Waizzzzz opened this issue · 1 comments

Hello, today we've noticed that the data that is exported by this exporter doesn't match up with what GCP monitoring shows even if the queries are identical between both environments.

The metric in question is stackdriver_https_lb_rule_loadbalancing_googleapis_com_https_request_count and in Grafana the total value shows to be about 60% less than that is shown in GCP.

The discrepancy is (logically) more noticeable in resources that have a lot more requests going through them.
The full query used in both environments is:

sum by(response_code_class) (stackdriver_https_lb_rule_loadbalancing_googleapis_com_https_request_count{target_proxy_name="_REDACTED_"})