From 0c49394b1f9ec475af28a8a1ffd0866cbe1c19d9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 4 Nov 2024 09:15:53 +0100
Subject: [PATCH 1/7] fix(deps): update module github.com/shirou/gopsutil/v4 to
v4.24.10 (#6286)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/shirou/gopsutil/v4](https://redirect.github.com/shirou/gopsutil)
| `v4.24.9` -> `v4.24.10` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
shirou/gopsutil (github.com/shirou/gopsutil/v4)
###
[`v4.24.10`](https://redirect.github.com/shirou/gopsutil/releases/tag/v4.24.10)
[Compare
Source](https://redirect.github.com/shirou/gopsutil/compare/v4.24.9...v4.24.10)
#### What's Changed
##### cpu
- \[cpu]\[disk]\[netbsd] Generate arm-specific definitions by
[@Lomanic](https://redirect.github.com/Lomanic) in
[https://github.com/shirou/gopsutil/pull/1731](https://redirect.github.com/shirou/gopsutil/pull/1731)
##### mem
- fix(mem): possible memory leak on Windows by
[@uubulb](https://redirect.github.com/uubulb) in
[https://github.com/shirou/gopsutil/pull/1722](https://redirect.github.com/shirou/gopsutil/pull/1722)
- feat(mem): Add windows commit stats by
[@n4nn31355](https://redirect.github.com/n4nn31355) in
[https://github.com/shirou/gopsutil/pull/1720](https://redirect.github.com/shirou/gopsutil/pull/1720)
##### Other Changes
- sensors: avoid passing nil pointer to CFArrayGetCount by
[@uubulb](https://redirect.github.com/uubulb) in
[https://github.com/shirou/gopsutil/pull/1727](https://redirect.github.com/shirou/gopsutil/pull/1727)
#### New Contributors
- [@n4nn31355](https://redirect.github.com/n4nn31355) made their
first contribution in
[https://github.com/shirou/gopsutil/pull/1720](https://redirect.github.com/shirou/gopsutil/pull/1720)
**Full Changelog**:
https://github.com/shirou/gopsutil/compare/v4.24.9...v4.24.10
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
instrumentation/host/example/go.mod | 2 +-
instrumentation/host/example/go.sum | 4 ++--
instrumentation/host/go.mod | 2 +-
instrumentation/host/go.sum | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/instrumentation/host/example/go.mod b/instrumentation/host/example/go.mod
index 5d83802f5d6..f8b608f5b05 100644
--- a/instrumentation/host/example/go.mod
+++ b/instrumentation/host/example/go.mod
@@ -20,7 +20,7 @@ require (
github.com/google/uuid v1.6.0 // indirect
github.com/lufia/plan9stats v0.0.0-20240909124753-873cd0166683 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
- github.com/shirou/gopsutil/v4 v4.24.9 // indirect
+ github.com/shirou/gopsutil/v4 v4.24.10 // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.9.0 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
diff --git a/instrumentation/host/example/go.sum b/instrumentation/host/example/go.sum
index 6f6076690c4..05227d94d6e 100644
--- a/instrumentation/host/example/go.sum
+++ b/instrumentation/host/example/go.sum
@@ -20,8 +20,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/shirou/gopsutil/v4 v4.24.9 h1:KIV+/HaHD5ka5f570RZq+2SaeFsb/pq+fp2DGNWYoOI=
-github.com/shirou/gopsutil/v4 v4.24.9/go.mod h1:3fkaHNeYsUFCGZ8+9vZVWtbyM1k2eRnlL+bWO8Bxa/Q=
+github.com/shirou/gopsutil/v4 v4.24.10 h1:7VOzPtfw/5YDU+jLEoBwXwxJbQetULywoSV4RYY7HkM=
+github.com/shirou/gopsutil/v4 v4.24.10/go.mod h1:s4D/wg+ag4rG0WO7AiTj2BeYCRhym0vM7DHbZRxnIT8=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
diff --git a/instrumentation/host/go.mod b/instrumentation/host/go.mod
index cf10d26227a..f7c57e291ed 100644
--- a/instrumentation/host/go.mod
+++ b/instrumentation/host/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/contrib/instrumentation/host
go 1.22
require (
- github.com/shirou/gopsutil/v4 v4.24.9
+ github.com/shirou/gopsutil/v4 v4.24.10
go.opentelemetry.io/otel v1.31.0
go.opentelemetry.io/otel/metric v1.31.0
)
diff --git a/instrumentation/host/go.sum b/instrumentation/host/go.sum
index a580b0af996..9e472f38588 100644
--- a/instrumentation/host/go.sum
+++ b/instrumentation/host/go.sum
@@ -18,8 +18,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/shirou/gopsutil/v4 v4.24.9 h1:KIV+/HaHD5ka5f570RZq+2SaeFsb/pq+fp2DGNWYoOI=
-github.com/shirou/gopsutil/v4 v4.24.9/go.mod h1:3fkaHNeYsUFCGZ8+9vZVWtbyM1k2eRnlL+bWO8Bxa/Q=
+github.com/shirou/gopsutil/v4 v4.24.10 h1:7VOzPtfw/5YDU+jLEoBwXwxJbQetULywoSV4RYY7HkM=
+github.com/shirou/gopsutil/v4 v4.24.10/go.mod h1:s4D/wg+ag4rG0WO7AiTj2BeYCRhym0vM7DHbZRxnIT8=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/tklauser/go-sysconf v0.3.14 h1:g5vzr9iPFFz24v2KZXs/pvpvh8/V9Fw6vQK5ZZb78yU=
From 8bc4bb1e1b31442ea70fd6540340d5f6e6b6f336 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 4 Nov 2024 13:08:09 +0100
Subject: [PATCH 2/7] chore(deps): update k8s.io/utils digest to 3ea5e8c
(#6290)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [k8s.io/utils](https://redirect.github.com/kubernetes/utils) |
indirect | digest | `49e7df5` -> `3ea5e8c` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
detectors/aws/eks/go.mod | 2 +-
detectors/aws/eks/go.sum | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/detectors/aws/eks/go.mod b/detectors/aws/eks/go.mod
index 7b02c05d37d..0ec548c39f2 100644
--- a/detectors/aws/eks/go.mod
+++ b/detectors/aws/eks/go.mod
@@ -49,7 +49,7 @@ require (
k8s.io/api v0.31.2 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect
- k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
+ k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
diff --git a/detectors/aws/eks/go.sum b/detectors/aws/eks/go.sum
index 168d79a9d0c..55a6cdf9b0e 100644
--- a/detectors/aws/eks/go.sum
+++ b/detectors/aws/eks/go.sum
@@ -144,8 +144,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 h1:MErs8YA0abvOqJ8gIupA1Tz6PKXYUw34XsGlA7uSL1k=
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094/go.mod h1:7ioBJr1A6igWjsR2fxq2EZ0mlMwYLejazSIc2bzMp2U=
-k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 h1:MDF6h2H/h4tbzmtIKTuctcwZmY0tY9mD9fNT47QO6HI=
-k8s.io/utils v0.0.0-20240921022957-49e7df575cb6/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
+k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
+k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30 h1:ObU1vgTtAle8WwCKgcDkPjLJYwlazQpIjzSA0asMhy4=
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
From da6b6a0c456c33b9a8f3981eabd44f3974cf6e34 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Mon, 4 Nov 2024 08:38:59 -0800
Subject: [PATCH 3/7] config: update resource to return only configured values
(#6289)
This changes the resource configured to match what an end user would
choose to configure. Without this, Collector users would have no way to
ensure that only the resource attributes they configure are added to the
telemetry.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Tyler Yahn
Co-authored-by: Damien Mathieu <42@dmathieu.com>
---
CHANGELOG.md | 1 +
config/config.go | 5 +---
config/resource.go | 11 ++++----
config/resource_test.go | 62 +++++++++++++++--------------------------
4 files changed, 29 insertions(+), 50 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 65dcca7a2a6..d4eb8cd92d5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
### Changed
- Upgrade `go.opentelemetry.io/otel/semconv/v1.17.0` to `go.opentelemetry.io/otel/semconv/v1.21.0` in `go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo`. (#6272)
+- Resource doesn't merge with defaults if a valid resource is configured in `go.opentelemetry.io/contrib/config`. (#6289)
### Fixed
diff --git a/config/config.go b/config/config.go
index e2599766fe3..7031f1cabd5 100644
--- a/config/config.go
+++ b/config/config.go
@@ -82,10 +82,7 @@ func NewSDK(opts ...ConfigurationOption) (SDK, error) {
return noopSDK, nil
}
- r, err := newResource(o.opentelemetryConfig.Resource)
- if err != nil {
- return noopSDK, err
- }
+ r := newResource(o.opentelemetryConfig.Resource)
mp, mpShutdown, err := meterProvider(o, r)
if err != nil {
diff --git a/config/resource.go b/config/resource.go
index 1e62d29c295..7a453c24204 100644
--- a/config/resource.go
+++ b/config/resource.go
@@ -45,9 +45,9 @@ func keyVal(k string, v any) attribute.KeyValue {
}
}
-func newResource(res *Resource) (*resource.Resource, error) {
+func newResource(res *Resource) *resource.Resource {
if res == nil || res.Attributes == nil {
- return resource.Default(), nil
+ return resource.Default()
}
var attrs []attribute.KeyValue
@@ -55,8 +55,7 @@ func newResource(res *Resource) (*resource.Resource, error) {
attrs = append(attrs, keyVal(v.Name, v.Value))
}
- return resource.Merge(resource.Default(),
- resource.NewWithAttributes(*res.SchemaUrl,
- attrs...,
- ))
+ return resource.NewWithAttributes(*res.SchemaUrl,
+ attrs...,
+ )
}
diff --git a/config/resource_test.go b/config/resource_test.go
index b51650429b0..5a9f756f2b8 100644
--- a/config/resource_test.go
+++ b/config/resource_test.go
@@ -8,7 +8,6 @@ import (
"testing"
"github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/sdk/resource"
@@ -18,37 +17,32 @@ import (
type mockType struct{}
func TestNewResource(t *testing.T) {
- res, err := resource.Merge(resource.Default(),
- resource.NewWithAttributes(semconv.SchemaURL,
- semconv.ServiceName("service-a"),
- ))
+ res := resource.NewWithAttributes(semconv.SchemaURL,
+ semconv.ServiceName("service-a"),
+ )
other := mockType{}
- require.NoError(t, err)
- resWithAttrs, err := resource.Merge(resource.Default(),
- resource.NewWithAttributes(semconv.SchemaURL,
- semconv.ServiceName("service-a"),
- attribute.Bool("attr-bool", true),
- attribute.String("attr-uint64", fmt.Sprintf("%d", 164)),
- attribute.Int64("attr-int64", int64(-164)),
- attribute.Float64("attr-float64", float64(64.0)),
- attribute.Int64("attr-int8", int64(-18)),
- attribute.Int64("attr-uint8", int64(18)),
- attribute.Int64("attr-int16", int64(-116)),
- attribute.Int64("attr-uint16", int64(116)),
- attribute.Int64("attr-int32", int64(-132)),
- attribute.Int64("attr-uint32", int64(132)),
- attribute.Float64("attr-float32", float64(32.0)),
- attribute.Int64("attr-int", int64(-1)),
- attribute.String("attr-uint", fmt.Sprintf("%d", 1)),
- attribute.String("attr-string", "string-val"),
- attribute.String("attr-default", fmt.Sprintf("%v", other)),
- ))
- require.NoError(t, err)
+ resWithAttrs := resource.NewWithAttributes(semconv.SchemaURL,
+ semconv.ServiceName("service-a"),
+ attribute.Bool("attr-bool", true),
+ attribute.String("attr-uint64", fmt.Sprintf("%d", 164)),
+ attribute.Int64("attr-int64", int64(-164)),
+ attribute.Float64("attr-float64", float64(64.0)),
+ attribute.Int64("attr-int8", int64(-18)),
+ attribute.Int64("attr-uint8", int64(18)),
+ attribute.Int64("attr-int16", int64(-116)),
+ attribute.Int64("attr-uint16", int64(116)),
+ attribute.Int64("attr-int32", int64(-132)),
+ attribute.Int64("attr-uint32", int64(132)),
+ attribute.Float64("attr-float32", float64(32.0)),
+ attribute.Int64("attr-int", int64(-1)),
+ attribute.String("attr-uint", fmt.Sprintf("%d", 1)),
+ attribute.String("attr-string", "string-val"),
+ attribute.String("attr-default", fmt.Sprintf("%v", other)),
+ )
tests := []struct {
name string
config *Resource
wantResource *resource.Resource
- wantErr error
}{
{
name: "no-resource-configuration",
@@ -59,17 +53,6 @@ func TestNewResource(t *testing.T) {
config: &Resource{},
wantResource: resource.Default(),
},
- {
- name: "resource-with-attributes-invalid-schema",
- config: &Resource{
- SchemaUrl: ptr("https://opentelemetry.io/invalid-schema"),
- Attributes: []AttributeNameValue{
- {Name: "service.name", Value: "service-a"},
- },
- },
- wantResource: resource.NewSchemaless(res.Attributes()...),
- wantErr: resource.ErrSchemaURLConflict,
- },
{
name: "resource-with-attributes-and-schema",
config: &Resource{
@@ -108,8 +91,7 @@ func TestNewResource(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- got, err := newResource(tt.config)
- assert.ErrorIs(t, err, tt.wantErr)
+ got := newResource(tt.config)
assert.Equal(t, tt.wantResource, got)
})
}
From bcb60ca43b11726a8d9c5f0cc6ec14a8fc081564 Mon Sep 17 00:00:00 2001
From: Jesse Michael
Date: Mon, 4 Nov 2024 23:08:03 -0700
Subject: [PATCH 4/7] feat: add LogProcessor to baggagecopy (#6277)
add a Log Record Processor to the baggagecopy package that copies
members from baggage and adds them to the log record attributes.
---
mimics the `baggagecopy` Span Processor, that copies filtered baggage
members from the parent span's context and adds them as span attributes,
and instead filters baggage members from the log processor OnEmit
context and adds them to the log record as attributes.
followed the prior art of the existing Span Processor closely to include
baggage in logs.
---
CHANGELOG.md | 3 +
processors/baggagecopy/doc.go | 18 ++-
processors/baggagecopy/example_test.go | 38 +++++-
processors/baggagecopy/go.mod | 2 +
processors/baggagecopy/go.sum | 4 +
processors/baggagecopy/log_processor.go | 57 ++++++++
processors/baggagecopy/log_processor_test.go | 134 +++++++++++++++++++
7 files changed, 249 insertions(+), 7 deletions(-)
create mode 100644 processors/baggagecopy/log_processor.go
create mode 100644 processors/baggagecopy/log_processor_test.go
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d4eb8cd92d5..bd47bae6343 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Add the `WithSource` option to the `go.opentelemetry.io/contrib/bridges/otelslog` log bridge to set the `code.*` attributes in the log record that includes the source location where the record was emitted. (#6253)
- Add `ContextWithStartTime` and `StartTimeFromContext` to `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp`, which allows setting the start time using go context. (#6137)
- Set the `code.*` attributes in `go.opentelemetry.io/contrib/bridges/otelzap` if the `zap.Logger` was created with the `AddCaller` or `AddStacktrace` option. (#6268)
+- Add a `LogProcessor` to `go.opentelemetry.io/contrib/processors/baggagecopy` to copy baggage members to log records. (#6277)
+ - Use `baggagecopy.NewLogProcessor` when configuring a Log Provider.
+ - `NewLogProcessor` accepts a `Filter` function type that selects which baggage members are added to the log record.
### Changed
diff --git a/processors/baggagecopy/doc.go b/processors/baggagecopy/doc.go
index 8548794410c..6fca5d942af 100644
--- a/processors/baggagecopy/doc.go
+++ b/processors/baggagecopy/doc.go
@@ -1,9 +1,11 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
-// Package baggagecopy is an OpenTelemetry [Span Processor] that reads key/values
-// stored in [Baggage] in the starting span's parent context and adds them as
-// attributes to the span.
+// Package baggagecopy is an OpenTelemetry [Span Processor] and [Log Record Processor]
+// that reads key/values stored in [Baggage] in context provided to copy onto the span or log.
+//
+// The SpanProcessor retrieves [Baggage] from the starting span's parent context
+// and adds them as attributes to the span.
//
// Keys and values added to Baggage will appear on all subsequent child spans for
// a trace within this service and will be propagated to external services via
@@ -11,17 +13,25 @@
// If the external services also have a Baggage span processor, the keys and
// values will appear in those child spans as well.
//
+// The LogProcessor retrieves [Baggage] from the the context provided when
+// emitting the log and adds them as attributes to the log.
+// Baggage may be propagated to external services via propagation headers.
+// and be used to add context to logs if the service also has a Baggage log processor.
+//
// Do not put sensitive information in Baggage.
//
// # Usage
//
// Add the span processor when configuring the tracer provider.
//
+// Add the log processor when configuring the logger provider.
+//
// The convenience function [AllowAllBaggageKeys] is provided to
-// allow all baggage keys to be copied to the span. Alternatively, you can
+// allow all baggage keys to be copied. Alternatively, you can
// provide a custom baggage key predicate to select which baggage keys you want
// to copy.
//
// [Span Processor]: https://opentelemetry.io/docs/specs/otel/trace/sdk/#span-processor
+// [Log Record Processor]: https://opentelemetry.io/docs/specs/otel/logs/sdk/#logrecordprocessor
// [Baggage]: https://opentelemetry.io/docs/specs/otel/api/baggage
package baggagecopy // import "go.opentelemetry.io/contrib/processors/baggagecopy"
diff --git a/processors/baggagecopy/example_test.go b/processors/baggagecopy/example_test.go
index a05d71f5be9..40ad96020cc 100644
--- a/processors/baggagecopy/example_test.go
+++ b/processors/baggagecopy/example_test.go
@@ -9,16 +9,17 @@ import (
"go.opentelemetry.io/contrib/processors/baggagecopy"
"go.opentelemetry.io/otel/baggage"
+ "go.opentelemetry.io/otel/sdk/log"
"go.opentelemetry.io/otel/sdk/trace"
)
-func ExampleNew_allKeys() {
+func ExampleNewSpanProcessor_allKeys() {
trace.NewTracerProvider(
trace.WithSpanProcessor(baggagecopy.NewSpanProcessor(baggagecopy.AllowAllMembers)),
)
}
-func ExampleNew_keysWithPrefix() {
+func ExampleNewSpanProcessor_keysWithPrefix() {
trace.NewTracerProvider(
trace.WithSpanProcessor(
baggagecopy.NewSpanProcessor(
@@ -30,7 +31,7 @@ func ExampleNew_keysWithPrefix() {
)
}
-func ExampleNew_keysMatchingRegex() {
+func ExampleNewSpanProcessor_keysMatchingRegex() {
expr := regexp.MustCompile(`^key.+`)
trace.NewTracerProvider(
trace.WithSpanProcessor(
@@ -42,3 +43,34 @@ func ExampleNew_keysMatchingRegex() {
),
)
}
+
+func ExampleNewLogProcessor_allKeys() {
+ log.NewLoggerProvider(
+ log.WithProcessor(baggagecopy.NewLogProcessor(baggagecopy.AllowAllMembers)),
+ )
+}
+
+func ExampleNewLogProcessor_keysWithPrefix() {
+ log.NewLoggerProvider(
+ log.WithProcessor(
+ baggagecopy.NewLogProcessor(
+ func(m baggage.Member) bool {
+ return strings.HasPrefix(m.Key(), "my-key")
+ },
+ ),
+ ),
+ )
+}
+
+func ExampleNewLogProcessor_keysMatchingRegex() {
+ expr := regexp.MustCompile(`^key.+`)
+ log.NewLoggerProvider(
+ log.WithProcessor(
+ baggagecopy.NewLogProcessor(
+ func(m baggage.Member) bool {
+ return expr.MatchString(m.Key())
+ },
+ ),
+ ),
+ )
+}
diff --git a/processors/baggagecopy/go.mod b/processors/baggagecopy/go.mod
index c01640224ab..3c9f44f1282 100644
--- a/processors/baggagecopy/go.mod
+++ b/processors/baggagecopy/go.mod
@@ -5,7 +5,9 @@ go 1.22
require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/otel v1.31.0
+ go.opentelemetry.io/otel/log v0.7.0
go.opentelemetry.io/otel/sdk v1.31.0
+ go.opentelemetry.io/otel/sdk/log v0.7.0
)
require (
diff --git a/processors/baggagecopy/go.sum b/processors/baggagecopy/go.sum
index 3493396bce3..275f4433cf2 100644
--- a/processors/baggagecopy/go.sum
+++ b/processors/baggagecopy/go.sum
@@ -15,10 +15,14 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY=
go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE=
+go.opentelemetry.io/otel/log v0.7.0 h1:d1abJc0b1QQZADKvfe9JqqrfmPYQCz2tUSO+0XZmuV4=
+go.opentelemetry.io/otel/log v0.7.0/go.mod h1:2jf2z7uVfnzDNknKTO9G+ahcOAyWcp1fJmk/wJjULRo=
go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY=
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0=
+go.opentelemetry.io/otel/sdk/log v0.7.0 h1:dXkeI2S0MLc5g0/AwxTZv6EUEjctiH8aG14Am56NTmQ=
+go.opentelemetry.io/otel/sdk/log v0.7.0/go.mod h1:oIRXpW+WD6M8BuGj5rtS0aRu/86cbDV/dAfNaZBIjYM=
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A=
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
diff --git a/processors/baggagecopy/log_processor.go b/processors/baggagecopy/log_processor.go
new file mode 100644
index 00000000000..33a2bef55df
--- /dev/null
+++ b/processors/baggagecopy/log_processor.go
@@ -0,0 +1,57 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package baggagecopy // import "go.opentelemetry.io/contrib/processors/baggagecopy"
+
+import (
+ "context"
+
+ "go.opentelemetry.io/otel/baggage"
+ api "go.opentelemetry.io/otel/log"
+ "go.opentelemetry.io/otel/sdk/log"
+)
+
+// LogProcessor is a [log.Processor] implementation that adds baggage
+// members onto a log as attributes.
+type LogProcessor struct {
+ filter Filter
+}
+
+var _ log.Processor = (*LogProcessor)(nil)
+
+// NewLogProcessor returns a new [LogProcessor].
+//
+// The Baggage log processor adds attributes to a log record that are found
+// in Baggage in the parent context at the moment the log is emitted.
+// The passed filter determines which baggage members are added to the span.
+//
+// If filter is nil, all baggage members will be added.
+func NewLogProcessor(filter Filter) *LogProcessor {
+ return &LogProcessor{
+ filter: filter,
+ }
+}
+
+// OnEmit adds Baggage member to a log record as attributes that are pulled from
+// the Baggage found in ctx. Baggage members are filtered by the filter passed
+// to NewLogProcessor.
+func (processor LogProcessor) OnEmit(ctx context.Context, record *log.Record) error {
+ filter := processor.filter
+ if filter == nil {
+ filter = AllowAllMembers
+ }
+
+ for _, member := range baggage.FromContext(ctx).Members() {
+ if filter(member) {
+ record.AddAttributes(api.String(member.Key(), member.Value()))
+ }
+ }
+
+ return nil
+}
+
+// Shutdown is called when the [log.Processor] is shutting down and is a no-op for this processor.
+func (processor LogProcessor) Shutdown(context.Context) error { return nil }
+
+// ForceFlush is called to ensure all logs are flushed to the output and is a no-op for this processor.
+func (processor LogProcessor) ForceFlush(context.Context) error { return nil }
diff --git a/processors/baggagecopy/log_processor_test.go b/processors/baggagecopy/log_processor_test.go
new file mode 100644
index 00000000000..2b5307ae7b9
--- /dev/null
+++ b/processors/baggagecopy/log_processor_test.go
@@ -0,0 +1,134 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package baggagecopy
+
+import (
+ "context"
+ "regexp"
+ "strings"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+
+ "go.opentelemetry.io/otel/baggage"
+ api "go.opentelemetry.io/otel/log"
+ "go.opentelemetry.io/otel/sdk/log"
+)
+
+var _ log.Processor = &processor{}
+
+type processor struct {
+ records []*log.Record
+}
+
+func (p *processor) OnEmit(ctx context.Context, r *log.Record) error {
+ p.records = append(p.records, r)
+ return nil
+}
+
+func (p *processor) Shutdown(ctx context.Context) error { return nil }
+
+func (p *processor) ForceFlush(ctx context.Context) error { return nil }
+
+func NewTestProcessor() *processor {
+ return &processor{}
+}
+
+func TestLogProcessorOnEmit(t *testing.T) {
+ tests := []struct {
+ name string
+ baggage baggage.Baggage
+ filter Filter
+ want []api.KeyValue
+ }{
+ {
+ name: "all baggage attributes",
+ baggage: func() baggage.Baggage {
+ b, _ := baggage.New()
+ b = addEntryToBaggage(t, b, "baggage.test", "baggage value")
+ return b
+ }(),
+ filter: AllowAllMembers,
+ want: []api.KeyValue{api.String("baggage.test", "baggage value")},
+ },
+ {
+ name: "baggage attributes with prefix",
+ baggage: func() baggage.Baggage {
+ b, _ := baggage.New()
+ b = addEntryToBaggage(t, b, "baggage.test", "baggage value")
+ return b
+ }(),
+ filter: func(m baggage.Member) bool {
+ return strings.HasPrefix(m.Key(), "baggage.")
+ },
+ want: []api.KeyValue{api.String("baggage.test", "baggage value")},
+ },
+ {
+ name: "baggage attributes with regex",
+ baggage: func() baggage.Baggage {
+ b, _ := baggage.New()
+ b = addEntryToBaggage(t, b, "baggage.test", "baggage value")
+ return b
+ }(),
+ filter: func(m baggage.Member) bool {
+ return regexp.MustCompile(`^baggage\..*`).MatchString(m.Key())
+ },
+ want: []api.KeyValue{api.String("baggage.test", "baggage value")},
+ },
+ {
+ name: "only adds baggage entries that match predicate",
+ baggage: func() baggage.Baggage {
+ b, _ := baggage.New()
+ b = addEntryToBaggage(t, b, "baggage.test", "baggage value")
+ b = addEntryToBaggage(t, b, "foo", "bar")
+ return b
+ }(),
+ filter: func(m baggage.Member) bool {
+ return m.Key() == "baggage.test"
+ },
+ want: []api.KeyValue{api.String("baggage.test", "baggage value")},
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ ctx := baggage.ContextWithBaggage(context.Background(), tt.baggage)
+
+ wrapped := &processor{}
+ lp := log.NewLoggerProvider(
+ log.WithProcessor(NewLogProcessor(tt.filter)),
+ log.WithProcessor(wrapped),
+ )
+
+ lp.Logger("test").Emit(ctx, api.Record{})
+
+ require.Len(t, wrapped.records, 1)
+ require.Equal(t, len(tt.want), wrapped.records[0].AttributesLen())
+
+ var got []api.KeyValue
+ wrapped.records[0].WalkAttributes(func(kv api.KeyValue) bool {
+ got = append(got, kv)
+ return true
+ })
+
+ require.Equal(t, tt.want, got)
+ })
+ }
+}
+
+func TestZeroLogProcessorNoPanic(t *testing.T) {
+ lp := new(LogProcessor)
+
+ m, err := baggage.NewMember("key", "val")
+ require.NoError(t, err)
+ b, err := baggage.New(m)
+ require.NoError(t, err)
+
+ ctx := baggage.ContextWithBaggage(context.Background(), b)
+ assert.NotPanics(t, func() {
+ _ = lp.OnEmit(ctx, &log.Record{})
+ _ = lp.Shutdown(ctx)
+ _ = lp.ForceFlush(ctx)
+ })
+}
From cacbe5dbba8e0ae47bb909404af5ce588c9b4cfe Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 09:08:37 +0100
Subject: [PATCH 5/7] fix(deps): update googleapis to dd2ea8e (#6292)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto)
| require | digest | `324edc3` -> `dd2ea8e` |
|
[google.golang.org/genproto/googleapis/api](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `324edc3` -> `dd2ea8e` |
|
[google.golang.org/genproto/googleapis/rpc](https://redirect.github.com/googleapis/go-genproto)
| indirect | digest | `324edc3` -> `dd2ea8e` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
config/go.mod | 4 ++--
config/go.sum | 8 ++++----
examples/otel-collector/go.mod | 4 ++--
examples/otel-collector/go.sum | 8 ++++----
exporters/autoexport/go.mod | 4 ++--
exporters/autoexport/go.sum | 8 ++++----
.../aws/aws-lambda-go/otellambda/xrayconfig/go.mod | 4 ++--
.../aws/aws-lambda-go/otellambda/xrayconfig/go.sum | 8 ++++----
.../google.golang.org/grpc/otelgrpc/example/go.mod | 2 +-
.../google.golang.org/grpc/otelgrpc/example/go.sum | 4 ++--
instrumentation/google.golang.org/grpc/otelgrpc/go.mod | 2 +-
instrumentation/google.golang.org/grpc/otelgrpc/go.sum | 4 ++--
.../google.golang.org/grpc/otelgrpc/test/go.mod | 2 +-
.../google.golang.org/grpc/otelgrpc/test/go.sum | 4 ++--
propagators/opencensus/examples/go.mod | 2 +-
propagators/opencensus/examples/go.sum | 4 ++--
samplers/jaegerremote/example/go.mod | 2 +-
samplers/jaegerremote/example/go.sum | 4 ++--
samplers/jaegerremote/go.mod | 2 +-
samplers/jaegerremote/go.sum | 4 ++--
20 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/config/go.mod b/config/go.mod
index c4c7c108e5a..a0adefaf832 100644
--- a/config/go.mod
+++ b/config/go.mod
@@ -44,8 +44,8 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
diff --git a/config/go.sum b/config/go.sum
index b1de5b0bbde..90fb1517b52 100644
--- a/config/go.sum
+++ b/config/go.sum
@@ -85,10 +85,10 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/examples/otel-collector/go.mod b/examples/otel-collector/go.mod
index 97f539c3c8d..8b951a2bd4a 100644
--- a/examples/otel-collector/go.mod
+++ b/examples/otel-collector/go.mod
@@ -24,7 +24,7 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
diff --git a/examples/otel-collector/go.sum b/examples/otel-collector/go.sum
index 6b1b0daf5ac..c6fa7698d85 100644
--- a/examples/otel-collector/go.sum
+++ b/examples/otel-collector/go.sum
@@ -43,10 +43,10 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/exporters/autoexport/go.mod b/exporters/autoexport/go.mod
index 020ec75d270..05928d39a33 100644
--- a/exporters/autoexport/go.mod
+++ b/exporters/autoexport/go.mod
@@ -47,8 +47,8 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/grpc v1.67.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporters/autoexport/go.sum b/exporters/autoexport/go.sum
index 3e3005b3cac..040c249f2cf 100644
--- a/exporters/autoexport/go.sum
+++ b/exporters/autoexport/go.sum
@@ -87,10 +87,10 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod
index e3479e55304..303bf7c93ac 100644
--- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod
+++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.mod
@@ -35,8 +35,8 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.sum b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.sum
index 8c631ef3217..a02c619536e 100644
--- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.sum
+++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/xrayconfig/go.sum
@@ -47,10 +47,10 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/example/go.mod b/instrumentation/google.golang.org/grpc/otelgrpc/example/go.mod
index 519197bf3ba..ab0925837aa 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/example/go.mod
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/example/go.mod
@@ -22,6 +22,6 @@ require (
go.opentelemetry.io/otel/metric v1.31.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/example/go.sum b/instrumentation/google.golang.org/grpc/otelgrpc/example/go.sum
index 6756b141b26..5bc770c34e6 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/example/go.sum
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/example/go.sum
@@ -31,8 +31,8 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/go.mod b/instrumentation/google.golang.org/grpc/otelgrpc/go.mod
index 7f74ea976b7..69f8e6d98c2 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/go.mod
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/go.mod
@@ -19,6 +19,6 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/go.sum b/instrumentation/google.golang.org/grpc/otelgrpc/go.sum
index ebfca03a7c6..1b433dbe37a 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/go.sum
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/go.sum
@@ -23,8 +23,8 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/test/go.mod b/instrumentation/google.golang.org/grpc/otelgrpc/test/go.mod
index b9fe2987a58..3f718507f0e 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/test/go.mod
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/test/go.mod
@@ -24,7 +24,7 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/instrumentation/google.golang.org/grpc/otelgrpc/test/go.sum b/instrumentation/google.golang.org/grpc/otelgrpc/test/go.sum
index 10f495c1242..22949981161 100644
--- a/instrumentation/google.golang.org/grpc/otelgrpc/test/go.sum
+++ b/instrumentation/google.golang.org/grpc/otelgrpc/test/go.sum
@@ -36,8 +36,8 @@ golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
diff --git a/propagators/opencensus/examples/go.mod b/propagators/opencensus/examples/go.mod
index 9dc8c5fce1d..e1ea56a1d72 100644
--- a/propagators/opencensus/examples/go.mod
+++ b/propagators/opencensus/examples/go.mod
@@ -25,7 +25,7 @@ require (
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
diff --git a/propagators/opencensus/examples/go.sum b/propagators/opencensus/examples/go.sum
index b28f99d07c7..377acd1f6d0 100644
--- a/propagators/opencensus/examples/go.sum
+++ b/propagators/opencensus/examples/go.sum
@@ -108,8 +108,8 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
diff --git a/samplers/jaegerremote/example/go.mod b/samplers/jaegerremote/example/go.mod
index 4d6278c4120..f9836f07e56 100644
--- a/samplers/jaegerremote/example/go.mod
+++ b/samplers/jaegerremote/example/go.mod
@@ -18,7 +18,7 @@ require (
go.opentelemetry.io/otel/metric v1.31.0 // indirect
go.opentelemetry.io/otel/trace v1.31.0 // indirect
golang.org/x/sys v0.26.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
diff --git a/samplers/jaegerremote/example/go.sum b/samplers/jaegerremote/example/go.sum
index eaf3f81a2c2..a27608c8140 100644
--- a/samplers/jaegerremote/example/go.sum
+++ b/samplers/jaegerremote/example/go.sum
@@ -56,8 +56,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
diff --git a/samplers/jaegerremote/go.mod b/samplers/jaegerremote/go.mod
index 16d7d0af3f3..c60525e60cb 100644
--- a/samplers/jaegerremote/go.mod
+++ b/samplers/jaegerremote/go.mod
@@ -8,7 +8,7 @@ require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/otel/sdk v1.31.0
go.opentelemetry.io/otel/trace v1.31.0
- google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38
+ google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28
)
require (
diff --git a/samplers/jaegerremote/go.sum b/samplers/jaegerremote/go.sum
index e4c25ddffce..7ff096ccdbc 100644
--- a/samplers/jaegerremote/go.sum
+++ b/samplers/jaegerremote/go.sum
@@ -54,8 +54,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
-google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g=
+google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
From 8694648ee767aafe4f17ace825b97e77181a96c0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 09:18:20 +0100
Subject: [PATCH 6/7] chore(deps): update k8s.io/utils digest to 6fe5fd8
(#6291)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [k8s.io/utils](https://redirect.github.com/kubernetes/utils) |
indirect | digest | `3ea5e8c` -> `6fe5fd8` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
detectors/aws/eks/go.mod | 2 +-
detectors/aws/eks/go.sum | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/detectors/aws/eks/go.mod b/detectors/aws/eks/go.mod
index 0ec548c39f2..d03d2447fc3 100644
--- a/detectors/aws/eks/go.mod
+++ b/detectors/aws/eks/go.mod
@@ -49,7 +49,7 @@ require (
k8s.io/api v0.31.2 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 // indirect
- k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect
+ k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 // indirect
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
diff --git a/detectors/aws/eks/go.sum b/detectors/aws/eks/go.sum
index 55a6cdf9b0e..cf0f1c65354 100644
--- a/detectors/aws/eks/go.sum
+++ b/detectors/aws/eks/go.sum
@@ -144,8 +144,8 @@ k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094 h1:MErs8YA0abvOqJ8gIupA1Tz6PKXYUw34XsGlA7uSL1k=
k8s.io/kube-openapi v0.0.0-20241009091222-67ed5848f094/go.mod h1:7ioBJr1A6igWjsR2fxq2EZ0mlMwYLejazSIc2bzMp2U=
-k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
-k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
+k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078 h1:jGnCPejIetjiy2gqaJ5V0NLwTpF4wbQ6cZIItJCSHno=
+k8s.io/utils v0.0.0-20241104163129-6fe5fd82f078/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30 h1:ObU1vgTtAle8WwCKgcDkPjLJYwlazQpIjzSA0asMhy4=
sigs.k8s.io/json v0.0.0-20241009153224-e386a8af8d30/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
From 488f482ce6422391bdb7bcc0dee5fc02eb79bbe3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 13:25:13 +0100
Subject: [PATCH 7/7] chore(deps): update module github.com/bytedance/sonic to
v1.12.4 (#6293)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/bytedance/sonic](https://redirect.github.com/bytedance/sonic)
| `v1.12.3` -> `v1.12.4` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
bytedance/sonic (github.com/bytedance/sonic)
###
[`v1.12.4`](https://redirect.github.com/bytedance/sonic/releases/tag/v1.12.4)
[Compare
Source](https://redirect.github.com/bytedance/sonic/compare/v1.12.3...v1.12.4)
##### What's Changed
- build: compatible for unsupportted go images by
[@AsterDY](https://redirect.github.com/AsterDY) in
[https://github.com/bytedance/sonic/pull/701](https://redirect.github.com/bytedance/sonic/pull/701)
- fix:(encoder) incorrectly pass pv due to wrongly use `BTC` instead of
`BTS` by [@AsterDY](https://redirect.github.com/AsterDY) in
[https://github.com/bytedance/sonic/pull/706](https://redirect.github.com/bytedance/sonic/pull/706)
**Full Changelog**:
https://github.com/bytedance/sonic/compare/v1.12.3...v1.12.4
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.../github.com/gin-gonic/gin/otelgin/example/go.mod | 2 +-
.../github.com/gin-gonic/gin/otelgin/example/go.sum | 4 ++--
instrumentation/github.com/gin-gonic/gin/otelgin/go.mod | 2 +-
instrumentation/github.com/gin-gonic/gin/otelgin/go.sum | 4 ++--
instrumentation/github.com/gin-gonic/gin/otelgin/test/go.mod | 2 +-
instrumentation/github.com/gin-gonic/gin/otelgin/test/go.sum | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.mod b/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.mod
index b22f45c9c3f..875b8f6d469 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.mod
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.mod
@@ -17,7 +17,7 @@ require (
)
require (
- github.com/bytedance/sonic v1.12.3 // indirect
+ github.com/bytedance/sonic v1.12.4 // indirect
github.com/bytedance/sonic/loader v0.2.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.sum b/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.sum
index cc9a08d2c3b..a020636da47 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.sum
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/example/go.sum
@@ -1,5 +1,5 @@
-github.com/bytedance/sonic v1.12.3 h1:W2MGa7RCU1QTeYRTPE3+88mVC0yXmsRQRChiyVocVjU=
-github.com/bytedance/sonic v1.12.3/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
+github.com/bytedance/sonic v1.12.4 h1:9Csb3c9ZJhfUWeMtpCDCq6BUoH5ogfDFLUgQ/jG+R0k=
+github.com/bytedance/sonic v1.12.4/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
github.com/bytedance/sonic/loader v0.2.1 h1:1GgorWTqf12TA8mma4DDSbaQigE2wOgQo7iCjjJv3+E=
github.com/bytedance/sonic/loader v0.2.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/go.mod b/instrumentation/github.com/gin-gonic/gin/otelgin/go.mod
index 7587e11f210..9efde84aa9b 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/go.mod
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/go.mod
@@ -13,7 +13,7 @@ require (
)
require (
- github.com/bytedance/sonic v1.12.3 // indirect
+ github.com/bytedance/sonic v1.12.4 // indirect
github.com/bytedance/sonic/loader v0.2.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/go.sum b/instrumentation/github.com/gin-gonic/gin/otelgin/go.sum
index e946ef776fe..1ade45790e5 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/go.sum
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/go.sum
@@ -1,5 +1,5 @@
-github.com/bytedance/sonic v1.12.3 h1:W2MGa7RCU1QTeYRTPE3+88mVC0yXmsRQRChiyVocVjU=
-github.com/bytedance/sonic v1.12.3/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
+github.com/bytedance/sonic v1.12.4 h1:9Csb3c9ZJhfUWeMtpCDCq6BUoH5ogfDFLUgQ/jG+R0k=
+github.com/bytedance/sonic v1.12.4/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
github.com/bytedance/sonic/loader v0.2.1 h1:1GgorWTqf12TA8mma4DDSbaQigE2wOgQo7iCjjJv3+E=
github.com/bytedance/sonic/loader v0.2.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.mod b/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.mod
index c7d4cf44c3e..068b44539a1 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.mod
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.mod
@@ -12,7 +12,7 @@ require (
)
require (
- github.com/bytedance/sonic v1.12.3 // indirect
+ github.com/bytedance/sonic v1.12.4 // indirect
github.com/bytedance/sonic/loader v0.2.1 // indirect
github.com/cloudwego/base64x v0.1.4 // indirect
github.com/cloudwego/iasm v0.2.0 // indirect
diff --git a/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.sum b/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.sum
index dc0e4f207b7..593df38c00f 100644
--- a/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.sum
+++ b/instrumentation/github.com/gin-gonic/gin/otelgin/test/go.sum
@@ -1,5 +1,5 @@
-github.com/bytedance/sonic v1.12.3 h1:W2MGa7RCU1QTeYRTPE3+88mVC0yXmsRQRChiyVocVjU=
-github.com/bytedance/sonic v1.12.3/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
+github.com/bytedance/sonic v1.12.4 h1:9Csb3c9ZJhfUWeMtpCDCq6BUoH5ogfDFLUgQ/jG+R0k=
+github.com/bytedance/sonic v1.12.4/go.mod h1:B8Gt/XvtZ3Fqj+iSKMypzymZxw/FVwgIGKzMzT9r/rk=
github.com/bytedance/sonic/loader v0.1.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=
github.com/bytedance/sonic/loader v0.2.1 h1:1GgorWTqf12TA8mma4DDSbaQigE2wOgQo7iCjjJv3+E=
github.com/bytedance/sonic/loader v0.2.1/go.mod h1:ncP89zfokxS5LZrJxl5z0UJcsk4M4yY2JpfqGeCtNLU=