VictoriaMetrics/lib/promrelabel
Aliaksandr Valialkin 45385a5dc6
lib/promscrape: optimize getScrapeWork() function
Reduce the number of memory allocations in this function. This improves its performance by up to 50%.
This should improve service discovery speed when big number of potential targets with big number of meta-labels
are generated by service discovery.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2270
2022-04-20 15:34:18 +03:00
..
testdata lib/promrelabel: add keep_metrics and drop_metrics actions to relabeling rules 2021-09-09 16:25:09 +03:00
config.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
config_test.go all: typo fix: unexected -> unexpected 2021-12-20 17:40:13 +02:00
if_expression.go lib/promscrape: Enable filters for endpoint and labels (#2466) 2022-04-19 18:27:44 +03:00
if_expression_test.go lib/promscrape: Enable filters for endpoint and labels (#2466) 2022-04-19 18:27:44 +03:00
relabel.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
relabel_test.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
relabel_timing_test.go app/{vmagent,vminsert}: follow-up after 2fe045e2a4 2021-06-04 20:33:22 +03:00
sort.go lib/promscrape: optimize getScrapeWork() function 2022-04-20 15:34:18 +03:00
sort_test.go app/vmagent: initial implementation for vmagent 2020-02-23 17:31:54 +02:00