VictoriaMetrics/lib/promscrape/discovery/eureka
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_test.go Adds eureka service discovery (#913) 2020-11-20 14:02:13 +02:00
api.go lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:04:31 -07:00
eureka_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
eureka.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00