Skip to content

Commit

Permalink
Merge pull request #76 from grafana/rooneyshuman/update-metric-collec…
Browse files Browse the repository at this point in the history
…tion

Collect duration in ms
  • Loading branch information
rooneyshuman authored Dec 5, 2023
2 parents 7b20955 + 7ae3000 commit 6dd7502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/unused-exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (e *exporter) pollProvider(p unused.Provider) {
}

addMetric(e.info, 1)
addMetric(e.dur, dur.Microseconds())
addMetric(e.dur, dur.Milliseconds())
addMetric(e.suc, success)

for ns, di := range diskInfoByNamespace {
Expand Down

0 comments on commit 6dd7502

Please sign in to comment.