Visualize a OpenTelemetry metric in Prometheus in a MAUI app #4634
Replies: 4 comments 3 replies
-
@camiloJaramillo5 Did you ever figure out this issue? I am looking into implementing open telemetry into MAUI app and so far I had 0 success. Can't get any output out of it. |
Beta Was this translation helpful? Give feedback.
-
I have managed to get Tracing to work in debug mode but it crashes the app in release mode. Gives me this error: 2024-02-05 13:28:12.535268-0600 SensysMaui[9666:12079204] =================================================================
|
Beta Was this translation helpful? Give feedback.
-
Does anybody got success to this. I tried everything and sharing my issue link as well what I posted. @camiloJaramillo5 @cijothomas @ChrisHolcomb @viktor246 My Research says that System.Diagnostics.Metric.Meter does have _instrument as it add when ran as a android application. that is my counter is enabled true in windows and false in case of android emulator. |
Beta Was this translation helpful? Give feedback.
-
I Found out the solution to this trying setting |
Beta Was this translation helpful? Give feedback.
-
Hi guys!
I´m trying to visualize an open telemetry metric in prometheus + grafana tools from a Maui app without success. For a normal web API project it works perfectly but it seems that for a Maui app the AddOtlpExporter() doesn´t work.
This is what I´m doing in the web API project:
and this is the result:
and these are the corresponding yml files (to run the docker-compose command) :
For the Maui app, I´m doing pretty much the same configuration:
but I´m not able to see the metric in the docker prometheus graph.
Can you help me please?
Beta Was this translation helpful? Give feedback.
All reactions