prometheus/scrape
Ridwan Sharif aee78bdb31 ct: Support CTs in WAL; change sample record; use in PRW 2.0
Fixes https://github.com/prometheus/prometheus/issues/14218 and https://github.com/prometheus/prometheus/issues/14220

Rebased version of https://github.com/prometheus/prometheus/pull/15254 with improvements.

This change does the following:
- Change appender interface to be CT aware (optional CT)
- Add created-timestamp-per-sample feature flag
- Add new sample record used only if CT is appended with the sample.
- Remote Write awareness of CT.

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>

# Conflicts:
#	cmd/prometheus/main.go
#	scrape/helpers_test.go
#	storage/remote/write_handler_test.go
2025-02-28 08:26:04 +00:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
helpers_test.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
manager.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
manager_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
scrape_test.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
target.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
target_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00