-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
receiver/prometheus: emit staleness markers on missing metrics after scrapes #3413
Labels
Comments
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 10, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 10, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 10, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
The PR to finish things is #3423 but unfortunately Github doesn't stack/link changes so that PR has code from this one, but after this one is merged then it'll get to its normal size. |
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 11, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 14, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 15, 2021
Implements a simple store that will be used to record stale metrics; those that are NOT present in the current scrape, but were in the prior scrape. This logic will then be attached to our receiver logic to then complete the mechanism and then issue stale markers. Updates open-telemetry#3413 Updates open-telemetry#2961
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 16, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 17, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 17, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jun 22, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jul 6, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jul 8, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
odeke-em
added a commit
to orijtech/opentelemetry-collector
that referenced
this issue
Jul 8, 2021
…red metrics Adds the staleness store to the metricsBuilder and transaction, to track when metrics disappear between scrapes. Fixes open-telemetry#2961 Fixes open-telemetry#3413
tigrannajaryan
pushed a commit
that referenced
this issue
Jul 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Coming here from #2961 and then from the Prometheus RemoteWrite exporter test failures, which set up a Prometheus receiver and then request a scrape then transmit the retrieved scrapes to the pipeline then eventually to the remote write endpoint. When metrics disappear, we need to emit staleness markers aka a special NaN per https://github.com/prometheus/prometheus/blob/39d79c3cfb86c47d6bc06a9e9317af582f1833bb/pkg/value/value.go#L28 of value whose bits from float64 have a value of
StaleNaN uint64 = 0x7ff0000000000002
The text was updated successfully, but these errors were encountered: