prometheus/scrape
Ridwan Sharif 179499523b storage: add new interface to append with CT
This change does the following:
- Add an interface to append a sample with CT
- Update headAppender and initAppender to implement AppendWithCT
- Update the RefSample to include CT
- Update the scrape loop to add the CT to samples when CT is enabled

This change doesn't update the remote storage wlog watcher to make use
of the new CT feild in the RefSample, but that can be done in a
following PR.

We should compare using benchmarks how this compares to adding the CT to
the metadata (which also goes in the WAL)

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2024-10-31 19:40:10 +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 TSDB: Fix some edge cases when OOO is enabled (#14710) 2024-10-23 17:34:28 +02:00
manager.go Rename convert_classic_histograms to convert_classic_histograms_to_nhcb 2024-10-21 13:22:58 +02:00
manager_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go storage: add new interface to append with CT 2024-10-31 19:40:10 +00:00
scrape_test.go TSDB: Fix some edge cases when OOO is enabled (#14710) 2024-10-23 17:34:28 +02:00
target.go Remove no-default-scrape-port featureFlag 2024-09-25 10:13:19 -05:00
target_test.go Remove no-default-scrape-port featureFlag 2024-09-25 10:13:19 -05:00