Skip to content

Commit 54ae936

Browse files
codebotenmx-psi
andauthored
semconv: mark the package as deprecated (#13012)
This package will be removed in the future, use go.opentelemetry.io/otel/semconv instead --------- Signed-off-by: Alex Boten <[email protected]> Co-authored-by: Pablo Baeyens <[email protected]>
1 parent ab167ec commit 54ae936

File tree

8 files changed

+38
-0
lines changed

8 files changed

+38
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: deprecation
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
7+
component: semconv
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Deprecating the semconv package in favour of go.opentelemetry.io/otel/semconv
11+
12+
# One or more tracking issues or pull requests related to the change
13+
issues: [13012]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# Optional: The change log or logs in which this entry should be included.
21+
# e.g. '[user]' or '[user, api]'
22+
# Include 'user' if the change is relevant to end users.
23+
# Include 'api' if there is a change to a library API.
24+
# Default: '[user]'
25+
change_logs: []

semconv/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Semantic Convention Constants
22

3+
> :warning: This package has been deprecated, use `go.opentelemetry.io/otel/semconv` instead.
4+
35
This package contains constants representing the OpenTelemetry semantic conventions. They are automatically generated
46
from definitions in the specification.
57

semconv/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
12
module go.opentelemetry.io/collector/semconv
23

34
go 1.23.0

semconv/v1.21.0/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
// OpenTelemetry semantic conventions are agreed standardized naming
77
// patterns for OpenTelemetry things. This package represents the v1.21.0
88
// version of the OpenTelemetry semantic conventions.
9+
//
10+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
911
package semconv // import "go.opentelemetry.io/collector/semconv/v1.21.0"

semconv/v1.22.0/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
// OpenTelemetry semantic conventions are agreed standardized naming
77
// patterns for OpenTelemetry things. This package represents the v1.22.0
88
// version of the OpenTelemetry semantic conventions.
9+
//
10+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
911
package semconv // import "go.opentelemetry.io/collector/semconv/v1.22.0"

semconv/v1.25.0/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
// OpenTelemetry semantic conventions are agreed standardized naming
77
// patterns for OpenTelemetry things. This package represents the v1.25.0
88
// version of the OpenTelemetry semantic conventions.
9+
//
10+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
911
package semconv // import "go.opentelemetry.io/collector/semconv/v1.25.0"

semconv/v1.26.0/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Copyright The OpenTelemetry Authors
22
// SPDX-License-Identifier: Apache-2.0
33

4+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
5+
//
46
// Package semconv implements OpenTelemetry semantic conventions.
57
//
68
// OpenTelemetry semantic conventions are agreed standardized naming

semconv/v1.27.0/doc.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
// OpenTelemetry semantic conventions are agreed standardized naming
77
// patterns for OpenTelemetry things. This package represents the v1.27.0
88
// version of the OpenTelemetry semantic conventions.
9+
//
10+
// Deprecated: [v0.126.0] This package has been deprecated, use go.opentelemetry.io/otel/semconv instead.
911
package semconv // import "go.opentelemetry.io/collector/semconv/v1.27.0"

0 commit comments

Comments
 (0)