diff --git a/manager/metrics_collector.go b/manager/metrics_collector.go index f5886f0..9e8070f 100644 --- a/manager/metrics_collector.go +++ b/manager/metrics_collector.go @@ -2,6 +2,7 @@ package manager import ( "context" + "fmt" "io" "log/slog" "net" @@ -39,6 +40,7 @@ func fetchMetricsAndMerge(w io.Writer) { shimMetrics, err := getMetricsOverTTRPC(context.Background(), sockName) if err != nil { slog.Error("getting metrics", "err", err) + fmt.Fprintf(w, "getting metrics error: %s", err) // we still want to read the rest of the sockets continue }