diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c923736727..9b6a4541201 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -68,6 +68,7 @@ ### 🧰 Bug fixes 🧰 - The `featuregates` were not configured from the "--feature-gates" flag on windows service (#5060) +- Fix Semantic Convention Schema URL definition for 1.5.0 and 1.6.1 versions (#5103) ## v0.47.0 Beta diff --git a/model/semconv/v1.5.0/schema.go b/model/semconv/v1.5.0/schema.go index f9d05e6104f..625aa5d8c7d 100644 --- a/model/semconv/v1.5.0/schema.go +++ b/model/semconv/v1.5.0/schema.go @@ -17,4 +17,4 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.5.0" // SchemaURL is the schema URL that matches the version of the semantic conventions // that this package defines. Conventions packages starting from v1.4.0 must declare // non-empty schema URL in the form https://opentelemetry.io/schemas/ -const SchemaURL = "https://opentelemetry.io/schemas/v1.5.0" +const SchemaURL = "https://opentelemetry.io/schemas/1.5.0" diff --git a/model/semconv/v1.6.1/schema.go b/model/semconv/v1.6.1/schema.go index d46f43d7e4b..6ab05b4af21 100644 --- a/model/semconv/v1.6.1/schema.go +++ b/model/semconv/v1.6.1/schema.go @@ -17,4 +17,4 @@ package semconv // import "go.opentelemetry.io/collector/model/semconv/v1.6.1" // SchemaURL is the schema URL that matches the version of the semantic conventions // that this package defines. Conventions packages starting from v1.4.0 must declare // non-empty schema URL in the form https://opentelemetry.io/schemas/ -const SchemaURL = "https://opentelemetry.io/schemas/v1.6.1" +const SchemaURL = "https://opentelemetry.io/schemas/1.6.1"