Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Filter Out NaN Values from Aggregate Metrics #158

Merged
merged 2 commits into from
Sep 17, 2020

Conversation

simoncaron
Copy link
Contributor

Fix for issue #125

By filtering NaN values before summing offsets lags, aggregate metrics for SumGroupOffsetLagMetric and SumGroupTopicOffsetLagMetricwill report a more accurate value instead of NaN.

@lightbend-cla-validator

Hi @skaro13,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

https://www.lightbend.com/contribute/cla

@simoncaron simoncaron marked this pull request as ready for review September 17, 2020 04:54
@seglo seglo added the bug Something isn't working label Sep 17, 2020
Copy link
Owner

@seglo seglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the PR!

@seglo seglo merged commit 10e358f into seglo:master Sep 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants