Skip to content

[redis] additional Stats metrics#2749

Merged
olivielpeau merged 1 commit intomasterfrom
Grant/extra_Redis_metrics
Jan 31, 2017
Merged

[redis] additional Stats metrics#2749
olivielpeau merged 1 commit intomasterfrom
Grant/extra_Redis_metrics

Conversation

@gzysk8
Copy link
Contributor

@gzysk8 gzysk8 commented Aug 10, 2016

What does this PR do?

Adds a couple metrics exposed in the output of the Redis info command.

Motivation

Feature request from customer.

@truthbk truthbk added this to the 5.10.0 milestone Aug 11, 2016
@olivielpeau
Copy link
Member

@gzysk8 Have you been able to check your changes? (in particular, have you been able to confirm that these metrics actually exist in redis' info output?)

I've just checked on the latest release of redis (3.2.4) and the new keys you've added aren't there. The closest I could find were total_net_input_bytes and total_net_output_bytes

@gzysk8
Copy link
Contributor Author

gzysk8 commented Oct 27, 2016

@olivielpeau The case I had, the client was using Azure Redis so perhaps they're specific to that? He modified the check himself and got it working - https://datadog.zendesk.com/agent/tickets/60580

Appears those metrics exist in the info from here too - http://stackoverflow.com/questions/25416562/stackexchange-redis-with-azure-redis-is-unusably-slow-or-throws-timeout-errors

Copy link
Member

@olivielpeau olivielpeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gzysk8! Just added a small comment, apart from that this looks good to me

# stats
'latest_fork_usec': 'redis.perf.latest_fork_usec',
'bytes_received_per_sec': 'redis.bytes_received_per_sec',
'bytes_sent_per_sec': 'redis.bytes_sent_per_sec',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add comments next to these 2 lines as a reminder that these metrics are only available on Azure Redis? :)

[redis] additional Stats metrics

[Redis] add Azure Redis comment to additional stats
@gzysk8 gzysk8 force-pushed the Grant/extra_Redis_metrics branch from dab8315 to 25c9f40 Compare January 30, 2017 18:18
@truthbk
Copy link
Member

truthbk commented Jan 31, 2017

The metadata should be updated in dogweb as well.

@olivielpeau olivielpeau modified the milestones: 5.12.0, Triage Jan 31, 2017
@olivielpeau olivielpeau merged commit 5479f8c into master Jan 31, 2017
@olivielpeau olivielpeau deleted the Grant/extra_Redis_metrics branch January 31, 2017 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants