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

[redis] keyspace_hits metrics: 'gauge' → 'rate' #1891

Merged
merged 1 commit into from Sep 15, 2015

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Sep 3, 2015

Or #1890

Switch redis.stats.keyspace_* metrics from gauge to
rate type.
WARNING: potential backward incompatibility issues.

Fix #1887

@yannmh yannmh added this to the 5.5.0 milestone Sep 3, 2015
@yannmh yannmh force-pushed the yann/redis-switch-metric-types2 branch from 98376c5 to e24291f Compare September 3, 2015 22:25
self.gauge(self.GAUGE_KEYS[k], info[k], tags=tags)
for k in set(info).intersection(self.RATE_KEYS):
self.rate(self.RATE_KEYS[k], info[k], tags=tags)
for info_name, value in info.iteritems():
Copy link
Contributor

Choose a reason for hiding this comment

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

This refactoring isn't improving the readability IMO :/ we should likely keep the previous version.

Switch `redis.stats.keyspace_*` metrics from gauge to
rate type.
WARNING: potential backward incompatibility issues.

Fix #1887
@yannmh yannmh force-pushed the yann/redis-switch-metric-types2 branch from e24291f to 2dc0f62 Compare September 15, 2015 18:24
remh added a commit that referenced this pull request Sep 15, 2015
[redis] `keyspace_hits` metrics: 'gauge' → 'rate'
@remh remh merged commit 5144e2c into master Sep 15, 2015
@yannmh yannmh deleted the yann/redis-switch-metric-types2 branch September 15, 2015 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants