Skip to content

Commit

Permalink
perf: parallelize eviction and expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Jul 12, 2023
1 parent c57d563 commit 510b3ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/storer/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,16 @@ func newMetrics() metrics {
prometheus.CounterOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Name: "expired_batch_count",
Help: "Number of batches expired, that were processed.",
Name: "expiry_trigger_count",
Help: "Number of batches expiry triggers.",
},
),
ExpiryRunsCount: prometheus.NewCounter(
prometheus.CounterOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Name: "expired_batch_count",
Help: "Number of batches expired, that were processed.",
Name: "expiry_run_count",
Help: "Number of times the expiry worker was fired.",
},
),
}
Expand Down

0 comments on commit 510b3ec

Please sign in to comment.