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

NewRelic metric errors (monotonic values must be positive) #383

Closed
ejsmith opened this issue May 23, 2022 · 3 comments · Fixed by #409
Closed

NewRelic metric errors (monotonic values must be positive) #383

ejsmith opened this issue May 23, 2022 · 3 comments · Fixed by #409
Labels
bug Something isn't working comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime

Comments

@ejsmith
Copy link
Contributor

ejsmith commented May 23, 2022

Bug Report

I'm sending my data to New Relic and getting a lot of errors from the AddRuntimeMetrics integration reporting .net metrics.

One or more OTLP metric data point(s) were dropped because monotonic values must be positive.

process.runtime.dotnet.gc.fragmentation, process.runtime.dotnet.threadpool.queue.length, process.runtime.dotnet.threadpool.thread.count

Anyone have any ideas how to fix this issue?

@ejsmith ejsmith added the bug Something isn't working label May 23, 2022
@cijothomas
Copy link
Member

@xiang17 Could you help?

@ejsmith
Copy link
Contributor Author

ejsmith commented May 28, 2022

Anyone have any ideas on this?

@xiang17
Copy link
Contributor

xiang17 commented May 31, 2022

The instrument type should not be ObservableCounter, which reports monotonically increasing value(s). I'll take on this and change them to ObservableGauge.

@cijothomas cijothomas transferred this issue from open-telemetry/opentelemetry-dotnet May 31, 2022
@utpilla utpilla added the comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp:instrumentation.runtime Things related to OpenTelemetry.Instrumentation.Runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants