Added
- Added
sampleRateLimitoption to Prometheus server configuration.
It limits the number of samples Prometheus reads per second to process
queries sent by pint. It requires query statistics
to be enabled. - Added
pint_prometheus_sample_rate_limitandpint_prometheus_query_samples_total
metrics for thesampleRateLimitoption.
Fixed
promql/ratecheck now reportsincrease()calls on non-counter metrics
and validates the time window passed toincrease(), same as forrate()
andirate()- #1989.