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

reduce granularity? #34

Closed
mvillarejo opened this issue Sep 22, 2014 · 6 comments
Closed

reduce granularity? #34

mvillarejo opened this issue Sep 22, 2014 · 6 comments
Assignees
Labels

Comments

@mvillarejo
Copy link
Contributor

Hello,

Is there any way of reduce the granularity that you want for a metric? I know you increase the granularity from days to seconds but if that was flexible, that'll be brilliant, so let's say you could choose just up to seconds, hours, days, etc. depend of the type of metric you want to store.

Regards

@bradmontgomery
Copy link
Owner

Yeah, I think at the moment this should be a fairly high-priority ticket. Maybe a REDIS_METRICS_MIN_GRANULARITY setting? That infers that we may also want a REDIS_METRICS_MAX_GRANULARITY as well.

@mvillarejo
Copy link
Contributor Author

that makes completely sense!

@bradmontgomery bradmontgomery self-assigned this Oct 15, 2014
@bradmontgomery
Copy link
Owner

note to self: I'm labelling this as a bug, mostly because too-low a granularity without being able to change it seems like a bad idea.

@bradmontgomery
Copy link
Owner

Added this in v0.8.1, which I should push up to the the package index at some point tonight.

@mvillarejo
Copy link
Contributor Author

Hello! yeah, it seems to work good, good job! I just had to modify granularity used:
['seconds', 'minutes', 'hourly', 'daily', 'weekly', 'monthly', 'yearly']

@bradmontgomery
Copy link
Owner

🏆 Awesome! Thanks for the feedback 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants