VictoriaMetrics/lib/promscrape/discovery/consul
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
..
agent.go lib/promscrape/discovery/consulagent: substitute metaPrefix with the __meta_consulagent_ plaintext string 2023-05-08 23:40:13 -07:00
agent_test.go added new consulagent service discovery (#3953) (#4217) 2023-05-04 11:36:21 +02:00
api.go lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:03:37 -07:00
consul.go lib/promscrape: adds filter for consul_sd_configs: (#4184) 2023-04-26 19:16:27 +02:00
service_node.go added new consulagent service discovery (#3953) (#4217) 2023-05-04 11:36:21 +02:00
service_node_test.go added new consulagent service discovery (#3953) (#4217) 2023-05-04 11:36:21 +02:00
watch.go docs: clarify docs after 5ee344824f 2023-05-08 16:11:44 -07:00