prometheus/scrape
Łukasz Mierzwa f0a26266c0 Add scrape_sample_limit metric
This adds a new metric exposing per target scrape sample_limit value. Metrics are only exposed if extra-scrape-metrics feature flag is enabled.
scrape_sample_limit will make it easy to monitor and alert on targets getting close to configured sample_limit, which is important given than exceeding sample_limit results in the entire scrape results being rejected.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2021-09-03 15:42:41 +01:00
..
testdata Use SAN in test certificate (#7789) 2020-08-12 23:15:38 +02:00
helpers_test.go Add circular in-memory exemplars storage (#6635) 2021-03-16 15:17:45 +05:30
manager.go Add scrape_timeout_seconds metric 2021-09-02 12:15:35 +02:00
manager_test.go Add scrape_timeout_seconds metric 2021-09-02 12:15:35 +02:00
scrape.go Add scrape_sample_limit metric 2021-09-03 15:42:41 +01:00
scrape_test.go Add scrape_sample_limit metric 2021-09-03 15:42:41 +01:00
target.go Configure Scrape Interval and Timeout Via Relabeling (#8911) 2021-08-31 17:37:32 +02:00
target_test.go Configure Scrape Interval and Timeout Via Relabeling (#8911) 2021-08-31 17:37:32 +02:00