Skip to content

Commit 037e32f

Browse files
author
Timothy Mothra
authored
[AzureMonitorExporter] fix unmapped attributes from being dropped from telemetry (Azure#45909)
* remove unused attributes. * update tests * changelog * fix live test * revert change * cleanup tests * cleanup tests
1 parent 5159656 commit 037e32f

File tree

9 files changed

+307
-301
lines changed

9 files changed

+307
-301
lines changed

sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/DistroWebAppLiveTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ await QueryAndVerifyDependency(
275275
Properties = new List<KeyValuePair<string, string>>
276276
{
277277
new("_MS.ProcessedByMetricExtractors", "(Name: X,Ver:'1.1')"),
278+
new("network.protocol.version", "1.1"),
278279
new("CustomProperty1", "Value1"),
279280
},
280281
});
@@ -301,6 +302,7 @@ await QueryAndVerifyRequest(
301302
Properties = new List<KeyValuePair<string, string>>
302303
{
303304
new("_MS.ProcessedByMetricExtractors", "(Name: X,Ver:'1.1')"),
305+
new("network.protocol.version", "1.1"),
304306
new("CustomProperty1", "Value1"),
305307
},
306308
});

sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifyDistro.json

Lines changed: 55 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)