Skip to content

Commit

Permalink
Fix missing prefix of tsdb_wal_* metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
grobie committed Nov 8, 2017
1 parent 706602d commit 6027af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wal.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ func newWalMetrics(wal *SegmentWAL, r prometheus.Registerer) *walMetrics {
m := &walMetrics{}

m.fsyncDuration = prometheus.NewSummary(prometheus.SummaryOpts{
Name: "tsdb_wal_fsync_duration_seconds",
Name: "prometheus_tsdb_wal_fsync_duration_seconds",
Help: "Duration of WAL fsync.",
})
m.corruptions = prometheus.NewCounter(prometheus.CounterOpts{
Name: "tsdb_wal_corruptions_total",
Name: "prometheus_tsdb_wal_corruptions_total",
Help: "Total number of WAL corruptions.",
})

Expand Down

0 comments on commit 6027af9

Please sign in to comment.