Skip to content

Commit

Permalink
chore: metrics clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
istae committed Oct 2, 2023
1 parent c5af787 commit 6290300
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions pkg/pusher/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,6 @@ func newMetrics() metrics {
Name: "total_errors",
Help: "Total errors encountered.",
}),
MarkAndSweepTime: prometheus.NewHistogram(prometheus.HistogramOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Name: "mark_and_sweep_time",
Help: "Histogram of time spent in mark and sweep.",
Buckets: []float64{0.1, 0.25, 0.5, 1, 2.5, 5, 10, 60},
}),
SyncTime: prometheus.NewHistogram(prometheus.HistogramOpts{
Namespace: m.Namespace,
Subsystem: subsystem,
Expand Down
2 changes: 0 additions & 2 deletions pkg/pushsync/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func newMetrics() metrics {
Subsystem: subsystem,
Name: "total_handler_time",
Help: "Histogram for time taken for the handler.",
Buckets: []float64{.5, 1, 2, 5, 10, 15, 30, 60, 120},
}, []string{"status"},
),
PushToPeerTime: *prometheus.NewHistogramVec(
Expand All @@ -117,7 +116,6 @@ func newMetrics() metrics {
Subsystem: subsystem,
Name: "push_peer_time",
Help: "Histogram for time taken to push a chunk to a peer.",
Buckets: []float64{.5, 1, 2, 5, 10, 15, 30, 60, 120},
}, []string{"status"},
),
}
Expand Down

0 comments on commit 6290300

Please sign in to comment.