prometheus/scrape
Ridwan Sharif 8bcf91c370 scrape: clear synthesis state on failure and fix histogram copy
- Clear stCache state in scrape loop when append fails for existing series.
- Copy float histogram before storing in cache to avoid mutation.
- Add test for state mutation on OOO failure.
- Update docs to reflect behavior on failure.

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go Remove copyright date from headers (#17785) 2026-01-05 13:46:21 +01:00
helpers_test.go discovery, scrape: Use backoff interval for throttling discovery updates; add DiscoveryReloadOnStartup option for short-lived environments (#18187) 2026-04-03 11:01:49 +01:00
manager.go chore: address PR comments 2026-05-14 10:28:11 +01:00
manager_test.go discovery, scrape: Use backoff interval for throttling discovery updates; add DiscoveryReloadOnStartup option for short-lived environments (#18187) 2026-04-03 11:01:49 +01:00
metrics.go Add scrape commit and total duration metrics (#17665) 2026-01-13 14:07:27 -03:00
scrape.go chore: add test to make sure staleness tracking is off when ref==0 2026-05-14 10:28:11 +01:00
scrape_append_v2.go scrape: clear synthesis state on failure and fix histogram copy 2026-05-14 10:28:11 +01:00
scrape_test.go scrape: clear synthesis state on failure and fix histogram copy 2026-05-14 10:28:11 +01:00
st_synthesis.go scrape: clear synthesis state on failure and fix histogram copy 2026-05-14 10:28:11 +01:00
st_synthesis_test.go chore: address PR comments v2 2026-05-14 10:28:11 +01:00
target.go Merge pull request #17867 from prometheus/bwplotka/a2-scrape-1 2026-01-21 08:21:56 +00:00
target_test.go Merge pull request #17867 from prometheus/bwplotka/a2-scrape-1 2026-01-21 08:21:56 +00:00