Skip to content

Validate ranges with quantiles and buckets #49

@thedevbirb

Description

@thedevbirb

Both Summary and Buckets accept evaluations to &[f64] (or equivalent type for our purposes), but the code successfully compiles if I add incorrect values for quantiles like -1.0 or 2.0 or negative-valued buckets in histograms.

Ideally, we should emit a compiler error to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions