VictoriaMetrics/lib/promscrape/discovery/nomad
Aliaksandr Valialkin 5b8095a30a
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:04:31 -07:00
..
api.go lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:04:31 -07:00
nomad.go lib/promscrape/discovery/nomad: sync nomad_sd_configs fields with the Prometheus implementation 2023-01-09 21:30:19 -08:00
service.go added new consulagent service discovery (#3953) (#4217) 2023-05-08 23:43:59 -07:00
service_test.go lib/promscrape/discovery/nomad: follow-up after 48f371a46c 2023-01-05 18:09:23 -08:00
watch.go sd/nomad: panic in nomad watcher because of nil map (#3784) 2023-02-08 08:37:02 -08:00