Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new metrics for Redis #4946

Merged
merged 1 commit into from
Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions envoy/datadog_checks/envoy/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,30 @@
),
'method': 'monotonic_count',
},
'redis.command.success': {
'tags': (
('stat_prefix', ),
('command', ),
(),
),
'method': 'monotonic_count',
},
'redis.command.error': {
'tags': (
('stat_prefix', ),
('command', ),
(),
),
'method': 'monotonic_count',
},
'redis.command.latency': {
'tags': (
('stat_prefix', ),
('command', ),
(),
),
'method': 'histogram',
},
'mongo.decoding_error': {
'tags': (
('stat_prefix', ),
Expand Down
11 changes: 11 additions & 0 deletions envoy/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ envoy.redis.downstream_rq_total,count,,request,,Total requests,0,envoy,
envoy.redis.splitter.invalid_request,count,,request,,Number of requests with an incorrect number of arguments,-1,envoy,
envoy.redis.splitter.unsupported_command,count,,operation,,Number of commands issued which are not recognized by the command splitter,-1,envoy,
envoy.redis.command.total,count,,operation,,Number of commands,0,envoy,
envoy.redis.command.success,count,,operation,,Number of commands that were successful,0,envoy,
envoy.redis.command.error,count,,operation,,Number of commands that returned a partial or complete error response,0,envoy,
envoy.redis.command.latency.0percentile,gauge,,millisecond,,Command execution time in milliseconds 0-percentile,-1,envoy,
envoy.redis.command.latency.25percentile,gauge,,millisecond,,Command execution time in milliseconds 25-percentile,-1,envoy,
envoy.redis.command.latency.50percentile,gauge,,millisecond,,Command execution time in milliseconds 50-percentile,-1,envoy,
envoy.redis.command.latency.75percentile,gauge,,millisecond,,Command execution time in milliseconds 75-percentile,-1,envoy,
envoy.redis.command.latency.90percentile,gauge,,millisecond,,Command execution time in milliseconds 90-percentile,-1,envoy,
envoy.redis.command.latency.95percentile,gauge,,millisecond,,Command execution time in milliseconds 95-percentile,-1,envoy,
envoy.redis.command.latency.99percentile,gauge,,millisecond,,Command execution time in milliseconds 99-percentile,-1,envoy,
envoy.redis.command.latency.99_9percentile,gauge,,millisecond,,Command execution time in milliseconds 99.9-percentile,-1,envoy,
envoy.redis.command.latency.100percentile,gauge,,millisecond,,Command execution time in milliseconds 100-percentile,-1,envoy,
envoy.mongo.decoding_error,count,,error,,Number of MongoDB protocol decoding errors,-1,envoy,
envoy.mongo.delay_injected,count,,occurrence,,Number of times the delay is injected,0,envoy,
envoy.mongo.op_get_more,count,,message,,Number of OP_GET_MORE messages,0,envoy,
Expand Down