Skip to content

Managed Prometheus does not support _count exemplars #812

@andreasmh

Description

@andreasmh

According to this page: https://cloud.google.com/stackdriver/docs/managed-prometheus/exemplars
There is no support for counter exemplars: "Exemplars attached to counter metrics can't be ingested"

The problem is that we are using spring-boot, and they have added exemplars to other types:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.2-Release-Notes#broader-exemplar-support-in-micrometer-112

as this is available for all supported prometheus version.

This leads to us not being able to scrape any metrics when using managed prometheus.
Port-forwarding to collectors pods, and checking the GUI, shows errors like this:

metric name http_server_requests_seconds_count does not support exemplars

Is there any timeline for when managed prometheus will update to prometheus v 2.43 or later, and start supporting exemplars for other types than histograms?

This is currently preventing us from fully migrating away from our own prometheus to the managed one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions