You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used opentelemetry-collector-contrib:0.118.0 to collect metrics from the RabbitMQ Prometheus endpoint and export them to the Google Cloud Monitoring API. However, after importing, the actual values of some metrics do not match the exported values in Metrics Explorer in Cloud Monitoring.
Pinging code owners for receiver/prometheus: @Aneurysm9@dashpole. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.
Pinging code owners for exporter/googlecloud: @aabmass@dashpole@jsuereth@punya@psx95. See Adding Labels via Comments if you do not have permissions to add labels yourself. For example, comment '/label priority:p2 -needs-triaged' to set the priority and remove the needs-triaged label.
I know this documentation is for google managed prometheus, but in this case it applies to the googlecloud exporter as well, and does a good job of explaining why that happens. In short, Google Cloud Monitoring requires start timestamps. The Prometheus ecosystem is in the process of adding start timestams, but most existing Prometheus endpoints don't include them today. To address this, the googlecloud exporter will drop the first point that doesn't have a start timestamp, and use that point's timestamp as the start timestamp for all future points. To ensure rates are correct, it "subtracts" the value of the initial point from all future points as well.
I'm working on factoring this logic out into its own processor to make it more transparent in the collector: #37186
Describe the bug
I used opentelemetry-collector-contrib:0.118.0 to collect metrics from the RabbitMQ Prometheus endpoint and export them to the Google Cloud Monitoring API. However, after importing, the actual values of some metrics do not match the exported values in Metrics Explorer in Cloud Monitoring.
Steps to reproduce
What did you expect to see?
What did you see instead?
What version did you use?
opentelemetry-collector-contrib:0.118.0
What config did you use?
otel-collector-config.yaml Deployment.yamlEnvironment
I used Google Kubernetes Engine for deploy collector with above mentioned docker image.
System Information
The text was updated successfully, but these errors were encountered: