From 17ab6642432ed835941e2ca77a1af2ae68f55ee1 Mon Sep 17 00:00:00 2001 From: Stefan Benz Date: Tue, 28 Jan 2020 16:21:09 +0100 Subject: [PATCH] fix(ambassador): fixed portname used in metricscraping for ambassador --- .../applications/ambassador/metrics/servicemonitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/bundle/application/applications/ambassador/metrics/servicemonitor.go b/internal/bundle/application/applications/ambassador/metrics/servicemonitor.go index ab3f50b..0727b11 100644 --- a/internal/bundle/application/applications/ambassador/metrics/servicemonitor.go +++ b/internal/bundle/application/applications/ambassador/metrics/servicemonitor.go @@ -4,7 +4,7 @@ import "github.com/caos/boom/internal/bundle/application/applications/prometheus func GetServicemonitor(monitorlabels map[string]string) *servicemonitor.Config { endpoint := &servicemonitor.ConfigEndpoint{ - Port: "admin", + Port: "ambassador-admin", Path: "/metrics", } labels := map[string]string{"app.kubernetes.io/name": "ambassador"}