Skip to content

azure.monitor.opentelemetry - monitor - exporter - configure_azure_monitor hangs #33441

Closed
open-telemetry/opentelemetry-python-contrib
#2119

Description

  • 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:

  1. Create the following script:
from azure.monitor.opentelemetry import configure_azure_monitor

configure_azure_monitor(connection_string="<<appinsight connection string>>")
print("done")
  1. 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

ClientThis issue points to a problem in the data-plane of the library.Monitor - ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions