prometheus/tsdb/agent
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
..
db.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
db_test.go ct: Support CTs in WAL; change sample record; use in PRW 2.0 2025-02-28 08:26:04 +00:00
series.go agent: make the global hash lookup table smaller 2023-12-31 10:23:43 +00:00
series_test.go Enable perfsprint linter and fix up code 2024-05-15 17:51:05 +03:00