-
I am using the following exporter to export my OpenTelemetry metrics : Getting data in the following format in a log file:
I want to now parse this into JSON structure or any similar format and send this to a backend database for visualizing the metrics. Please help me understand if you provide a parser that I can use? Any suggestions on how I can achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
cc @jkwatson @jack-berg Please help out on the above as its blocking our progress. Thanks |
Beta Was this translation helpful? Give feedback.
-
The I hope this relieves your blockage. 🙂 |
Beta Was this translation helpful? Give feedback.
-
The above seems to work @jack-berg. Any suggestions on the best way to parse the |
Beta Was this translation helpful? Give feedback.
The
LoggingMetricExporter
(as well as other exporters inopentelemetry-exporter-logging
) are meant for debugging, and do not have a structured format designed for parsing. For this type of thing, check outOtlpJsonLoggingMetricExporter
(published inopentelemetry-exporter-logging-otlp
).I hope this relieves your blockage. 🙂