VictoriaMetrics/lib/promauth
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
..
testdata basic OAuth2 support for remoteWrite and scrape targets (#1316) 2021-05-22 16:20:18 +03:00
config.go lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:03:37 -07:00
config_test.go chore: Use http constants to replace numbers (#3846) 2023-02-22 18:53:05 -08:00
util.go app: allow specifying http and https urls in the following command-line flags 2021-12-03 00:10:02 +02:00