Skip to content

Conversation

@natasha-aleksandrova
Copy link

Description

Add validation to discard StatsD metrics with NaN (Not-a-Number) or infinite values before aggregation. These values are invalid for metric collection and can cause issues in downstream metric processing and storage systems.

Link to tracking issue

n/a

Testing

  • Added TestStatsDParser_DiscardInvalidValues covering NaN/Inf rejection for all metric types
  • All existing tests pass: go test ./...

Documentation

n/a

@github-actions github-actions bot added the first-time contributor PRs made by new contributors label Jan 12, 2026
@github-actions
Copy link
Contributor

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

Important reminders:

A maintainer will review your pull request soon. Thank you for helping make OpenTelemetry better!

@github-actions github-actions bot added the receiver/statsd statsd related issues label Jan 12, 2026
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 receiver/statsd statsd related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants