Skip to content

quantile streams seem to degrade after too many resets #8

@leifwalsh

Description

@leifwalsh

I have a long-running application which has two streams (set to report 50%, 90%, and 99% quantiles) that both receive the same input data (latencies as float64 milliseconds from database operations). One stream gets reset each second after reporting a few quantiles, the other one reports at the same time but never gets reset. I've noticed a few times that after long enough, the stream that gets reset periodically starts reporting all 0s almost all the time, except when it looks like there were only one or two inputs in the window between resets, in which case all quantiles report the same number, presumably because all the input in that time was above 50%.

I'm not sure if this is a bug but I would like to start by getting advice on how to gather useful diagnostics from the data structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions