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

Papertrail hysteresis is broken #15

Open
werkshy opened this issue Sep 11, 2015 · 0 comments
Open

Papertrail hysteresis is broken #15

werkshy opened this issue Sep 11, 2015 · 0 comments

Comments

@werkshy
Copy link
Contributor

werkshy commented Sep 11, 2015

If you run dynosaur on heroku, your app will be restarted at least every 24 hours. So you will have less than 24 hours worth of data, yet the Papertrail plugin requires a full day of data since it resets every 24 hours too.

If these two events happen at the wrong time, you will be scaling down and then rapidly scaling back up, which for one thing makes Papertrail (the company) unhappy.

A fix for this might involve storing the RingBuffer data in Redis. Redis might have a data structure that can act as a ringbuffer.

Note: I have disabled our papertrail scaling because of this and #14.

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

No branches or pull requests

1 participant