Skip to content

Commit 0e3f346

Browse files
authored
[processor/k8sattributes] bump version of semconv to 1.40 (open-telemetry#46644)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Bumping version of semconv to 1.40 Release: https://github.com/open-telemetry/semantic-conventions/releases/tag/v1.40.0 In particular open-telemetry/semantic-conventions#3304 moves the used attributes to `beta`. --------- Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
1 parent 41b2626 commit 0e3f346

12 files changed

Lines changed: 58 additions & 30 deletions

File tree

.chloggen/k8sattr_semconv140.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7+
component: processor/k8s_attributes
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Bump version of semconv to 1.40
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [46644]
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+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: []

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ linters:
220220
- go.opentelemetry.io/otel/semconv/v1.34.0
221221
- go.opentelemetry.io/otel/semconv/v1.38.0
222222
- go.opentelemetry.io/otel/semconv/v1.39.0
223+
- go.opentelemetry.io/otel/semconv/v1.40.0
223224

224225
semconv-in-test:
225226
list-mode: lax

internal/datadog/e2e/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ require (
457457
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.66.0 // indirect
458458
go.opentelemetry.io/contrib/otelconf v0.18.0 // indirect
459459
go.opentelemetry.io/contrib/propagators/b3 v1.40.0 // indirect
460-
go.opentelemetry.io/otel v1.41.0 // indirect
460+
go.opentelemetry.io/otel v1.41.1-0.20260304125011-e2305d228bc2 // indirect
461461
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.16.0 // indirect
462462
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.16.0 // indirect
463463
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.40.0 // indirect
@@ -470,11 +470,11 @@ require (
470470
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.40.0 // indirect
471471
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.40.0 // indirect
472472
go.opentelemetry.io/otel/log v0.16.0 // indirect
473-
go.opentelemetry.io/otel/metric v1.41.0 // indirect
473+
go.opentelemetry.io/otel/metric v1.41.1-0.20260304125011-e2305d228bc2 // indirect
474474
go.opentelemetry.io/otel/sdk v1.41.0 // indirect
475475
go.opentelemetry.io/otel/sdk/log v0.16.0 // indirect
476-
go.opentelemetry.io/otel/sdk/metric v1.41.0 // indirect
477-
go.opentelemetry.io/otel/trace v1.41.0 // indirect
476+
go.opentelemetry.io/otel/sdk/metric v1.41.1-0.20260304125011-e2305d228bc2 // indirect
477+
go.opentelemetry.io/otel/trace v1.41.1-0.20260304125011-e2305d228bc2 // indirect
478478
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
479479
go.uber.org/atomic v1.11.0 // indirect
480480
go.uber.org/dig v1.19.0 // indirect

internal/datadog/e2e/go.sum

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

processor/k8sattributesprocessor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,4 +1114,4 @@ The breaking changes between the 2 schemas are the following:
11141114
- `k8s.namespace.annotations.<key>` -> `k8s.namespace.annotation.<key>`
11151115

11161116
All attributes emitted through the `processor.k8sattributes.EmitV1K8sConventions` feature gate
1117-
are currently in `alpha` stability and are actively moving towards `stable` stability.
1117+
are currently in `beta` stability and are actively moving towards `stable` stability.

processor/k8sattributesprocessor/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"regexp"
1010
"time"
1111

12-
conventions "go.opentelemetry.io/otel/semconv/v1.39.0"
12+
conventions "go.opentelemetry.io/otel/semconv/v1.40.0"
1313

1414
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig"
1515
"github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube"

processor/k8sattributesprocessor/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ require (
3434
go.opentelemetry.io/collector/receiver/otlpreceiver v0.147.0
3535
go.opentelemetry.io/collector/receiver/receivertest v0.147.0
3636
go.opentelemetry.io/collector/receiver/xreceiver v0.147.0
37-
go.opentelemetry.io/otel v1.41.0
38-
go.opentelemetry.io/otel/metric v1.41.0
39-
go.opentelemetry.io/otel/sdk/metric v1.41.0
40-
go.opentelemetry.io/otel/trace v1.41.0
37+
go.opentelemetry.io/otel v1.41.1-0.20260304125011-e2305d228bc2
38+
go.opentelemetry.io/otel/metric v1.41.1-0.20260304125011-e2305d228bc2
39+
go.opentelemetry.io/otel/sdk/metric v1.41.1-0.20260304125011-e2305d228bc2
40+
go.opentelemetry.io/otel/trace v1.41.1-0.20260304125011-e2305d228bc2
4141
go.uber.org/goleak v1.3.0
4242
go.uber.org/multierr v1.11.0
4343
go.uber.org/zap v1.27.1

processor/k8sattributesprocessor/go.sum

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

processor/k8sattributesprocessor/internal/kube/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/distribution/reference"
1717
"go.opentelemetry.io/collector/component"
1818
"go.opentelemetry.io/otel/attribute"
19-
conventions "go.opentelemetry.io/otel/semconv/v1.39.0"
19+
conventions "go.opentelemetry.io/otel/semconv/v1.40.0"
2020
"go.uber.org/zap"
2121
apps_v1 "k8s.io/api/apps/v1"
2222
batch_v1 "k8s.io/api/batch/v1"

processor/k8sattributesprocessor/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"regexp"
99
"time"
1010

11-
conventions "go.opentelemetry.io/otel/semconv/v1.39.0"
11+
conventions "go.opentelemetry.io/otel/semconv/v1.40.0"
1212
"k8s.io/apimachinery/pkg/selection"
1313

1414
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig"

0 commit comments

Comments
 (0)