Skip to content

[pkg/pdatatest] Add pmetricassert double_value precision operator - #50780

Merged
songy23 merged 1 commit into
open-telemetry:mainfrom
sainad2222:feat/48441-pmetricassert-precision-operator
Sep 6, 2026
Merged

songy23 merged 1 commit into
open-telemetry:mainfrom
sainad2222:feat/48441-pmetricassert-precision-operator

Conversation

@sainad2222

Copy link
Copy Markdown
Contributor

Description

See #48441

Link to tracking issue

Fixes #48441

Testing

Added tests to 1. assert a value that drifts below the stated precision still passes and one that drifts at it fails and 2. tests that cover schema errors

Documentation

Added a section to pmetricassert README and a line to the package doc comment to match other newly added operators

Authorship

  • I, a human, wrote this pull request description myself.

@sainad2222
sainad2222 requested a review from a team as a code owner September 6, 2026 11:40
@sainad2222
sainad2222 requested a review from songy23 September 6, 2026 11:40
@linux-foundation-easycla

linux-foundation-easycla Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: sainad2222 / name: Sainath Singineedi (61048dd)

@github-actions github-actions Bot added the first-time contributor PRs made by new contributors label Sep 6, 2026
@github-actions

github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Welcome, contributor! Thank you for your contribution to opentelemetry-collector-contrib.

Important reminders:

  • Read our Contributing Guidelines.
  • Sign the CLA if you haven't already.
  • Follow the OpenTelemetry Generative AI policy: disclose any AI use in your contribution, and communicate (PR descriptions, review replies) in your own words rather than AI-generated text.
  • Give reviewers at least a few days before pinging them for feedback.
  • If you need help with general setup, development process, or contributor etiquette, ask in #opentelemetry-new-contributors.
  • First-time contributors should keep at most one PR marked as ready for review until their first PR is merged; once two are open for review, any further PR is automatically converted to draft.
  • If your change isn't one of our priority components, reviews may take more time.
  • Raise technical or Collector-specific questions in #otel-collector-dev or a Collector SIG meeting.

@singhvibhanshu

Copy link
Copy Markdown
Member

/workflow-approve

@songy23
songy23 merged commit fc1b7e4 into open-telemetry:main Sep 6, 2026
165 of 166 checks passed
@otelbot

otelbot Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Thank you for your contribution @sainad2222! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

first-time contributor PRs made by new contributors pkg/pdatatest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support precision operator in the pmetricassert for datapoints

3 participants