-
Notifications
You must be signed in to change notification settings - Fork 813
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
collect redis commands as a per second metric instead of per flush in…
…terval (fixes #697)
- Loading branch information
Carlo Cabanilla
committed
Oct 24, 2013
1 parent
71df2cb
commit 26f6415
Showing
1 changed file
with
2 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26f6415
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we rename this to
redis.net.commands_per_sec
so there is no confusion?26f6415
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should make a new metric, the previous implementation was just broken, and we shouldn't have metrics that aren't normalized per second. I think we can just put a note in the changelog saying that your redis.net.commands metric will change if you upgrade
26f6415
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tl;dr I think renaming is a bad idea but there should be some level of communication to customers (like me) that the metric is changing to be correct.
I think the issue here isn't just that the change is happening if you upgrade, but if you upgrade your metrics will now be correct. My redis.net.commands graph was reading 600k ops/sec on some Redis instances (which is clearly unrealistic). So if I were to divide that by 15 to get the correct values, my graph would change drastically and I think it's important to note why it has changed so drastically (for customers who look at their Redis graphs that didn't know that this was an issue). I only know because I reported it. The other folks on my team were going along thinking we were pushing Redis harder than it's been pushed before (and I assume others will have the same thoughts).
26f6415
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elubow Thanks for chiming in. Maybe we'll let folks opt-in to an 'agent update' e-mail or post an event in everybody's stream with a link to the changelog. That should give folks a heads up that things are evolving. I'll bring it up with the team on Monday.
26f6415
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Communication will be handled with 4.0.0 release communication.