From be9abca731467a106e93bbae5568afff9b4ee309 Mon Sep 17 00:00:00 2001 From: Nicolas Ontiveros Date: Wed, 12 Jul 2023 14:50:07 -0700 Subject: [PATCH] add loggiing --- pkg/monitor/cluster/maintenance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/monitor/cluster/maintenance.go b/pkg/monitor/cluster/maintenance.go index 117ae03a7b3..8e632540647 100644 --- a/pkg/monitor/cluster/maintenance.go +++ b/pkg/monitor/cluster/maintenance.go @@ -5,6 +5,7 @@ package cluster import ( "context" + "time" "github.com/Azure/ARO-RP/pkg/api" ) @@ -59,6 +60,7 @@ func (mon *Monitor) emitPucmState(ctx context.Context) error { mon.emitGauge("cluster.maintenance.pucm", 1, map[string]string{ "state": state.String(), }) + mon.log.Infof("Cluster %s with PUCM state %s and time %s", mon.oc.Name, state.String(), time.Now().String()) return nil }