Description
openedon Dec 8, 2023
- azure.monitor.opentelemetry:
- 1.1.1:
- Ubuntu 22.04.3:
- 3.10.12:
Describe the bug
configure_azure_monitor
blocks the code and diplays some exception messages:
Exception in detector <opentelemetry.resource.detector.azure.vm.AzureVMResourceDetector object at 0x7f9698b12170>, ignoring
To Reproduce
Steps to reproduce the behavior:
- Create the following script:
from azure.monitor.opentelemetry import configure_azure_monitor
configure_azure_monitor(connection_string="<<appinsight connection string>>")
print("done")
- Done is never printed, and the following messages are displayed every ~5 minutes
Exception in detector <opentelemetry.resource.detector.azure.vm.AzureVMResourceDetector object at 0x7f9698b3d5a0>, ignoring
Here are the endpoints in the connection string:
IngestionEndpoint=https://francecentral-1.in.applicationinsights.azure.com/;LiveEndpoint=https://francecentral.livediagnostics.monitor.azure.com/
Expected behavior
Configuration ends normally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.Monitor OpenTelemetry ExporterWorkflow: This issue is responsible by Azure service team.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that