Skip to content

[BUG] UseAzureMonitor collects too many internal logs #43286

Closed

Description

Library name and version

Azure.Monitor.OpenTelemetry.AspNetCore 1.2.0-beta.2

Query/Question

When I enable telemetry by doing

services.AddOpenTelemetry().UseAzureMonitor();

, my application outputs a bunch of logs from the Azure.* namespace (Azure.Identity for example) that were not previously output.

I know I can configure the log level but I'd like to know what UseAzureMonitor does underneath that enables extra logging, so that my app doesn't generate an excessive amount of logs going forward.

Environment

OS: Windows
.Net: 8.0.202

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 - DistroMonitor OpenTelemetry DistroService AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.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 team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions