Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 963cf8f

Browse files
authored
chore: remove osm-controller cert issuance metrics (#4113)
Removes metrics store initialization of certificate issuance metrics for the osm-controller. Cert issuance metrics are currently initialized by osm-controller but never updated. Thus, the cert issuance metrics are always zero. Certificate issuance metrics are instead maintained by osm-injector. Signed-off-by: Johnson Shi <[email protected]>
1 parent 8b4dba9 commit 963cf8f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/osm-controller/osm-controller.go

-2
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,6 @@ func startMetricsStore() {
294294
metricsstore.DefaultMetricsStore.ProxyReconnectCount,
295295
metricsstore.DefaultMetricsStore.ProxyConfigUpdateTime,
296296
metricsstore.DefaultMetricsStore.ProxyBroadcastEventCount,
297-
metricsstore.DefaultMetricsStore.CertIssuedCount,
298-
metricsstore.DefaultMetricsStore.CertIssuedTime,
299297
metricsstore.DefaultMetricsStore.ErrCodeCounter,
300298
)
301299
}

0 commit comments

Comments
 (0)