prometheus/scrape
Filip Petkovski 2ccea83913
Implement rule evaluations
This commit extends Prometheus with the option to run aggregation rules
during scrape time, before relabeling takes place.

All rules are executed independently for each target in the context of
individual scrapes. Newly calculated samples are
committed to TSDB atomically with all samples from that scrape.

Metric relabeling can also be applied on series recorded from scrape rules.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2025-03-05 13:37:57 +01: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 refactor: use a more straightforward return value (#16070) 2025-02-24 12:25:57 +00:00
manager.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
manager_test.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
rules.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
rules_test.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
scrape.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
scrape_test.go Implement rule evaluations 2025-03-05 13:37:57 +01:00
target.go scrape: Fix metadata in WAL not working for histograms and summaries. 2025-01-15 20:12:38 +00:00
target_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00