PrometheusNotIngestingSamples rule alerting for type "histogram" #2095
Unanswered
frederiksf
asked this question in
General
Replies: 2 comments 1 reply
-
Wasn't this issue resolved in #2095 ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Author opened both a discussion (#2095) and an issue (#2096). Issue appears unresolved, I'm seeing this behavior as well. Code was added here to create separate {type="float|histogram"} labelled metrics: Current rule @current{main} :: This rule probably should be updated to alert only on the old behavior by adding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Since we move from version 0.10 to version 0.12 (prometheus release 2.41.0) the following alerting rule fires
name: PrometheusNotIngestingSamples
expr: rate(prometheus_tsdb_head_samples_appended_total{job="prometheus-k8s",namespace="monitoring"}[5m]) <= 0
for: 10m
labels:
severity: warning
annotations:
description: Prometheus {{$labels.namespace}}/{{$labels.pod}} is not ingesting samples.
summary: Prometheus is not ingesting samples.
After some research i see that type floating has values > 0 but type histogram is the one which fires the alarm.
What i do not understand is that i have histogram metrics which i can scrape successfull. for example:

In the previous version of prometheus (2.32.1) the was only one metric without the difference between type=count or type=histogram
Does anybody understand what is happening here? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions