From 88c8acbbfebbd85d66826ec133217d72bd981483 Mon Sep 17 00:00:00 2001 From: "Beckhoff, Tobias" Date: Fri, 15 Mar 2024 17:15:23 +0100 Subject: [PATCH] AspNetCore OT: Fixed folder issue, added some lines to readme. --- NuGet-Packages.sln | 32 +++++++++---------- ...AspNetCore.Extensions.OpenTelemetry.csproj | 0 ...JGUZDVAspNetCoreOpenTelemetryExtensions.cs | 0 .../{ => src}/README.md | 9 +++--- 4 files changed, 21 insertions(+), 20 deletions(-) rename libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/{ => src}/JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj (100%) rename libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/{ => src}/JGUZDVAspNetCoreOpenTelemetryExtensions.cs (100%) rename libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/{ => src}/README.md (70%) diff --git a/NuGet-Packages.sln b/NuGet-Packages.sln index 427a29b..1738f18 100644 --- a/NuGet-Packages.sln +++ b/NuGet-Packages.sln @@ -152,7 +152,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JGUZDV.WebApiHost.Tests", " EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "JGUZDV.AspNetCore.Extensions.OpenTelemetry", "JGUZDV.AspNetCore.Extensions.OpenTelemetry", "{B1DC4BB7-3BB1-43FB-8264-C9E1712AD741}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JGUZDV.AspNetCore.Extensions.OpenTelemetry", "libraries\JGUZDV.AspNetCore.Extensions.OpenTelemetry\JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj", "{F0298DA6-73BA-4C3B-AD47-678CC0F099C8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JGUZDV.AspNetCore.Extensions.OpenTelemetry", "libraries\JGUZDV.AspNetCore.Extensions.OpenTelemetry\src\JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj", "{BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -704,18 +704,18 @@ Global {892EA5E4-A98F-4A36-B901-8A1FAB27623E}.Release|x64.Build.0 = Release|Any CPU {892EA5E4-A98F-4A36-B901-8A1FAB27623E}.Release|x86.ActiveCfg = Release|Any CPU {892EA5E4-A98F-4A36-B901-8A1FAB27623E}.Release|x86.Build.0 = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|x64.ActiveCfg = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|x64.Build.0 = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|x86.ActiveCfg = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Debug|x86.Build.0 = Debug|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|Any CPU.Build.0 = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|x64.ActiveCfg = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|x64.Build.0 = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|x86.ActiveCfg = Release|Any CPU - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8}.Release|x86.Build.0 = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|x64.ActiveCfg = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|x64.Build.0 = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|x86.ActiveCfg = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Debug|x86.Build.0 = Debug|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|Any CPU.Build.0 = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|x64.ActiveCfg = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|x64.Build.0 = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|x86.ActiveCfg = Release|Any CPU + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -789,11 +789,11 @@ Global {53D9AE20-2981-411C-87CD-5DCD71D181B4} = {4AADAD6A-4BA0-427E-9EA1-4AFE211C1200} {892EA5E4-A98F-4A36-B901-8A1FAB27623E} = {4AADAD6A-4BA0-427E-9EA1-4AFE211C1200} {B1DC4BB7-3BB1-43FB-8264-C9E1712AD741} = {DA4DE709-E5BC-4B93-88D2-838656C217CE} - {F0298DA6-73BA-4C3B-AD47-678CC0F099C8} = {B1DC4BB7-3BB1-43FB-8264-C9E1712AD741} + {BDF176E0-07BD-4A8F-BD68-D4F29A2EDB79} = {B1DC4BB7-3BB1-43FB-8264-C9E1712AD741} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - RESX_SortFileContentOnSave = True - RESX_NeutralResourcesLanguage = de-DE SolutionGuid = {46ECC226-1874-4539-8589-8B2029909C4A} + RESX_NeutralResourcesLanguage = de-DE + RESX_SortFileContentOnSave = True EndGlobalSection EndGlobal diff --git a/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj b/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj similarity index 100% rename from libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj rename to libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/JGUZDV.AspNetCore.Extensions.OpenTelemetry.csproj diff --git a/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/JGUZDVAspNetCoreOpenTelemetryExtensions.cs b/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/JGUZDVAspNetCoreOpenTelemetryExtensions.cs similarity index 100% rename from libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/JGUZDVAspNetCoreOpenTelemetryExtensions.cs rename to libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/JGUZDVAspNetCoreOpenTelemetryExtensions.cs diff --git a/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/README.md b/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/README.md similarity index 70% rename from libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/README.md rename to libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/README.md index 829d502..d964111 100644 --- a/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/README.md +++ b/libraries/JGUZDV.AspNetCore.Extensions.OpenTelemetry/src/README.md @@ -16,7 +16,7 @@ in the following example: ´´´ "OpenTelemetry": { "AzureMonitor": { - "ConnectionString": "", + "ConnectionString": "", }, "ServiceNamespace": "", "ServiceName": "" @@ -24,8 +24,9 @@ in the following example: ´´´ Note: If no "OpenTelemetry" section can be found, nothing will happen -at all. If such a section is present, all parameters need to be set -as presented in the example. WebAppNamespace should be something summarizing, +at all. If such a section is present, the included parameters will be +checked. ConnectionString is obviously a mandatory config parameter. +WebAppNamespace should describe a summarizing border or boundary, and WebAppName should be the concrete and unique name of the WebApp. The name and namespace parameters should be about 10 to 15 characters, -with no whitespaces or special characters. \ No newline at end of file +the strings should not include any whitespace or special characters. \ No newline at end of file