Skip to content

Commit

Permalink
Update logs in metrics collection
Browse files Browse the repository at this point in the history
  • Loading branch information
sgayangi committed Mar 18, 2024
1 parent d48e51a commit 55b639b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapter/internal/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func InitOperator(metricsConfig config.Metrics) {

// Register the metrics collector
if metricsConfig.Enabled && strings.EqualFold(metricsConfig.Type, metrics.PrometheusMetricType) {
loggers.LoggerAPKOperator.Info("Starting Prometheus Metrics Server ....")
loggers.LoggerAPKOperator.Info("Registering Prometheus metrics collector.")
go metrics.RegisterPrometheusCollector()
}

Expand Down
2 changes: 1 addition & 1 deletion common-controller/internal/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func InitOperator(metricsConfig config.Metrics) {

// Register the metrics collector
if metricsConfig.Enabled && strings.EqualFold(metricsConfig.Type, metrics.PrometheusMetricType) {
loggers.LoggerAPKOperator.Info("Starting Prometheus Metrics Server ....")
loggers.LoggerAPKOperator.Info("Registering Prometheus metrics collector.")
go metrics.RegisterPrometheusCollector()
}

Expand Down

0 comments on commit 55b639b

Please sign in to comment.