VictoriaMetrics/lib/promscrape/discovery/nomad
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
nomad.go lib/promscrape/discovery/nomad: sync nomad_sd_configs fields with the Prometheus implementation 2023-01-09 21:14:48 -08:00
service.go added new consulagent service discovery (#3953) (#4217) 2023-05-04 11:36:21 +02:00
service_test.go lib/promscrape/discovery/nomad: follow-up after 48f371a46c 2023-01-05 18:07:20 -08:00
watch.go sd/nomad: panic in nomad watcher because of nil map (#3784) 2023-02-08 09:43:29 +01:00