VictoriaMetrics/lib/promrelabel
Aliaksandr Valialkin 3d0549c982
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:37:00 +03:00
..
testdata lib/promrelabel: add keep_metrics and drop_metrics actions to relabeling rules 2021-09-09 16:18:21 +03:00
config.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:27:26 +02:00
config_test.go all: typo fix: unexected -> unexpected 2021-12-20 17:39:52 +02:00
if_expression.go lib/promscrape: Enable filters for endpoint and labels (#2466) 2022-04-19 18:26:21 +03:00
if_expression_test.go lib/promscrape: Enable filters for endpoint and labels (#2466) 2022-04-19 18:26:21 +03:00
relabel.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:27:26 +02:00
relabel_test.go lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:27:26 +02:00
relabel_timing_test.go app/{vmagent,vminsert}: follow-up after 2fe045e2a4 2021-06-04 20:27:58 +03:00
sort.go lib/promscrape: optimize getScrapeWork() function 2022-04-20 15:37:00 +03:00
sort_test.go app/vmagent: initial implementation for vmagent 2020-02-23 13:36:03 +02:00