Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-prometheus-stack] Many warning/error messages "Error on ingesting out-of-order samples" and "Error on ingesting samples with different value but same timestamp" after updating to new chart version. #5225

Open
levirosal opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@levirosal
Copy link

levirosal commented Jan 21, 2025

Describe the bug a clear and concise description of what the bug is.

I'm installing the new versions of the kube-prometheus-stack chart and I'm getting several warning messages about metrics with the same timestamp and errors about and error messages about Error on ingesting out-of-order samples. I did some tests and this only occurs in versions after the trackTimestampsStaleness flag was enabled. BTW in the PR that was added, these errors and warnings were mentioned.

Do you have an answer if this is a bug or if some configuration needs to be done in the metrics exporters / prometheus to work with this flag?

time=2025-01-21T04:52:14.768Z level=WARN source=scrape.go:1885 msg="Error on ingesting samples with different value but same timestamp" component="scrape manager" scrape_pool=serviceMonitor/observability-system/cloudwatch-exporter-prometheus-cloudwatch-exporter/0 target=http://172.30.9.19:9106/metrics num_dropped=13

What's your helm version?

3.1.1

What's your kubectl version?

Server Version: 1.31

Which chart?

kube-prometheus-stack

What's the chart version?

=66.6.0

What happened?

No response

What you expected to happen?

No response

How to reproduce it?

No response

Enter the changed values of values.yaml?

kubelet:
  enabled: true
  namespace: kube-system
  serviceMonitor:
    trackTimestampsStaleness: false
    cAdvisorRelabelings:
      - action: replace
        sourceLabels: [__metrics_path__]
        targetLabel: metrics_path
      - targetLabel: cluster
        replacement: ${CLUSTER_NAME}
      - targetLabel: region
        replacement: ${AWS_REGION}
    probesRelabelings:
      - action: replace
        sourceLabels: [__metrics_path__]
        targetLabel: metrics_path
      - targetLabel: cluster
        replacement: ${CLUSTER_NAME}
      - targetLabel: region
        replacement: ${AWS_REGION}
    relabelings:
      - action: replace
        sourceLabels: [__metrics_path__]
        targetLabel: metrics_path
      - targetLabel: cluster
        replacement: ${CLUSTER_NAME}
      - targetLabel: region
        replacement: ${AWS_REGION}

Enter the command that you execute and failing/misfunctioning.

N/A

Anything else we need to know?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant