-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
…n semantic convention output). There will be a fast follow PR to remove Legacy in preparation for an RC.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,11 @@ internal partial class AWSSemanticConventions | |
/// Per SemanticConventionVersion, default should stay as | ||
/// <see cref="SemanticConventionVersion.V1_28_0"/> until next major version bump. | ||
/// </remarks> | ||
internal const SemanticConventionVersion DefaultSemanticConventionVersion = SemanticConventionVersion.V1_28_0; | ||
internal const SemanticConventionVersion DefaultSemanticConventionVersion = | ||
// Beta Release | ||
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check warning on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
Check warning on line 70 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
|
||
SemanticConventionVersion.Legacy; | ||
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check warning on line 71 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
|
||
// RC Release | ||
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check warning on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
Check warning on line 72 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
|
||
//SemanticConventionVersion.V1_28_0; | ||
|
||
private readonly SemanticConventionVersion semanticConventionVersion; | ||
|
||
|
@@ -488,6 +492,9 @@ private AWSSemanticConventionsBase GetSemanticConventionVersion() | |
case SemanticConventionVersion.V1_28_0: | ||
return new AWSSemanticConventions_V1_28_0(); | ||
|
||
case SemanticConventionVersion.Legacy: | ||
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (ubuntu-22.04, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net462)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-instrumentation-aws / build-test (windows-latest, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net8.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check failure on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / build-test-resources-aws / build-test (windows-latest, net9.0)
Check warning on line 495 in src/Shared/AWS/AWSSemanticConventions.cs GitHub Actions / lint-dotnet-format / run-dotnet-format
|
||
return new AWSSemanticConventionsLegacy(); | ||
|
||
default: | ||
throw new InvalidEnumArgumentException( | ||
argumentName: nameof(SemanticConventionVersion), | ||
|