Skip to content

fix(scrape): skip native histogram series if ingestion is disabled#16218

Merged
krajorama merged 1 commit intoprometheus:mainfrom
krajorama:fix-calling-appendexemplar-without-sample
Mar 17, 2025
Merged

fix(scrape): skip native histogram series if ingestion is disabled#16218
krajorama merged 1 commit intoprometheus:mainfrom
krajorama:fix-calling-appendexemplar-without-sample

Conversation

@krajorama
Copy link
Member

No need to validate, track, add sample, add exemplar if series isn't going to be ingested. Basically this is the same as if this series was dropped by relabelling.

Fixes #16217

No need to validate, track, add sample, add exemplar if series isn't
going to be ingested. Basically this is the same as if this series was
dropped by relabelling.

Fixes prometheus#16217

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@krajorama krajorama force-pushed the fix-calling-appendexemplar-without-sample branch from 8ffb46d to fec2f26 Compare March 17, 2025 13:48
@krajorama krajorama marked this pull request as ready for review March 17, 2025 13:49
@krajorama krajorama requested review from beorn7 and bwplotka March 17, 2025 14:06
@krajorama krajorama merged commit 05e48fe into prometheus:main Mar 17, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scrape: do not AppendExemplar for native histogram if ingestion is disabled

3 participants