Skip to content

Commit

Permalink
syncer stats
Browse files Browse the repository at this point in the history
  • Loading branch information
ettec committed Nov 14, 2024
1 parent 24389a8 commit 53d57ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/services/registrysyncer/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ type syncerMetricLabeler struct {
}

func newSyncerMetricLabeler() (*syncerMetricLabeler, error) {
remoteRegistrySyncFailureCounter, err := beholder.GetMeter().Int64Counter("RemoteRegistrySyncFailure")
remoteRegistrySyncFailureCounter, err := beholder.GetMeter().Int64Counter("platform_registrysyncer_sync_failures")
if err != nil {
return nil, fmt.Errorf("failed to register sync failure counter: %w", err)
}

launcherFailureCounter, err := beholder.GetMeter().Int64Counter("LauncherFailureCounter")
launcherFailureCounter, err := beholder.GetMeter().Int64Counter("platform_registrysyncer_launch_failures")
if err != nil {
return nil, fmt.Errorf("failed to register launcher failure counter: %w", err)
}
Expand Down

0 comments on commit 53d57ce

Please sign in to comment.