Skip to content

Error on ingesting samples with different value but same timestamp #2577

Open
@TeslaHan

Description

@TeslaHan

What happened?
Error on ingesting samples with different value but same timestamp

Did you expect to see some different?

How to reproduce it (as minimally and precisely as possible):

Environment
Prometheus version 2.54.1

  • Prometheus Operator version:

    Name: prometheus-operator
    Namespace: monitoring
    CreationTimestamp: Sun, 22 Dec 2024 06:19:57 +0800
    Labels: app.kubernetes.io/component=controller
    app.kubernetes.io/name=prometheus-operator
    app.kubernetes.io/part-of=kube-prometheus
    app.kubernetes.io/version=0.76.2
    Annotations: deployment.kubernetes.io/revision: 1
    Selector: app.kubernetes.io/component=controller,app.kubernetes.io/name=prometheus-operator,app.kubernetes.io/part-of=kube-prometheus
    Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable
    StrategyType: RollingUpdate
    MinReadySeconds: 0
    RollingUpdateStrategy: 25% max unavailable, 25% max surge
    Pod Template:
    Labels: app.kubernetes.io/component=controller
    app.kubernetes.io/name=prometheus-operator
    app.kubernetes.io/part-of=kube-prometheus
    app.kubernetes.io/version=0.76.2
    Annotations: kubectl.kubernetes.io/default-container: prometheus-operator
    Service Account: prometheus-operator
    Containers:
    prometheus-operator:
    Image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/prometheus-operator/prometheus-operator:v0.76.2
    Port: 8080/TCP
    Host Port: 0/TCP
    Args:
    --kubelet-service=kube-system/kubelet
    --prometheus-config-reloader=quay.io/prometheus-operator/prometheus-config-reloader:v0.76.2
    Limits:
    cpu: 200m
    memory: 200Mi
    Requests:
    cpu: 100m
    memory: 100Mi
    Environment:
    GOGC: 30
    Mounts:
    kube-rbac-proxy:
    Image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/quay.io/brancz/kube-rbac-proxy:v0.18.1
    Port: 8443/TCP
    Host Port: 0/TCP
    SeccompProfile: RuntimeDefault
    Args:
    --secure-listen-address=:8443
    --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305
    --upstream=http://127.0.0.1:8080/
    Limits:
    cpu: 20m
    memory: 40Mi
    Requests:
    cpu: 10m
    memory: 20Mi
    Environment:
    Mounts:
    Volumes:
    Node-Selectors: kubernetes.io/os=linux
    Tolerations:
    Conditions:
    Type Status Reason


    Progressing True NewReplicaSetAvailable
    Available True MinimumReplicasAvailable
    OldReplicaSets:
    NewReplicaSet: prometheus-operator-6d98f545f5 (1/1 replicas created)
    Events:

  • Kubernetes version information:

Client Version: v1.31.2
Kustomize Version: v5.4.2
Server Version: v1.31.2

  • Prometheus Logs:
level=warn component="scrape manager" scrape_pool=serviceMonitor/monitoring/kube-state-metrics/0 target=https://172.16.58.240:8443/metrics msg="Error on ingesting samples with different value but same timestamp" num_dropped=5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions