VictoriaMetrics/lib/promscrape
Roman Khavronenko 3ed00ed592
lib/promscrape: respect 0 value for series_limit param (#5663)
* lib/promscrape: respect `0` value for `series_limit` param

Respect `0` value for `series_limit` param in `scrape_config`
even if global limit was set via `-promscrape.seriesLimitPerTarget`.
Previously, `0` value will be ignored in favor of `-promscrape.seriesLimitPerTarget`.

This behavior aligns with possibility to override `series_limit` value via
relabeling with `__series_limit__` label.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* Update docs/CHANGELOG.md

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2024-01-23 13:18:17 +02:00
..
discovery lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-08-12 13:30:25 -07:00
discoveryutils lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-08-12 13:30:25 -07:00
testdata lib/promscrape: fix errors in test config 2022-02-08 19:56:37 +02:00
client.go lib/promscrape: follow-up for 43e104a83f 2023-02-24 12:26:13 -08:00
config.go lib/promscrape: respect 0 value for series_limit param (#5663) 2024-01-23 13:18:17 +02:00
config_test.go lib/promscrape: respect 0 value for series_limit param (#5663) 2024-01-23 13:18:17 +02:00
config_timing_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
relabel_debug.go lib/promrelabel: pass query args via query string at /metric-relabel-debug and /target-relabel-debug pages if their length doesnt exceed 1000 2023-01-05 16:48:04 -08:00
scraper.go fixed vm_promscrape_config_last_reload_successful metric value recovery after successful reloading with unchanged content (#4260) (#4268) 2023-05-09 22:26:35 -07:00
scrapework.go lib/promscrape: add a comment explaining the logic behind adding exported_ perfix to metric names 2023-02-01 12:00:52 -08:00
scrapework_test.go lib/promscrape: fix honor_labels behavior (#3739) 2023-02-01 11:21:44 -08:00
scrapework_timing_test.go lib/promscrape: add exported_ prefix to metric names exported by scrape targets if they clash with automatically generated metrics 2022-11-28 18:37:09 -08:00
statconn.go lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
targetstatus.go lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:26:49 -08:00
targetstatus.qtpl lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:26:49 -08:00
targetstatus.qtpl.go lib/promscrape: pre-fetch metric_relabel_configs rules when debugging metric relabeling for a particular target 2023-01-05 03:26:49 -08:00