httphandler: remove /version endpoint (#2660)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-10 19:37:24 +02:00
committed by GitHub
co-authored by Claude Fable 5
parent d25d2328f2
commit 55ebc3c09b
3 changed files with 0 additions and 108 deletions
-1
View File
@@ -235,7 +235,6 @@ func run(ctx context.Context, args []string) int {
mux := http.NewServeMux()
mux.Handle("GET /health", httphandler.NewHealthHandler())
mux.Handle("GET /version", httphandler.NewVersionHandler())
mux.Handle("GET "+*metricsPath, httphandler.New(logger, collectors, &httphandler.Options{
DisableExporterMetrics: *disableExporterMetrics,
TimeoutMargin: *timeoutMargin,