Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Papertrail hysteresis is broken #15

@werkshy

Description

@werkshy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions