Skip to content

Commit 15e435b

Browse files
authored
Fix telemetry sample bug (#5037)
1 parent 519bb0c commit 15e435b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dotnet/samples/02-agents/AgentOpenTelemetry

dotnet/samples/02-agents/AgentOpenTelemetry/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
const string ServiceName = "AgentOpenTelemetry";
2424

2525
// Configure OpenTelemetry for Aspire dashboard
26-
var otlpEndpoint = Environment.GetEnvironmentVariable("OTEL_EXPORTER_OTLP_ENDPOINT") ?? "http://localhost:4318";
26+
var otlpEndpoint = Environment.GetEnvironmentVariable("OTEL_EXPORTER_OTLP_ENDPOINT") ?? "http://localhost:4317";
2727

2828
var applicationInsightsConnectionString = Environment.GetEnvironmentVariable("APPLICATIONINSIGHTS_CONNECTION_STRING");
2929

0 commit comments

Comments
 (0)