Skip to content

Commit

Permalink
Add metric for pubsubshard_channels (#837)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Ilyushenkov <ilyushenkov@corp.mail.ru>
  • Loading branch information
DriverX and Anton Ilyushenkov authored Oct 4, 2023
1 parent fe2c807 commit bab9972
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ func NewRedisExporter(redisURI string, opts Options) (*Exporter, error) {
// # Stats
"pubsub_channels": "pubsub_channels",
"pubsub_patterns": "pubsub_patterns",
"pubsubshard_channels": "pubsubshard_channels", // Added in Redis 7.0.3
"latest_fork_usec": "latest_fork_usec",
"tracking_total_keys": "tracking_total_keys",
"tracking_total_items": "tracking_total_items",
Expand Down

0 comments on commit bab9972

Please sign in to comment.