Skip to content

Commit

Permalink
[redis] Update metric names to conform to #5837
Browse files Browse the repository at this point in the history
  • Loading branch information
punya authored Oct 26, 2021
1 parent 752067e commit 536f226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions receiver/redisreceiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ The Redis receiver turns this data into a gauge...
func usedCPUSys() *redisMetric {
return &redisMetric{
key: "used_cpu_sys",
name: "redis/cpu/time",
name: "redis.cpu.time",
units: "s",
mdType: metricspb.MetricDescriptor_GAUGE_DOUBLE,
labels: map[string]string{"state": "sys"},
}
}
```

with a metric name of `redis/cpu/time` and a units value of `s` (seconds).
with a metric name of `redis.cpu.time` and a units value of `s` (seconds).

## Configuration

Expand Down

0 comments on commit 536f226

Please sign in to comment.