Getting Started with OpenTelemetry .NET in 5 Minutes #4168
javicabanas
started this conversation in
General
Replies: 1 comment 1 reply
-
I don't fully understand F# code, but it looks like you are missing dispose of MeterProvider. The console app is likely exiting before the 20 sec interval when console exporter prints metrics. Alternately, emit the metrics in infinite loop (while(true)), and metrics will be printed to console every 20 secs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to do the "Getting Started with OpenTelemetry .NET in 5 Minutes" example in F#, with this code:
No errors, but nothing showed in the console.
Thanks in advance for your help,
Javier Fernández
Beta Was this translation helpful? Give feedback.
All reactions