-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageMonitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Library name and version
Azure.Monitor.OpenTelemetry.AspNetCore 1.2.0
Describe the bug
when I start an internal activity, a dependency failure was raised without specifying a status

Expected behavior
Shouldn't show failure
Actual behavior
show failure
Reproduction Steps
public static readonly ActivitySource TaskActivitySource = new("task");
var activity = TaskActivitySource.StartActivity($"BackgroundTask test",
ActivityKind.Internal, parentContext: default);
activity?.SetStatus(ActivityStatusCode.Ok);
activity?.Stop();addservice
services.AddOpenTelemetry().WithTracing(t => t.AddSource("task")).UseAzureMonitor();Environment
.NET 8.0.4
rajkumar-rangaraj and TimothyMothra
Metadata
Metadata
Assignees
Labels
ClientThis issue is related to a non-management packageThis issue is related to a non-management packageMonitor - ExporterMonitor OpenTelemetry ExporterMonitor OpenTelemetry ExporterService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that