Skip to content

Commit b964829

Browse files
committed
add unit
1 parent 877f300 commit b964829

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extra/redisotel/metrics.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ func reportPoolStats(rdb *redis.Client, conf *config) (metric.Registration, erro
166166
waitsDuration, err := conf.meter.Int64ObservableUpDownCounter(
167167
"db.client.connections.waits_duration",
168168
metric.WithDescription("The total time spent for waiting a connection in nanoseconds"),
169+
metric.WithUnit("ns"),
169170
)
170171
if err != nil {
171172
return nil, err

0 commit comments

Comments
 (0)