Skip to content

Commit

Permalink
apply suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: rene <[email protected]>
  • Loading branch information
vgonkivs and renaynay authored Jan 10, 2024
1 parent d33e11b commit 65de27a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ type metrics struct {
func newMetrics(headersThreshold time.Duration) (*metrics, error) {
totalSynced, err := meter.Int64ObservableGauge(
"hdr_total_synced_headers",
metric.WithDescription("total synced headers shows how many headers have been synced"),
metric.WithDescription("total synced headers shows how many headers have been synced since runtime"),
)
if err != nil {
return nil, err
}

syncLoopStarted, err := meter.Int64Counter(
"hdr_sync_loop_started",
metric.WithDescription("sync loop started shows that syncing is in progress"),
metric.WithDescription("sync loop started records timestamp of a new sync job"),
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 65de27a

Please sign in to comment.