[BUG] No telemetry exported form a Scala notebook when using AzureMonitorExporterBuilder #41856
Open
3 tasks done
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Monitor - Exporter
Monitor OpenTelemetry Exporter
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
OpenTelemetry
OpenTelemetry instrumentation
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When running a Scala notebook in a Databricks cluster, instrumentation using
AzureMonitorExporterBuilder
does not produce any output in the App Insights backend.Exception or Stack Trace
No errors.
To Reproduce
com.azure:azure-monitor-opentelemetry-exporter:1.0.0-beta.28
in the cluster.Code Snippet
Important: run the configuration code (till
sdkBuilder.build().getOpenTelemetrySdk()
) only once (see #41859). If you ran it and gotConfigurationException
, restart the compute cluster (Run -> Restart compute resource).The above code as a gist: https://gist.github.com/greatvovan/a2148bccf2c0e0c2305e8a35e0779dc3
Alternative (with manual configuration): https://gist.github.com/greatvovan/5e9e3d8ecaf4e210ade619c5b55455b3
Expected behavior
3 entries in
traces
table (2 logs, 1 event), 1 entry incustomMetrics
, 1 entry independencies
table (span) created in App InsightsScreenshots
N/A
Additional context
Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
EDIT: Updated the gists to look more like linear Scala programs.
The text was updated successfully, but these errors were encountered: