Skip to content

[Bug]: Prometheus v2.52+ fails to scrape metrics: Error on ingesting samples with different value but same timestamp #6108

@ari-becker

Description

@ari-becker

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

No response

Version

1.24.0

What version of Kubernetes are you using?

1.30

What is your Kubernetes environment?

Cloud: Google GKE

How did you install the operator?

YAML manifest

What happened?

I enabled the podMonitor and got a bug similar to prometheus/prometheus#14089 .

I was able to workaround the issue by creating a PodMonitor manually (not the one created by the operator) and setting honorTimestamps: false.

It seems that Prometheus thinks that the metrics are reporting the same timestamp and then it (v2.52+) refuses to accept the scrape.

Cluster resource

N/A

Relevant log output

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions