quarkiverse / quarkus-opentelemetry-exporter

Quarkus extensions related with additional OpenTelemetry exporters
Apache License 2.0
13 stars 8 forks source link

Use AutoConfiguredOpenTelemetrySdkBuilderCustomizer for Azure #226

Closed jeanbisutti closed 1 month ago

hungchu0912 commented 1 month ago

Hello @jeanbisutti @brunobat when will this changes available on release? I checked the latest version 3.8.3.1 and it does not include this change. I am finding a way to using AzureMonitorLogRecordExporter to get the data available on Application Insight's traces table, and seem like this change got it covered, the current version only supports AzureMonitorTraceExporter

Many thanks in advance

brunobat commented 1 month ago

Will book some time for start of next week, @hungchu0912.

jeanbisutti commented 1 month ago

Hi @hungchu0912, It seems you would like your application logs available in Application Insights? To do this, it would require this PR and the instrumentation of the Quarkus logs that should be available in the Quarkus release on Oct 30.

brunobat commented 1 month ago

That is true. OTel Logs will only be available on Quarkus 3.16, to be released on Oct. 30.

jeanbisutti commented 1 week ago

@hungchu0912

quarkus-opentelemetry-exporter-azure 3.16.2 is now released.

You can set the quarkus.otel.logs.enabled property to true and check that the logs of your Quarkus native app are in the traces table.