VictoriaMetrics/lib/promscrape/discovery/dockerswarm
Aliaksandr Valialkin 86394b4179
lib/promscrape: optimize discoveryutils.SanitizeLabelName()
Cache sanitized label names and return them next time.
This reduces the number of allocations and speeds up the SanitizeLabelName()
function for common case when the number of unique label names is smaller than 100k
2022-08-27 00:18:19 +03:00
..
api.go lib/promscrape: split docker and dockerswarm service discovery code bases, since they have very little in common 2021-06-25 13:22:16 +03:00
api_test.go lib/promscrape: split docker and dockerswarm service discovery code bases, since they have very little in common 2021-06-25 13:22:16 +03:00
dockerswarm.go lib/promscrape: update links to sd_configs from Prometheus site to https://docs.victoriametrics.com/sd_configs.html 2022-08-15 01:40:48 +03:00
network.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00
network_test.go lib/promscrape: split docker and dockerswarm service discovery code bases, since they have very little in common 2021-06-25 13:22:16 +03:00
nodes.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00
nodes_test.go lib/promscrape: split docker and dockerswarm service discovery code bases, since they have very little in common 2021-06-25 13:22:16 +03:00
services.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00
services_test.go lib/promscrape: split docker and dockerswarm service discovery code bases, since they have very little in common 2021-06-25 13:22:16 +03:00
tasks.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00
tasks_test.go lib/promscrape/discovery/dockerswarm: properly set __meta_dockerswarm_container_label_* labels instead of __meta_dockerswarm_task_label_* labels 2022-08-05 16:20:29 +03:00