diff --git a/.chloggen/k8sattr_semconv_bump.yaml b/.chloggen/k8sattr_semconv_bump.yaml new file mode 100644 index 0000000000000..ceb4f60ce5b9a --- /dev/null +++ b/.chloggen/k8sattr_semconv_bump.yaml @@ -0,0 +1,27 @@ +# Use this changelog template to create an entry for release notes. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog) +component: processor/k8sattributes + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Bumnp version of semconv to v1.39.0 + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +issues: [45447] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: + +# If your change doesn't affect end users or the exported elements of any package, +# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. +# Optional: The change log or logs in which this entry should be included. +# e.g. '[user]' or '[user, api]' +# Include 'user' if the change is relevant to end users. +# Include 'api' if there is a change to a library API. +# Default: '[user]' +change_logs: [] diff --git a/CHANGELOG.md b/CHANGELOG.md index 5224fe2840d8d..c8bcfae0bff80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1732,7 +1732,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ Note that due to the nature of the timing issue this is extremely unlikely to affect a real user, and really only likely to occur in unit tests. -- `datadogconnector`: Use proper syncronization to fix a collector panic when an error occurs (#40845) +- `datadogconnector`: Use proper synchronization to fix a collector panic when an error occurs (#40845) - `sqlserverreceiver`: export `host.name` as resource attributes for metrics (#40576) in the metadata file, the `host.name` resource attribute is defined for metrics, but it is not exported in reality. this fixed the issue and export it as a resource attribute. @@ -1831,7 +1831,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ - `elasticsearchexporter`: Fix a bug where unset span status code was being serialized as 'Unset' instead of being ignored (#39498) - `coralogixexporter`: Fix Authorization header not being set in metadata. (#40330) -- `datadogexporter`: Fix automatic intial point dropping when converting cumulative monotonic sum metrics (#40426) +- `datadogexporter`: Fix automatic initial point dropping when converting cumulative monotonic sum metrics (#40426) The exporter turns OpenTelemetry's cumulative monotonic sum metrics into Datadog's (delta) count metrics by computing the difference between successive points. The logic to determine whether the first received value should be ignored or passed through as a delta was faulty, leading to large @@ -2136,7 +2136,7 @@ The frequency of recording pipeline lag can be configured with `lag_record_frequ - `awscloudwatchreceiver`: Adds option to set storage for AWS CloudWatch receiver (#32231) - The default value of the `start_from` field in the logs config changed to Unix epoch (`1970-01-01T00:00:00Z`) when not explicitly configured. This may alter the behavior of existing configurations relying on the previous default. - - To maintain previous behavior, explicitly configure `start_from` in the logs configuraiton. + - To maintain previous behavior, explicitly configure `start_from` in the logs configuration. - `k8sobjectsreceiver`: Check for K8s API objects existence on receiver startup and not during config validation. (#38803) - `receiver/kubeletstats`: Move receiver.kubeletstats.enableCPUUsageMetrics feature gate to beta (#39487) diff --git a/internal/datadog/e2e/go.mod b/internal/datadog/e2e/go.mod index e8ab0bf5f935a..a969bf7e7e751 100644 --- a/internal/datadog/e2e/go.mod +++ b/internal/datadog/e2e/go.mod @@ -454,7 +454,7 @@ require ( go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0 // indirect go.opentelemetry.io/contrib/otelconf v0.18.0 // indirect go.opentelemetry.io/contrib/propagators/b3 v1.38.0 // indirect - go.opentelemetry.io/otel v1.39.0 // indirect + go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d // indirect go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.14.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.14.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.39.0 // indirect @@ -467,11 +467,11 @@ require ( go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.39.0 // indirect go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.39.0 // indirect go.opentelemetry.io/otel/log v0.15.0 // indirect - go.opentelemetry.io/otel/metric v1.39.0 // indirect + go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d // indirect go.opentelemetry.io/otel/sdk v1.39.0 // indirect go.opentelemetry.io/otel/sdk/log v0.14.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.39.0 // indirect - go.opentelemetry.io/otel/trace v1.39.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d // indirect + go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d // indirect go.opentelemetry.io/proto/otlp v1.9.0 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/dig v1.19.0 // indirect diff --git a/internal/datadog/e2e/go.sum b/internal/datadog/e2e/go.sum index 491e508681b48..2807afc1ae580 100644 --- a/internal/datadog/e2e/go.sum +++ b/internal/datadog/e2e/go.sum @@ -1143,8 +1143,8 @@ go.opentelemetry.io/contrib/propagators/b3 v1.38.0 h1:uHsCCOSKl0kLrV2dLkFK+8Ywk9 go.opentelemetry.io/contrib/propagators/b3 v1.38.0/go.mod h1:wMRSZJZcY8ya9mApLLhwIMjqmApy2o/Ml+62lhvxyHU= go.opentelemetry.io/contrib/zpages v0.63.0 h1:TppOKuZGbqXMgsfjqq3i09N5Vbo1JLtLImUqiTPGnX4= go.opentelemetry.io/contrib/zpages v0.63.0/go.mod h1:5F8uugz75ay/MMhRRhxAXY33FuaI8dl7jTxefrIy5qk= -go.opentelemetry.io/otel v1.39.0 h1:8yPrr/S0ND9QEfTfdP9V+SiwT4E0G7Y5MO7p85nis48= -go.opentelemetry.io/otel v1.39.0/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= +go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d h1:d8jN5C+mHlN5HebF5NXapM8PW5Tq8LoBMUO/d7aqm4Y= +go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.14.0 h1:OMqPldHt79PqWKOMYIAQs3CxAi7RLgPxwfFSwr4ZxtM= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.14.0/go.mod h1:1biG4qiqTxKiUCtoWDPpL3fB3KxVwCiGw81j3nKMuHE= go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.14.0 h1:QQqYw3lkrzwVsoEX0w//EhH/TCnpRdEenKBOOEIMjWc= @@ -1171,18 +1171,18 @@ go.opentelemetry.io/otel/log v0.15.0 h1:0VqVnc3MgyYd7QqNVIldC3dsLFKgazR6P3P3+ypk go.opentelemetry.io/otel/log v0.15.0/go.mod h1:9c/G1zbyZfgu1HmQD7Qj84QMmwTp2QCQsZH1aeoWDE4= go.opentelemetry.io/otel/log/logtest v0.14.0 h1:BGTqNeluJDK2uIHAY8lRqxjVAYfqgcaTbVk1n3MWe5A= go.opentelemetry.io/otel/log/logtest v0.14.0/go.mod h1:IuguGt8XVP4XA4d2oEEDMVDBBCesMg8/tSGWDjuKfoA= -go.opentelemetry.io/otel/metric v1.39.0 h1:d1UzonvEZriVfpNKEVmHXbdf909uGTOQjA0HF0Ls5Q0= -go.opentelemetry.io/otel/metric v1.39.0/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= +go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d h1:Mv7jOS/papmlU4jeUx/ScvxT+UghI4YxgRG2ODBxqBA= +go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= go.opentelemetry.io/otel/sdk v1.39.0 h1:nMLYcjVsvdui1B/4FRkwjzoRVsMK8uL/cj0OyhKzt18= go.opentelemetry.io/otel/sdk v1.39.0/go.mod h1:vDojkC4/jsTJsE+kh+LXYQlbL8CgrEcwmt1ENZszdJE= go.opentelemetry.io/otel/sdk/log v0.14.0 h1:JU/U3O7N6fsAXj0+CXz21Czg532dW2V4gG1HE/e8Zrg= go.opentelemetry.io/otel/sdk/log v0.14.0/go.mod h1:imQvII+0ZylXfKU7/wtOND8Hn4OpT3YUoIgqJVksUkM= go.opentelemetry.io/otel/sdk/log/logtest v0.14.0 h1:Ijbtz+JKXl8T2MngiwqBlPaHqc4YCaP/i13Qrow6gAM= go.opentelemetry.io/otel/sdk/log/logtest v0.14.0/go.mod h1:dCU8aEL6q+L9cYTqcVOk8rM9Tp8WdnHOPLiBgp0SGOA= -go.opentelemetry.io/otel/sdk/metric v1.39.0 h1:cXMVVFVgsIf2YL6QkRF4Urbr/aMInf+2WKg+sEJTtB8= -go.opentelemetry.io/otel/sdk/metric v1.39.0/go.mod h1:xq9HEVH7qeX69/JnwEfp6fVq5wosJsY1mt4lLfYdVew= -go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6/qCJI= -go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= +go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d h1:Xc+v+yOWogGc1bTp6ISSnWEgHjaerCiU1VWBZQ40ewo= +go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:UVPnzxO3YDVhII6+YVBzgScV6MYwDUlW2G9lVMvFS7c= +go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d h1:BbdGrkH9cVsrnmD3egDymUWUjG5tGK6oaobhpHmDrK8= +go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= go.opentelemetry.io/proto/otlp v1.9.0 h1:l706jCMITVouPOqEnii2fIAuO3IVGBRPV5ICjceRb/A= go.opentelemetry.io/proto/otlp v1.9.0/go.mod h1:xE+Cx5E/eEHw+ISFkwPLwCZefwVjY+pqKg1qcK03+/4= go.opentelemetry.io/proto/slim/otlp v1.9.0 h1:fPVMv8tP3TrsqlkH1HWYUpbCY9cAIemx184VGkS6vlE= diff --git a/processor/k8sattributesprocessor/config.go b/processor/k8sattributesprocessor/config.go index 4a87ff959bc6c..e3a02f2da7b52 100644 --- a/processor/k8sattributesprocessor/config.go +++ b/processor/k8sattributesprocessor/config.go @@ -9,7 +9,7 @@ import ( "regexp" "time" - conventions "go.opentelemetry.io/otel/semconv/v1.38.0" + conventions "go.opentelemetry.io/otel/semconv/v1.39.0" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig" "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube" diff --git a/processor/k8sattributesprocessor/go.mod b/processor/k8sattributesprocessor/go.mod index 6cb4dbf1d922e..aa1f818782ce8 100644 --- a/processor/k8sattributesprocessor/go.mod +++ b/processor/k8sattributesprocessor/go.mod @@ -34,10 +34,10 @@ require ( go.opentelemetry.io/collector/receiver/otlpreceiver v0.143.1-0.20260115162016-5e41fb551263 go.opentelemetry.io/collector/receiver/receivertest v0.143.1-0.20260115162016-5e41fb551263 go.opentelemetry.io/collector/receiver/xreceiver v0.143.1-0.20260115162016-5e41fb551263 - go.opentelemetry.io/otel v1.39.0 - go.opentelemetry.io/otel/metric v1.39.0 - go.opentelemetry.io/otel/sdk/metric v1.39.0 - go.opentelemetry.io/otel/trace v1.39.0 + go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d + go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d + go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d + go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d go.uber.org/goleak v1.3.0 go.uber.org/multierr v1.11.0 go.uber.org/zap v1.27.1 diff --git a/processor/k8sattributesprocessor/go.sum b/processor/k8sattributesprocessor/go.sum index 70f8ce7b6d788..5a0fece952467 100644 --- a/processor/k8sattributesprocessor/go.sum +++ b/processor/k8sattributesprocessor/go.sum @@ -262,20 +262,20 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.6 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0/go.mod h1:fvPi2qXDqFs8M4B4fmJhE92TyQs9Ydjlg3RvfUp+NbQ= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0 h1:RbKq8BG0FI8OiXhBfcRtqqHcZcka+gU3cskNuf05R18= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.63.0/go.mod h1:h06DGIukJOevXaj/xrNjhi/2098RZzcLTbc0jDAUbsg= -go.opentelemetry.io/otel v1.39.0 h1:8yPrr/S0ND9QEfTfdP9V+SiwT4E0G7Y5MO7p85nis48= -go.opentelemetry.io/otel v1.39.0/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= +go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d h1:d8jN5C+mHlN5HebF5NXapM8PW5Tq8LoBMUO/d7aqm4Y= +go.opentelemetry.io/otel v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:kLlFTywNWrFyEdH0oj2xK0bFYZtHRYUdv1NklR/tgc8= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0 h1:lsInsfvhVIfOI6qHVyysXMNDnjO9Npvl7tlDPJFBVd4= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0/go.mod h1:KQsVNh4OjgjTG0G6EiNi1jVpnaeeKsKMRwbLN+f1+8M= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 h1:j9+03ymgYhPKmeXGk5Zu+cIZOlVzd9Zv7QIiyItjFBU= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0/go.mod h1:Y5+XiUG4Emn1hTfciPzGPJaSI+RpDts6BnCIir0SLqk= -go.opentelemetry.io/otel/metric v1.39.0 h1:d1UzonvEZriVfpNKEVmHXbdf909uGTOQjA0HF0Ls5Q0= -go.opentelemetry.io/otel/metric v1.39.0/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= +go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d h1:Mv7jOS/papmlU4jeUx/ScvxT+UghI4YxgRG2ODBxqBA= +go.opentelemetry.io/otel/metric v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:jrZSWL33sD7bBxg1xjrqyDjnuzTUB0x1nBERXd7Ftcs= go.opentelemetry.io/otel/sdk v1.39.0 h1:nMLYcjVsvdui1B/4FRkwjzoRVsMK8uL/cj0OyhKzt18= go.opentelemetry.io/otel/sdk v1.39.0/go.mod h1:vDojkC4/jsTJsE+kh+LXYQlbL8CgrEcwmt1ENZszdJE= -go.opentelemetry.io/otel/sdk/metric v1.39.0 h1:cXMVVFVgsIf2YL6QkRF4Urbr/aMInf+2WKg+sEJTtB8= -go.opentelemetry.io/otel/sdk/metric v1.39.0/go.mod h1:xq9HEVH7qeX69/JnwEfp6fVq5wosJsY1mt4lLfYdVew= -go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6/qCJI= -go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= +go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d h1:Xc+v+yOWogGc1bTp6ISSnWEgHjaerCiU1VWBZQ40ewo= +go.opentelemetry.io/otel/sdk/metric v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:UVPnzxO3YDVhII6+YVBzgScV6MYwDUlW2G9lVMvFS7c= +go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d h1:BbdGrkH9cVsrnmD3egDymUWUjG5tGK6oaobhpHmDrK8= +go.opentelemetry.io/otel/trace v1.39.1-0.20260115134311-f809f7d71e2d/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0= go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8= go.opentelemetry.io/proto/slim/otlp v1.9.0 h1:fPVMv8tP3TrsqlkH1HWYUpbCY9cAIemx184VGkS6vlE= diff --git a/processor/k8sattributesprocessor/internal/kube/client.go b/processor/k8sattributesprocessor/internal/kube/client.go index b4652d44473bd..5b79fdb99425c 100644 --- a/processor/k8sattributesprocessor/internal/kube/client.go +++ b/processor/k8sattributesprocessor/internal/kube/client.go @@ -17,7 +17,7 @@ import ( "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/featuregate" "go.opentelemetry.io/otel/attribute" - conventions "go.opentelemetry.io/otel/semconv/v1.38.0" + conventions "go.opentelemetry.io/otel/semconv/v1.39.0" "go.uber.org/zap" apps_v1 "k8s.io/api/apps/v1" batch_v1 "k8s.io/api/batch/v1" diff --git a/processor/k8sattributesprocessor/options.go b/processor/k8sattributesprocessor/options.go index f4d8d2ec0c858..305adb9685c49 100644 --- a/processor/k8sattributesprocessor/options.go +++ b/processor/k8sattributesprocessor/options.go @@ -10,7 +10,7 @@ import ( "strings" "time" - conventions "go.opentelemetry.io/otel/semconv/v1.38.0" + conventions "go.opentelemetry.io/otel/semconv/v1.39.0" "k8s.io/apimachinery/pkg/selection" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig" diff --git a/processor/k8sattributesprocessor/pod_association.go b/processor/k8sattributesprocessor/pod_association.go index 783874ccfe0df..34fca10df1f10 100644 --- a/processor/k8sattributesprocessor/pod_association.go +++ b/processor/k8sattributesprocessor/pod_association.go @@ -9,7 +9,7 @@ import ( "go.opentelemetry.io/collector/client" "go.opentelemetry.io/collector/pdata/pcommon" - conventions "go.opentelemetry.io/otel/semconv/v1.38.0" + conventions "go.opentelemetry.io/otel/semconv/v1.39.0" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/clientutil" "github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor/internal/kube" diff --git a/processor/k8sattributesprocessor/processor.go b/processor/k8sattributesprocessor/processor.go index 7ef136c861822..d505749b01092 100644 --- a/processor/k8sattributesprocessor/processor.go +++ b/processor/k8sattributesprocessor/processor.go @@ -16,7 +16,7 @@ import ( "go.opentelemetry.io/collector/pdata/pmetric" "go.opentelemetry.io/collector/pdata/pprofile" "go.opentelemetry.io/collector/pdata/ptrace" - conventions "go.opentelemetry.io/otel/semconv/v1.38.0" + conventions "go.opentelemetry.io/otel/semconv/v1.39.0" "go.uber.org/zap" "github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8sconfig"