Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move is_monotonic check to the SDK #544

Merged
merged 7 commits into from
Feb 15, 2023

Conversation

tsloughter
Copy link
Member

The API needs to not log about bad data to instruments, this removes a check on counters being positive measurements.

It does so by changing the SDK's aggregation api to accept a #view_aggregation{} which contains is_monotonic.

I'm not ready to call this api of the SDK done, but a good step for a PR.

Tristan Sloughter and others added 2 commits February 7, 2023 15:43
This has more dialyzer ignores added in order to remove stuff like
'$1' and '_' in type specs. I figure this is acceptable because
eqwalizer has a more fine grained ignore ability which will let us
check these parts of the code better even if the dialyzer warnings
are now ignored from those parts of the code.
@tsloughter tsloughter merged commit 222e166 into open-telemetry:main Feb 15, 2023
@tsloughter tsloughter deleted the silence-instruments branch February 15, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants