From 764ce667d500ed28bba783656f196f9d603b2635 Mon Sep 17 00:00:00 2001 From: Adam Weigert Date: Thu, 21 Jul 2022 10:41:58 -0400 Subject: [PATCH] fix serialization of strings in properties --- .dccache | 1 - .gitignore | 3 ++- .../src/ApplicationInsightsHealthCheckPublisher.cs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 .dccache diff --git a/.dccache b/.dccache deleted file mode 100644 index 7610024..0000000 --- a/.dccache +++ /dev/null @@ -1 +0,0 @@ -{"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisher.cs":[3581,1644333593565.9592,"fa914625129af14ea41a9c145066edac59ef6912c6d0f16b2b8aaa8661ce43f0"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisherOptions.cs":[341,1643509860734.1675,"101f52d7095d2f1ae0d379badcff92ff4e9c1be76db01bff15cbaf2ee8d737a0"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisherServiceCollectionExtensions.cs":[1671,1644333593575.9607,"f177dc2e807c282dc347ed5769d331c9efcb74223af4ac6a44cb662adf7b4356"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/HealthReportSerializer.cs":[13569,1650562092107.1545,"f4c824fc0a3abf0bb6ebd6288cb6c263b247083f32596a56e500d583363b3761"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/test/ApplicationInsightsHealthCheckPublisherServiceCollectionExtensionsTests.cs":[1502,1643631912211.1553,"b8b79e162946810acac5f3df648fb09ee3e30f48959bdf4aa72de685bd8608ec"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/test/ApplicationInsightsHealthCheckPublisherTests.cs":[1375,1643510152016.8416,"a881c4d7baf4eb9a3b3f12fdb3e3b49cc3581acfcc3cda7fca9609e5f2bb0225"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/src/AddDefaultRequestHeaderHttpClientBuilderExtensions.cs":[1385,1644333593922.4607,"3bce8e414fed2bd4b20bcc2e200cbcf0208871eb6dc41873e960fa619a1eafbd"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/src/ConfigureHttpClientServiceCollectionExtensions.cs":[3306,1644333593926.9612,"20dc240dc95c208cd0334d810fd67ceeb763da8335a4cc5564b41f9380fb877e"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/src/HttpClientOptions.cs":[366,1643897471537.526,"436d01ffd26b97dc2f520549057012b4105397c51ea0667f0926ea3d75b0d884"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/test/ConfigureNamedHttpClientServiceCollectionExtensionsTests.cs":[2214,1643861356546.5752,"41f01fd7952a8aaff8f8ff6b0b10f5e85e07cfead978dcea24b8275f8566cecb"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/test/ConfigureNamedTypedHttpClientServiceCollectionExtensionsTests.cs":[2311,1644324712826.6523,"0d1cbc3ec85f7e648eb2a286605df1133d3af921a123a9a74b5810bb2bca9b02"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Http/test/ConfigureTypedHttpClientServiceCollectionExtensionsTests.cs":[2298,1644324702185.0415,"74d4f7a33ac06e7ea09176678a52984727a0c0a83dd3dc19924295c26186dea4"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/ILoggerTelemetry.cs":[697,1643510152031.3438,"b813472df0f8bd1c03207350e3a3c76873603fa440c9fe789fc1858d11b83b47"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/ILoggerTelemetryFactory.cs":[192,1643509804052.2476,"9989770e841b3cd0e79f817a2462d44ddad7b22857e9f658a6055130bcf88770"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/ILoggerTelemetryOfT.cs":[113,1643509813213.8167,"3d90973eb8a348aa2d9a1576a528d9266940fa5b39f76b1b0ab39606485dda92"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/LoggerTelemetry.cs":[1837,1643510152024.342,"8ec6c3d5f075a6482a10cfa357fc6374cb0026de4a7cec05c5b0d3488cff0662"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/LoggerTelemetryFactory.cs":[845,1643509832324.5842,"ea151ec5de61dd136a7854f69a572e685b4070375f2f79628cd1253c7565410b"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/LoggerTelemetryOfT.cs":[436,1643510152027.8433,"5c78f05a9cdd1dd1185f69b95e416fc49dfb0b815f2fc3af5b60b051e8b806ff"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/src/LoggerTelemetrySerivceCollectionExtensions.cs":[661,1644333593582.9592,"e9b1450fb9dba6aa08374a7cd26ebdf624d59e60ea555f9a21a95632b9268818"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/test/LoggerTelemetrySerivceCollectionExtensionsTests.cs":[1568,1643509724278.9834,"032cf6ff54d7f3af07a71d45395bfa0ba6c734037e23d3432b2f528a9ef51712"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/test/LoggerTelemetryTests.cs":[2386,1643510152034.8545,"3fc4f7aab2fd966a597a26e45f21a7ab66168566cfe96d7f6b58436da68f8052"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Logging.ApplicationInsights/test/TelemetryClientFixture.cs":[443,1643509737776.9407,"9c155991210d6b54682b9872e5b7948893f818e34ec1e80f09600c2bd297f5e9"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Options/src/OptionsServiceCollectionExtensions.cs":[2255,1644333571777.4333,"3b6cc517bea54c17b8312911b926d572af8c08918f50753779b7250a98e2243c"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Options/src/OptionsServiceProviderExtensions.cs":[799,1643559220045.3308,"5d64b87ab7a31749add062442709914db874ad20ebe649e0c669e6c631575aa1"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Options/test/ConfigureOptionsFromConfigurationTests.cs":[2691,1643900692820.2854,"1a9f8a81f1ec15058d7bef45032dd85561682ca57b635c68e88a10fe8cd27148"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.Microsoft.Options/test/GetOptionsTests.cs":[1291,1643559211966.9214,"836a9fbc3459db744cde1f7aede5a220b13a2d281f45a423ce96014d20e756a4"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/src/Serialization/DateOnlyConverter.cs":[882,1644333642680.4558,"ca76f16fc6e51c5f03276620eab1b8bfab75c83a77a6c4f7b9e28c2677542254"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/src/Serialization/DateTimeAsUnixTimeSecondsConverter.cs":[810,1644333642673.4592,"225648bd0d51bacbe72019ba00d1a31753690ca65848b49425dac8a20f8c439c"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/src/Serialization/DateTimeOffsetAsUnixTimeSecondsConverter.cs":[825,1644333642683.9565,"858f0a48980b639a603e499770ddee448011742c2fb46c4e7782af5fdfa92eb0"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/src/Serialization/TimeOnlyConverter.cs":[882,1644333642668.959,"b62c4b6b376d6380d3b2dc2b74d303054fc1b1dde05753bec3f73ec1d4d9f303"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/src/Serialization/TimeSpanAsSecondsConverter.cs":[731,1644333642676.9597,"55740a31731a0db6f1e10a15a2362e43de47fa803653724e54e6e9f72be18a99"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/test/Serialization/DateOnlyConverterTests.cs":[924,1644333683314.7917,"35c7565d1735651e5f234943f79ca110a61b2abeaaeb7c7f5f0b244b68125ab0"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/test/Serialization/DateTimeAsUnixTimeSecondsConverterTests.cs":[1177,1644333665790.3188,"1c040bfa639f19e45e1516199e5c684a7233489265ba8ed7ad0bfbc2655e7dcc"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/test/Serialization/DateTimeOffsetAsUnixTimeSecondsConverterTests.cs":[1219,1644333691966.4563,"1e79459ea4dfaf1ae7cffa1beea15a7f33b5efaa73bbdcbe76e1b182639c15d5"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/test/Serialization/TimeOnlyConverterTests.cs":[982,1644333688070.678,"c78121682d52fe1da18c2957d205bde732f7b1b338909c606889d711a9b5ea84"],"c:/Users/adamw/source/repos/dotnet-extensions/Extensions.System.Text.Json/test/Serialization/TimeSpanAsSecondsConverterTests.cs":[1067,1644333677124.456,"633bcec2456145081afc7fb65cc41476e01c6b4f4294cc7364d8f617e25e2905"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\src\\ApplicationInsightsHealthCheckPublisher.cs":[3581,1644333593565.9592,"fa914625129af14ea41a9c145066edac59ef6912c6d0f16b2b8aaa8661ce43f0"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\src\\ApplicationInsightsHealthCheckPublisherOptions.cs":[341,1643509860734.1675,"101f52d7095d2f1ae0d379badcff92ff4e9c1be76db01bff15cbaf2ee8d737a0"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\src\\HealthReportSerializer.cs":[13569,1650562092107.1545,"f4c824fc0a3abf0bb6ebd6288cb6c263b247083f32596a56e500d583363b3761"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\src\\ApplicationInsightsHealthCheckPublisherServiceCollectionExtensions.cs":[1671,1644333593575.9607,"f177dc2e807c282dc347ed5769d331c9efcb74223af4ac6a44cb662adf7b4356"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\src\\AddDefaultRequestHeaderHttpClientBuilderExtensions.cs":[1385,1644333593922.4607,"3bce8e414fed2bd4b20bcc2e200cbcf0208871eb6dc41873e960fa619a1eafbd"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\test\\ApplicationInsightsHealthCheckPublisherTests.cs":[1375,1643510152016.8416,"a881c4d7baf4eb9a3b3f12fdb3e3b49cc3581acfcc3cda7fca9609e5f2bb0225"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights\\test\\ApplicationInsightsHealthCheckPublisherServiceCollectionExtensionsTests.cs":[1502,1643631912211.1553,"b8b79e162946810acac5f3df648fb09ee3e30f48959bdf4aa72de685bd8608ec"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\src\\ConfigureHttpClientServiceCollectionExtensions.cs":[3306,1644333593926.9612,"20dc240dc95c208cd0334d810fd67ceeb763da8335a4cc5564b41f9380fb877e"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\src\\HttpClientOptions.cs":[366,1643897471537.526,"436d01ffd26b97dc2f520549057012b4105397c51ea0667f0926ea3d75b0d884"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\test\\ConfigureNamedHttpClientServiceCollectionExtensionsTests.cs":[2214,1643861356546.5752,"41f01fd7952a8aaff8f8ff6b0b10f5e85e07cfead978dcea24b8275f8566cecb"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\test\\ConfigureNamedTypedHttpClientServiceCollectionExtensionsTests.cs":[2311,1644324712826.6523,"0d1cbc3ec85f7e648eb2a286605df1133d3af921a123a9a74b5810bb2bca9b02"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\ILoggerTelemetry.cs":[697,1643510152031.3438,"b813472df0f8bd1c03207350e3a3c76873603fa440c9fe789fc1858d11b83b47"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Http\\test\\ConfigureTypedHttpClientServiceCollectionExtensionsTests.cs":[2298,1644324702185.0415,"74d4f7a33ac06e7ea09176678a52984727a0c0a83dd3dc19924295c26186dea4"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\ILoggerTelemetryFactory.cs":[192,1643509804052.2476,"9989770e841b3cd0e79f817a2462d44ddad7b22857e9f658a6055130bcf88770"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\LoggerTelemetry.cs":[1837,1643510152024.342,"8ec6c3d5f075a6482a10cfa357fc6374cb0026de4a7cec05c5b0d3488cff0662"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\ILoggerTelemetryOfT.cs":[113,1643509813213.8167,"3d90973eb8a348aa2d9a1576a528d9266940fa5b39f76b1b0ab39606485dda92"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\LoggerTelemetryFactory.cs":[845,1643509832324.5842,"ea151ec5de61dd136a7854f69a572e685b4070375f2f79628cd1253c7565410b"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\LoggerTelemetryOfT.cs":[436,1643510152027.8433,"5c78f05a9cdd1dd1185f69b95e416fc49dfb0b815f2fc3af5b60b051e8b806ff"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\src\\LoggerTelemetrySerivceCollectionExtensions.cs":[661,1644333593582.9592,"e9b1450fb9dba6aa08374a7cd26ebdf624d59e60ea555f9a21a95632b9268818"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\test\\LoggerTelemetrySerivceCollectionExtensionsTests.cs":[1568,1643509724278.9834,"032cf6ff54d7f3af07a71d45395bfa0ba6c734037e23d3432b2f528a9ef51712"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\test\\LoggerTelemetryTests.cs":[2386,1643510152034.8545,"3fc4f7aab2fd966a597a26e45f21a7ab66168566cfe96d7f6b58436da68f8052"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Logging.ApplicationInsights\\test\\TelemetryClientFixture.cs":[443,1643509737776.9407,"9c155991210d6b54682b9872e5b7948893f818e34ec1e80f09600c2bd297f5e9"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Options\\src\\OptionsServiceCollectionExtensions.cs":[2255,1644333571777.4333,"3b6cc517bea54c17b8312911b926d572af8c08918f50753779b7250a98e2243c"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Options\\src\\OptionsServiceProviderExtensions.cs":[799,1643559220045.3308,"5d64b87ab7a31749add062442709914db874ad20ebe649e0c669e6c631575aa1"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Options\\test\\ConfigureOptionsFromConfigurationTests.cs":[2691,1643900692820.2854,"1a9f8a81f1ec15058d7bef45032dd85561682ca57b635c68e88a10fe8cd27148"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.Microsoft.Options\\test\\GetOptionsTests.cs":[1291,1643559211966.9214,"836a9fbc3459db744cde1f7aede5a220b13a2d281f45a423ce96014d20e756a4"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\src\\Serialization\\DateOnlyConverter.cs":[882,1644333642680.4558,"ca76f16fc6e51c5f03276620eab1b8bfab75c83a77a6c4f7b9e28c2677542254"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\src\\Serialization\\DateTimeAsUnixTimeSecondsConverter.cs":[810,1644333642673.4592,"225648bd0d51bacbe72019ba00d1a31753690ca65848b49425dac8a20f8c439c"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\src\\Serialization\\DateTimeOffsetAsUnixTimeSecondsConverter.cs":[825,1644333642683.9565,"858f0a48980b639a603e499770ddee448011742c2fb46c4e7782af5fdfa92eb0"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\src\\Serialization\\TimeSpanAsSecondsConverter.cs":[731,1644333642676.9597,"55740a31731a0db6f1e10a15a2362e43de47fa803653724e54e6e9f72be18a99"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\src\\Serialization\\TimeOnlyConverter.cs":[882,1644333642668.959,"b62c4b6b376d6380d3b2dc2b74d303054fc1b1dde05753bec3f73ec1d4d9f303"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\test\\Serialization\\DateOnlyConverterTests.cs":[924,1644333683314.7917,"35c7565d1735651e5f234943f79ca110a61b2abeaaeb7c7f5f0b244b68125ab0"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\test\\Serialization\\DateTimeAsUnixTimeSecondsConverterTests.cs":[1177,1644333665790.3188,"1c040bfa639f19e45e1516199e5c684a7233489265ba8ed7ad0bfbc2655e7dcc"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\test\\Serialization\\DateTimeOffsetAsUnixTimeSecondsConverterTests.cs":[1219,1644333691966.4563,"1e79459ea4dfaf1ae7cffa1beea15a7f33b5efaa73bbdcbe76e1b182639c15d5"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\test\\Serialization\\TimeOnlyConverterTests.cs":[982,1644333688070.678,"c78121682d52fe1da18c2957d205bde732f7b1b338909c606889d711a9b5ea84"],"c:\\Users\\adamw\\source\\repos\\dotnet-extensions\\Extensions.System.Text.Json\\test\\Serialization\\TimeSpanAsSecondsConverterTests.cs":[1067,1644333677124.456,"633bcec2456145081afc7fb65cc41476e01c6b4f4294cc7364d8f617e25e2905"]} \ No newline at end of file diff --git a/.gitignore b/.gitignore index ce91c79..97f020c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.dccache # Created by https://www.toptal.com/developers/gitignore/api/visualstudio,visualstudiocode # Edit at https://www.toptal.com/developers/gitignore?templates=visualstudio,visualstudiocode @@ -370,4 +371,4 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ -# End of https://www.toptal.com/developers/gitignore/api/visualstudio,visualstudiocode \ No newline at end of file +# End of https://www.toptal.com/developers/gitignore/api/visualstudio,visualstudiocode diff --git a/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisher.cs b/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisher.cs index 482114c..45b51d9 100644 --- a/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisher.cs +++ b/Extensions.Microsoft.Diagnostics.HealthChecks.ApplicationInsights/src/ApplicationInsightsHealthCheckPublisher.cs @@ -68,6 +68,10 @@ private void TrackAvailability(KeyValuePair entry) properties.Add($"{data.Key}:{dataEntry.Key}", dataEntry.Value.Status.ToString()); } } + else if (data.Value is string value) + { + properties.Add(data.Key, value); + } else if (data.Value is IEnumerable enumerable) { properties.Add(data.Key, JsonSerializer.Serialize(enumerable));