diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/DistroWebAppLiveTests.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/DistroWebAppLiveTests.cs index 0198b4501bf5b..99494f0e375a9 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/DistroWebAppLiveTests.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/DistroWebAppLiveTests.cs @@ -41,6 +41,7 @@ public class DistroWebAppLiveTests : BaseLiveTest { "service.version", TestServiceVersion } }; + private const string TestLogCategoryName = "CustomCategoryName"; private const string TestLogMessage = "Message via ILogger"; // DEVELOPER TIP: Can pass RecordedTestMode.Live into the base ctor to run this test with a live resource. This is recommended for local development. @@ -65,9 +66,10 @@ public async Task VerifyDistro() .ConfigureResource(x => x.AddAttributes(_testResourceAttributes)); using var app = builder.Build(); - app.MapGet("/", () => + app.MapGet("/", (ILoggerFactory loggerFactory) => { - app.Logger.LogInformation(TestLogMessage); + var logger = loggerFactory.CreateLogger(TestLogCategoryName); + logger.LogInformation(TestLogMessage); return "Response from Test Server"; }); @@ -146,9 +148,10 @@ public async Task VerifySendingToTwoResources_UsingExporter() .ConfigureResource(x => x.AddAttributes(_testResourceAttributes)); using var app = builder.Build(); - app.MapGet("/", () => + app.MapGet("/", (ILoggerFactory loggerFactory) => { - app.Logger.LogInformation(TestLogMessage); + var logger = loggerFactory.CreateLogger(TestLogCategoryName); + logger.LogInformation(TestLogMessage); return "Response from Test Server"; }); @@ -206,9 +209,10 @@ public async Task VerifySendingToTwoResources_UsingDistroWithExporter() .ConfigureResource(x => x.AddAttributes(_testResourceAttributes)); using var app = builder.Build(); - app.MapGet("/", () => + app.MapGet("/", (ILoggerFactory loggerFactory) => { - app.Logger.LogInformation(TestLogMessage); + var logger = loggerFactory.CreateLogger(TestLogCategoryName); + logger.LogInformation(TestLogMessage); return "Response from Test Server"; }); @@ -363,6 +367,10 @@ await QueryAndVerifyTrace( ClientIP = "0.0.0.0", Type = "AppTraces", AppRoleInstance = TestServiceInstance, + Properties = new List> + { + new("CategoryName", TestLogCategoryName), + } }); } diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifyDistro.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifyDistro.json index c4f4ddd313c00..4481abbaf9905 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifyDistro.json +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifyDistro.json @@ -8,7 +8,7 @@ "Authorization": "Sanitized", "Content-Length": "196", "Content-Type": "application/json", - "traceparent": "00-91e4d92f316e891834d49cbee90c5089-b23ab6cff2327111-00", + "traceparent": "00-39084d7e6c08a98e4650f7944ca58e4d-128354d4cbd0b0c5-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -22,12 +22,12 @@ "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Connection": "keep-alive", - "Content-Length": "2509", + "Content-Length": "2510", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:34 GMT", + "Date": "Fri, 12 Jul 2024 22:49:54 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-cvqng", + "Via": "1.1 draft-oms-6474b844f8-m5hqw", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -203,21 +203,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6049141Z", - "ab1d314b41df92d4", + "2024-07-12T22:43:36.900795Z", + "b26e739d8ffb31d7", "localhost:9998", "HTTP", "GET /", "http://localhost:9998/", true, "200", - 3.2012, + 145.9972, "<250ms", "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", + "88df56a070a8fa9ed7e6cb8405f0be62", "", "", "", @@ -236,7 +236,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -257,7 +257,7 @@ "Authorization": "Sanitized", "Content-Length": "191", "Content-Type": "application/json", - "traceparent": "00-e7dec5e978db5cd85fe10225207ca53e-23628ed99ff50bbe-00", + "traceparent": "00-bcbcdc220f0dc46ea52db25547f6303f-749971ae1336f3f6-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -271,12 +271,12 @@ "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Connection": "keep-alive", - "Content-Length": "2478", + "Content-Length": "2479", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:35 GMT", + "Date": "Fri, 12 Jul 2024 22:49:55 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-hbzt8", + "Via": "1.1 draft-oms-6474b844f8-8jw8q", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -452,21 +452,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6069422Z", - "f59fc5d195101154", + "2024-07-12T22:43:36.9744069Z", + "6db4861ec0f7cedd", "", "GET /", "http://localhost:9998/", true, "200", - 1.0316, + 73.4357, "<250ms", - "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\",\"CustomProperty1\":\"Value1\"}", null, "GET /", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", null, - "ab1d314b41df92d4", + "b26e739d8ffb31d7", "", "", "", @@ -485,7 +485,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -506,7 +506,7 @@ "Authorization": "Sanitized", "Content-Length": "270", "Content-Type": "application/json", - "traceparent": "00-d004d3534c1f9572811a03f4136b0be4-13bc094187e356e6-00", + "traceparent": "00-0016118a7d142d7803fdcdf21eb1a029-0d03fdd4f72151d5-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -522,10 +522,10 @@ "Connection": "keep-alive", "Content-Length": "2132", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:36 GMT", + "Date": "Fri, 12 Jul 2024 22:49:56 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-2ndcs", + "Via": "1.1 draft-oms-6474b844f8-wm6g9", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -669,13 +669,13 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470491Z", + "2024-07-12T22:43:37.2919595Z", "http.client.request.duration", 1, - 0.0032012, - 0.0032012, - 0.0032012, - "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"server.address\":\"localhost\",\"server.port\":\"9998\",\"url.scheme\":\"http\"}", + 0.1459972, + 0.1459972, + 0.1459972, + "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\",\"server.address\":\"localhost\",\"server.port\":\"9998\"}", "", "", "", @@ -697,7 +697,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -715,7 +715,7 @@ "Authorization": "Sanitized", "Content-Length": "197", "Content-Type": "application/json", - "traceparent": "00-97130055a95be55ee769ca1921b9fe80-bfa8201509ec52c9-00", + "traceparent": "00-8f31c80b660885bc5768137d884d9434-80726cb90013c743-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -731,10 +731,10 @@ "Connection": "keep-alive", "Content-Length": "2095", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:36 GMT", + "Date": "Fri, 12 Jul 2024 22:49:57 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-2mmkv", + "Via": "1.1 draft-oms-6474b844f8-rs48d", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -878,12 +878,12 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470476Z", + "2024-07-12T22:43:37.2919001Z", "http.server.request.duration", 1, - 0.0010316, - 0.0010316, - 0.0010316, + 0.0734357, + 0.0734357, + 0.0734357, "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"http.route\":\"/\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\"}", "", "", @@ -906,7 +906,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -924,7 +924,7 @@ "Authorization": "Sanitized", "Content-Length": "190", "Content-Type": "application/json", - "traceparent": "00-4616a7a123b4b8c65808030089bff917-46e2955ad7d2c952-00", + "traceparent": "00-6b3485882c81bb860d803ea604ca83a0-4e29cfb9c77cfec8-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -938,12 +938,12 @@ "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Connection": "keep-alive", - "Content-Length": "2046", + "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:37 GMT", + "Date": "Fri, 12 Jul 2024 22:49:57 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-dm6qg", + "Via": "1.1 draft-oms-6474b844f8-7srrx", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1091,14 +1091,14 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6078709Z", + "2024-07-12T22:43:37.0354416Z", "Message via ILogger", 1, - null, + "{\"CategoryName\":\"CustomCategoryName\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "f59fc5d195101154", + "88df56a070a8fa9ed7e6cb8405f0be62", + "6db4861ec0f7cedd", "", "", "", @@ -1117,7 +1117,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1134,7 +1134,7 @@ "Variables": { "CONNECTION_STRING": "InstrumentationKey=53e1f7f0-9975-4995-830a-414a26e9450a;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=a98f261a-124b-425a-931e-8dc00af2e65c", "LOGS_ENDPOINT": "https://api.loganalytics.io", - "RandomSeed": "189119610", + "RandomSeed": "1747479826", "WORKSPACE_ID": "33d8a320-00c3-4ec8-a6a4-8692b07a6841" } } diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingDistroWithExporter.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingDistroWithExporter.json index 38cf49b52eb7a..a9f1e2b4f3de8 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingDistroWithExporter.json +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingDistroWithExporter.json @@ -8,7 +8,7 @@ "Authorization": "Sanitized", "Content-Length": "196", "Content-Type": "application/json", - "traceparent": "00-cb98f5b02dc5f3ff84e7a32af28c5a7e-c6526cbe7179e642-00", + "traceparent": "00-b69f44f37f197bccaff1ba4a6e9dd105-2500c2ffda260f5d-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -21,14 +21,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "4", + "Age": "5", "Connection": "keep-alive", - "Content-Length": "2509", + "Content-Length": "2510", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:39 GMT", + "Date": "Fri, 12 Jul 2024 22:49:59 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-rfz8k", + "Via": "1.1 draft-oms-6474b844f8-7gpj6", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -204,21 +204,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6049141Z", - "ab1d314b41df92d4", + "2024-07-12T22:43:36.900795Z", + "b26e739d8ffb31d7", "localhost:9998", "HTTP", "GET /", "http://localhost:9998/", true, "200", - 3.2012, + 145.9972, "<250ms", "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", + "88df56a070a8fa9ed7e6cb8405f0be62", "", "", "", @@ -237,7 +237,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -258,7 +258,7 @@ "Authorization": "Sanitized", "Content-Length": "191", "Content-Type": "application/json", - "traceparent": "00-ccd62427e6ba884e3fe7273759a0dbf8-eea5ead633f9d41b-00", + "traceparent": "00-8182dd32813ba7ef98e34131c5de9f0b-e3442aede2a4e3cd-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -271,14 +271,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "3", + "Age": "4", "Connection": "keep-alive", - "Content-Length": "2478", + "Content-Length": "2479", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:39 GMT", + "Date": "Fri, 12 Jul 2024 22:49:59 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-ndnlv", + "Via": "1.1 draft-oms-6474b844f8-pj9g5", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -454,21 +454,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6069422Z", - "f59fc5d195101154", + "2024-07-12T22:43:36.9744069Z", + "6db4861ec0f7cedd", "", "GET /", "http://localhost:9998/", true, "200", - 1.0316, + 73.4357, "<250ms", - "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\",\"CustomProperty1\":\"Value1\"}", null, "GET /", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", null, - "ab1d314b41df92d4", + "b26e739d8ffb31d7", "", "", "", @@ -487,7 +487,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -508,7 +508,7 @@ "Authorization": "Sanitized", "Content-Length": "270", "Content-Type": "application/json", - "traceparent": "00-98a946b28bcc98a6daf0234460728dea-506f293be5e24bc9-00", + "traceparent": "00-affba1ad223668f2a7b5ba91abe2ec8f-17fa56057cc44ed7-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -521,14 +521,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "2", + "Age": "3", "Connection": "keep-alive", "Content-Length": "2132", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:39 GMT", + "Date": "Fri, 12 Jul 2024 22:49:59 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-kf5sl", + "Via": "1.1 draft-oms-6474b844f8-cs2x7", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -672,13 +672,13 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470491Z", + "2024-07-12T22:43:37.2919595Z", "http.client.request.duration", 1, - 0.0032012, - 0.0032012, - 0.0032012, - "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"server.address\":\"localhost\",\"server.port\":\"9998\",\"url.scheme\":\"http\"}", + 0.1459972, + 0.1459972, + 0.1459972, + "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\",\"server.address\":\"localhost\",\"server.port\":\"9998\"}", "", "", "", @@ -700,7 +700,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -718,7 +718,7 @@ "Authorization": "Sanitized", "Content-Length": "197", "Content-Type": "application/json", - "traceparent": "00-9c590aea153faa849bad30b0b38e3a06-4d5b141cf259fcdb-00", + "traceparent": "00-35a3022b31342ab3093d0a1b9b0ebfc0-e2c9f91f6928ea10-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -735,10 +735,10 @@ "Connection": "keep-alive", "Content-Length": "2095", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:39 GMT", + "Date": "Fri, 12 Jul 2024 22:49:59 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-4dbzq", + "Via": "1.1 draft-oms-6474b844f8-64qp5", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -882,12 +882,12 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470476Z", + "2024-07-12T22:43:37.2919001Z", "http.server.request.duration", 1, - 0.0010316, - 0.0010316, - 0.0010316, + 0.0734357, + 0.0734357, + 0.0734357, "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"http.route\":\"/\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\"}", "", "", @@ -910,7 +910,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -928,7 +928,7 @@ "Authorization": "Sanitized", "Content-Length": "190", "Content-Type": "application/json", - "traceparent": "00-47d96e92b9d466a1f67ba201e9941ea9-baffbb4e3bbf9170-00", + "traceparent": "00-3bd3051a303c9f00379ab0997445db0a-5b5e7b710e9b2848-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -943,12 +943,12 @@ "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Age": "2", "Connection": "keep-alive", - "Content-Length": "2046", + "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:39 GMT", + "Date": "Fri, 12 Jul 2024 22:49:59 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-h5dtt", + "Via": "1.1 draft-oms-6474b844f8-2fblx", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1096,14 +1096,14 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6078709Z", + "2024-07-12T22:43:37.0354416Z", "Message via ILogger", 1, - null, + "{\"CategoryName\":\"CustomCategoryName\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "f59fc5d195101154", + "88df56a070a8fa9ed7e6cb8405f0be62", + "6db4861ec0f7cedd", "", "", "", @@ -1122,7 +1122,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1143,7 +1143,7 @@ "Authorization": "Sanitized", "Content-Length": "196", "Content-Type": "application/json", - "traceparent": "00-2b6ea86956e61a3a26674174d635da52-e785257810c46647-00", + "traceparent": "00-91d0b3546e100a2f9cd1a5c5e2a15ac0-86c7a4b301b1ca64-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1157,12 +1157,12 @@ "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Connection": "keep-alive", - "Content-Length": "2509", + "Content-Length": "2510", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:40 GMT", + "Date": "Fri, 12 Jul 2024 22:50:00 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-jwk2r", + "Via": "1.1 draft-oms-6474b844f8-m9n7b", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1338,21 +1338,21 @@ "rows": [ [ "e1407f81-4e84-4943-843a-0494dd4700e5", - "2024-06-20T23:38:07.6049141Z", - "ab1d314b41df92d4", + "2024-07-12T22:40:48.0771341Z", + "b1f082e24522023c", "localhost:9998", "HTTP", "GET /", "http://localhost:9998/", true, "200", - 3.2012, + 28.1063, "<250ms", "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "49f75e59566d6ca854855deb28cdd910", + "da17bd8bf70b642749424a4cf85651b1", + "da17bd8bf70b642749424a4cf85651b1", "", "", "", @@ -1371,7 +1371,7 @@ "Other", "d64e2b0b-7f11-41ec-b85e-5bd69ee688e2", "3f8e759a-2c28-4cc7-b260-9b343fb2a3ff", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1392,7 +1392,7 @@ "Authorization": "Sanitized", "Content-Length": "191", "Content-Type": "application/json", - "traceparent": "00-6b7bf1f2d33f97fd204b2404d01e86bc-ce25cacff1f058c1-00", + "traceparent": "00-5ffa35bd8e51e2a1dc1e9912b3648927-7a6a13d2c7a3f90c-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1407,12 +1407,12 @@ "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Age": "4", "Connection": "keep-alive", - "Content-Length": "2478", + "Content-Length": "2479", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:40 GMT", + "Date": "Fri, 12 Jul 2024 22:50:00 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-lpmfk", + "Via": "1.1 draft-oms-6474b844f8-2fblx", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1588,21 +1588,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6069422Z", - "f59fc5d195101154", + "2024-07-12T22:43:36.9744069Z", + "6db4861ec0f7cedd", "", "GET /", "http://localhost:9998/", true, "200", - 1.0316, + 73.4357, "<250ms", - "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\",\"CustomProperty1\":\"Value1\"}", null, "GET /", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", null, - "ab1d314b41df92d4", + "b26e739d8ffb31d7", "", "", "", @@ -1621,7 +1621,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1642,7 +1642,7 @@ "Authorization": "Sanitized", "Content-Length": "270", "Content-Type": "application/json", - "traceparent": "00-0d0bdf7c6f38c262785a4b9a67e45619-171ab26f7284caa2-00", + "traceparent": "00-2b10c0831b5b208afc2680dbfc254e02-8f3c1a2f3ad1db6a-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1659,10 +1659,10 @@ "Connection": "keep-alive", "Content-Length": "2132", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:40 GMT", + "Date": "Fri, 12 Jul 2024 22:50:00 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-f7x45", + "Via": "1.1 draft-oms-6474b844f8-m8vk7", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1806,13 +1806,13 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470491Z", + "2024-07-12T22:43:37.2919595Z", "http.client.request.duration", 1, - 0.0032012, - 0.0032012, - 0.0032012, - "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"server.address\":\"localhost\",\"server.port\":\"9998\",\"url.scheme\":\"http\"}", + 0.1459972, + 0.1459972, + 0.1459972, + "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\",\"server.address\":\"localhost\",\"server.port\":\"9998\"}", "", "", "", @@ -1834,7 +1834,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -1852,7 +1852,7 @@ "Authorization": "Sanitized", "Content-Length": "197", "Content-Type": "application/json", - "traceparent": "00-c3f0ab352cec3cc7ede0b948491ba4ea-90eacc47ead0f788-00", + "traceparent": "00-6e7065b9b04f900606e8ad6ad7bc05e4-a414ca5ffcd7524f-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1869,10 +1869,10 @@ "Connection": "keep-alive", "Content-Length": "2095", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:40 GMT", + "Date": "Fri, 12 Jul 2024 22:50:00 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-2vz2j", + "Via": "1.1 draft-oms-6474b844f8-nw2hn", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -2016,12 +2016,12 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470476Z", + "2024-07-12T22:43:37.2919001Z", "http.server.request.duration", 1, - 0.0010316, - 0.0010316, - 0.0010316, + 0.0734357, + 0.0734357, + 0.0734357, "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"http.route\":\"/\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\"}", "", "", @@ -2044,7 +2044,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -2062,7 +2062,7 @@ "Authorization": "Sanitized", "Content-Length": "190", "Content-Type": "application/json", - "traceparent": "00-98f71adb3262079e63219698670af63b-ccff674be0a96c56-00", + "traceparent": "00-7a538d7654cf4a437de33a0718f15cf1-957239c9add556c4-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -2075,14 +2075,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "3", + "Age": "2", "Connection": "keep-alive", - "Content-Length": "2046", + "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:40 GMT", + "Date": "Fri, 12 Jul 2024 22:50:00 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-hdkrt", + "Via": "1.1 draft-oms-6474b844f8-54pdj", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -2230,14 +2230,14 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6078709Z", + "2024-07-12T22:43:37.0354416Z", "Message via ILogger", 1, - null, + "{\"CategoryName\":\"CustomCategoryName\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "f59fc5d195101154", + "88df56a070a8fa9ed7e6cb8405f0be62", + "6db4861ec0f7cedd", "", "", "", @@ -2256,7 +2256,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -2273,7 +2273,7 @@ "Variables": { "CONNECTION_STRING": "InstrumentationKey=53e1f7f0-9975-4995-830a-414a26e9450a;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=a98f261a-124b-425a-931e-8dc00af2e65c", "LOGS_ENDPOINT": "https://api.loganalytics.io", - "RandomSeed": "1272071237", + "RandomSeed": "568610538", "SECONDARY_CONNECTION_STRING": "InstrumentationKey=3f8e759a-2c28-4cc7-b260-9b343fb2a3ff;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=d64e2b0b-7f11-41ec-b85e-5bd69ee688e2", "SECONDARY_WORKSPACE_ID": "e1407f81-4e84-4943-843a-0494dd4700e5", "WORKSPACE_ID": "33d8a320-00c3-4ec8-a6a4-8692b07a6841" diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingExporter.json b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingExporter.json index 0f09d42ec4250..e0ac10051e4d3 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingExporter.json +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/SessionRecords/DistroWebAppLiveTests/VerifySendingToTwoResources_UsingExporter.json @@ -8,7 +8,7 @@ "Authorization": "Sanitized", "Content-Length": "196", "Content-Type": "application/json", - "traceparent": "00-57e7e49f34248b18f932ef0d54e599d6-9075399c1c71f2e5-00", + "traceparent": "00-e034c8a6a98c8d278f7e58dffbd8bcde-659a31d74338cab1-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -23,12 +23,12 @@ "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Age": "7", "Connection": "keep-alive", - "Content-Length": "2509", + "Content-Length": "2510", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:42 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-ngvmg", + "Via": "1.1 draft-oms-6474b844f8-n6m7r", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -204,21 +204,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6049141Z", - "ab1d314b41df92d4", + "2024-07-12T22:43:36.900795Z", + "b26e739d8ffb31d7", "localhost:9998", "HTTP", "GET /", "http://localhost:9998/", true, "200", - 3.2012, + 145.9972, "<250ms", "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", + "88df56a070a8fa9ed7e6cb8405f0be62", "", "", "", @@ -237,7 +237,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -258,7 +258,7 @@ "Authorization": "Sanitized", "Content-Length": "191", "Content-Type": "application/json", - "traceparent": "00-ba7d29737dc48d753e7e0a359ff2443f-5ac7b1f3dc5c6eba-00", + "traceparent": "00-382e9d532e7a9bd1b92effe408a56870-4a00858d89e05493-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -273,12 +273,12 @@ "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", "Age": "7", "Connection": "keep-alive", - "Content-Length": "2478", + "Content-Length": "2479", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:42 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-n8xrf", + "Via": "1.1 draft-oms-6474b844f8-7q5l7", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -454,21 +454,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6069422Z", - "f59fc5d195101154", + "2024-07-12T22:43:36.9744069Z", + "6db4861ec0f7cedd", "", "GET /", "http://localhost:9998/", true, "200", - 1.0316, + 73.4357, "<250ms", - "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\",\"CustomProperty1\":\"Value1\"}", null, "GET /", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", null, - "ab1d314b41df92d4", + "b26e739d8ffb31d7", "", "", "", @@ -487,7 +487,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -508,7 +508,7 @@ "Authorization": "Sanitized", "Content-Length": "270", "Content-Type": "application/json", - "traceparent": "00-bdc64e39629f1dd4abfe9db09af0f3f3-ebc337fd1d87acbc-00", + "traceparent": "00-d53b72dc4e77fd45c9348f97a79c8400-6139fe35455d6635-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -521,14 +521,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "6", + "Age": "5", "Connection": "keep-alive", "Content-Length": "2132", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:42 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-fkfg9", + "Via": "1.1 draft-oms-6474b844f8-rvd75", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -672,13 +672,13 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470491Z", + "2024-07-12T22:43:37.2919595Z", "http.client.request.duration", 1, - 0.0032012, - 0.0032012, - 0.0032012, - "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"server.address\":\"localhost\",\"server.port\":\"9998\",\"url.scheme\":\"http\"}", + 0.1459972, + 0.1459972, + 0.1459972, + "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\",\"server.address\":\"localhost\",\"server.port\":\"9998\"}", "", "", "", @@ -700,7 +700,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -718,7 +718,7 @@ "Authorization": "Sanitized", "Content-Length": "197", "Content-Type": "application/json", - "traceparent": "00-d69474605e5869905fc535202f3b4138-7312277c9eee7b3b-00", + "traceparent": "00-fa66cf14c56e09bb156960387f2c3e72-096fcff2db0b7549-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -731,14 +731,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "6", + "Age": "5", "Connection": "keep-alive", "Content-Length": "2095", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:43 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-gv2rt", + "Via": "1.1 draft-oms-6474b844f8-cklbx", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -882,12 +882,12 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470476Z", + "2024-07-12T22:43:37.2919001Z", "http.server.request.duration", 1, - 0.0010316, - 0.0010316, - 0.0010316, + 0.0734357, + 0.0734357, + 0.0734357, "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"http.route\":\"/\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\"}", "", "", @@ -910,7 +910,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -928,7 +928,7 @@ "Authorization": "Sanitized", "Content-Length": "190", "Content-Type": "application/json", - "traceparent": "00-bdd15bbca13a084d23c01ec87c63b086-a607c7f69c30fe60-00", + "traceparent": "00-4309c33089a7babd472cf0143cabf4a5-3e054d85a3cb2db8-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -941,14 +941,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "6", + "Age": "4", "Connection": "keep-alive", - "Content-Length": "2046", + "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:43 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-wgp5f", + "Via": "1.1 draft-oms-6474b844f8-d796r", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1096,14 +1096,14 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6078709Z", + "2024-07-12T22:43:37.0354416Z", "Message via ILogger", 1, - null, + "{\"CategoryName\":\"CustomCategoryName\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "f59fc5d195101154", + "88df56a070a8fa9ed7e6cb8405f0be62", + "6db4861ec0f7cedd", "", "", "", @@ -1122,7 +1122,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1143,7 +1143,7 @@ "Authorization": "Sanitized", "Content-Length": "196", "Content-Type": "application/json", - "traceparent": "00-01afbdba32bb35377f53c2423cee82fc-5ce03edded15bcf5-00", + "traceparent": "00-9ae58476a9f044c5a504b8fa0651465a-0078d4012b276cc3-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1156,14 +1156,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "4", + "Age": "2", "Connection": "keep-alive", - "Content-Length": "2509", + "Content-Length": "2510", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:44 GMT", + "Date": "Fri, 12 Jul 2024 22:50:02 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-f4knk", + "Via": "1.1 draft-oms-6474b844f8-v7k4x", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1339,21 +1339,21 @@ "rows": [ [ "e1407f81-4e84-4943-843a-0494dd4700e5", - "2024-06-20T23:38:07.6049141Z", - "ab1d314b41df92d4", + "2024-07-12T22:40:48.0771341Z", + "b1f082e24522023c", "localhost:9998", "HTTP", "GET /", "http://localhost:9998/", true, "200", - 3.2012, + 28.1063, "<250ms", "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "49f75e59566d6ca854855deb28cdd910", + "da17bd8bf70b642749424a4cf85651b1", + "da17bd8bf70b642749424a4cf85651b1", "", "", "", @@ -1372,7 +1372,7 @@ "Other", "d64e2b0b-7f11-41ec-b85e-5bd69ee688e2", "3f8e759a-2c28-4cc7-b260-9b343fb2a3ff", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1393,7 +1393,7 @@ "Authorization": "Sanitized", "Content-Length": "191", "Content-Type": "application/json", - "traceparent": "00-3a1d9637caf4f11f74132bada9365f2b-5af9377180d125d7-00", + "traceparent": "00-643924ba575f43c58c04c1dbf1f122b8-3ff834e42d789bbf-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1406,14 +1406,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "8", + "Age": "7", "Connection": "keep-alive", - "Content-Length": "2478", + "Content-Length": "2479", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:44 GMT", + "Date": "Fri, 12 Jul 2024 22:50:03 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-2ntjc", + "Via": "1.1 draft-oms-6474b844f8-wfjk2", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1589,21 +1589,21 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6069422Z", - "f59fc5d195101154", + "2024-07-12T22:43:36.9744069Z", + "6db4861ec0f7cedd", "", "GET /", "http://localhost:9998/", true, "200", - 1.0316, + 73.4357, "<250ms", - "{\"CustomProperty1\":\"Value1\",\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\"}", + "{\"_MS.ProcessedByMetricExtractors\":\"(Name: X,Ver:'1.1')\",\"CustomProperty1\":\"Value1\"}", null, "GET /", - "49f75e59566d6ca854855deb28cdd910", + "88df56a070a8fa9ed7e6cb8405f0be62", null, - "ab1d314b41df92d4", + "b26e739d8ffb31d7", "", "", "", @@ -1622,7 +1622,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -1643,7 +1643,7 @@ "Authorization": "Sanitized", "Content-Length": "270", "Content-Type": "application/json", - "traceparent": "00-452f0aa72750a9e74d94883dd46ef2e3-3a2067989b2bb0d6-00", + "traceparent": "00-65adc3c82e28329a6aabd75723ce4594-f12a568e9d6a15c6-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1656,14 +1656,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "9", + "Age": "6", "Connection": "keep-alive", "Content-Length": "2132", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:46 GMT", + "Date": "Fri, 12 Jul 2024 22:50:03 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-bhfm7", + "Via": "1.1 draft-oms-6474b844f8-nks9v", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -1807,13 +1807,13 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470491Z", + "2024-07-12T22:43:37.2919595Z", "http.client.request.duration", 1, - 0.0032012, - 0.0032012, - 0.0032012, - "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"server.address\":\"localhost\",\"server.port\":\"9998\",\"url.scheme\":\"http\"}", + 0.1459972, + 0.1459972, + 0.1459972, + "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\",\"server.address\":\"localhost\",\"server.port\":\"9998\"}", "", "", "", @@ -1835,7 +1835,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -1853,7 +1853,7 @@ "Authorization": "Sanitized", "Content-Length": "197", "Content-Type": "application/json", - "traceparent": "00-ec7a46230ef027f977d39bd04f72ee65-a39c57b244b426de-00", + "traceparent": "00-7a20c4dbc445cbc5a11d6aae8d7d2ccb-b93f517e3913391d-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -1866,14 +1866,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "9", + "Age": "5", "Connection": "keep-alive", "Content-Length": "2095", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:46 GMT", + "Date": "Fri, 12 Jul 2024 22:50:03 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-ndnlv", + "Via": "1.1 draft-oms-6474b844f8-fvfkq", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -2017,12 +2017,12 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.7470476Z", + "2024-07-12T22:43:37.2919001Z", "http.server.request.duration", 1, - 0.0010316, - 0.0010316, - 0.0010316, + 0.0734357, + 0.0734357, + 0.0734357, "{\"http.request.method\":\"GET\",\"http.response.status_code\":\"200\",\"http.route\":\"/\",\"network.protocol.version\":\"1.1\",\"url.scheme\":\"http\"}", "", "", @@ -2045,7 +2045,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", "Azure", "AppMetrics", "/subscriptions/65b2f83e-7bf1-4be3-bafc-3a4163265a52/resourcegroups/tileetest06201346/providers/microsoft.insights/components/te3fca6a3c26958b8-ai-1" @@ -2063,7 +2063,7 @@ "Authorization": "Sanitized", "Content-Length": "190", "Content-Type": "application/json", - "traceparent": "00-0bd0e3f232218051fc97864e3e1d16ee-77f98a07170f401a-00", + "traceparent": "00-7f475174ad5d71051c6079899e4ca3f9-01c33c75ac0b37ec-00", "User-Agent": "azsdk-net-Monitor.Query/1.1.0 (.NET 7.0.20; Microsoft Windows 10.0.22631)", "x-ms-client-request-id": "Sanitized", "x-ms-return-client-request-id": "true" @@ -2076,14 +2076,14 @@ "ResponseHeaders": { "Access-Control-Allow-Origin": "*", "Access-Control-Expose-Headers": "Retry-After,Age,WWW-Authenticate,x-resource-identities,x-ms-status-location", - "Age": "8", + "Age": "5", "Connection": "keep-alive", - "Content-Length": "2046", + "Content-Length": "2085", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 20 Jun 2024 23:40:46 GMT", + "Date": "Fri, 12 Jul 2024 22:50:03 GMT", "Strict-Transport-Security": "max-age=15724800; includeSubDomains", "Vary": "Accept-Encoding", - "Via": "1.1 draft-oms-7b5b6f666d-wvvw7", + "Via": "1.1 draft-oms-6474b844f8-fmvws", "X-Content-Type-Options": "nosniff" }, "ResponseBody": { @@ -2231,14 +2231,14 @@ "rows": [ [ "33d8a320-00c3-4ec8-a6a4-8692b07a6841", - "2024-06-20T23:38:07.6078709Z", + "2024-07-12T22:43:37.0354416Z", "Message via ILogger", 1, - null, + "{\"CategoryName\":\"CustomCategoryName\"}", null, "", - "49f75e59566d6ca854855deb28cdd910", - "f59fc5d195101154", + "88df56a070a8fa9ed7e6cb8405f0be62", + "6db4861ec0f7cedd", "", "", "", @@ -2257,7 +2257,7 @@ "Other", "a98f261a-124b-425a-931e-8dc00af2e65c", "53e1f7f0-9975-4995-830a-414a26e9450a", - "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240620-d", + "dotnet7.0.20:otel1.9.0:ext1.4.0-alpha.20240712-d", 1, "", "", @@ -2274,7 +2274,7 @@ "Variables": { "CONNECTION_STRING": "InstrumentationKey=53e1f7f0-9975-4995-830a-414a26e9450a;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=a98f261a-124b-425a-931e-8dc00af2e65c", "LOGS_ENDPOINT": "https://api.loganalytics.io", - "RandomSeed": "1814202155", + "RandomSeed": "305523145", "SECONDARY_CONNECTION_STRING": "InstrumentationKey=3f8e759a-2c28-4cc7-b260-9b343fb2a3ff;IngestionEndpoint=https://westus-0.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/;ApplicationId=d64e2b0b-7f11-41ec-b85e-5bd69ee688e2", "SECONDARY_WORKSPACE_ID": "e1407f81-4e84-4943-843a-0494dd4700e5", "WORKSPACE_ID": "33d8a320-00c3-4ec8-a6a4-8692b07a6841" diff --git a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/TelemetryValidationHelper.cs b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/TelemetryValidationHelper.cs index 571e484bf2753..34e28fd2f5ab7 100644 --- a/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/TelemetryValidationHelper.cs +++ b/sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/tests/Azure.Monitor.OpenTelemetry.AspNetCore.Integration.Tests/TelemetryValidationHelper.cs @@ -129,6 +129,7 @@ public struct ExpectedAppMetric public struct ExpectedAppTrace { public string Message { get; set; } + public List> Properties { get; set; } public string SeverityLevel { get; set; } public string AppVersion { get; set; } public string AppRoleName { get; set; }