VictoriaMetrics/lib/promscrape/discovery/dockerswarm
Aliaksandr Valialkin 8a07621a0c
lib/promscrape: disable support for service discovery and metrics scrape via http2
Reasons for disabling http2:

- http2 is used very rarely comparing to http for Prometheus metrics exposition and service discovery
- http2 is much harder to debug than http
- http2 has very bad security record because of its complexity - see https://portswigger.net/research/http2

VictoriaMetrics components are compiled with nethttpomithttp2 tag because of these issues.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4283
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4274

This is a follow-up for 72c3cd47eb
2023-07-06 16:03:37 -07:00
..
api.go lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:03:37 -07:00
api_test.go lib/promscrape/discovery/dockerswarm: fix query encoding of filters (#3586) 2023-01-05 03:34:25 -08:00
dockerswarm.go lib/promscrape: follow-up for 8537533beb 2023-01-11 22:54:18 -08:00
network.go lib/promscrape/discovery/dockerswarm: fix discovery filters being applied to all objects (#3632) 2023-01-11 22:50:34 -08:00
network_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
nodes.go lib/promscrape/discovery: missing changes after b4ad3a3b4c 2023-01-11 23:02:45 -08:00
nodes_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
services.go lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:51:51 -08:00
services_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
tasks.go lib/promscrape/discovery: add a comment explaining why duplicates are removed from the generated target labels 2023-02-22 17:51:51 -08:00
tasks_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00