Skip to content

Support precision operator in the pmetricassert for datapoints #48441

@ravishankar-sumo

Description

@ravishankar-sumo

Component(s)

pkg/pdatatest

Is your feature request related to a problem? Please describe.

Following up from 48079

Add support for /precision<number> like,
/precision3 supports till 3 precisions
/precision2 supports till 2 precisions

to support the existing IgnoreMetricFloatPrecision frompkg/pdatatest/pmetrictest/options.go

Describe the solution you'd like

Follow the similar pattern of exist check Ref and add functionality for precision3

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions