From 72e71e0e9a1bc122a295267a37e1abcdd0a39832 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 11 Mar 2024 15:46:24 -0700
Subject: [PATCH 01/34] Update module go.opentelemetry.io/build-tools/crosslink
to v0.13.0 (#31577)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[go.opentelemetry.io/build-tools/crosslink](https://togithub.com/open-telemetry/opentelemetry-go-build-tools)
| `v0.12.0` -> `v0.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fbuild-tools%2fcrosslink/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
open-telemetry/opentelemetry-go-build-tools
(go.opentelemetry.io/build-tools/crosslink)
###
[`v0.13.0`](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/blob/HEAD/CHANGELOG.md#v0130)
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/compare/v0.12.0...v0.13.0)
##### 🛑 Breaking changes 🛑
- `all`: bump minimal Go version to 1.20
([#474](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/474))
##### 💡 Enhancements 💡
- `multimod`: ignore excluded-modules when using sync to update
dependencies
([#442](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/442))
This allows users of the sync command to sync all modules in a monorepo,
including
those listed in the excluded-modules. This is useful for repositories
where some modules
may not yet be ready for releasing (therefore listed under
excluded-modules) but their
dependencies still need to be managed via multimod.
- `crosslink`: Add `--skip` flag to ignore specified go modules
([#480](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/480))
- `multimod`: add support for `--commit-hash` to allow users to
overwrite the tag in a versions.yaml file
([#422](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/422))
This feature allows users to specify a tag (i.e. main) when they want to
update
modules.
- `chloggen`: support a custom changelog summary template
([#501](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/501))
The changelog summary template can be customized by configuring a custom
template with the `summary_template` configuration setting.
The default template provides a starting point for a custom template:
https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/v0.13.0/chloggen/internal/chlog/summary.tmpl
##### 🧰 Bug fixes 🧰
- `crosslink`: Fix Windows produces backslashes instead of slashes
([#458](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/458))
This fixes the issue of Windows produces backslashes instead of slashes
when crosslinking
dependencies in go.mod files on Windows.
- `dbotconf`: Fix Windows produces backslashes instead of slashes
([#264](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/264))
This fixes the issue of Windows produces backslashes instead of slashes
when generating
Dependabot configuration files on Windows.
- `multimod`: Fix tagging on Windows
([#464](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/464))
This fixes the issue of `multimod tag` failing on Windows.
- `multimod`: Fix to log 'Using versioning file' and 'Successfully
deleted module tags' to stderr instead of stdout
([#507](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/507))
- `chloggen`: change generated files permissions from 0755 to 0644
([#457](https://togithub.com/open-telemetry/opentelemetry-go-build-tools/issues/457))
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
internal/tools/go.mod | 2 +-
internal/tools/go.sum | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index b636a8b3c395..139e16829961 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -12,7 +12,7 @@ require (
github.com/jstemmer/go-junit-report v1.0.0
go.opentelemetry.io/build-tools/checkfile v0.13.0
go.opentelemetry.io/build-tools/chloggen v0.13.0
- go.opentelemetry.io/build-tools/crosslink v0.12.0
+ go.opentelemetry.io/build-tools/crosslink v0.13.0
go.opentelemetry.io/build-tools/issuegenerator v0.13.0
go.opentelemetry.io/build-tools/multimod v0.13.0
go.opentelemetry.io/collector/cmd/builder v0.96.1-0.20240306115632-b2693620eff6
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index 86133bdb3f12..d19f4fed8bdf 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -506,8 +506,8 @@ github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xl
github.com/onsi/gomega v1.28.1 h1:MijcGUbfYuznzK/5R4CPNoUP/9Xvuo20sXfEm6XxoTA=
github.com/onsi/gomega v1.28.1/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
-github.com/otiai10/copy v1.12.0 h1:cLMgSQnXBs1eehF0Wy/FAGsgDTDmAqFR7rQylBb1nDY=
-github.com/otiai10/copy v1.12.0/go.mod h1:rSaLseMUsZFFbsFGc7wCJnnkTAvdc5L6VWxPE4308Ww=
+github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU=
+github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=
github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
@@ -699,8 +699,8 @@ go.opentelemetry.io/build-tools/checkfile v0.13.0 h1:Nq13fOLpF9T+y4birZbfv6JurFC
go.opentelemetry.io/build-tools/checkfile v0.13.0/go.mod h1:fRNphqnBebBiwL1A3OofgCDiJ6enb73uKGIO+n0gHPI=
go.opentelemetry.io/build-tools/chloggen v0.13.0 h1:C30r8ecNuJ30T3+vSvFJhaXUjUpx6r07nM3weDCpS7U=
go.opentelemetry.io/build-tools/chloggen v0.13.0/go.mod h1:1Ueg04+D2eU7Lm80RqS4DYTdtkHwTmulQZL0tUI4iAk=
-go.opentelemetry.io/build-tools/crosslink v0.12.0 h1:GNJQURuabE5rAkIbnrqndIKyXrr7wFy54e/8ujkgjHg=
-go.opentelemetry.io/build-tools/crosslink v0.12.0/go.mod h1:QE8Kxf4Ygg2ltSHE+Vdys/67jtQM26j7spJLyjNA2DU=
+go.opentelemetry.io/build-tools/crosslink v0.13.0 h1:R0V89bTYzoJpasiOIYiQo6txL/ZTzMdEuthJ4gLUTF8=
+go.opentelemetry.io/build-tools/crosslink v0.13.0/go.mod h1:aYIwOj9b3Nmgm6nIZZk28tF/JjpicI8xenEVUeoVNp0=
go.opentelemetry.io/build-tools/issuegenerator v0.13.0 h1:hAzDPWh/oyBVoYRB5Xb8Y6/3Zs0/JD3uwkp1pQWt8vM=
go.opentelemetry.io/build-tools/issuegenerator v0.13.0/go.mod h1:hHPQ5lv0apJv0QM8mz/k5nAwacDEEDD+fJ8xYhrKjBM=
go.opentelemetry.io/build-tools/multimod v0.13.0 h1:HGAP3zCM8vOTNJSQbjQ5VbKZSctIZxppPBxRTzye7ic=
From f8196083c6be5fe851af1cbcd9ebc4d6eb77dd93 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Tue, 12 Mar 2024 13:39:41 +0100
Subject: [PATCH 02/34] [chore][exporter/datadog] Improve documentation for
hostname and host_metadata::hostname_source settings (#31702)
**Description:**
Improves documentation on the `hostname` and
`host_metadata::hostname_source` settings based on feedback from #29866
**Link to tracking Issue:** Fixes #29866
---
exporter/datadogexporter/config.go | 14 +++++++++++---
.../datadogexporter/examples/collector.yaml | 17 +++++++++++++----
2 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/exporter/datadogexporter/config.go b/exporter/datadogexporter/config.go
index 2a8f6770cccc..fd6c64a8a520 100644
--- a/exporter/datadogexporter/config.go
+++ b/exporter/datadogexporter/config.go
@@ -319,8 +319,12 @@ type LogsConfig struct {
// TagsConfig defines the tag-related configuration
// It is embedded in the configuration
type TagsConfig struct {
- // Hostname is the host name for unified service tagging.
- // If unset, it is determined automatically.
+ // Hostname is the fallback hostname used for payloads without hostname-identifying attributes.
+ // This option will NOT change the hostname applied to your metrics, traces and logs if they already have hostname-identifying attributes.
+ // If unset, the hostname will be determined automatically. See https://docs.datadoghq.com/opentelemetry/schema_semantics/hostname/?tab=datadogexporter#fallback-hostname-logic for details.
+ //
+ // Prefer using the `datadog.host.name` resource attribute over using this setting.
+ // See https://docs.datadoghq.com/opentelemetry/schema_semantics/hostname/?tab=datadogexporter#general-hostname-semantic-conventions for details.
Hostname string `mapstructure:"hostname"`
}
@@ -365,11 +369,15 @@ type HostMetadataConfig struct {
Enabled bool `mapstructure:"enabled"`
// HostnameSource is the source for the hostname of host metadata.
+ // This hostname is used for identifying the infrastructure list, host map and host tag information related to the host where the Datadog exporter is running.
+ // Changing this setting will not change the host used to tag your metrics, traces and logs in any way.
+ // For remote hosts, see https://docs.datadoghq.com/opentelemetry/schema_semantics/host_metadata/.
+ //
// Valid values are 'first_resource' and 'config_or_system':
// - 'first_resource' picks the host metadata hostname from the resource
// attributes on the first OTLP payload that gets to the exporter.
// If the first payload lacks hostname-like attributes, it will fallback to 'config_or_system'.
- // Do not use this hostname source if receiving data from multiple hosts.
+ // **Do not use this hostname source if receiving data from multiple hosts**.
// - 'config_or_system' picks the host metadata hostname from the 'hostname' setting,
// If this is empty it will use available system APIs and cloud provider endpoints.
//
diff --git a/exporter/datadogexporter/examples/collector.yaml b/exporter/datadogexporter/examples/collector.yaml
index 7ff925228c67..c0a3ceff9108 100644
--- a/exporter/datadogexporter/examples/collector.yaml
+++ b/exporter/datadogexporter/examples/collector.yaml
@@ -171,8 +171,12 @@ exporters:
# The Datadog exporter is necessary for exporting telemetry signals to Datadog.
datadog:
## @param hostname - string - optional
- ## A custom hostname.
- ## If unset, this will be determined automatically if possible.
+ ## The fallback hostname used for payloads without hostname-identifying attributes.
+ ## This option will NOT change the hostname applied to your metrics, traces and logs if they already have hostname-identifying attributes.
+ ## If unset, the hostname will be determined automatically. See https://docs.datadoghq.com/opentelemetry/schema_semantics/hostname/?tab=datadogexporter#fallback-hostname-logic for details.
+ ##
+ ## Prefer using the `datadog.host.name` resource attribute over using this setting.
+ ## See https://docs.datadoghq.com/opentelemetry/schema_semantics/hostname/?tab=datadogexporter#general-hostname-semantic-conventions for details.
#
# hostname: customhostname
@@ -373,8 +377,9 @@ exporters:
## Host metadata specific configuration.
## Host metadata is the information used for populating the infrastructure list, the host map and providing host tags functionality within the Datadog app.
##
- ## The exporter will only send host metadata for a single host, whose name is chosen
+ ## By default, the exporter will only send host metadata for a single host, whose name is chosen
## according to `host_metadata::hostname_source`.
+ ## See https://docs.datadoghq.com/opentelemetry/schema_semantics/host_metadata/ to send host metadata about more hosts.
#
# host_metadata:
## @param enabled - boolean - optional - default: true
@@ -384,10 +389,14 @@ exporters:
## @param hostname_source - enum - optional - default: config_or_system
## Source for the hostname of host metadata.
+ ## This hostname is used for identifying the infrastructure list, host map and host tag information related to the host where the Datadog exporter is running.
+ ## Changing this setting will not change the host used to tag your metrics, traces and logs in any way.
+ ## For remote hosts, see https://docs.datadoghq.com/opentelemetry/schema_semantics/host_metadata/.
+ ##
## Valid values are 'first_resource' and 'config_or_system':
## - 'first_resource' picks the host metadata hostname from the resource attributes on the first OTLP payload that gets to the exporter.
## If the first payload lacks hostname-like attributes, it will fallback to 'config_or_system' behavior.
- ## Do not use this hostname source if receiving data from multiple hosts.
+ ## **Do not use this hostname source if receiving data from multiple hosts**.
##
## - 'config_or_system' picks the host metadata hostname from the 'hostname' setting, falling back to system and cloud provider APIs.
##
From a7ffded40d597a6c3e1f3e755f3cb9135778e5bc Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Tue, 12 Mar 2024 13:51:05 +0100
Subject: [PATCH 03/34] [exporter/datadog] Lower gohai logs to debug level
(#31703)
**Description:** Demote gohai logs to debug level
**Link to tracking Issue:** Fixes #29741
---
.chloggen/mx-psi_lower-log-level-gohai.yaml | 28 +++++++++++++++++++
.../hostmetadata/internal/gohai/gohai.go | 10 +++----
2 files changed, 33 insertions(+), 5 deletions(-)
create mode 100644 .chloggen/mx-psi_lower-log-level-gohai.yaml
diff --git a/.chloggen/mx-psi_lower-log-level-gohai.yaml b/.chloggen/mx-psi_lower-log-level-gohai.yaml
new file mode 100644
index 000000000000..24dcdfa9073a
--- /dev/null
+++ b/.chloggen/mx-psi_lower-log-level-gohai.yaml
@@ -0,0 +1,28 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: bug_fix
+
+# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
+component: exporter/datadog
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Demote noisy gohai logs to debug level
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [29741]
+
+# (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: |
+ These logs would be present at the info level when using the official Docker images but were not useful to end-users.
+
+# 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/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go
index c4d64a4057c4..344ae0746a1a 100644
--- a/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go
+++ b/exporter/datadogexporter/internal/hostmetadata/internal/gohai/gohai.go
@@ -26,7 +26,7 @@ func newGohai(logger *zap.Logger) *gohai.Gohai {
res := new(gohai.Gohai)
if p, err := new(cpu.Cpu).Collect(); err != nil {
- logger.Info("Failed to retrieve cpu metadata", zap.Error(err))
+ logger.Debug("Failed to retrieve cpu metadata", zap.Error(err))
} else if cpu, ok := p.(map[string]string); !ok {
logger.Warn("Internal error: Failed to cast cpu metadata to map[string]string", zap.Any("cpu", p))
} else {
@@ -34,7 +34,7 @@ func newGohai(logger *zap.Logger) *gohai.Gohai {
}
if p, err := new(filesystem.FileSystem).Collect(); err != nil {
- logger.Info("Failed to retrieve filesystem metadata", zap.Error(err))
+ logger.Debug("Failed to retrieve filesystem metadata", zap.Error(err))
} else if fs, ok := p.([]any); !ok {
logger.Warn("Internal error: Failed to cast filesystem metadata to []any", zap.Any("filesystem", p))
} else {
@@ -42,7 +42,7 @@ func newGohai(logger *zap.Logger) *gohai.Gohai {
}
if p, err := new(memory.Memory).Collect(); err != nil {
- logger.Info("Failed to retrieve memory metadata", zap.Error(err))
+ logger.Debug("Failed to retrieve memory metadata", zap.Error(err))
} else if mem, ok := p.(map[string]string); !ok {
logger.Warn("Internal error: Failed to cast memory metadata to map[string]string", zap.Any("memory", p))
} else {
@@ -51,7 +51,7 @@ func newGohai(logger *zap.Logger) *gohai.Gohai {
// in case of containerized environment, this would return pod id not node's ip
if p, err := new(network.Network).Collect(); err != nil {
- logger.Info("Failed to retrieve network metadata", zap.Error(err))
+ logger.Debug("Failed to retrieve network metadata", zap.Error(err))
} else if net, ok := p.(map[string]any); !ok {
logger.Warn("Internal error: Failed to cast network metadata to map[string]any", zap.Any("network", p))
} else {
@@ -59,7 +59,7 @@ func newGohai(logger *zap.Logger) *gohai.Gohai {
}
if p, err := new(platform.Platform).Collect(); err != nil {
- logger.Info("Failed to retrieve platform metadata", zap.Error(err))
+ logger.Debug("Failed to retrieve platform metadata", zap.Error(err))
} else if platform, ok := p.(map[string]string); !ok {
logger.Warn("Internal error: Failed to cast platform metadata to map[string]string", zap.Any("platform", p))
} else {
From 9c97ef3e0f9099f35b32eaa26d3afa14d3d76234 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 15:05:46 +0100
Subject: [PATCH 04/34] fix(deps): update module github.com/golang/protobuf to
v1.5.4 (#31705)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/golang/protobuf](https://togithub.com/golang/protobuf) |
`v1.5.3` -> `v1.5.4` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolang%2fprotobuf/v1.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolang%2fprotobuf/v1.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolang%2fprotobuf/v1.5.3/v1.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolang%2fprotobuf/v1.5.3/v1.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
golang/protobuf (github.com/golang/protobuf)
### [`v1.5.4`](https://togithub.com/golang/protobuf/releases/tag/v1.5.4)
[Compare
Source](https://togithub.com/golang/protobuf/compare/v1.5.3...v1.5.4)
Notable changes
- update descriptor.proto to latest version
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 2 +-
cmd/configschema/go.sum | 4 ++--
cmd/otelcontribcol/go.mod | 2 +-
cmd/otelcontribcol/go.sum | 4 ++--
cmd/oteltestbedcol/go.mod | 2 +-
cmd/oteltestbedcol/go.sum | 4 ++--
exporter/opencensusexporter/go.mod | 2 +-
exporter/opencensusexporter/go.sum | 8 ++------
go.mod | 2 +-
go.sum | 4 ++--
pkg/translator/opencensus/go.mod | 2 +-
pkg/translator/opencensus/go.sum | 8 ++------
receiver/opencensusreceiver/go.mod | 2 +-
receiver/opencensusreceiver/go.sum | 8 ++------
testbed/go.mod | 2 +-
testbed/go.sum | 4 ++--
16 files changed, 24 insertions(+), 36 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index 8d8b59164e64..e718b6cd17b7 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -359,7 +359,7 @@ require (
github.com/golang-sql/sqlexp v0.1.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/cadvisor v0.49.1 // indirect
github.com/google/flatbuffers v23.5.26+incompatible // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index f294af6fa016..eaf98886df59 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -757,8 +757,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 9817a5f8480f..f10ee35bb3f9 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -410,7 +410,7 @@ require (
github.com/golang-sql/sqlexp v0.1.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/cadvisor v0.49.1 // indirect
github.com/google/flatbuffers v23.5.26+incompatible // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 9915661b4313..91a070a03b22 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -753,8 +753,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
diff --git a/cmd/oteltestbedcol/go.mod b/cmd/oteltestbedcol/go.mod
index 970edeb0a313..16b52a61f1ca 100644
--- a/cmd/oteltestbedcol/go.mod
+++ b/cmd/oteltestbedcol/go.mod
@@ -102,7 +102,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
diff --git a/cmd/oteltestbedcol/go.sum b/cmd/oteltestbedcol/go.sum
index 723d1cf84a75..c82f52d4fe95 100644
--- a/cmd/oteltestbedcol/go.sum
+++ b/cmd/oteltestbedcol/go.sum
@@ -258,8 +258,8 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
diff --git a/exporter/opencensusexporter/go.mod b/exporter/opencensusexporter/go.mod
index d85eac5721bd..34b520231523 100644
--- a/exporter/opencensusexporter/go.mod
+++ b/exporter/opencensusexporter/go.mod
@@ -37,7 +37,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
diff --git a/exporter/opencensusexporter/go.sum b/exporter/opencensusexporter/go.sum
index 3de1abba1b8b..1f14033ce484 100644
--- a/exporter/opencensusexporter/go.sum
+++ b/exporter/opencensusexporter/go.sum
@@ -52,9 +52,8 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
-github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
@@ -63,7 +62,6 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -269,8 +267,6 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
-google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
-google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/go.mod b/go.mod
index 9b550d5e1e25..48d44a468843 100644
--- a/go.mod
+++ b/go.mod
@@ -378,7 +378,7 @@ require (
github.com/golang-sql/sqlexp v0.1.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/cadvisor v0.49.1 // indirect
diff --git a/go.sum b/go.sum
index 840caef34170..ca5ed558a694 100644
--- a/go.sum
+++ b/go.sum
@@ -758,8 +758,8 @@ github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
diff --git a/pkg/translator/opencensus/go.mod b/pkg/translator/opencensus/go.mod
index d0730e3ba9ea..0da96649ed6f 100644
--- a/pkg/translator/opencensus/go.mod
+++ b/pkg/translator/opencensus/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/census-instrumentation/opencensus-proto v0.4.1
- github.com/golang/protobuf v1.5.3
+ github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.6.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.96.0
diff --git a/pkg/translator/opencensus/go.sum b/pkg/translator/opencensus/go.sum
index 2fff88eb290d..f3a71c35a469 100644
--- a/pkg/translator/opencensus/go.sum
+++ b/pkg/translator/opencensus/go.sum
@@ -30,16 +30,14 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
-github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -160,8 +158,6 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
-google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
-google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/receiver/opencensusreceiver/go.mod b/receiver/opencensusreceiver/go.mod
index 8aebf4c69cf2..26f75ae08cee 100644
--- a/receiver/opencensusreceiver/go.mod
+++ b/receiver/opencensusreceiver/go.mod
@@ -41,7 +41,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
diff --git a/receiver/opencensusreceiver/go.sum b/receiver/opencensusreceiver/go.sum
index 8e8865eec699..db2cbecbc67b 100644
--- a/receiver/opencensusreceiver/go.sum
+++ b/receiver/opencensusreceiver/go.sum
@@ -50,9 +50,8 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
-github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
@@ -61,7 +60,6 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -263,8 +261,6 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
-google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
-google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/testbed/go.mod b/testbed/go.mod
index fc303522a3cb..bbc444c14fe8 100644
--- a/testbed/go.mod
+++ b/testbed/go.mod
@@ -117,7 +117,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.0.0 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
- github.com/golang/protobuf v1.5.3 // indirect
+ github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
diff --git a/testbed/go.sum b/testbed/go.sum
index e8ef03be8237..63a0404dd92e 100644
--- a/testbed/go.sum
+++ b/testbed/go.sum
@@ -245,8 +245,8 @@ github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
-github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
+github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
+github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
From 3b205c8006e29ab1959a807b2daa6e92f255b560 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 15:57:26 +0100
Subject: [PATCH 05/34] fix(deps): update module
github.com/clickhouse/clickhouse-go/v2 to v2.21.1 (#31065)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/ClickHouse/clickhouse-go/v2](https://togithub.com/ClickHouse/clickhouse-go)
| `v2.17.1` -> `v2.21.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fClickHouse%2fclickhouse-go%2fv2/v2.17.1/v2.21.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
ClickHouse/clickhouse-go
(github.com/ClickHouse/clickhouse-go/v2)
###
[`v2.21.1`](https://togithub.com/ClickHouse/clickhouse-go/releases/tag/v2.21.1)
[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.21.0...v2.21.1)
#### What's Changed
##### Fixes 🐛
- Adds the ability to Append a zero valued time.Time by
[@KevinJoiner](https://togithub.com/KevinJoiner) in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://togithub.com/ClickHouse/clickhouse-go/pull/1228)
#### New Contributors
- [@KevinJoiner](https://togithub.com/KevinJoiner) made their
first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1228](https://togithub.com/ClickHouse/clickhouse-go/pull/1228)
**Full Changelog**:
https://github.com/ClickHouse/clickhouse-go/compare/v2.21.0...v2.21.1
###
[`v2.21.0`](https://togithub.com/ClickHouse/clickhouse-go/releases/tag/v2.21.0)
[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.20.0...v2.21.0)
#### What's Changed
##### Enhancements 🎉
- Stream HTTP response body read for decompression by
[@rogeryk](https://togithub.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1213](https://togithub.com/ClickHouse/clickhouse-go/pull/1213)
##### Fixes 🐛
- Fix Date32 extremes values handling by
[@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1218](https://togithub.com/ClickHouse/clickhouse-go/pull/1218)
- Fix column with double quotes PrepareBatch
failed.([#1216](https://togithub.com/ClickHouse/clickhouse-go/issues/1216))
by [@YenchangChan](https://togithub.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1217](https://togithub.com/ClickHouse/clickhouse-go/pull/1217)
- Fix an obscure error in HTTP protocol with LZ4 compression by
[@YenchangChan](https://togithub.com/YenchangChan) in
[https://github.com/ClickHouse/clickhouse-go/pull/1230](https://togithub.com/ClickHouse/clickhouse-go/pull/1230)
##### Other Changes 🛠
- Replace deprecated `io/ioutil` functions with equivalents by
[@zaneli](https://togithub.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1211](https://togithub.com/ClickHouse/clickhouse-go/pull/1211)
- Run cloud workflow on main branch only by
[@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1219](https://togithub.com/ClickHouse/clickhouse-go/pull/1219)
- ClickHouse 24.2 by [@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1220](https://togithub.com/ClickHouse/clickhouse-go/pull/1220)
**Full Changelog**:
https://github.com/ClickHouse/clickhouse-go/compare/v2.20.0...v2.21.0
###
[`v2.20.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2200-2024-02-28----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)
[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.19.0...v2.20.0)
#### What's Changed
##### Enhancements 🎉
- Support \[n]byte/\[]byte type Scan/Append to FixedString column by
[@rogeryk](https://togithub.com/rogeryk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1205](https://togithub.com/ClickHouse/clickhouse-go/pull/1205)
##### Other Changes 🛠
- Enable cloud tests by [@jkaflik](https://togithub.com/jkaflik)
in
[https://github.com/ClickHouse/clickhouse-go/pull/1202](https://togithub.com/ClickHouse/clickhouse-go/pull/1202)
- Removed LowCardinality(UInt64) tests that caused
allow_suspicious_low_cardinality_types related error by
[@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1206](https://togithub.com/ClickHouse/clickhouse-go/pull/1206)
**Full Changelog**:
https://github.com/ClickHouse/clickhouse-go/compare/v2.19.0...v2.20.0
###
[`v2.19.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2190-2024-02-26----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)
[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.18.0...v2.19.0)
#### What's Changed
##### Enhancements 🎉
- handle ctx.Done() in acquire by
[@threadedstream](https://togithub.com/threadedstream) in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://togithub.com/ClickHouse/clickhouse-go/pull/1199)
##### Fixes 🐛
- Fix panic on format nil \*fmt.Stringer type value by
[@zaneli](https://togithub.com/zaneli) in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://togithub.com/ClickHouse/clickhouse-go/pull/1200)
##### Other Changes 🛠
- Update Go/ClickHouse versions by
[@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1201](https://togithub.com/ClickHouse/clickhouse-go/pull/1201)
#### New Contributors
- [@threadedstream](https://togithub.com/threadedstream) made
their first contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1199](https://togithub.com/ClickHouse/clickhouse-go/pull/1199)
- [@zaneli](https://togithub.com/zaneli) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1200](https://togithub.com/ClickHouse/clickhouse-go/pull/1200)
**Full Changelog**:
https://github.com/ClickHouse/clickhouse-go/compare/v2.18.0...v2.19.0
###
[`v2.18.0`](https://togithub.com/ClickHouse/clickhouse-go/blob/HEAD/CHANGELOG.md#v2180-2024-02-01----Release-notes-generated-using-configuration-in-githubreleaseyml-at-main---)
[Compare
Source](https://togithub.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0)
#### What's Changed
##### Enhancements 🎉
- Add WithAllocBufferColStrProvider string column allocator for batch
insert performance boost by
[@hongker](https://togithub.com/hongker) in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://togithub.com/ClickHouse/clickhouse-go/pull/1181)
##### Fixes 🐛
- Fix bind for seconds scale DateTime by
[@jkaflik](https://togithub.com/jkaflik) in
[https://github.com/ClickHouse/clickhouse-go/pull/1184](https://togithub.com/ClickHouse/clickhouse-go/pull/1184)
##### Other Changes 🛠
- resolves
[#1163](https://togithub.com/ClickHouse/clickhouse-go/issues/1163)
debugF function is not respected by
[@omurbekjk](https://togithub.com/omurbekjk) in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://togithub.com/ClickHouse/clickhouse-go/pull/1166)
#### New Contributors
- [@omurbekjk](https://togithub.com/omurbekjk) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1166](https://togithub.com/ClickHouse/clickhouse-go/pull/1166)
- [@hongker](https://togithub.com/hongker) made their first
contribution in
[https://github.com/ClickHouse/clickhouse-go/pull/1181](https://togithub.com/ClickHouse/clickhouse-go/pull/1181)
**Full Changelog**:
https://github.com/ClickHouse/clickhouse-go/compare/v2.17.1...v2.18.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 10 ++++----
cmd/configschema/go.sum | 28 +++++++++++-----------
cmd/otelcontribcol/go.mod | 14 +++++------
cmd/otelcontribcol/go.sum | 38 ++++++++++++++++--------------
exporter/clickhouseexporter/go.mod | 16 ++++++-------
exporter/clickhouseexporter/go.sum | 32 ++++++++++++-------------
go.mod | 11 ++++-----
go.sum | 28 +++++++++++-----------
8 files changed, 89 insertions(+), 88 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index e718b6cd17b7..84023e23918a 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -213,8 +213,8 @@ require (
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
- github.com/ClickHouse/ch-go v0.58.2 // indirect
- github.com/ClickHouse/clickhouse-go/v2 v2.17.1 // indirect
+ github.com/ClickHouse/ch-go v0.61.5 // indirect
+ github.com/ClickHouse/clickhouse-go/v2 v2.21.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.104 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.51.1-0.20240301173728-334e775e420a // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel // indirect
@@ -251,7 +251,7 @@ require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/aliyun/aliyun-log-go-sdk v0.1.71 // indirect
- github.com/andybalholm/brotli v1.0.6 // indirect
+ github.com/andybalholm/brotli v1.1.0 // indirect
github.com/apache/arrow/go/v14 v14.0.2 // indirect
github.com/apache/pulsar-client-go v0.8.1 // indirect
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20220120090717-25e59572242e // indirect
@@ -331,7 +331,7 @@ require (
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
- github.com/go-faster/errors v0.6.1 // indirect
+ github.com/go-faster/errors v0.7.1 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
@@ -544,7 +544,7 @@ require (
github.com/outcaste-io/ristretto v0.2.1 // indirect
github.com/ovh/go-ovh v1.4.3 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
- github.com/paulmach/orb v0.10.0 // indirect
+ github.com/paulmach/orb v0.11.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index eaf98886df59..d077499d7f89 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -155,10 +155,10 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 h1:DzHpqpoJVaC
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/ClickHouse/ch-go v0.58.2 h1:jSm2szHbT9MCAB1rJ3WuCJqmGLi5UTjlNu+f530UTS0=
-github.com/ClickHouse/ch-go v0.58.2/go.mod h1:Ap/0bEmiLa14gYjCiRkYGbXvbe8vwdrfTYWhsuQ99aw=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1 h1:ZCmAYWpu75IyEi7+Yrs/uaAjiCGY5wfW5kXo64exkX4=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1/go.mod h1:rkGTvFDTLqLIm0ma+13xmcCfr/08Gvs7KmFt1tgiWHQ=
+github.com/ClickHouse/ch-go v0.61.5 h1:zwR8QbYI0tsMiEcze/uIMK+Tz1D3XZXLdNrlaOpeEI4=
+github.com/ClickHouse/ch-go v0.61.5/go.mod h1:s1LJW/F/LcFs5HJnuogFMta50kKDO0lf9zzfrbl0RQg=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1 h1:x8wZEMOHDh4K8kLQBtGMeIIguejiaj8/bUiF2VzG6n4=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1/go.mod h1:hTWNkV9mkQwiQ/df0rbN17VXF05UTResY4krnjbzVZA=
github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7OputlJIzU=
github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU=
github.com/DataDog/agent-payload/v5 v5.0.104 h1:uxTIaLthyKB4CxBKe+2FeMgL6ca3KVxpeYxlJGNcoJg=
@@ -302,8 +302,8 @@ github.com/aliyun/aliyun-log-go-sdk v0.1.71 h1:0zC74BgKUhmCDrrUArsjQD/igfNyAnc2v
github.com/aliyun/aliyun-log-go-sdk v0.1.71/go.mod h1:FSKcIjukUy+LeUKhRk13PCO+9gPMTfGsYhFBHQbDqmM=
github.com/aliyun/credentials-go v1.1.2 h1:qU1vwGIBb3UJ8BwunHDRFtAhS6jnQLnde/yk0+Ih2GY=
github.com/aliyun/credentials-go v1.1.2/go.mod h1:ozcZaMR5kLM7pwtCMEpVmQ242suV6qTJya2bDq4X1Tw=
-github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
-github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
+github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
+github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/v14 v14.0.2 h1:N8OkaJEOfI3mEZt07BIkvo4sC6XDbL+48MBPWO5IONw=
github.com/apache/arrow/go/v14 v14.0.2/go.mod h1:u3fgh3EdgN/YQ8cVQRguVW3R+seMybFg8QBQ5LU+eBY=
@@ -475,8 +475,8 @@ github.com/containerd/cgroups/v3 v3.0.2 h1:f5WFqIVSgo5IZmtTT3qVBo6TzI1ON6sycSBKk
github.com/containerd/cgroups/v3 v3.0.2/go.mod h1:JUgITrzdFqp42uI2ryGA+ge0ap/nxzYgkGmIcetmErE=
github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw=
github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
-github.com/containerd/containerd v1.7.11 h1:lfGKw3eU35sjV0aG2eYZTiwFEY1pCzxdzicHP3SZILw=
-github.com/containerd/containerd v1.7.11/go.mod h1:5UluHxHTX2rdvYuZ5OJTC5m/KJNs0Zs9wVoJm9zf5ZE=
+github.com/containerd/containerd v1.7.12 h1:+KQsnv4VnzyxWcfO9mlxxELaoztsDEjOuCMPAuPqgU0=
+github.com/containerd/containerd v1.7.12/go.mod h1:/5OMpE1p0ylxtEUGY8kuCYkDRzJm9NO1TFMWjUpdevk=
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
github.com/containerd/ttrpc v1.2.2 h1:9vqZr0pxwOF5koz6N0N3kJ0zDHokrcPxIR/ZR2YFtOs=
@@ -625,8 +625,8 @@ github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxI
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw=
github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw=
-github.com/go-faster/errors v0.6.1 h1:nNIPOBkprlKzkThvS/0YaX8Zs9KewLCOSFQS5BU06FI=
-github.com/go-faster/errors v0.6.1/go.mod h1:5MGV2/2T9yvlrbhe9pD9LO5Z/2zCSq2T8j+Jpi2LAyY=
+github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg=
+github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -1326,8 +1326,8 @@ github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0Mw
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
-github.com/paulmach/orb v0.10.0 h1:guVYVqzxHE/CQ1KpfGO077TR0ATHSNjp4s6XGLn3W9s=
-github.com/paulmach/orb v0.10.0/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
+github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU=
+github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
@@ -1538,8 +1538,8 @@ github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG
github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857 h1:6TxCHz3zSG67cLDDu8w3TkFm/FwiyiAWBhcidGXWH/0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
-github.com/testcontainers/testcontainers-go v0.27.0 h1:IeIrJN4twonTDuMuBNQdKZ+K97yd7VrmNGu+lDpYcDk=
-github.com/testcontainers/testcontainers-go v0.27.0/go.mod h1:+HgYZcd17GshBUZv9b+jKFJ198heWPQq3KQIp2+N+7U=
+github.com/testcontainers/testcontainers-go v0.28.0 h1:1HLm9qm+J5VikzFDYhOd+Zw12NtOl+8drH2E8nTY1r8=
+github.com/testcontainers/testcontainers-go v0.28.0/go.mod h1:COlDpUXbwW3owtpMkEB1zo9gwb1CoKVKlyrVPejF4AU=
github.com/tg123/go-htpasswd v1.2.2 h1:tmNccDsQ+wYsoRfiONzIhDm5OkVHQzN3w4FOBAlN6BY=
github.com/tg123/go-htpasswd v1.2.2/go.mod h1:FcIrK0J+6zptgVwK1JDlqyajW/1B4PtuJ/FLWl7nx8A=
github.com/tidwall/gjson v1.10.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index f10ee35bb3f9..95ca024bbf63 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -261,8 +261,8 @@ require (
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect
- github.com/ClickHouse/ch-go v0.58.2 // indirect
- github.com/ClickHouse/clickhouse-go/v2 v2.17.1 // indirect
+ github.com/ClickHouse/ch-go v0.61.5 // indirect
+ github.com/ClickHouse/clickhouse-go/v2 v2.21.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.104 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.51.1-0.20240301173728-334e775e420a // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel // indirect
@@ -301,7 +301,7 @@ require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/aliyun/aliyun-log-go-sdk v0.1.71 // indirect
- github.com/andybalholm/brotli v1.0.6 // indirect
+ github.com/andybalholm/brotli v1.1.0 // indirect
github.com/apache/arrow/go/v14 v14.0.2 // indirect
github.com/apache/pulsar-client-go v0.8.1 // indirect
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20220120090717-25e59572242e // indirect
@@ -356,8 +356,8 @@ require (
github.com/devigned/tab v0.1.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/digitalocean/godo v1.104.1 // indirect
- github.com/docker/distribution v2.8.2+incompatible // indirect
- github.com/docker/docker v24.0.9+incompatible // indirect
+ github.com/distribution/reference v0.5.0 // indirect
+ github.com/docker/docker v25.0.3+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
@@ -381,7 +381,7 @@ require (
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
- github.com/go-faster/errors v0.6.1 // indirect
+ github.com/go-faster/errors v0.7.1 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
@@ -575,7 +575,7 @@ require (
github.com/outcaste-io/ristretto v0.2.1 // indirect
github.com/ovh/go-ovh v1.4.3 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
- github.com/paulmach/orb v0.10.0 // indirect
+ github.com/paulmach/orb v0.11.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 91a070a03b22..824cfb57a737 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -154,10 +154,10 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 h1:DzHpqpoJVaC
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/ClickHouse/ch-go v0.58.2 h1:jSm2szHbT9MCAB1rJ3WuCJqmGLi5UTjlNu+f530UTS0=
-github.com/ClickHouse/ch-go v0.58.2/go.mod h1:Ap/0bEmiLa14gYjCiRkYGbXvbe8vwdrfTYWhsuQ99aw=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1 h1:ZCmAYWpu75IyEi7+Yrs/uaAjiCGY5wfW5kXo64exkX4=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1/go.mod h1:rkGTvFDTLqLIm0ma+13xmcCfr/08Gvs7KmFt1tgiWHQ=
+github.com/ClickHouse/ch-go v0.61.5 h1:zwR8QbYI0tsMiEcze/uIMK+Tz1D3XZXLdNrlaOpeEI4=
+github.com/ClickHouse/ch-go v0.61.5/go.mod h1:s1LJW/F/LcFs5HJnuogFMta50kKDO0lf9zzfrbl0RQg=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1 h1:x8wZEMOHDh4K8kLQBtGMeIIguejiaj8/bUiF2VzG6n4=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1/go.mod h1:hTWNkV9mkQwiQ/df0rbN17VXF05UTResY4krnjbzVZA=
github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7OputlJIzU=
github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU=
github.com/DataDog/agent-payload/v5 v5.0.104 h1:uxTIaLthyKB4CxBKe+2FeMgL6ca3KVxpeYxlJGNcoJg=
@@ -300,8 +300,8 @@ github.com/aliyun/aliyun-log-go-sdk v0.1.71 h1:0zC74BgKUhmCDrrUArsjQD/igfNyAnc2v
github.com/aliyun/aliyun-log-go-sdk v0.1.71/go.mod h1:FSKcIjukUy+LeUKhRk13PCO+9gPMTfGsYhFBHQbDqmM=
github.com/aliyun/credentials-go v1.1.2 h1:qU1vwGIBb3UJ8BwunHDRFtAhS6jnQLnde/yk0+Ih2GY=
github.com/aliyun/credentials-go v1.1.2/go.mod h1:ozcZaMR5kLM7pwtCMEpVmQ242suV6qTJya2bDq4X1Tw=
-github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
-github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
+github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
+github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/v14 v14.0.2 h1:N8OkaJEOfI3mEZt07BIkvo4sC6XDbL+48MBPWO5IONw=
github.com/apache/arrow/go/v14 v14.0.2/go.mod h1:u3fgh3EdgN/YQ8cVQRguVW3R+seMybFg8QBQ5LU+eBY=
@@ -473,8 +473,8 @@ github.com/containerd/cgroups/v3 v3.0.2 h1:f5WFqIVSgo5IZmtTT3qVBo6TzI1ON6sycSBKk
github.com/containerd/cgroups/v3 v3.0.2/go.mod h1:JUgITrzdFqp42uI2ryGA+ge0ap/nxzYgkGmIcetmErE=
github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw=
github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
-github.com/containerd/containerd v1.7.11 h1:lfGKw3eU35sjV0aG2eYZTiwFEY1pCzxdzicHP3SZILw=
-github.com/containerd/containerd v1.7.11/go.mod h1:5UluHxHTX2rdvYuZ5OJTC5m/KJNs0Zs9wVoJm9zf5ZE=
+github.com/containerd/containerd v1.7.12 h1:+KQsnv4VnzyxWcfO9mlxxELaoztsDEjOuCMPAuPqgU0=
+github.com/containerd/containerd v1.7.12/go.mod h1:/5OMpE1p0ylxtEUGY8kuCYkDRzJm9NO1TFMWjUpdevk=
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
github.com/containerd/ttrpc v1.2.2 h1:9vqZr0pxwOF5koz6N0N3kJ0zDHokrcPxIR/ZR2YFtOs=
@@ -526,12 +526,12 @@ github.com/dimchansky/utfbom v1.1.0 h1:FcM3g+nofKgUteL8dm/UpdRXNC9KmADgTpLKsu0TR
github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8=
github.com/dimfeld/httptreemux v5.0.1+incompatible h1:Qj3gVcDNoOthBAqftuD596rm4wg/adLLz5xh5CmpiCA=
github.com/dimfeld/httptreemux v5.0.1+incompatible/go.mod h1:rbUlSV+CCpv/SuqUTP/8Bk2O3LyUV436/yaRGkhP6Z0=
+github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
+github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
-github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
-github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/docker v24.0.9+incompatible h1:HPGzNmwfLZWdxHqK9/II92pyi1EpYKsAqcl4G0Of9v0=
-github.com/docker/docker v24.0.9+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
+github.com/docker/docker v25.0.3+incompatible h1:D5fy/lYmY7bvZa0XTZ5/UJPljor41F+vdyJG5luQLfQ=
+github.com/docker/docker v25.0.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c=
github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
@@ -621,8 +621,8 @@ github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxI
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw=
github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw=
-github.com/go-faster/errors v0.6.1 h1:nNIPOBkprlKzkThvS/0YaX8Zs9KewLCOSFQS5BU06FI=
-github.com/go-faster/errors v0.6.1/go.mod h1:5MGV2/2T9yvlrbhe9pD9LO5Z/2zCSq2T8j+Jpi2LAyY=
+github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg=
+github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -1208,6 +1208,8 @@ github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vyg
github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI=
github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc=
github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo=
+github.com/moby/sys/user v0.1.0 h1:WmZ93f5Ux6het5iituh9x2zAG7NFY9Aqi49jjE1PaQg=
+github.com/moby/sys/user v0.1.0/go.mod h1:fKJhFOnsCN6xZ5gSfbM6zaHGgDJMrqt9/reuj4T7MmU=
github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0=
github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -1323,8 +1325,8 @@ github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0Mw
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
-github.com/paulmach/orb v0.10.0 h1:guVYVqzxHE/CQ1KpfGO077TR0ATHSNjp4s6XGLn3W9s=
-github.com/paulmach/orb v0.10.0/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
+github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU=
+github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY=
github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
@@ -1536,8 +1538,8 @@ github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG
github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857 h1:6TxCHz3zSG67cLDDu8w3TkFm/FwiyiAWBhcidGXWH/0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
-github.com/testcontainers/testcontainers-go v0.27.0 h1:IeIrJN4twonTDuMuBNQdKZ+K97yd7VrmNGu+lDpYcDk=
-github.com/testcontainers/testcontainers-go v0.27.0/go.mod h1:+HgYZcd17GshBUZv9b+jKFJ198heWPQq3KQIp2+N+7U=
+github.com/testcontainers/testcontainers-go v0.28.0 h1:1HLm9qm+J5VikzFDYhOd+Zw12NtOl+8drH2E8nTY1r8=
+github.com/testcontainers/testcontainers-go v0.28.0/go.mod h1:COlDpUXbwW3owtpMkEB1zo9gwb1CoKVKlyrVPejF4AU=
github.com/tg123/go-htpasswd v1.2.2 h1:tmNccDsQ+wYsoRfiONzIhDm5OkVHQzN3w4FOBAlN6BY=
github.com/tg123/go-htpasswd v1.2.2/go.mod h1:FcIrK0J+6zptgVwK1JDlqyajW/1B4PtuJ/FLWl7nx8A=
github.com/tidwall/gjson v1.10.2 h1:APbLGOM0rrEkd8WBw9C24nllro4ajFuJu0Sc9hRz8Bo=
diff --git a/exporter/clickhouseexporter/go.mod b/exporter/clickhouseexporter/go.mod
index 4172b4633436..73fe6714f9d0 100644
--- a/exporter/clickhouseexporter/go.mod
+++ b/exporter/clickhouseexporter/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickh
go 1.21
require (
- github.com/ClickHouse/clickhouse-go/v2 v2.17.1
+ github.com/ClickHouse/clickhouse-go/v2 v2.21.1
github.com/cenkalti/backoff/v4 v4.2.1
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/stretchr/testify v1.9.0
@@ -21,13 +21,13 @@ require (
)
require (
- github.com/ClickHouse/ch-go v0.58.2 // indirect
- github.com/andybalholm/brotli v1.0.6 // indirect
+ github.com/ClickHouse/ch-go v0.61.5 // indirect
+ github.com/andybalholm/brotli v1.1.0 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-faster/city v1.0.1 // indirect
- github.com/go-faster/errors v0.6.1 // indirect
+ github.com/go-faster/errors v0.7.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
@@ -35,7 +35,7 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
- github.com/klauspost/compress v1.17.2 // indirect
+ github.com/klauspost/compress v1.17.7 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
github.com/knadh/koanf/v2 v2.1.0 // indirect
@@ -43,8 +43,8 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
- github.com/paulmach/orb v0.10.0 // indirect
- github.com/pierrec/lz4/v4 v4.1.18 // indirect
+ github.com/paulmach/orb v0.11.1 // indirect
+ github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
@@ -63,7 +63,7 @@ require (
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.24.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.21.0 // indirect
+ golang.org/x/net v0.22.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
diff --git a/exporter/clickhouseexporter/go.sum b/exporter/clickhouseexporter/go.sum
index bf1dcc1c62a0..4911dd5b6c6b 100644
--- a/exporter/clickhouseexporter/go.sum
+++ b/exporter/clickhouseexporter/go.sum
@@ -1,9 +1,9 @@
-github.com/ClickHouse/ch-go v0.58.2 h1:jSm2szHbT9MCAB1rJ3WuCJqmGLi5UTjlNu+f530UTS0=
-github.com/ClickHouse/ch-go v0.58.2/go.mod h1:Ap/0bEmiLa14gYjCiRkYGbXvbe8vwdrfTYWhsuQ99aw=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1 h1:ZCmAYWpu75IyEi7+Yrs/uaAjiCGY5wfW5kXo64exkX4=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1/go.mod h1:rkGTvFDTLqLIm0ma+13xmcCfr/08Gvs7KmFt1tgiWHQ=
-github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
-github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
+github.com/ClickHouse/ch-go v0.61.5 h1:zwR8QbYI0tsMiEcze/uIMK+Tz1D3XZXLdNrlaOpeEI4=
+github.com/ClickHouse/ch-go v0.61.5/go.mod h1:s1LJW/F/LcFs5HJnuogFMta50kKDO0lf9zzfrbl0RQg=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1 h1:x8wZEMOHDh4K8kLQBtGMeIIguejiaj8/bUiF2VzG6n4=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1/go.mod h1:hTWNkV9mkQwiQ/df0rbN17VXF05UTResY4krnjbzVZA=
+github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
+github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
@@ -15,8 +15,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw=
github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw=
-github.com/go-faster/errors v0.6.1 h1:nNIPOBkprlKzkThvS/0YaX8Zs9KewLCOSFQS5BU06FI=
-github.com/go-faster/errors v0.6.1/go.mod h1:5MGV2/2T9yvlrbhe9pD9LO5Z/2zCSq2T8j+Jpi2LAyY=
+github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg=
+github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
@@ -42,8 +42,8 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.17.2 h1:RlWWUY/Dr4fL8qk9YG7DTZ7PDgME2V4csBXA8L/ixi4=
-github.com/klauspost/compress v1.17.2/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
+github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg=
+github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI=
github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU=
@@ -67,11 +67,11 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
-github.com/paulmach/orb v0.10.0 h1:guVYVqzxHE/CQ1KpfGO077TR0ATHSNjp4s6XGLn3W9s=
-github.com/paulmach/orb v0.10.0/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
+github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU=
+github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY=
-github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
-github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
+github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ=
+github.com/pierrec/lz4/v4 v4.1.21/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -156,8 +156,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4=
-golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
+golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
+golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
diff --git a/go.mod b/go.mod
index 48d44a468843..95473cc9e0de 100644
--- a/go.mod
+++ b/go.mod
@@ -228,8 +228,8 @@ require (
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 // indirect
- github.com/ClickHouse/ch-go v0.58.2 // indirect
- github.com/ClickHouse/clickhouse-go/v2 v2.17.1 // indirect
+ github.com/ClickHouse/ch-go v0.61.5 // indirect
+ github.com/ClickHouse/clickhouse-go/v2 v2.21.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.104 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.51.1-0.20240301173728-334e775e420a // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.52.0-devel // indirect
@@ -269,7 +269,7 @@ require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/aliyun/aliyun-log-go-sdk v0.1.71 // indirect
- github.com/andybalholm/brotli v1.0.6 // indirect
+ github.com/andybalholm/brotli v1.1.0 // indirect
github.com/apache/arrow/go/v14 v14.0.2 // indirect
github.com/apache/pulsar-client-go v0.8.1 // indirect
github.com/apache/pulsar-client-go/oauth2 v0.0.0-20220120090717-25e59572242e // indirect
@@ -349,7 +349,7 @@ require (
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/getsentry/sentry-go v0.27.0 // indirect
github.com/go-faster/city v1.0.1 // indirect
- github.com/go-faster/errors v0.6.1 // indirect
+ github.com/go-faster/errors v0.7.1 // indirect
github.com/go-kit/kit v0.13.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
@@ -482,7 +482,6 @@ require (
github.com/mitchellh/mapstructure v1.5.1-0.20231216201459-8508981c8b6c // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
- github.com/moby/sys/user v0.1.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mongodb-forks/digest v1.0.5 // indirect
@@ -544,7 +543,7 @@ require (
github.com/outcaste-io/ristretto v0.2.1 // indirect
github.com/ovh/go-ovh v1.4.3 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
- github.com/paulmach/orb v0.10.0 // indirect
+ github.com/paulmach/orb v0.11.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
diff --git a/go.sum b/go.sum
index ca5ed558a694..f5b3823d9d9a 100644
--- a/go.sum
+++ b/go.sum
@@ -157,10 +157,10 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1 h1:DzHpqpoJVaC
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
-github.com/ClickHouse/ch-go v0.58.2 h1:jSm2szHbT9MCAB1rJ3WuCJqmGLi5UTjlNu+f530UTS0=
-github.com/ClickHouse/ch-go v0.58.2/go.mod h1:Ap/0bEmiLa14gYjCiRkYGbXvbe8vwdrfTYWhsuQ99aw=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1 h1:ZCmAYWpu75IyEi7+Yrs/uaAjiCGY5wfW5kXo64exkX4=
-github.com/ClickHouse/clickhouse-go/v2 v2.17.1/go.mod h1:rkGTvFDTLqLIm0ma+13xmcCfr/08Gvs7KmFt1tgiWHQ=
+github.com/ClickHouse/ch-go v0.61.5 h1:zwR8QbYI0tsMiEcze/uIMK+Tz1D3XZXLdNrlaOpeEI4=
+github.com/ClickHouse/ch-go v0.61.5/go.mod h1:s1LJW/F/LcFs5HJnuogFMta50kKDO0lf9zzfrbl0RQg=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1 h1:x8wZEMOHDh4K8kLQBtGMeIIguejiaj8/bUiF2VzG6n4=
+github.com/ClickHouse/clickhouse-go/v2 v2.21.1/go.mod h1:hTWNkV9mkQwiQ/df0rbN17VXF05UTResY4krnjbzVZA=
github.com/DATA-DOG/go-sqlmock v1.5.2 h1:OcvFkGmslmlZibjAjaHm3L//6LiuBgolP7OputlJIzU=
github.com/DATA-DOG/go-sqlmock v1.5.2/go.mod h1:88MAG/4G7SMwSE3CeA0ZKzrT5CiOU3OJ+JlNzwDqpNU=
github.com/DataDog/agent-payload/v5 v5.0.104 h1:uxTIaLthyKB4CxBKe+2FeMgL6ca3KVxpeYxlJGNcoJg=
@@ -304,8 +304,8 @@ github.com/aliyun/aliyun-log-go-sdk v0.1.71 h1:0zC74BgKUhmCDrrUArsjQD/igfNyAnc2v
github.com/aliyun/aliyun-log-go-sdk v0.1.71/go.mod h1:FSKcIjukUy+LeUKhRk13PCO+9gPMTfGsYhFBHQbDqmM=
github.com/aliyun/credentials-go v1.1.2 h1:qU1vwGIBb3UJ8BwunHDRFtAhS6jnQLnde/yk0+Ih2GY=
github.com/aliyun/credentials-go v1.1.2/go.mod h1:ozcZaMR5kLM7pwtCMEpVmQ242suV6qTJya2bDq4X1Tw=
-github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI=
-github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
+github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
+github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/apache/arrow/go/v14 v14.0.2 h1:N8OkaJEOfI3mEZt07BIkvo4sC6XDbL+48MBPWO5IONw=
github.com/apache/arrow/go/v14 v14.0.2/go.mod h1:u3fgh3EdgN/YQ8cVQRguVW3R+seMybFg8QBQ5LU+eBY=
@@ -477,8 +477,8 @@ github.com/containerd/cgroups/v3 v3.0.2 h1:f5WFqIVSgo5IZmtTT3qVBo6TzI1ON6sycSBKk
github.com/containerd/cgroups/v3 v3.0.2/go.mod h1:JUgITrzdFqp42uI2ryGA+ge0ap/nxzYgkGmIcetmErE=
github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw=
github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
-github.com/containerd/containerd v1.7.11 h1:lfGKw3eU35sjV0aG2eYZTiwFEY1pCzxdzicHP3SZILw=
-github.com/containerd/containerd v1.7.11/go.mod h1:5UluHxHTX2rdvYuZ5OJTC5m/KJNs0Zs9wVoJm9zf5ZE=
+github.com/containerd/containerd v1.7.12 h1:+KQsnv4VnzyxWcfO9mlxxELaoztsDEjOuCMPAuPqgU0=
+github.com/containerd/containerd v1.7.12/go.mod h1:/5OMpE1p0ylxtEUGY8kuCYkDRzJm9NO1TFMWjUpdevk=
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
github.com/containerd/ttrpc v1.2.2 h1:9vqZr0pxwOF5koz6N0N3kJ0zDHokrcPxIR/ZR2YFtOs=
@@ -625,8 +625,8 @@ github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxI
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw=
github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw=
-github.com/go-faster/errors v0.6.1 h1:nNIPOBkprlKzkThvS/0YaX8Zs9KewLCOSFQS5BU06FI=
-github.com/go-faster/errors v0.6.1/go.mod h1:5MGV2/2T9yvlrbhe9pD9LO5Z/2zCSq2T8j+Jpi2LAyY=
+github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg=
+github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
@@ -1326,8 +1326,8 @@ github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0Mw
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
-github.com/paulmach/orb v0.10.0 h1:guVYVqzxHE/CQ1KpfGO077TR0ATHSNjp4s6XGLn3W9s=
-github.com/paulmach/orb v0.10.0/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
+github.com/paulmach/orb v0.11.1 h1:3koVegMC4X/WeiXYz9iswopaTwMem53NzTJuTF20JzU=
+github.com/paulmach/orb v0.11.1/go.mod h1:5mULz1xQfs3bmQm63QEJA6lNGujuRafwA5S/EnuLaLU=
github.com/paulmach/protoscan v0.2.1/go.mod h1:SpcSwydNLrxUGSDvXvO0P7g7AuhJ7lcKfDlhJCDw2gY=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
@@ -1538,8 +1538,8 @@ github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG
github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857 h1:6TxCHz3zSG67cLDDu8w3TkFm/FwiyiAWBhcidGXWH/0=
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.857/go.mod h1:r5r4xbfxSaeR04b166HGsBa/R4U3SueirEUpXGuw+Q0=
-github.com/testcontainers/testcontainers-go v0.27.0 h1:IeIrJN4twonTDuMuBNQdKZ+K97yd7VrmNGu+lDpYcDk=
-github.com/testcontainers/testcontainers-go v0.27.0/go.mod h1:+HgYZcd17GshBUZv9b+jKFJ198heWPQq3KQIp2+N+7U=
+github.com/testcontainers/testcontainers-go v0.28.0 h1:1HLm9qm+J5VikzFDYhOd+Zw12NtOl+8drH2E8nTY1r8=
+github.com/testcontainers/testcontainers-go v0.28.0/go.mod h1:COlDpUXbwW3owtpMkEB1zo9gwb1CoKVKlyrVPejF4AU=
github.com/tg123/go-htpasswd v1.2.2 h1:tmNccDsQ+wYsoRfiONzIhDm5OkVHQzN3w4FOBAlN6BY=
github.com/tg123/go-htpasswd v1.2.2/go.mod h1:FcIrK0J+6zptgVwK1JDlqyajW/1B4PtuJ/FLWl7nx8A=
github.com/tidwall/gjson v1.10.2/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
From ec6a5b4fca4ecab3fb51e483b23620b47ad62f24 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:33:18 -0700
Subject: [PATCH 06/34] Update module github.com/Khan/genqlient to v0.7.0
(#31571)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/Khan/genqlient](https://togithub.com/Khan/genqlient) |
`v0.6.0` -> `v0.7.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fKhan%2fgenqlient/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fKhan%2fgenqlient/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fKhan%2fgenqlient/v0.6.0/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fKhan%2fgenqlient/v0.6.0/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
Khan/genqlient (github.com/Khan/genqlient)
### [`v0.7.0`](https://togithub.com/Khan/genqlient/releases/tag/v0.7.0)
[Compare
Source](https://togithub.com/Khan/genqlient/compare/v0.6.0...v0.7.0)
In addition to several new features and bugfixes, along with this
release comes reorganized
[documentation](https://togithub.com/Khan/genqlient/blob/main/docs) for
genqlient. Note that genqlient now requires Go 1.20 or higher, and is
tested through Go 1.22.
#### What's Changed
- Add "generic" option to the "optional" configuration for handling
nullable types by
[@DylanRJohnston](https://togithub.com/DylanRJohnston) in
[https://github.com/Khan/genqlient/pull/252](https://togithub.com/Khan/genqlient/pull/252)
- Documentation tweaks relating to releases by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/271](https://togithub.com/Khan/genqlient/pull/271)
- Add some better tests for use_struct_references by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/273](https://togithub.com/Khan/genqlient/pull/273)
- Add an option to handle enums with ugly casing by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/270](https://togithub.com/Khan/genqlient/pull/270)
- Add some more tests for config validation, and fix some gaps by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/274](https://togithub.com/Khan/genqlient/pull/274)
- Add consideration for pointer false directive when optional: pointer
configuration option is used by
[@spencermurray](https://togithub.com/spencermurray) in
[https://github.com/Khan/genqlient/pull/280](https://togithub.com/Khan/genqlient/pull/280)
- Update gqlparser and gqlgen dependencies by
[@StevenACoffman](https://togithub.com/StevenACoffman) in
[https://github.com/Khan/genqlient/pull/282](https://togithub.com/Khan/genqlient/pull/282)
- Update gqlparser to omit comments by
[@StevenACoffman](https://togithub.com/StevenACoffman) in
[https://github.com/Khan/genqlient/pull/284](https://togithub.com/Khan/genqlient/pull/284)
- bugfix: local variable 'data' colliding with argument name by
[@zholti](https://togithub.com/zholti) in
[https://github.com/Khan/genqlient/pull/291](https://togithub.com/Khan/genqlient/pull/291)
- Pin lint workflow's Go version by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/311](https://togithub.com/Khan/genqlient/pull/311)
- Upgrade golangci-lint and which go we run it with by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/314](https://togithub.com/Khan/genqlient/pull/314)
- fix implementation type generation for fragment on a union by
[@zzh8829](https://togithub.com/zzh8829) in
[https://github.com/Khan/genqlient/pull/310](https://togithub.com/Khan/genqlient/pull/310)
- Support more valid graphql file extensions by
[@zzh8829](https://togithub.com/zzh8829) in
[https://github.com/Khan/genqlient/pull/309](https://togithub.com/Khan/genqlient/pull/309)
- Add tests on Go 1.22, and upgrade x/tools to make them work by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/315](https://togithub.com/Khan/genqlient/pull/315)
- Update gqlgen to latest by
[@StevenACoffman](https://togithub.com/StevenACoffman) in
[https://github.com/Khan/genqlient/pull/317](https://togithub.com/Khan/genqlient/pull/317)
- move genqlient Go module to 1.20 by
[@StevenACoffman](https://togithub.com/StevenACoffman) in
[https://github.com/Khan/genqlient/pull/318](https://togithub.com/Khan/genqlient/pull/318)
- Improve package-sniffing and bind correctly to types in the same
package by [@benjaminjkraft](https://togithub.com/benjaminjkraft)
in
[https://github.com/Khan/genqlient/pull/316](https://togithub.com/Khan/genqlient/pull/316)
- Reorganize and improve documentation by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/322](https://togithub.com/Khan/genqlient/pull/322)
- Fix non-deterministic generated code involving interfaces and
fragments. by [@csilvers](https://togithub.com/csilvers) in
[https://github.com/Khan/genqlient/pull/323](https://togithub.com/Khan/genqlient/pull/323)
- Release v0.7.0 by
[@benjaminjkraft](https://togithub.com/benjaminjkraft) in
[https://github.com/Khan/genqlient/pull/324](https://togithub.com/Khan/genqlient/pull/324)
#### New Contributors
- [@DylanRJohnston](https://togithub.com/DylanRJohnston) made
their first contribution in
[https://github.com/Khan/genqlient/pull/252](https://togithub.com/Khan/genqlient/pull/252)
- [@spencermurray](https://togithub.com/spencermurray) made their
first contribution in
[https://github.com/Khan/genqlient/pull/280](https://togithub.com/Khan/genqlient/pull/280)
- [@zholti](https://togithub.com/zholti) made their first
contribution in
[https://github.com/Khan/genqlient/pull/291](https://togithub.com/Khan/genqlient/pull/291)
- [@zzh8829](https://togithub.com/zzh8829) made their first
contribution in
[https://github.com/Khan/genqlient/pull/310](https://togithub.com/Khan/genqlient/pull/310)
**Full Changelog**:
https://github.com/Khan/genqlient/compare/v0.6.0...v0.7.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Andrzej Stencel
---
internal/tools/go.mod | 6 +-
internal/tools/go.sum | 14 ++-
receiver/gitproviderreceiver/go.mod | 2 +-
receiver/gitproviderreceiver/go.sum | 4 +-
.../githubscraper/generated_graphql.go | 88 +++++++++----------
5 files changed, 56 insertions(+), 58 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 139e16829961..4ba5f365559e 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/internal/tools
go 1.21
require (
- github.com/Khan/genqlient v0.6.0
+ github.com/Khan/genqlient v0.7.0
github.com/client9/misspell v0.3.4
github.com/daixiang0/gci v0.12.1
github.com/golangci/golangci-lint v1.55.2
@@ -187,7 +187,7 @@ require (
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
github.com/sashamelentyev/usestdlibvars v1.24.0 // indirect
github.com/securego/gosec/v2 v2.18.2 // indirect
- github.com/sergi/go-diff v1.1.0 // indirect
+ github.com/sergi/go-diff v1.3.1 // indirect
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sivchari/containedctx v1.0.3 // indirect
@@ -217,7 +217,7 @@ require (
github.com/ultraware/funlen v0.1.0 // indirect
github.com/ultraware/whitespace v0.0.5 // indirect
github.com/uudashr/gocognit v1.1.2 // indirect
- github.com/vektah/gqlparser/v2 v2.5.1 // indirect
+ github.com/vektah/gqlparser/v2 v2.5.11 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xen0n/gosmopolitan v1.2.2 // indirect
github.com/yagipy/maintidx v1.0.0 // indirect
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index d19f4fed8bdf..71b0a3edc2d8 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -55,8 +55,8 @@ github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rW
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0 h1:3ZBs7LAezy8gh0uECsA6CGU43FF3zsx5f4eah5FxTMA=
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.1.0/go.mod h1:rZLTje5A9kFBe0pzhpe2TdhRniBF++PRHQuRpR8esVc=
-github.com/Khan/genqlient v0.6.0 h1:Bwb1170ekuNIVIwTJEqvO8y7RxBxXu639VJOkKSrwAk=
-github.com/Khan/genqlient v0.6.0/go.mod h1:rvChwWVTqXhiapdhLDV4bp9tz/Xvtewwkon4DpWWCRM=
+github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w=
+github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1kPBvSFM=
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
@@ -66,7 +66,6 @@ github.com/OpenPeeDeeP/depguard/v2 v2.1.0 h1:aQl70G173h/GZYhWf36aE5H0KaujXfVMnn/
github.com/OpenPeeDeeP/depguard/v2 v2.1.0/go.mod h1:PUBgk35fX4i7JDmwzlJwJ+GMe6NfO1723wmJMgPThNQ=
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 h1:kkhsdkhsCvIsutKu5zLMgWtgh9YxGCNAw8Ad8hjwfYg=
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0=
-github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
github.com/agnivade/levenshtein v1.1.1 h1:QY8M92nrzkmr798gCo3kmMyqXFzdQVpxLlGPRBij0P8=
github.com/agnivade/levenshtein v1.1.1/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo=
github.com/alecthomas/assert/v2 v2.2.2 h1:Z/iVC0xZfWTaFNE6bA3z07T86hd45Xe2eLt6WVy2bbk=
@@ -579,8 +578,8 @@ github.com/sashamelentyev/usestdlibvars v1.24.0 h1:MKNzmXtGh5N0y74Z/CIaJh4GlB364
github.com/sashamelentyev/usestdlibvars v1.24.0/go.mod h1:9cYkq+gYJ+a5W2RPdhfaSCnTVUC1OQP/bSiiBhq3OZE=
github.com/securego/gosec/v2 v2.18.2 h1:DkDt3wCiOtAHf1XkiXZBhQ6m6mK/b9T/wD257R3/c+I=
github.com/securego/gosec/v2 v2.18.2/go.mod h1:xUuqSF6i0So56Y2wwohWAmB07EdBkUN6crbLlHwbyJs=
-github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
-github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
+github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8=
+github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I=
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs=
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
@@ -663,8 +662,8 @@ github.com/ultraware/whitespace v0.0.5 h1:hh+/cpIcopyMYbZNVov9iSxvJU3OYQg78Sfaqz
github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
github.com/uudashr/gocognit v1.1.2 h1:l6BAEKJqQH2UpKAPKdMfZf5kE4W/2xk8pfU1OVLvniI=
github.com/uudashr/gocognit v1.1.2/go.mod h1:aAVdLURqcanke8h3vg35BC++eseDm66Z7KmchI5et4k=
-github.com/vektah/gqlparser/v2 v2.5.1 h1:ZGu+bquAY23jsxDRcYpWjttRZrUz07LbiY77gUOHcr4=
-github.com/vektah/gqlparser/v2 v2.5.1/go.mod h1:mPgqFBu/woKTVYWyNk8cO3kh4S/f4aRFZrvOnp3hmCs=
+github.com/vektah/gqlparser/v2 v2.5.11 h1:JJxLtXIoN7+3x6MBdtIP59TP1RANnY7pXOaDnADQSf8=
+github.com/vektah/gqlparser/v2 v2.5.11/go.mod h1:1rCcfwB2ekJofmluGWXMSEnPMZgbxzwj6FaZ/4OT8Cc=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HHtvU=
@@ -1124,7 +1123,6 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
diff --git a/receiver/gitproviderreceiver/go.mod b/receiver/gitproviderreceiver/go.mod
index 137fa289e65a..d69dd7a88d74 100644
--- a/receiver/gitproviderreceiver/go.mod
+++ b/receiver/gitproviderreceiver/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/gitpro
go 1.21
require (
- github.com/Khan/genqlient v0.6.0
+ github.com/Khan/genqlient v0.7.0
github.com/google/go-cmp v0.6.0
github.com/google/go-github/v59 v59.0.0
github.com/stretchr/testify v1.9.0
diff --git a/receiver/gitproviderreceiver/go.sum b/receiver/gitproviderreceiver/go.sum
index b0a58f20f5df..743f2700f921 100644
--- a/receiver/gitproviderreceiver/go.sum
+++ b/receiver/gitproviderreceiver/go.sum
@@ -1,7 +1,7 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/Khan/genqlient v0.6.0 h1:Bwb1170ekuNIVIwTJEqvO8y7RxBxXu639VJOkKSrwAk=
-github.com/Khan/genqlient v0.6.0/go.mod h1:rvChwWVTqXhiapdhLDV4bp9tz/Xvtewwkon4DpWWCRM=
+github.com/Khan/genqlient v0.7.0 h1:GZ1meyRnzcDTK48EjqB8t3bcfYvHArCUUvgOwpz1D4w=
+github.com/Khan/genqlient v0.7.0/go.mod h1:HNyy3wZvuYwmW3Y7mkoQLZsa/R5n5yIRajS1kPBvSFM=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 h1:bvNMNQO63//z+xNgfBlViaCIJKLlCJ6/fmUseuG0wVQ=
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
diff --git a/receiver/gitproviderreceiver/internal/scraper/githubscraper/generated_graphql.go b/receiver/gitproviderreceiver/internal/scraper/githubscraper/generated_graphql.go
index 1e9df97678dc..5739f5743189 100644
--- a/receiver/gitproviderreceiver/internal/scraper/githubscraper/generated_graphql.go
+++ b/receiver/gitproviderreceiver/internal/scraper/githubscraper/generated_graphql.go
@@ -871,29 +871,29 @@ query checkLogin ($login: String!) {
`
func checkLogin(
- ctx context.Context,
- client graphql.Client,
+ ctx_ context.Context,
+ client_ graphql.Client,
login string,
) (*checkLoginResponse, error) {
- req := &graphql.Request{
+ req_ := &graphql.Request{
OpName: "checkLogin",
Query: checkLogin_Operation,
Variables: &__checkLoginInput{
Login: login,
},
}
- var err error
+ var err_ error
- var data checkLoginResponse
- resp := &graphql.Response{Data: &data}
+ var data_ checkLoginResponse
+ resp_ := &graphql.Response{Data: &data_}
- err = client.MakeRequest(
- ctx,
- req,
- resp,
+ err_ = client_.MakeRequest(
+ ctx_,
+ req_,
+ resp_,
)
- return &data, err
+ return &data_, err_
}
// The query or mutation executed by getBranchData.
@@ -925,15 +925,15 @@ query getBranchData ($name: String!, $owner: String!, $branchFirst: Int!, $targe
`
func getBranchData(
- ctx context.Context,
- client graphql.Client,
+ ctx_ context.Context,
+ client_ graphql.Client,
name string,
owner string,
branchFirst int,
targetBranch string,
branchCursor *string,
) (*getBranchDataResponse, error) {
- req := &graphql.Request{
+ req_ := &graphql.Request{
OpName: "getBranchData",
Query: getBranchData_Operation,
Variables: &__getBranchDataInput{
@@ -944,18 +944,18 @@ func getBranchData(
BranchCursor: branchCursor,
},
}
- var err error
+ var err_ error
- var data getBranchDataResponse
- resp := &graphql.Response{Data: &data}
+ var data_ getBranchDataResponse
+ resp_ := &graphql.Response{Data: &data_}
- err = client.MakeRequest(
- ctx,
- req,
- resp,
+ err_ = client_.MakeRequest(
+ ctx_,
+ req_,
+ resp_,
)
- return &data, err
+ return &data_, err_
}
// The query or mutation executed by getPullRequestData.
@@ -997,15 +997,15 @@ query getPullRequestData ($name: String!, $owner: String!, $prFirst: Int!, $prCu
`
func getPullRequestData(
- ctx context.Context,
- client graphql.Client,
+ ctx_ context.Context,
+ client_ graphql.Client,
name string,
owner string,
prFirst int,
prCursor *string,
prStates []PullRequestState,
) (*getPullRequestDataResponse, error) {
- req := &graphql.Request{
+ req_ := &graphql.Request{
OpName: "getPullRequestData",
Query: getPullRequestData_Operation,
Variables: &__getPullRequestDataInput{
@@ -1016,18 +1016,18 @@ func getPullRequestData(
PrStates: prStates,
},
}
- var err error
+ var err_ error
- var data getPullRequestDataResponse
- resp := &graphql.Response{Data: &data}
+ var data_ getPullRequestDataResponse
+ resp_ := &graphql.Response{Data: &data_}
- err = client.MakeRequest(
- ctx,
- req,
- resp,
+ err_ = client_.MakeRequest(
+ ctx_,
+ req_,
+ resp_,
)
- return &data, err
+ return &data_, err_
}
// The query or mutation executed by getRepoDataBySearch.
@@ -1054,12 +1054,12 @@ query getRepoDataBySearch ($searchQuery: String!, $repoCursor: String) {
`
func getRepoDataBySearch(
- ctx context.Context,
- client graphql.Client,
+ ctx_ context.Context,
+ client_ graphql.Client,
searchQuery string,
repoCursor *string,
) (*getRepoDataBySearchResponse, error) {
- req := &graphql.Request{
+ req_ := &graphql.Request{
OpName: "getRepoDataBySearch",
Query: getRepoDataBySearch_Operation,
Variables: &__getRepoDataBySearchInput{
@@ -1067,16 +1067,16 @@ func getRepoDataBySearch(
RepoCursor: repoCursor,
},
}
- var err error
+ var err_ error
- var data getRepoDataBySearchResponse
- resp := &graphql.Response{Data: &data}
+ var data_ getRepoDataBySearchResponse
+ resp_ := &graphql.Response{Data: &data_}
- err = client.MakeRequest(
- ctx,
- req,
- resp,
+ err_ = client_.MakeRequest(
+ ctx_,
+ req_,
+ resp_,
)
- return &data, err
+ return &data_, err_
}
From 5305277eff0b46fe8b09d00b18f8742bfee6fac2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:34:09 -0700
Subject: [PATCH 07/34] fix(deps): update module
github.com/jaegertracing/jaeger to v1.55.0 (#31709)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/jaegertracing/jaeger](https://togithub.com/jaegertracing/jaeger)
| `v1.54.0` -> `v1.55.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fjaegertracing%2fjaeger/v1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fjaegertracing%2fjaeger/v1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fjaegertracing%2fjaeger/v1.54.0/v1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fjaegertracing%2fjaeger/v1.54.0/v1.55.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
jaegertracing/jaeger
(github.com/jaegertracing/jaeger)
###
[`v1.55.0`](https://togithub.com/jaegertracing/jaeger/releases/tag/v1.55.0):
Release 1.55.0
[Compare
Source](https://togithub.com/jaegertracing/jaeger/compare/v1.54.0...v1.55.0)
##### Backend Changes
##### ✨ New Features:
- Support uploading traces to UI in OpenTelemetry format (OTLP/JSON)
([@NavinShrinivas](https://togithub.com/NavinShrinivas) in
[#5155](https://togithub.com/jaegertracing/jaeger/pull/5155))
- Add Elasticsearch storage support for adaptive sampling
([@Pushkarm029](https://togithub.com/Pushkarm029) in
[#5158](https://togithub.com/jaegertracing/jaeger/pull/5158))
##### 🐞 Bug fixes, Minor Improvements:
- Add the `print-config` subcommand
([@gmafrac](https://togithub.com/gmafrac) in
[#5200](https://togithub.com/jaegertracing/jaeger/pull/5200))
- Return more detailed errors from ES storage
([@yurishkuro](https://togithub.com/yurishkuro) in
[#5209](https://togithub.com/jaegertracing/jaeger/pull/5209))
- Bump go version ([@yurishkuro](https://togithub.com/yurishkuro)
in [#5180](https://togithub.com/jaegertracing/jaeger/pull/5180))
##### 🚧 Experimental Features:
- \[jaeger-v2] Add support for gRPC storarge
([@james-ryans](https://togithub.com/james-ryans) in
[#5228](https://togithub.com/jaegertracing/jaeger/pull/5228))
- \[jaeger-v2] Add support for Elasticsearch
([@akagami-harsh](https://togithub.com/akagami-harsh) in
[#5152](https://togithub.com/jaegertracing/jaeger/pull/5152))
##### 📊 UI Changes
- UI pinned to version
[1.39.0](https://togithub.com/jaegertracing/jaeger-ui/blob/main/CHANGELOG.md#v1390-2024-03-04).
##### 👏 New Contributors
- [@h4shk4t](https://togithub.com/h4shk4t) made their first
contribution in
[https://github.com/jaegertracing/jaeger/pull/5162](https://togithub.com/jaegertracing/jaeger/pull/5162)
- [@NavinShrinivas](https://togithub.com/NavinShrinivas) made
their first contribution in
[https://github.com/jaegertracing/jaeger/pull/5155](https://togithub.com/jaegertracing/jaeger/pull/5155)
- [@prakrit55](https://togithub.com/prakrit55) made their first
contribution in
[https://github.com/jaegertracing/jaeger/pull/5197](https://togithub.com/jaegertracing/jaeger/pull/5197)
- [@gmafrac](https://togithub.com/gmafrac) made their first
contribution in
[https://github.com/jaegertracing/jaeger/pull/5200](https://togithub.com/jaegertracing/jaeger/pull/5200)
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 6 ++---
cmd/configschema/go.sum | 12 ++++-----
cmd/otelcontribcol/go.mod | 6 ++---
cmd/otelcontribcol/go.sum | 12 ++++-----
cmd/oteltestbedcol/go.mod | 8 +++---
cmd/oteltestbedcol/go.sum | 16 ++++++------
exporter/awskinesisexporter/go.mod | 4 +--
exporter/awskinesisexporter/go.sum | 8 +++---
exporter/kafkaexporter/go.mod | 4 +--
exporter/kafkaexporter/go.sum | 8 +++---
exporter/logzioexporter/go.mod | 4 +--
exporter/logzioexporter/go.sum | 8 +++---
exporter/pulsarexporter/go.mod | 8 +++---
exporter/pulsarexporter/go.sum | 16 ++++++------
exporter/sapmexporter/go.mod | 6 ++---
exporter/sapmexporter/go.sum | 12 ++++-----
exporter/zipkinexporter/go.mod | 4 +--
exporter/zipkinexporter/go.sum | 8 +++---
.../encoding/jaegerencodingextension/go.mod | 4 +--
.../encoding/jaegerencodingextension/go.sum | 8 +++---
.../encoding/zipkinencodingextension/go.mod | 4 +--
.../encoding/zipkinencodingextension/go.sum | 8 +++---
extension/jaegerremotesampling/go.mod | 6 ++---
extension/jaegerremotesampling/go.sum | 25 +++++--------------
go.mod | 6 ++---
go.sum | 12 ++++-----
pkg/translator/jaeger/go.mod | 2 +-
pkg/translator/jaeger/go.sum | 4 +--
pkg/translator/zipkin/go.mod | 2 +-
pkg/translator/zipkin/go.sum | 4 +--
receiver/jaegerreceiver/go.mod | 6 ++---
receiver/jaegerreceiver/go.sum | 24 +++++-------------
receiver/kafkareceiver/go.mod | 4 +--
receiver/kafkareceiver/go.sum | 8 +++---
receiver/pulsarreceiver/go.mod | 8 +++---
receiver/pulsarreceiver/go.sum | 16 ++++++------
receiver/sapmreceiver/go.mod | 4 +--
receiver/sapmreceiver/go.sum | 8 +++---
receiver/zipkinreceiver/go.mod | 4 +--
receiver/zipkinreceiver/go.sum | 8 +++---
testbed/go.mod | 10 ++++----
testbed/go.sum | 20 +++++++--------
42 files changed, 165 insertions(+), 190 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index 84023e23918a..effdd73d1583 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -413,7 +413,7 @@ require (
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgtype v1.14.0 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
@@ -557,7 +557,7 @@ require (
github.com/pquerna/cachecontrol v0.1.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
@@ -655,7 +655,7 @@ require (
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 // indirect
go.opentelemetry.io/contrib/zpages v0.49.0 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index d077499d7f89..08cdd6982400 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -1024,8 +1024,8 @@ github.com/jackc/pgx/v4 v4.18.3/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jawher/mow.cli v1.0.4/go.mod h1:5hQj2V8g+qYmLUVWqu4Wuja1pI57M83EChYLVZ0sMKk=
@@ -1392,8 +1392,8 @@ github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB8
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.31.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -1730,8 +1730,8 @@ go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 h1:F
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:F70Z2AJkJ36zhM3p448Yarq5ePqv+IQqy00kbmGydqU=
go.opentelemetry.io/contrib/config v0.4.0 h1:Xb+ncYOqseLroMuBesGNRgVQolXcXOhMj7EhGwJCdHs=
go.opentelemetry.io/contrib/config v0.4.0/go.mod h1:drNk2xRqLWW4/amk6Uh1S+sDAJTc7bcEEN1GfJzj418=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 h1:n4xwCdTx3pZqZs2CjS/CUZAs03y3dZcGhC/FepKtEUY=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 95ca024bbf63..85363b463d6c 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -466,7 +466,7 @@ require (
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgtype v1.14.0 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
@@ -588,7 +588,7 @@ require (
github.com/pquerna/cachecontrol v0.1.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
@@ -669,7 +669,7 @@ require (
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 // indirect
go.opentelemetry.io/contrib/zpages v0.49.0 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 824cfb57a737..91ecc0d051fa 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -1020,8 +1020,8 @@ github.com/jackc/pgx/v4 v4.18.3/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jawher/mow.cli v1.0.4/go.mod h1:5hQj2V8g+qYmLUVWqu4Wuja1pI57M83EChYLVZ0sMKk=
@@ -1392,8 +1392,8 @@ github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB8
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.31.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -1726,8 +1726,8 @@ go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 h1:F
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:F70Z2AJkJ36zhM3p448Yarq5ePqv+IQqy00kbmGydqU=
go.opentelemetry.io/contrib/config v0.4.0 h1:Xb+ncYOqseLroMuBesGNRgVQolXcXOhMj7EhGwJCdHs=
go.opentelemetry.io/contrib/config v0.4.0/go.mod h1:drNk2xRqLWW4/amk6Uh1S+sDAJTc7bcEEN1GfJzj418=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 h1:n4xwCdTx3pZqZs2CjS/CUZAs03y3dZcGhC/FepKtEUY=
diff --git a/cmd/oteltestbedcol/go.mod b/cmd/oteltestbedcol/go.mod
index 16b52a61f1ca..2482522902f6 100644
--- a/cmd/oteltestbedcol/go.mod
+++ b/cmd/oteltestbedcol/go.mod
@@ -64,7 +64,7 @@ require (
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/apache/thrift v0.19.0 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
- github.com/aws/aws-sdk-go v1.50.2 // indirect
+ github.com/aws/aws-sdk-go v1.50.17 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
@@ -137,7 +137,7 @@ require (
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/influxdata/go-syslog/v3 v3.0.1-0.20230911200830-875f5bc594a4 // indirect
github.com/ionos-cloud/sdk-go/v6 v6.1.9 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
@@ -193,7 +193,7 @@ require (
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
@@ -239,7 +239,7 @@ require (
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 // indirect
go.opentelemetry.io/contrib/zpages v0.49.0 // indirect
diff --git a/cmd/oteltestbedcol/go.sum b/cmd/oteltestbedcol/go.sum
index c82f52d4fe95..7afd7024bebd 100644
--- a/cmd/oteltestbedcol/go.sum
+++ b/cmd/oteltestbedcol/go.sum
@@ -91,8 +91,8 @@ github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
github.com/aws/aws-sdk-go v1.44.263/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
-github.com/aws/aws-sdk-go v1.50.2 h1:/vS+Uhv2FPcqcTxBmgT3tvvN5q6pMAKu6QXltgXlGgo=
-github.com/aws/aws-sdk-go v1.50.2/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
+github.com/aws/aws-sdk-go v1.50.17 h1:KsbzUKDgGNlkDHGvoQDhiJ63a9jtZd+O+/s3pTOr/ns=
+github.com/aws/aws-sdk-go v1.50.17/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/aws/aws-sdk-go-v2 v1.18.0/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw=
github.com/aws/aws-sdk-go-v2/config v1.18.25/go.mod h1:dZnYpD5wTW/dQF0rRNLVypB396zWCcPiBIvdvSWHEg4=
github.com/aws/aws-sdk-go-v2/credentials v1.13.24/go.mod h1:jYPYi99wUOPIFi0rhiOvXeSEReVOzBqFNOX5bXYoG2o=
@@ -397,8 +397,8 @@ github.com/influxdata/go-syslog/v3 v3.0.1-0.20230911200830-875f5bc594a4 h1:2r2Wi
github.com/influxdata/go-syslog/v3 v3.0.1-0.20230911200830-875f5bc594a4/go.mod h1:1yEQhaLb/cETXCqQmdh7lDjupNAReO7c83AHyK2dJ48=
github.com/ionos-cloud/sdk-go/v6 v6.1.9 h1:Iq3VIXzeEbc8EbButuACgfLMiY5TPVWUPNrF+Vsddo4=
github.com/ionos-cloud/sdk-go/v6 v6.1.9/go.mod h1:EzEgRIDxBELvfoa/uBN0kOQaqovLjUWEB7iW4/Q+t4k=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
@@ -569,8 +569,8 @@ github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8b
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -766,8 +766,8 @@ go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 h1:F
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:F70Z2AJkJ36zhM3p448Yarq5ePqv+IQqy00kbmGydqU=
go.opentelemetry.io/contrib/config v0.4.0 h1:Xb+ncYOqseLroMuBesGNRgVQolXcXOhMj7EhGwJCdHs=
go.opentelemetry.io/contrib/config v0.4.0/go.mod h1:drNk2xRqLWW4/amk6Uh1S+sDAJTc7bcEEN1GfJzj418=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 h1:n4xwCdTx3pZqZs2CjS/CUZAs03y3dZcGhC/FepKtEUY=
diff --git a/exporter/awskinesisexporter/go.mod b/exporter/awskinesisexporter/go.mod
index fc7a7e994025..7f19d1faaa5b 100644
--- a/exporter/awskinesisexporter/go.mod
+++ b/exporter/awskinesisexporter/go.mod
@@ -11,7 +11,7 @@ require (
github.com/cenkalti/backoff/v4 v4.2.1
github.com/gogo/protobuf v1.3.2
github.com/google/uuid v1.6.0
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.96.0
github.com/stretchr/testify v1.9.0
@@ -61,7 +61,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/exporter/awskinesisexporter/go.sum b/exporter/awskinesisexporter/go.sum
index ad7c0c02d43d..5a6fac073662 100644
--- a/exporter/awskinesisexporter/go.sum
+++ b/exporter/awskinesisexporter/go.sum
@@ -58,8 +58,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
@@ -96,8 +96,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/exporter/kafkaexporter/go.mod b/exporter/kafkaexporter/go.mod
index c5673ddd46fd..ba90a47f6b9f 100644
--- a/exporter/kafkaexporter/go.mod
+++ b/exporter/kafkaexporter/go.mod
@@ -6,7 +6,7 @@ require (
github.com/IBM/sarama v1.43.0
github.com/cenkalti/backoff/v4 v4.2.1
github.com/gogo/protobuf v1.3.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/kafka v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchpersignal v0.96.0
@@ -66,7 +66,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
diff --git a/exporter/kafkaexporter/go.sum b/exporter/kafkaexporter/go.sum
index abb0b15a28d8..a357aff03387 100644
--- a/exporter/kafkaexporter/go.sum
+++ b/exporter/kafkaexporter/go.sum
@@ -52,8 +52,8 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=
github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs=
github.com/jcmturner/dnsutils/v2 v2.0.0 h1:lltnkeZGL0wILNvrNiVCR6Ro5PGU/SeBvVO/8c/iPbo=
@@ -106,8 +106,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM=
diff --git a/exporter/logzioexporter/go.mod b/exporter/logzioexporter/go.mod
index 9035c81da812..e49d02af28e3 100644
--- a/exporter/logzioexporter/go.mod
+++ b/exporter/logzioexporter/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/hashicorp/go-hclog v1.6.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/stretchr/testify v1.9.0
@@ -56,7 +56,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/exporter/logzioexporter/go.sum b/exporter/logzioexporter/go.sum
index afc74ca8772f..bd4db4e74598 100644
--- a/exporter/logzioexporter/go.sum
+++ b/exporter/logzioexporter/go.sum
@@ -39,8 +39,8 @@ github.com/hashicorp/go-hclog v1.6.2 h1:NOtoftovWkDheyUM/8JW3QMiXyxJK3uHRK7wV04n
github.com/hashicorp/go-hclog v1.6.2/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -82,8 +82,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/exporter/pulsarexporter/go.mod b/exporter/pulsarexporter/go.mod
index 9c47804617a5..57e688ad7b06 100644
--- a/exporter/pulsarexporter/go.mod
+++ b/exporter/pulsarexporter/go.mod
@@ -6,7 +6,7 @@ require (
github.com/apache/pulsar-client-go v0.8.1
github.com/cenkalti/backoff/v4 v4.2.1
github.com/gogo/protobuf v1.3.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/stretchr/testify v1.9.0
@@ -47,7 +47,7 @@ require (
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect
- github.com/klauspost/compress v1.17.4 // indirect
+ github.com/klauspost/compress v1.17.6 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
github.com/knadh/koanf/v2 v2.1.0 // indirect
@@ -64,7 +64,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
@@ -79,7 +79,7 @@ require (
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/net v0.21.0 // indirect
- golang.org/x/oauth2 v0.16.0 // indirect
+ golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
diff --git a/exporter/pulsarexporter/go.sum b/exporter/pulsarexporter/go.sum
index 4f8e524e159e..677223f4cc44 100644
--- a/exporter/pulsarexporter/go.sum
+++ b/exporter/pulsarexporter/go.sum
@@ -242,8 +242,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jawher/mow.cli v1.0.4/go.mod h1:5hQj2V8g+qYmLUVWqu4Wuja1pI57M83EChYLVZ0sMKk=
github.com/jawher/mow.cli v1.2.0/go.mod h1:y+pcA3jBAdo/GIZx/0rFjw/K2bVEODP9rfZOfaiq8Ko=
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
@@ -263,8 +263,8 @@ github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNr
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.10.8/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
-github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4=
-github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
+github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI=
+github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI=
github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU=
@@ -358,8 +358,8 @@ github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOA
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
@@ -571,8 +571,8 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ=
-golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o=
+golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ=
+golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
diff --git a/exporter/sapmexporter/go.mod b/exporter/sapmexporter/go.mod
index 5ee192c52e9f..734ac3a43071 100644
--- a/exporter/sapmexporter/go.mod
+++ b/exporter/sapmexporter/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/cenkalti/backoff/v4 v4.2.1
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/klauspost/compress v1.17.7
github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchperresourceattr v0.96.0
@@ -47,7 +47,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
@@ -55,7 +55,7 @@ require (
go.opentelemetry.io/collector/extension v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
diff --git a/exporter/sapmexporter/go.sum b/exporter/sapmexporter/go.sum
index f15968fb0a2c..442057101e3e 100644
--- a/exporter/sapmexporter/go.sum
+++ b/exporter/sapmexporter/go.sum
@@ -58,8 +58,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -93,8 +93,8 @@ github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdU
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
@@ -138,8 +138,8 @@ go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6 h1:
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:Kj14Vn5nJE2T9PdH+p1skvrlbqTfrHoPOUfsCs2M+TU=
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 h1:wLnFcJSimh5/axOIYGssu09e/9m4oy8dkj9nfFS3QP8=
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:8ElcRZ8Cdw5JnvhTOQOdYizkJaQ10Z2fS+R6djOnj6A=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo=
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 h1:I8WIFXR351FoLJYuloU4EgXbtNX2URfU/85pUPheIEQ=
diff --git a/exporter/zipkinexporter/go.mod b/exporter/zipkinexporter/go.mod
index 8239f4e958b6..c12ec3de1742 100644
--- a/exporter/zipkinexporter/go.mod
+++ b/exporter/zipkinexporter/go.mod
@@ -37,7 +37,7 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.7 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
@@ -51,7 +51,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/exporter/zipkinexporter/go.sum b/exporter/zipkinexporter/go.sum
index 41e226a610ec..135135f292a7 100644
--- a/exporter/zipkinexporter/go.sum
+++ b/exporter/zipkinexporter/go.sum
@@ -34,8 +34,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -70,8 +70,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/extension/encoding/jaegerencodingextension/go.mod b/extension/encoding/jaegerencodingextension/go.mod
index 78626a8da667..cb7ab94b55f4 100644
--- a/extension/encoding/jaegerencodingextension/go.mod
+++ b/extension/encoding/jaegerencodingextension/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/gogo/protobuf v1.3.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/stretchr/testify v1.9.0
@@ -38,7 +38,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/extension/encoding/jaegerencodingextension/go.sum b/extension/encoding/jaegerencodingextension/go.sum
index a5eef23e11fb..5bed508d4dce 100644
--- a/extension/encoding/jaegerencodingextension/go.sum
+++ b/extension/encoding/jaegerencodingextension/go.sum
@@ -24,8 +24,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -56,8 +56,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/extension/encoding/zipkinencodingextension/go.mod b/extension/encoding/zipkinencodingextension/go.mod
index e3d37887e285..639bfa54b025 100644
--- a/extension/encoding/zipkinencodingextension/go.mod
+++ b/extension/encoding/zipkinencodingextension/go.mod
@@ -25,7 +25,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
@@ -39,7 +39,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/extension/encoding/zipkinencodingextension/go.sum b/extension/encoding/zipkinencodingextension/go.sum
index 32edac451887..8d1d13cfff44 100644
--- a/extension/encoding/zipkinencodingextension/go.sum
+++ b/extension/encoding/zipkinencodingextension/go.sum
@@ -24,8 +24,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -58,8 +58,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/extension/jaegerremotesampling/go.mod b/extension/jaegerremotesampling/go.mod
index d7a4a0cb79d5..cbe74b17c5e2 100644
--- a/extension/jaegerremotesampling/go.mod
+++ b/extension/jaegerremotesampling/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/fortytw2/leaktest v1.3.0
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.96.0
github.com/stretchr/testify v1.9.0
github.com/tilinna/clock v1.1.0
@@ -53,7 +53,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
@@ -71,7 +71,7 @@ require (
go.opentelemetry.io/collector/config/internal v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/extension/auth v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
diff --git a/extension/jaegerremotesampling/go.sum b/extension/jaegerremotesampling/go.sum
index 08d3c7ff963e..65c447045192 100644
--- a/extension/jaegerremotesampling/go.sum
+++ b/extension/jaegerremotesampling/go.sum
@@ -1,8 +1,3 @@
-cloud.google.com/go v0.110.10 h1:LXy9GEO+timppncPIAZoOj3l58LIU9k+kn48AN7IO3Y=
-cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk=
-cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI=
-cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 h1:aRVqY1p2IJaBGStWMsQMpkAa83cPkCDLl80eOj0Rbz4=
-cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68/go.mod h1:1a3eRNYX12fs5UABBIXS8HXVvQbX9hRB/RkEBPORpe8=
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
github.com/apache/thrift v0.19.0 h1:sOqkWPzMj7w6XaYbJQG7m4sGqVolaW/0D28Ln7yPzMk=
@@ -11,14 +6,10 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ=
-github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A=
-github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
@@ -52,8 +43,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -93,8 +84,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
@@ -165,8 +156,8 @@ go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6 h
go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6/go.mod h1:w7nUODKxEi3FLf1HslCiE6YWtMtOOrMnSwsDam8Mg9w=
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6 h1:YV+WmEZfM0wv4pUtj5uJsLgC1lHgGp8WKhzyNphyX9Y=
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6/go.mod h1:0Ttp4wQinhV5oJTd9MjyvUegmZBO9O0nrlh/+EDLw+Q=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
@@ -200,8 +191,6 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
-golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ=
-golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -222,8 +211,6 @@ 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/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
-google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
diff --git a/go.mod b/go.mod
index 95473cc9e0de..e3d6eccd82ab 100644
--- a/go.mod
+++ b/go.mod
@@ -435,7 +435,7 @@ require (
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgtype v1.14.0 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
- github.com/jaegertracing/jaeger v1.54.0 // indirect
+ github.com/jaegertracing/jaeger v1.55.0 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
@@ -556,7 +556,7 @@ require (
github.com/pquerna/cachecontrol v0.1.0 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
@@ -647,7 +647,7 @@ require (
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 // indirect
go.opentelemetry.io/contrib/zpages v0.49.0 // indirect
diff --git a/go.sum b/go.sum
index f5b3823d9d9a..d6bdfc478595 100644
--- a/go.sum
+++ b/go.sum
@@ -1025,8 +1025,8 @@ github.com/jackc/pgx/v4 v4.18.3/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jawher/mow.cli v1.0.4/go.mod h1:5hQj2V8g+qYmLUVWqu4Wuja1pI57M83EChYLVZ0sMKk=
@@ -1392,8 +1392,8 @@ github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB8
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
github.com/prometheus/common v0.31.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -1730,8 +1730,8 @@ go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 h1:F
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:F70Z2AJkJ36zhM3p448Yarq5ePqv+IQqy00kbmGydqU=
go.opentelemetry.io/contrib/config v0.4.0 h1:Xb+ncYOqseLroMuBesGNRgVQolXcXOhMj7EhGwJCdHs=
go.opentelemetry.io/contrib/config v0.4.0/go.mod h1:drNk2xRqLWW4/amk6Uh1S+sDAJTc7bcEEN1GfJzj418=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 h1:n4xwCdTx3pZqZs2CjS/CUZAs03y3dZcGhC/FepKtEUY=
diff --git a/pkg/translator/jaeger/go.mod b/pkg/translator/jaeger/go.mod
index f40e269a755b..22a7feae055d 100644
--- a/pkg/translator/jaeger/go.mod
+++ b/pkg/translator/jaeger/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/
go 1.21
require (
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6
diff --git a/pkg/translator/jaeger/go.sum b/pkg/translator/jaeger/go.sum
index bed43b587cd7..c537fb728619 100644
--- a/pkg/translator/jaeger/go.sum
+++ b/pkg/translator/jaeger/go.sum
@@ -13,8 +13,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
diff --git a/pkg/translator/zipkin/go.mod b/pkg/translator/zipkin/go.mod
index b4b74521d6a1..f04b3faf84b0 100644
--- a/pkg/translator/zipkin/go.mod
+++ b/pkg/translator/zipkin/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/
go 1.21
require (
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/openzipkin/zipkin-go v0.4.2
github.com/stretchr/testify v1.9.0
diff --git a/pkg/translator/zipkin/go.sum b/pkg/translator/zipkin/go.sum
index e4604021132b..c3b720724cff 100644
--- a/pkg/translator/zipkin/go.sum
+++ b/pkg/translator/zipkin/go.sum
@@ -13,8 +13,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
diff --git a/receiver/jaegerreceiver/go.mod b/receiver/jaegerreceiver/go.mod
index b333334f5c2d..926d00b84ada 100644
--- a/receiver/jaegerreceiver/go.mod
+++ b/receiver/jaegerreceiver/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/apache/thrift v0.19.0
github.com/gorilla/mux v1.8.1
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/stretchr/testify v1.9.0
@@ -55,7 +55,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
@@ -66,7 +66,7 @@ require (
go.opentelemetry.io/collector/config/internal v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/extension v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/extension/auth v0.96.1-0.20240306115632-b2693620eff6 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
diff --git a/receiver/jaegerreceiver/go.sum b/receiver/jaegerreceiver/go.sum
index 73ef9a32ce5b..668653b4da4e 100644
--- a/receiver/jaegerreceiver/go.sum
+++ b/receiver/jaegerreceiver/go.sum
@@ -1,7 +1,3 @@
-cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk=
-cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI=
-cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 h1:aRVqY1p2IJaBGStWMsQMpkAa83cPkCDLl80eOj0Rbz4=
-cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68/go.mod h1:1a3eRNYX12fs5UABBIXS8HXVvQbX9hRB/RkEBPORpe8=
github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM=
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE=
@@ -12,14 +8,10 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa h1:jQCWAUqqlij9Pgj2i/PB79y4KOPYVyFYdROxgaCwdTQ=
-github.com/cncf/xds/go v0.0.0-20231128003011-0fa0005c9caa/go.mod h1:x/1Gn8zydmfq8dk6e9PdstVsDgu9RuyIIJqAaF//0IM=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A=
-github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
@@ -58,8 +50,8 @@ github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -100,8 +92,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
@@ -170,8 +162,8 @@ go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6 h1:
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:Kj14Vn5nJE2T9PdH+p1skvrlbqTfrHoPOUfsCs2M+TU=
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6 h1:wLnFcJSimh5/axOIYGssu09e/9m4oy8dkj9nfFS3QP8=
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:8ElcRZ8Cdw5JnvhTOQOdYizkJaQ10Z2fS+R6djOnj6A=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
@@ -205,8 +197,6 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.22.0 h1:9sGLhx7iRIHEiX0oAJ3MRZMUCElJgy7Br1nO+AMN3Tc=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
-golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ=
-golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -227,8 +217,6 @@ 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/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
-google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
diff --git a/receiver/kafkareceiver/go.mod b/receiver/kafkareceiver/go.mod
index e5633b1cf26d..a1c0d81c1f66 100644
--- a/receiver/kafkareceiver/go.mod
+++ b/receiver/kafkareceiver/go.mod
@@ -6,7 +6,7 @@ require (
github.com/IBM/sarama v1.43.0
github.com/apache/thrift v0.19.0
github.com/gogo/protobuf v1.3.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/json-iterator/go v1.1.12
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
@@ -67,7 +67,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/relvacode/iso8601 v1.4.0 // indirect
diff --git a/receiver/kafkareceiver/go.sum b/receiver/kafkareceiver/go.sum
index c788a04388f7..1d15d36bced8 100644
--- a/receiver/kafkareceiver/go.sum
+++ b/receiver/kafkareceiver/go.sum
@@ -82,8 +82,8 @@ github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9
github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jcmturner/aescts/v2 v2.0.0 h1:9YKLH6ey7H4eDBXW8khjYslgyqG2xZikXP0EQFKrle8=
github.com/jcmturner/aescts/v2 v2.0.0/go.mod h1:AiaICIRyfYg35RUkr8yESTqvSy7csK90qZ5xfvvsoNs=
github.com/jcmturner/dnsutils/v2 v2.0.0 h1:lltnkeZGL0wILNvrNiVCR6Ro5PGU/SeBvVO/8c/iPbo=
@@ -137,8 +137,8 @@ github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdU
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM=
diff --git a/receiver/pulsarreceiver/go.mod b/receiver/pulsarreceiver/go.mod
index 2a818908d810..8eeb3d30d620 100644
--- a/receiver/pulsarreceiver/go.mod
+++ b/receiver/pulsarreceiver/go.mod
@@ -6,7 +6,7 @@ require (
github.com/apache/pulsar-client-go v0.8.1
github.com/apache/thrift v0.19.0
github.com/gogo/protobuf v1.3.2
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.96.0
github.com/openzipkin/zipkin-go v0.4.2
@@ -45,7 +45,7 @@ require (
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d // indirect
- github.com/klauspost/compress v1.17.4 // indirect
+ github.com/klauspost/compress v1.17.6 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
github.com/knadh/koanf/v2 v2.1.0 // indirect
@@ -62,7 +62,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
@@ -75,7 +75,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/crypto v0.19.0 // indirect
golang.org/x/net v0.21.0 // indirect
- golang.org/x/oauth2 v0.16.0 // indirect
+ golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/term v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
diff --git a/receiver/pulsarreceiver/go.sum b/receiver/pulsarreceiver/go.sum
index b354f27b083e..1f99130e6428 100644
--- a/receiver/pulsarreceiver/go.sum
+++ b/receiver/pulsarreceiver/go.sum
@@ -240,8 +240,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jawher/mow.cli v1.0.4/go.mod h1:5hQj2V8g+qYmLUVWqu4Wuja1pI57M83EChYLVZ0sMKk=
github.com/jawher/mow.cli v1.2.0/go.mod h1:y+pcA3jBAdo/GIZx/0rFjw/K2bVEODP9rfZOfaiq8Ko=
github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
@@ -261,8 +261,8 @@ github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNr
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/compress v1.10.8/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
-github.com/klauspost/compress v1.17.4 h1:Ej5ixsIri7BrIjBkRZLTo6ghwrEtHFk7ijlczPW4fZ4=
-github.com/klauspost/compress v1.17.4/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
+github.com/klauspost/compress v1.17.6 h1:60eq2E/jlfwQXtvZEeBUYADs+BwKBWURIY+Gj2eRGjI=
+github.com/klauspost/compress v1.17.6/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI=
github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU=
@@ -358,8 +358,8 @@ github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOA
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
@@ -565,8 +565,8 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ=
-golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o=
+golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ=
+golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
diff --git a/receiver/sapmreceiver/go.mod b/receiver/sapmreceiver/go.mod
index 5362a4d085be..6e17f89bc981 100644
--- a/receiver/sapmreceiver/go.mod
+++ b/receiver/sapmreceiver/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/gorilla/mux v1.8.1
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/klauspost/compress v1.17.7
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/splunk v0.96.0
@@ -51,7 +51,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/receiver/sapmreceiver/go.sum b/receiver/sapmreceiver/go.sum
index a182dace0c6e..1debf2203d67 100644
--- a/receiver/sapmreceiver/go.sum
+++ b/receiver/sapmreceiver/go.sum
@@ -36,8 +36,8 @@ github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -70,8 +70,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/receiver/zipkinreceiver/go.mod b/receiver/zipkinreceiver/go.mod
index 6cc8907cc7ef..f0385cba1fa4 100644
--- a/receiver/zipkinreceiver/go.mod
+++ b/receiver/zipkinreceiver/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkin
go 1.21
require (
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.96.0
@@ -48,7 +48,7 @@ require (
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.48.0 // indirect
+ github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
diff --git a/receiver/zipkinreceiver/go.sum b/receiver/zipkinreceiver/go.sum
index 90ffcad8bc31..ec99ef7d7c2d 100644
--- a/receiver/zipkinreceiver/go.sum
+++ b/receiver/zipkinreceiver/go.sum
@@ -32,8 +32,8 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -68,8 +68,8 @@ github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7km
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
diff --git a/testbed/go.mod b/testbed/go.mod
index bbc444c14fe8..28e592603e34 100644
--- a/testbed/go.mod
+++ b/testbed/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/fluent/fluent-logger-golang v1.9.0
- github.com/jaegertracing/jaeger v1.54.0
+ github.com/jaegertracing/jaeger v1.55.0
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/opencensusexporter v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.96.0
@@ -29,7 +29,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/syslogreceiver v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/testbed/mockdatasenders/mockdatadogagentexporter v0.96.0
- github.com/prometheus/common v0.48.0
+ github.com/prometheus/common v0.49.0
github.com/prometheus/prometheus v0.48.1
github.com/shirou/gopsutil/v3 v3.24.2
github.com/stretchr/testify v1.9.0
@@ -80,7 +80,7 @@ require (
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
github.com/apache/thrift v0.19.0 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
- github.com/aws/aws-sdk-go v1.50.2 // indirect
+ github.com/aws/aws-sdk-go v1.50.17 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
@@ -229,7 +229,7 @@ require (
go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 // indirect
go.opentelemetry.io/contrib/zpages v0.49.0 // indirect
@@ -253,7 +253,7 @@ require (
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.22.0 // indirect
- golang.org/x/oauth2 v0.16.0 // indirect
+ golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/time v0.4.0 // indirect
diff --git a/testbed/go.sum b/testbed/go.sum
index 63a0404dd92e..831c75801607 100644
--- a/testbed/go.sum
+++ b/testbed/go.sum
@@ -90,8 +90,8 @@ github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/aws/aws-sdk-go v1.38.35/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
-github.com/aws/aws-sdk-go v1.50.2 h1:/vS+Uhv2FPcqcTxBmgT3tvvN5q6pMAKu6QXltgXlGgo=
-github.com/aws/aws-sdk-go v1.50.2/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
+github.com/aws/aws-sdk-go v1.50.17 h1:KsbzUKDgGNlkDHGvoQDhiJ63a9jtZd+O+/s3pTOr/ns=
+github.com/aws/aws-sdk-go v1.50.17/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
@@ -377,8 +377,8 @@ github.com/influxdata/go-syslog/v3 v3.0.1-0.20230911200830-875f5bc594a4 h1:2r2Wi
github.com/influxdata/go-syslog/v3 v3.0.1-0.20230911200830-875f5bc594a4/go.mod h1:1yEQhaLb/cETXCqQmdh7lDjupNAReO7c83AHyK2dJ48=
github.com/ionos-cloud/sdk-go/v6 v6.1.9 h1:Iq3VIXzeEbc8EbButuACgfLMiY5TPVWUPNrF+Vsddo4=
github.com/ionos-cloud/sdk-go/v6 v6.1.9/go.mod h1:EzEgRIDxBELvfoa/uBN0kOQaqovLjUWEB7iW4/Q+t4k=
-github.com/jaegertracing/jaeger v1.54.0 h1:BfQiFxrE/2Fw+qU24qjSuUGsgJQLwKHi1TXBy6J3qKo=
-github.com/jaegertracing/jaeger v1.54.0/go.mod h1:wNmtyrAJ/sJAgOvC9BltyKErJY8glTHCvWLTsvhaqkY=
+github.com/jaegertracing/jaeger v1.55.0 h1:IJHzKb2B9EYQyKlE7VSoKzNP3emHeqZWnWrKj+kYzzs=
+github.com/jaegertracing/jaeger v1.55.0/go.mod h1:S884Mz8H+iGI8Ealq6sM9QzSOeU6P+nbFkYw7uww8CI=
github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc=
github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
@@ -545,8 +545,8 @@ github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8b
github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
github.com/prometheus/common v0.29.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSzKKE=
-github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
+github.com/prometheus/common v0.49.0 h1:ToNTdK4zSnPVJmh698mGFkDor9wBI/iGaJy5dbH1EgI=
+github.com/prometheus/common v0.49.0/go.mod h1:Kxm+EULxRbUkjGU6WFsQqo3ORzB4tyKvlWFOE9mB2sE=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
@@ -745,8 +745,8 @@ go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 h1:F
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:F70Z2AJkJ36zhM3p448Yarq5ePqv+IQqy00kbmGydqU=
go.opentelemetry.io/contrib/config v0.4.0 h1:Xb+ncYOqseLroMuBesGNRgVQolXcXOhMj7EhGwJCdHs=
go.opentelemetry.io/contrib/config v0.4.0/go.mod h1:drNk2xRqLWW4/amk6Uh1S+sDAJTc7bcEEN1GfJzj418=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 h1:4Pp6oUg3+e/6M4C0A/3kJ2VYa++dsWVTtGgLVj5xtHg=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 h1:jq9TW8u3so/bN+JPT166wjOI6/vQPF6Xe7nMNIltagk=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw=
go.opentelemetry.io/contrib/propagators/b3 v1.24.0 h1:n4xwCdTx3pZqZs2CjS/CUZAs03y3dZcGhC/FepKtEUY=
@@ -883,8 +883,8 @@ golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4Iltr
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.16.0 h1:aDkGMBSYxElaoP81NpoUoz2oo2R2wHdZpGToUxfyQrQ=
-golang.org/x/oauth2 v0.16.0/go.mod h1:hqZ+0LWXsiVoZpeld6jVt06P3adbS2Uu911W1SsJv2o=
+golang.org/x/oauth2 v0.17.0 h1:6m3ZPmLEFdVxKKWnKq4VqZ60gutO35zm+zrAHVmHyDQ=
+golang.org/x/oauth2 v0.17.0/go.mod h1:OzPDGQiuQMguemayvdylqddI7qcD9lnSDb+1FiwQ5HA=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
From 4d120b5c626e4148455736a342b17e13dde62e8b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:34:24 -0700
Subject: [PATCH 08/34] fix(deps): update module github.com/go-sql-driver/mysql
to v1.8.0 (#31708)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/go-sql-driver/mysql](https://togithub.com/go-sql-driver/mysql)
| `v1.7.1` -> `v1.8.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-sql-driver%2fmysql/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-sql-driver%2fmysql/v1.7.1/v1.8.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
go-sql-driver/mysql (github.com/go-sql-driver/mysql)
###
[`v1.8.0`](https://togithub.com/go-sql-driver/mysql/releases/tag/v1.8.0)
[Compare
Source](https://togithub.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0)
#### What's Changed
##### Major changes
- Use `SET NAMES charset COLLATE collation`. by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1437](https://togithub.com/go-sql-driver/mysql/pull/1437)
- PathEscape dbname in DSN. by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1432](https://togithub.com/go-sql-driver/mysql/pull/1432)
- Drop Go 1.13-17 support by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1420](https://togithub.com/go-sql-driver/mysql/pull/1420)
- Parse numbers on text protocol too by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1452](https://togithub.com/go-sql-driver/mysql/pull/1452)
##### Other changes
- Adding DeregisterDialContext to prevent memory leaks with dialers we
don't need anymore by [@jypelle](https://togithub.com/jypelle) in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- Make logger configurable per connection by
[@frozenbonito](https://togithub.com/frozenbonito) in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- Fix ColumnType.DatabaseTypeName for mediumint unsigned by
[@evanelias](https://togithub.com/evanelias) in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- Add connection attributes by
[@Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- Stop `ColumnTypeScanType()` from returning `sql.RawBytes` by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1424](https://togithub.com/go-sql-driver/mysql/pull/1424)
- Exec() now provides access to status of multiple statements. by
[@mherr-google](https://togithub.com/mherr-google) in
[https://github.com/go-sql-driver/mysql/pull/1309](https://togithub.com/go-sql-driver/mysql/pull/1309)
- Allow to change (or disable) the default driver name for registration
by [@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1499](https://togithub.com/go-sql-driver/mysql/pull/1499)
- Add default connection attribute '\_server_host' by
[@oblitorum](https://togithub.com/oblitorum) in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- Make TimeTruncate functional option by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1552](https://togithub.com/go-sql-driver/mysql/pull/1552)
- Add BeforeConnect callback to configuration object by
[@ItalyPaleAle](https://togithub.com/ItalyPaleAle) in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)
- QueryUnescape DSN ConnectionAttribute value by
[@zhangyangyu](https://togithub.com/zhangyangyu) in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- Add client_ed25519 authentication by
[@Gusted](https://togithub.com/Gusted) in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- Reduced allocation on connection.go by
[@EPuncker](https://togithub.com/EPuncker) in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- Avoid panic in TestRowsColumnTypes by
[@wayyoungboy](https://togithub.com/wayyoungboy) in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- Add benchmark to receive massive rows. by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1415](https://togithub.com/go-sql-driver/mysql/pull/1415)
- README: Update multistatement by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1431](https://togithub.com/go-sql-driver/mysql/pull/1431)
- all: replace ioutil pkg to new package by
[@uji](https://togithub.com/uji) in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- chore: code optimization by
[@testwill](https://togithub.com/testwill) in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- Reduce map lookup in ColumnTypeDatabaseTypeName. by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1436](https://togithub.com/go-sql-driver/mysql/pull/1436)
- doc: add link to NewConnector from FormatDSN by
[@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1442](https://togithub.com/go-sql-driver/mysql/pull/1442)
- Add fuzz test for ParseDSN / FormatDSN roundtrip by
[@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1444](https://togithub.com/go-sql-driver/mysql/pull/1444)
- TestDSNReformat: add more roundtrip checks by
[@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1443](https://togithub.com/go-sql-driver/mysql/pull/1443)
- tcp: handle errors returned by SetKeepAlive by
[@achille-roussel](https://togithub.com/achille-roussel) in
[https://github.com/go-sql-driver/mysql/pull/1448](https://togithub.com/go-sql-driver/mysql/pull/1448)
- use staticcheck by [@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1449](https://togithub.com/go-sql-driver/mysql/pull/1449)
- Add Daemonxiao to AUTHORS by
[@Daemonxiao](https://togithub.com/Daemonxiao) in
[https://github.com/go-sql-driver/mysql/pull/1459](https://togithub.com/go-sql-driver/mysql/pull/1459)
- Update link about `LOAD DATA LOCAL` in README.md by
[@i7a7467](https://togithub.com/i7a7467) in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- Update README.md by [@Netzer7](https://togithub.com/Netzer7) in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- add Go 1.21 and MySQL 8.1 to the build matrix by
[@shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1472](https://togithub.com/go-sql-driver/mysql/pull/1472)
- Improve DSN docstsrings by
[@golddranks](https://togithub.com/golddranks) in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- Fix
[#1478](https://togithub.com/go-sql-driver/mysql/issues/1478)
remove length check by
[@ShenFeng312](https://togithub.com/ShenFeng312) in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- README: fix markup error by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1480](https://togithub.com/go-sql-driver/mysql/pull/1480)
- Close connection on ErrPktSync and ErrPktSyncMul by
[@owbone](https://togithub.com/owbone) in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- Spelling, grammar, and link fixes by
[@scop](https://togithub.com/scop) in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- Make use of strings.Cut by [@scop](https://togithub.com/scop)
in
[https://github.com/go-sql-driver/mysql/pull/1486](https://togithub.com/go-sql-driver/mysql/pull/1486)
- move stale connection check to ResetSession() by
[@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1496](https://togithub.com/go-sql-driver/mysql/pull/1496)
- fix race condition of TestConcurrent by
[@shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1490](https://togithub.com/go-sql-driver/mysql/pull/1490)
- mark fail, mustExec and mustQuery as test helpers by
[@shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1488](https://togithub.com/go-sql-driver/mysql/pull/1488)
- Remove obsolete fuzz.go
[#1445](https://togithub.com/go-sql-driver/mysql/issues/1445) by
[@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1498](https://togithub.com/go-sql-driver/mysql/pull/1498)
- testing: expose testing.TB in DBTest instead of full \*testing.T by
[@dolmen](https://togithub.com/dolmen) in
[https://github.com/go-sql-driver/mysql/pull/1500](https://togithub.com/go-sql-driver/mysql/pull/1500)
- symbol removed from installation command by
[@panvalkar1994](https://togithub.com/panvalkar1994) in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- fix issue 1361 by
[@keeplearning20221](https://togithub.com/keeplearning20221) in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- fix fragile test by [@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1522](https://togithub.com/go-sql-driver/mysql/pull/1522)
- Fix sql.RawBytes corruption issue by
[@shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1523](https://togithub.com/go-sql-driver/mysql/pull/1523)
- fix for enum and set field type to column type identifying by
[@jennifersp](https://togithub.com/jennifersp) in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- Parallelize test by
[@shogo82148](https://togithub.com/shogo82148) in
[https://github.com/go-sql-driver/mysql/pull/1525](https://togithub.com/go-sql-driver/mysql/pull/1525)
- Fix unsigned int overflow by
[@shiyuhang0](https://togithub.com/shiyuhang0) in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- Introduce `timeTruncate` parameter for `time.Time` arguments by
[@PauliusLozys](https://togithub.com/PauliusLozys) in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- add TiDB support in README.md by
[@crazycs520](https://togithub.com/crazycs520) in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- Update workflows by [@methane](https://togithub.com/methane) in
[https://github.com/go-sql-driver/mysql/pull/1547](https://togithub.com/go-sql-driver/mysql/pull/1547)
#### New Contributors
- [@EPuncker](https://togithub.com/EPuncker) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1421](https://togithub.com/go-sql-driver/mysql/pull/1421)
- [@jypelle](https://togithub.com/jypelle) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1422](https://togithub.com/go-sql-driver/mysql/pull/1422)
- [@frozenbonito](https://togithub.com/frozenbonito) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1408](https://togithub.com/go-sql-driver/mysql/pull/1408)
- [@wayyoungboy](https://togithub.com/wayyoungboy) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1426](https://togithub.com/go-sql-driver/mysql/pull/1426)
- [@evanelias](https://togithub.com/evanelias) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1428](https://togithub.com/go-sql-driver/mysql/pull/1428)
- [@Daemonxiao](https://togithub.com/Daemonxiao) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1389](https://togithub.com/go-sql-driver/mysql/pull/1389)
- [@uji](https://togithub.com/uji) made their first contribution
in
[https://github.com/go-sql-driver/mysql/pull/1438](https://togithub.com/go-sql-driver/mysql/pull/1438)
- [@testwill](https://togithub.com/testwill) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1439](https://togithub.com/go-sql-driver/mysql/pull/1439)
- [@i7a7467](https://togithub.com/i7a7467) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1468](https://togithub.com/go-sql-driver/mysql/pull/1468)
- [@Netzer7](https://togithub.com/Netzer7) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1464](https://togithub.com/go-sql-driver/mysql/pull/1464)
- [@golddranks](https://togithub.com/golddranks) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1475](https://togithub.com/go-sql-driver/mysql/pull/1475)
- [@ShenFeng312](https://togithub.com/ShenFeng312) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1481](https://togithub.com/go-sql-driver/mysql/pull/1481)
- [@owbone](https://togithub.com/owbone) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1473](https://togithub.com/go-sql-driver/mysql/pull/1473)
- [@scop](https://togithub.com/scop) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1485](https://togithub.com/go-sql-driver/mysql/pull/1485)
- [@panvalkar1994](https://togithub.com/panvalkar1994) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1510](https://togithub.com/go-sql-driver/mysql/pull/1510)
- [@zhangyangyu](https://togithub.com/zhangyangyu) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1470](https://togithub.com/go-sql-driver/mysql/pull/1470)
- [@keeplearning20221](https://togithub.com/keeplearning20221)
made their first contribution in
[https://github.com/go-sql-driver/mysql/pull/1462](https://togithub.com/go-sql-driver/mysql/pull/1462)
- [@oblitorum](https://togithub.com/oblitorum) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1506](https://togithub.com/go-sql-driver/mysql/pull/1506)
- [@Gusted](https://togithub.com/Gusted) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1518](https://togithub.com/go-sql-driver/mysql/pull/1518)
- [@jennifersp](https://togithub.com/jennifersp) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1520](https://togithub.com/go-sql-driver/mysql/pull/1520)
- [@shiyuhang0](https://togithub.com/shiyuhang0) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1530](https://togithub.com/go-sql-driver/mysql/pull/1530)
- [@PauliusLozys](https://togithub.com/PauliusLozys) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1541](https://togithub.com/go-sql-driver/mysql/pull/1541)
- [@crazycs520](https://togithub.com/crazycs520) made their first
contribution in
[https://github.com/go-sql-driver/mysql/pull/1333](https://togithub.com/go-sql-driver/mysql/pull/1333)
- [@ItalyPaleAle](https://togithub.com/ItalyPaleAle) made their
first contribution in
[https://github.com/go-sql-driver/mysql/pull/1469](https://togithub.com/go-sql-driver/mysql/pull/1469)
**Full Changelog**:
https://github.com/go-sql-driver/mysql/compare/v1.7.1...v1.8.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 3 ++-
cmd/configschema/go.sum | 6 ++++--
cmd/otelcontribcol/go.mod | 3 ++-
cmd/otelcontribcol/go.sum | 6 ++++--
go.mod | 3 ++-
go.sum | 6 ++++--
internal/sqlquery/go.mod | 3 ++-
internal/sqlquery/go.sum | 6 ++++--
receiver/mysqlreceiver/go.mod | 3 ++-
receiver/mysqlreceiver/go.sum | 6 ++++--
receiver/sqlqueryreceiver/go.mod | 3 ++-
receiver/sqlqueryreceiver/go.sum | 6 ++++--
12 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index effdd73d1583..7e3fff01f84d 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -190,6 +190,7 @@ require (
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
code.cloudfoundry.org/go-loggregator v7.4.0+incompatible // indirect
code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78 // indirect
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/AthenZ/athenz v1.10.39 // indirect
@@ -342,7 +343,7 @@ require (
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-resty/resty/v2 v2.7.0 // indirect
- github.com/go-sql-driver/mysql v1.7.1 // indirect
+ github.com/go-sql-driver/mysql v1.8.0 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/go-zookeeper/zk v1.0.3 // indirect
github.com/gobwas/glob v0.2.3 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index 08cdd6982400..c8b16a210dda 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -70,6 +70,8 @@ code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78/go.mod h1:tkZo8
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU=
@@ -676,8 +678,8 @@ github.com/go-resty/resty/v2 v2.7.0 h1:me+K9p3uhSmXtrBZ4k9jcEAfJmuC8IivWHwaLZwPr
github.com/go-resty/resty/v2 v2.7.0/go.mod h1:9PWDzw47qPphMRFfhsyk0NnSgvluHcljSMVIq3w7q0I=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 85363b463d6c..a20db42be12c 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -234,6 +234,7 @@ require (
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
code.cloudfoundry.org/go-loggregator v7.4.0+incompatible // indirect
code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78 // indirect
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/AthenZ/athenz v1.10.39 // indirect
@@ -392,7 +393,7 @@ require (
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-resty/resty/v2 v2.7.0 // indirect
- github.com/go-sql-driver/mysql v1.7.1 // indirect
+ github.com/go-sql-driver/mysql v1.8.0 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/go-zookeeper/zk v1.0.3 // indirect
github.com/gobwas/glob v0.2.3 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 91ecc0d051fa..d25716565607 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -69,6 +69,8 @@ code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78/go.mod h1:tkZo8
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU=
@@ -672,8 +674,8 @@ github.com/go-resty/resty/v2 v2.7.0 h1:me+K9p3uhSmXtrBZ4k9jcEAfJmuC8IivWHwaLZwPr
github.com/go-resty/resty/v2 v2.7.0/go.mod h1:9PWDzw47qPphMRFfhsyk0NnSgvluHcljSMVIq3w7q0I=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
diff --git a/go.mod b/go.mod
index e3d6eccd82ab..4ba6a91a0ca3 100644
--- a/go.mod
+++ b/go.mod
@@ -200,6 +200,7 @@ require (
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
code.cloudfoundry.org/go-loggregator v7.4.0+incompatible // indirect
code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78 // indirect
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/AthenZ/athenz v1.10.39 // indirect
@@ -360,7 +361,7 @@ require (
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-resty/resty/v2 v2.7.0 // indirect
- github.com/go-sql-driver/mysql v1.7.1 // indirect
+ github.com/go-sql-driver/mysql v1.8.0 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/go-zookeeper/zk v1.0.3 // indirect
github.com/gobwas/glob v0.2.3 // indirect
diff --git a/go.sum b/go.sum
index d6bdfc478595..45ac56bc1a8b 100644
--- a/go.sum
+++ b/go.sum
@@ -70,6 +70,8 @@ code.cloudfoundry.org/rfc5424 v0.0.0-20201103192249-000122071b78/go.mod h1:tkZo8
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU=
@@ -676,8 +678,8 @@ github.com/go-resty/resty/v2 v2.7.0 h1:me+K9p3uhSmXtrBZ4k9jcEAfJmuC8IivWHwaLZwPr
github.com/go-resty/resty/v2 v2.7.0/go.mod h1:9PWDzw47qPphMRFfhsyk0NnSgvluHcljSMVIq3w7q0I=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
diff --git a/internal/sqlquery/go.mod b/internal/sqlquery/go.mod
index 3a43399b7d8a..5af90601b2ec 100644
--- a/internal/sqlquery/go.mod
+++ b/internal/sqlquery/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/SAP/go-hdb v1.8.5
- github.com/go-sql-driver/mysql v1.7.1
+ github.com/go-sql-driver/mysql v1.8.0
github.com/lib/pq v1.10.9
github.com/microsoft/go-mssqldb v1.7.0
github.com/sijms/go-ora/v2 v2.8.8
@@ -18,6 +18,7 @@ require (
)
require (
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 // indirect
diff --git a/internal/sqlquery/go.sum b/internal/sqlquery/go.sum
index b346b41cdef5..e7c9b5729a2a 100644
--- a/internal/sqlquery/go.sum
+++ b/internal/sqlquery/go.sum
@@ -1,3 +1,5 @@
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
github.com/99designs/keyring v1.2.2 h1:pZd3neh/EmUzWONb35LxQfvuY7kiSXAq3HQd97+XBn0=
@@ -82,8 +84,8 @@ github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
diff --git a/receiver/mysqlreceiver/go.mod b/receiver/mysqlreceiver/go.mod
index 1c9711459e14..3ddbeba0561c 100644
--- a/receiver/mysqlreceiver/go.mod
+++ b/receiver/mysqlreceiver/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mysqlr
go 1.21
require (
- github.com/go-sql-driver/mysql v1.7.1
+ github.com/go-sql-driver/mysql v1.8.0
github.com/google/go-cmp v0.6.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.96.0
@@ -26,6 +26,7 @@ require (
require (
dario.cat/mergo v1.0.0 // indirect
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/Microsoft/hcsshim v0.11.4 // indirect
diff --git a/receiver/mysqlreceiver/go.sum b/receiver/mysqlreceiver/go.sum
index a4dcca8df4e4..6ee56b4ea608 100644
--- a/receiver/mysqlreceiver/go.sum
+++ b/receiver/mysqlreceiver/go.sum
@@ -1,5 +1,7 @@
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9vkmnHYOMsOr4WLk+Vo07yKIzd94sVoIqshQ4bU=
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8=
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
@@ -42,8 +44,8 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
diff --git a/receiver/sqlqueryreceiver/go.mod b/receiver/sqlqueryreceiver/go.mod
index 823556ba9f01..cebf7b9218f3 100644
--- a/receiver/sqlqueryreceiver/go.mod
+++ b/receiver/sqlqueryreceiver/go.mod
@@ -25,6 +25,7 @@ require (
require (
dario.cat/mergo v1.0.0 // indirect
+ filippo.io/edwards25519 v1.1.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
github.com/99designs/keyring v1.2.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 // indirect
@@ -67,7 +68,7 @@ require (
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
- github.com/go-sql-driver/mysql v1.7.1 // indirect
+ github.com/go-sql-driver/mysql v1.8.0 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
diff --git a/receiver/sqlqueryreceiver/go.sum b/receiver/sqlqueryreceiver/go.sum
index 7a76964dd627..47a29c797d3b 100644
--- a/receiver/sqlqueryreceiver/go.sum
+++ b/receiver/sqlqueryreceiver/go.sum
@@ -1,5 +1,7 @@
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
github.com/99designs/keyring v1.2.2 h1:pZd3neh/EmUzWONb35LxQfvuY7kiSXAq3HQd97+XBn0=
@@ -126,8 +128,8 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-sql-driver/mysql v1.8.0 h1:UtktXaU2Nb64z/pLiGIxY4431SJ4/dR5cjMmlVHgnT4=
+github.com/go-sql-driver/mysql v1.8.0/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 h1:TQcrn6Wq+sKGkpyPvppOz99zsMBaUOKXq6HSv655U1c=
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM=
github.com/goccy/go-json v0.10.2 h1:CrxCmQqYDkv1z7lO7Wbh2HN93uovUHgrECaO5ZrCXAU=
From 4340b7b9041471fd7a0f6088a24f2b54ee1b76c8 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:34:41 -0700
Subject: [PATCH 09/34] fix(deps): update module cloud.google.com/go/spanner to
v1.58.0 (#31707)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[cloud.google.com/go/spanner](https://togithub.com/googleapis/google-cloud-go)
| `v1.57.0` -> `v1.58.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fspanner/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/cloud.google.com%2fgo%2fspanner/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/cloud.google.com%2fgo%2fspanner/v1.57.0/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fspanner/v1.57.0/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 12 +++---
cmd/configschema/go.sum | 28 +++++++-------
cmd/otelcontribcol/go.mod | 10 ++---
cmd/otelcontribcol/go.sum | 24 ++++++------
go.mod | 12 +++---
go.sum | 28 +++++++-------
receiver/googlecloudspannerreceiver/go.mod | 20 +++++-----
receiver/googlecloudspannerreceiver/go.sum | 44 +++++++++++-----------
8 files changed, 89 insertions(+), 89 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index 7e3fff01f84d..161aac25e34e 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -176,7 +176,7 @@ require (
require (
bitbucket.org/atlassian/go-asap/v2 v2.7.0 // indirect
- cloud.google.com/go v0.112.0 // indirect
+ cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute v1.24.0 // indirect
cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
@@ -184,7 +184,7 @@ require (
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/monitoring v1.18.0 // indirect
cloud.google.com/go/pubsub v1.36.2 // indirect
- cloud.google.com/go/spanner v1.57.0 // indirect
+ cloud.google.com/go/spanner v1.58.0 // indirect
cloud.google.com/go/trace v1.10.5 // indirect
code.cloudfoundry.org/clock v1.0.0 // indirect
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
@@ -370,7 +370,7 @@ require (
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
- github.com/googleapis/gax-go/v2 v2.12.1 // indirect
+ github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/gophercloud/gophercloud v1.7.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
@@ -689,11 +689,11 @@ require (
golang.org/x/tools v0.17.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
gonum.org/v1/gonum v0.14.0 // indirect
- google.golang.org/api v0.166.0 // indirect
+ google.golang.org/api v0.167.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index c8b16a210dda..6b61814550f9 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -20,8 +20,8 @@ cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmW
cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
-cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM=
-cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4=
+cloud.google.com/go v0.112.1 h1:uJSeirPke5UNZHIb4SxfZklVSiWWVqW4oXlETwZziwM=
+cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4=
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
@@ -49,8 +49,8 @@ cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIA
cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
cloud.google.com/go/pubsub v1.36.2 h1:nAUD4aiWHZFYyINhRag1qOnHUk0/7QiWEa04XWnqACA=
cloud.google.com/go/pubsub v1.36.2/go.mod h1:mHCFLNG8abCrPzhuOnpBcr9DUy+l3/LWWn0qoJdbh1w=
-cloud.google.com/go/spanner v1.57.0 h1:fJq+ZfQUDHE+cy1li0bJA8+sy2oiSGhuGqN5nqVaZdU=
-cloud.google.com/go/spanner v1.57.0/go.mod h1:aXQ5QDdhPRIqVhYmnkAdwPYvj/DRN0FguclhEWw+jOo=
+cloud.google.com/go/spanner v1.58.0 h1:W0SAtTz50XIZlTCJtHJ7x4Yxux6ZsorBBxjdXfjZ7UQ=
+cloud.google.com/go/spanner v1.58.0/go.mod h1:eSpP+aaT38sdwFs0ovo7Z1VsG9RyM9n7EHpM5DhDEsE=
cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
@@ -827,8 +827,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfF
github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
-github.com/googleapis/gax-go/v2 v2.12.1 h1:9F8GV9r9ztXyAi00gsMQHNoF51xPZm8uj1dpYt2ZETM=
-github.com/googleapis/gax-go/v2 v2.12.1/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
+github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA=
+github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
github.com/gophercloud/gophercloud v1.7.0 h1:fyJGKh0LBvIZKLvBWvQdIgkaV5yTM3Jh9EYUh+UNCAs=
github.com/gophercloud/gophercloud v1.7.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM=
@@ -1418,8 +1418,8 @@ github.com/relvacode/iso8601 v1.4.0/go.mod h1:FlNp+jz+TXpyRqgmM7tnzHHzBnz776kmAH
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
+github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
@@ -2192,8 +2192,8 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
-google.golang.org/api v0.166.0 h1:6m4NUwrZYhAaVIHZWxaKjw1L1vNAjtMwORmKRyEEo24=
-google.golang.org/api v0.166.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
+google.golang.org/api v0.167.0 h1:CKHrQD1BLRii6xdkatBDXyKzM0mkawt2QP+H3LtPmSE=
+google.golang.org/api v0.167.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -2249,10 +2249,10 @@ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxH
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c h1:9g7erC9qu44ks7UK4gDNlnk4kOxZG707xKm4jVniy6o=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 h1:hZB7eLIaYlW9qXRfCq/qDaPdbeY3757uARz5Vvfv+cY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:YUWgXUFRPfoYK1IHMuxH5K6nPEXSCzIMljnQ59lLRCk=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 h1:SzXBGiWM1LNVYLCRP3e0/Gsze804l4jGoJ5lYysEO5I=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:O1cOfN1Cy6QEYr7VxtjOyP5AdAuR0aJ/MYZaaof623Y=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 h1:Xs9lu+tLXxLIfuci70nG4cpwaRC+mRQPUL7LoIeDJC4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index a20db42be12c..1b85c001f789 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -228,7 +228,7 @@ require (
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/monitoring v1.18.0 // indirect
cloud.google.com/go/pubsub v1.36.2 // indirect
- cloud.google.com/go/spanner v1.57.0 // indirect
+ cloud.google.com/go/spanner v1.58.0 // indirect
cloud.google.com/go/trace v1.10.5 // indirect
code.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c // indirect
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
@@ -422,7 +422,7 @@ require (
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
- github.com/googleapis/gax-go/v2 v2.12.1 // indirect
+ github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/gophercloud/gophercloud v1.7.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
@@ -704,11 +704,11 @@ require (
golang.org/x/tools v0.17.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
gonum.org/v1/gonum v0.14.0 // indirect
- google.golang.org/api v0.166.0 // indirect
+ google.golang.org/api v0.167.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index d25716565607..14fb9fa4b36c 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -49,8 +49,8 @@ cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIA
cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
cloud.google.com/go/pubsub v1.36.2 h1:nAUD4aiWHZFYyINhRag1qOnHUk0/7QiWEa04XWnqACA=
cloud.google.com/go/pubsub v1.36.2/go.mod h1:mHCFLNG8abCrPzhuOnpBcr9DUy+l3/LWWn0qoJdbh1w=
-cloud.google.com/go/spanner v1.57.0 h1:fJq+ZfQUDHE+cy1li0bJA8+sy2oiSGhuGqN5nqVaZdU=
-cloud.google.com/go/spanner v1.57.0/go.mod h1:aXQ5QDdhPRIqVhYmnkAdwPYvj/DRN0FguclhEWw+jOo=
+cloud.google.com/go/spanner v1.58.0 h1:W0SAtTz50XIZlTCJtHJ7x4Yxux6ZsorBBxjdXfjZ7UQ=
+cloud.google.com/go/spanner v1.58.0/go.mod h1:eSpP+aaT38sdwFs0ovo7Z1VsG9RyM9n7EHpM5DhDEsE=
cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
@@ -823,8 +823,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfF
github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
-github.com/googleapis/gax-go/v2 v2.12.1 h1:9F8GV9r9ztXyAi00gsMQHNoF51xPZm8uj1dpYt2ZETM=
-github.com/googleapis/gax-go/v2 v2.12.1/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
+github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA=
+github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
github.com/gophercloud/gophercloud v1.7.0 h1:fyJGKh0LBvIZKLvBWvQdIgkaV5yTM3Jh9EYUh+UNCAs=
github.com/gophercloud/gophercloud v1.7.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM=
@@ -1418,8 +1418,8 @@ github.com/relvacode/iso8601 v1.4.0/go.mod h1:FlNp+jz+TXpyRqgmM7tnzHHzBnz776kmAH
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
+github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
@@ -2189,8 +2189,8 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
-google.golang.org/api v0.166.0 h1:6m4NUwrZYhAaVIHZWxaKjw1L1vNAjtMwORmKRyEEo24=
-google.golang.org/api v0.166.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
+google.golang.org/api v0.167.0 h1:CKHrQD1BLRii6xdkatBDXyKzM0mkawt2QP+H3LtPmSE=
+google.golang.org/api v0.167.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -2246,10 +2246,10 @@ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxH
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c h1:9g7erC9qu44ks7UK4gDNlnk4kOxZG707xKm4jVniy6o=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c h1:NUsgEN92SQQqzfA+YtqYNqYmB3DMMYLlIwUZAQFVFbo=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 h1:SzXBGiWM1LNVYLCRP3e0/Gsze804l4jGoJ5lYysEO5I=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:O1cOfN1Cy6QEYr7VxtjOyP5AdAuR0aJ/MYZaaof623Y=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 h1:Xs9lu+tLXxLIfuci70nG4cpwaRC+mRQPUL7LoIeDJC4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
diff --git a/go.mod b/go.mod
index 4ba6a91a0ca3..0801b4843771 100644
--- a/go.mod
+++ b/go.mod
@@ -186,7 +186,7 @@ require (
require (
bitbucket.org/atlassian/go-asap/v2 v2.7.0 // indirect
- cloud.google.com/go v0.112.0 // indirect
+ cloud.google.com/go v0.112.1 // indirect
cloud.google.com/go/compute v1.24.0 // indirect
cloud.google.com/go/compute/metadata v0.2.4-0.20230617002413-005d2dfb6b68 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
@@ -194,7 +194,7 @@ require (
cloud.google.com/go/longrunning v0.5.5 // indirect
cloud.google.com/go/monitoring v1.18.0 // indirect
cloud.google.com/go/pubsub v1.36.2 // indirect
- cloud.google.com/go/spanner v1.57.0 // indirect
+ cloud.google.com/go/spanner v1.58.0 // indirect
cloud.google.com/go/trace v1.10.5 // indirect
code.cloudfoundry.org/clock v1.0.0 // indirect
code.cloudfoundry.org/go-diodes v0.0.0-20211115184647-b584dd5df32c // indirect
@@ -391,7 +391,7 @@ require (
github.com/google/s2a-go v0.1.7 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
- github.com/googleapis/gax-go/v2 v2.12.1 // indirect
+ github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/gophercloud/gophercloud v1.7.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
@@ -683,11 +683,11 @@ require (
golang.org/x/tools v0.17.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
gonum.org/v1/gonum v0.14.0 // indirect
- google.golang.org/api v0.166.0 // indirect
+ google.golang.org/api v0.167.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect
google.golang.org/grpc v1.62.1 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
diff --git a/go.sum b/go.sum
index 45ac56bc1a8b..c3926d8a1531 100644
--- a/go.sum
+++ b/go.sum
@@ -20,8 +20,8 @@ cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmW
cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
-cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM=
-cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4=
+cloud.google.com/go v0.112.1 h1:uJSeirPke5UNZHIb4SxfZklVSiWWVqW4oXlETwZziwM=
+cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4=
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
@@ -49,8 +49,8 @@ cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIA
cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
cloud.google.com/go/pubsub v1.36.2 h1:nAUD4aiWHZFYyINhRag1qOnHUk0/7QiWEa04XWnqACA=
cloud.google.com/go/pubsub v1.36.2/go.mod h1:mHCFLNG8abCrPzhuOnpBcr9DUy+l3/LWWn0qoJdbh1w=
-cloud.google.com/go/spanner v1.57.0 h1:fJq+ZfQUDHE+cy1li0bJA8+sy2oiSGhuGqN5nqVaZdU=
-cloud.google.com/go/spanner v1.57.0/go.mod h1:aXQ5QDdhPRIqVhYmnkAdwPYvj/DRN0FguclhEWw+jOo=
+cloud.google.com/go/spanner v1.58.0 h1:W0SAtTz50XIZlTCJtHJ7x4Yxux6ZsorBBxjdXfjZ7UQ=
+cloud.google.com/go/spanner v1.58.0/go.mod h1:eSpP+aaT38sdwFs0ovo7Z1VsG9RyM9n7EHpM5DhDEsE=
cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
@@ -828,8 +828,8 @@ github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfF
github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
-github.com/googleapis/gax-go/v2 v2.12.1 h1:9F8GV9r9ztXyAi00gsMQHNoF51xPZm8uj1dpYt2ZETM=
-github.com/googleapis/gax-go/v2 v2.12.1/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
+github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA=
+github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
github.com/gophercloud/gophercloud v1.7.0 h1:fyJGKh0LBvIZKLvBWvQdIgkaV5yTM3Jh9EYUh+UNCAs=
github.com/gophercloud/gophercloud v1.7.0/go.mod h1:aAVqcocTSXh2vYFZ1JTvx4EQmfgzxRcNupUfxZbBNDM=
@@ -1418,8 +1418,8 @@ github.com/relvacode/iso8601 v1.4.0/go.mod h1:FlNp+jz+TXpyRqgmM7tnzHHzBnz776kmAH
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
+github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
@@ -2193,8 +2193,8 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
-google.golang.org/api v0.166.0 h1:6m4NUwrZYhAaVIHZWxaKjw1L1vNAjtMwORmKRyEEo24=
-google.golang.org/api v0.166.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
+google.golang.org/api v0.167.0 h1:CKHrQD1BLRii6xdkatBDXyKzM0mkawt2QP+H3LtPmSE=
+google.golang.org/api v0.167.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -2250,10 +2250,10 @@ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxH
google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y=
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c h1:9g7erC9qu44ks7UK4gDNlnk4kOxZG707xKm4jVniy6o=
-google.golang.org/genproto/googleapis/api v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9 h1:hZB7eLIaYlW9qXRfCq/qDaPdbeY3757uARz5Vvfv+cY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:YUWgXUFRPfoYK1IHMuxH5K6nPEXSCzIMljnQ59lLRCk=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 h1:SzXBGiWM1LNVYLCRP3e0/Gsze804l4jGoJ5lYysEO5I=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:O1cOfN1Cy6QEYr7VxtjOyP5AdAuR0aJ/MYZaaof623Y=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 h1:Xs9lu+tLXxLIfuci70nG4cpwaRC+mRQPUL7LoIeDJC4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
diff --git a/receiver/googlecloudspannerreceiver/go.mod b/receiver/googlecloudspannerreceiver/go.mod
index ea5acc7cfe3d..acdb4022ae6a 100644
--- a/receiver/googlecloudspannerreceiver/go.mod
+++ b/receiver/googlecloudspannerreceiver/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/receiver/google
go 1.21
require (
- cloud.google.com/go/spanner v1.57.0
+ cloud.google.com/go/spanner v1.58.0
github.com/ReneKroon/ttlcache/v2 v2.11.0
github.com/mitchellh/hashstructure v1.1.0
github.com/stretchr/testify v1.9.0
@@ -17,14 +17,14 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
- google.golang.org/api v0.165.0
+ google.golang.org/api v0.167.0
google.golang.org/grpc v1.62.1
gopkg.in/yaml.v3 v3.0.1
)
require (
- cloud.google.com/go v0.112.0 // indirect
- cloud.google.com/go/compute v1.23.3 // indirect
+ cloud.google.com/go v0.112.1 // indirect
+ cloud.google.com/go/compute v1.24.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.6 // indirect
cloud.google.com/go/longrunning v0.5.5 // indirect
@@ -45,7 +45,7 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/s2a-go v0.1.7 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
- github.com/googleapis/gax-go/v2 v2.12.0 // indirect
+ github.com/googleapis/gax-go/v2 v2.12.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
@@ -63,8 +63,8 @@ require (
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/collector v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.96.1-0.20240306115632-b2693620eff6 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 // indirect
go.opentelemetry.io/otel v1.24.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
@@ -78,9 +78,9 @@ require (
golang.org/x/time v0.5.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/appengine v1.6.8 // indirect
- google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240205150955-31a09d347014 // indirect
+ google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 // indirect
google.golang.org/protobuf v1.33.0 // indirect
)
diff --git a/receiver/googlecloudspannerreceiver/go.sum b/receiver/googlecloudspannerreceiver/go.sum
index 65f6c3218141..87cad0a36b66 100644
--- a/receiver/googlecloudspannerreceiver/go.sum
+++ b/receiver/googlecloudspannerreceiver/go.sum
@@ -1,16 +1,16 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.112.0 h1:tpFCD7hpHFlQ8yPwT3x+QeXqc2T6+n6T+hmABHfDUSM=
-cloud.google.com/go v0.112.0/go.mod h1:3jEEVwZ/MHU4djK5t5RHuKOA/GbLddgTdVubX1qnPD4=
-cloud.google.com/go/compute v1.23.3 h1:6sVlXXBmbd7jNX0Ipq0trII3e4n1/MsADLK6a+aiVlk=
-cloud.google.com/go/compute v1.23.3/go.mod h1:VCgBUoMnIVIR0CscqQiPJLAG25E3ZRZMzcFZeQ+h8CI=
+cloud.google.com/go v0.112.1 h1:uJSeirPke5UNZHIb4SxfZklVSiWWVqW4oXlETwZziwM=
+cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4=
+cloud.google.com/go/compute v1.24.0 h1:phWcR2eWzRJaL/kOiJwfFsPs4BaKq1j6vnpZrc1YlVg=
+cloud.google.com/go/compute v1.24.0/go.mod h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40=
cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
cloud.google.com/go/iam v1.1.6 h1:bEa06k05IO4f4uJonbB5iAgKTPpABy1ayxaIZV/GHVc=
cloud.google.com/go/iam v1.1.6/go.mod h1:O0zxdPeGBoFdWW3HWmBxJsk0pfvNM/p/qa82rWOGTwI=
cloud.google.com/go/longrunning v0.5.5 h1:GOE6pZFdSrTb4KAiKnXsJBtlE6mEyaW44oKyMILWnOg=
cloud.google.com/go/longrunning v0.5.5/go.mod h1:WV2LAxD8/rg5Z1cNW6FJ/ZpX4E4VnDnoTk0yawPBB7s=
-cloud.google.com/go/spanner v1.57.0 h1:fJq+ZfQUDHE+cy1li0bJA8+sy2oiSGhuGqN5nqVaZdU=
-cloud.google.com/go/spanner v1.57.0/go.mod h1:aXQ5QDdhPRIqVhYmnkAdwPYvj/DRN0FguclhEWw+jOo=
+cloud.google.com/go/spanner v1.58.0 h1:W0SAtTz50XIZlTCJtHJ7x4Yxux6ZsorBBxjdXfjZ7UQ=
+cloud.google.com/go/spanner v1.58.0/go.mod h1:eSpP+aaT38sdwFs0ovo7Z1VsG9RyM9n7EHpM5DhDEsE=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/ReneKroon/ttlcache/v2 v2.11.0 h1:OvlcYFYi941SBN3v9dsDcC2N8vRxyHcCmJb3Vl4QMoM=
github.com/ReneKroon/ttlcache/v2 v2.11.0/go.mod h1:mBxvsNY+BT8qLLd6CuAJubbKo6r0jh3nb5et22bbfGY=
@@ -85,8 +85,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/enterprise-certificate-proxy v0.3.2 h1:Vie5ybvEvT75RniqhfFxPRy3Bf7vr3h0cechB90XaQs=
github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0=
-github.com/googleapis/gax-go/v2 v2.12.0 h1:A+gCJKdRfqXkr+BIRGtZLibNXf0m1f9E4HG56etFpas=
-github.com/googleapis/gax-go/v2 v2.12.0/go.mod h1:y+aIqrI5eb1YGMVJfuV3185Ts/D7qKpsEkdD5+I6QGU=
+github.com/googleapis/gax-go/v2 v2.12.2 h1:mhN09QQW1jEWeMF74zGR81R30z4VJzjZsfkUhuHF+DA=
+github.com/googleapis/gax-go/v2 v2.12.2/go.mod h1:61M8vcyyXR2kqKFxKrfA22jaA8JGF7Dc8App1U3H6jc=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -126,8 +126,8 @@ github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSz
github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
-github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
-github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
+github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
+github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
@@ -160,10 +160,10 @@ go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6 h1:YV+W
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6/go.mod h1:0Ttp4wQinhV5oJTd9MjyvUegmZBO9O0nrlh/+EDLw+Q=
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6 h1:UImu7/4JA8k1JndMmfZpBGFCPKoHe0TEssf+NxrKnbM=
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6/go.mod h1:Kj14Vn5nJE2T9PdH+p1skvrlbqTfrHoPOUfsCs2M+TU=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0 h1:UNQQKPfTDe1J81ViolILjTKPr9WetKW6uei2hFgJmFs=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.47.0/go.mod h1:r9vWsPS/3AQItv3OSlEJ/E4mbrhUbbw18meOjArPtKQ=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0 h1:sv9kVfal0MK0wBMCOGr+HeJm9v803BkJxGrk2au7j08=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.47.0/go.mod h1:SK2UL73Zy1quvRPonmOmRDiWk1KBV3LyIeeIxcEApWw=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0 h1:P+/g8GpuJGYbOp2tAdKrIPUX9JO02q8Q0YNlHolpibA=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.48.0/go.mod h1:tIKj3DbO8N9Y2xo52og3irLsPI4GW02DSMtrVgNMgxg=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0 h1:doUP+ExOpH3spVTLS0FcWGLnQrPct/hD/bCPbDRUEAU=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.48.0/go.mod h1:rdENBZMT2OE6Ne/KLwpiXudnAsbdrdBaqBvTN8M8BgA=
go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo=
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 h1:I8WIFXR351FoLJYuloU4EgXbtNX2URfU/85pUPheIEQ=
@@ -262,8 +262,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
-google.golang.org/api v0.165.0 h1:zd5d4JIIIaYYsfVy1HzoXYZ9rWCSBxxAglbczzo7Bgc=
-google.golang.org/api v0.165.0/go.mod h1:2OatzO7ZDQsoS7IFf3rvsE17/TldiU3F/zxFHeqUB5o=
+google.golang.org/api v0.167.0 h1:CKHrQD1BLRii6xdkatBDXyKzM0mkawt2QP+H3LtPmSE=
+google.golang.org/api v0.167.0/go.mod h1:4FcBc686KFi7QI/U51/2GKKevfZMpM17sCdibqe/bSA=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
@@ -271,12 +271,12 @@ google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJ
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 v0.0.0-20240125205218-1f4bbc51befe h1:USL2DhxfgRchafRvt/wYyyQNzwgL7ZiURcozOE/Pkvo=
-google.golang.org/genproto v0.0.0-20240125205218-1f4bbc51befe/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro=
-google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014 h1:x9PwdEgd11LgK+orcck69WVRo7DezSO4VUMPI4xpc8A=
-google.golang.org/genproto/googleapis/api v0.0.0-20240205150955-31a09d347014/go.mod h1:rbHMSEDyoYX62nRVLOCc4Qt1HbsdytAYoVwgjiOhF3I=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240205150955-31a09d347014 h1:FSL3lRCkhaPFxqi0s9o+V4UI2WTzAVOvkgbd4kVV4Wg=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240205150955-31a09d347014/go.mod h1:SaPjaZGWb0lPqs6Ittu0spdfrOArqji4ZdeP5IC/9N4=
+google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 h1:9+tzLLstTlPTRyJTh+ah5wIMsBW5c4tQwGTN3thOW9Y=
+google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78 h1:SzXBGiWM1LNVYLCRP3e0/Gsze804l4jGoJ5lYysEO5I=
+google.golang.org/genproto/googleapis/api v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:O1cOfN1Cy6QEYr7VxtjOyP5AdAuR0aJ/MYZaaof623Y=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78 h1:Xs9lu+tLXxLIfuci70nG4cpwaRC+mRQPUL7LoIeDJC4=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240304161311-37d4d3c04a78/go.mod h1:UCOku4NytXMJuLQE5VuqA5lX3PcHCBo8pxNyvkf4xBs=
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=
From 0b62b0992f426cf1b1a76ccf80bc68c01ff7661d Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:34:49 -0700
Subject: [PATCH 10/34] [chore] group golang.org/x packages (#31692)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
renovate.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/renovate.json b/renovate.json
index a5555290314b..d4b8f24c33ad 100644
--- a/renovate.json
+++ b/renovate.json
@@ -64,8 +64,8 @@
},
{
"matchManagers": ["gomod"],
- "matchSourceUrlPrefixes": ["https://golang.org"],
- "groupName": "All golang.org packages"
+ "matchSourceUrlPrefixes": ["https://golang.org/x"],
+ "groupName": "All golang.org/x packages"
},
{
"matchManagers": ["gomod"],
From ec82d6ff083708b8222be92705b8d37352ff98ca Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 08:35:14 -0700
Subject: [PATCH 11/34] chore(deps): update wandalen/wretry.action action to
v1.4.9 (#31704)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [Wandalen/wretry.action](https://togithub.com/Wandalen/wretry.action)
| action | patch | `v1.4.5` -> `v1.4.9` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
Wandalen/wretry.action (Wandalen/wretry.action)
###
[`v1.4.9`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.8...v1.4.9)
[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.8...v1.4.9)
###
[`v1.4.8`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.7...v1.4.8)
[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.7...v1.4.8)
###
[`v1.4.7`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.6...v1.4.7)
[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.6...v1.4.7)
###
[`v1.4.6`](https://togithub.com/Wandalen/wretry.action/compare/v1.4.5...v1.4.6)
[Compare
Source](https://togithub.com/Wandalen/wretry.action/compare/v1.4.5...v1.4.6)
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/build-and-test.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index be782add7f41..18fa6fcf6da6 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -318,7 +318,7 @@ jobs:
merge-multiple: true
pattern: coverage-artifacts-*
- name: Upload coverage report
- uses: Wandalen/wretry.action@v1.4.5
+ uses: Wandalen/wretry.action@v1.4.9
with:
action: codecov/codecov-action@v3
with: |
From eb037788a1a08476383653052cc36d2d1299ed4a Mon Sep 17 00:00:00 2001
From: Curtis Robert
Date: Tue, 12 Mar 2024 08:55:36 -0700
Subject: [PATCH 12/34] [chore][CONTRIBUTING.md] Add goleak to new component
requirements (#31689)
**Description:**
The goal is for `goleak` to be required for every package, and also to
be [generated by
mdatagen](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30483).
Once this is generated by `mdatagen` we'll be able to remove this from
manual steps done by the user, but for now it would be good to state the
it's required in docs.
**Link to tracking Issue:** #30438
---
CONTRIBUTING.md | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7a7efcb7d413..dd639d9a55a3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -119,7 +119,7 @@ Components refer to connectors, exporters, extensions, processors, and receivers
* Implement the [component.Component](https://pkg.go.dev/go.opentelemetry.io/collector/component#Component) interface
* Provide a configuration structure which defines the configuration of the component
* Provide the implementation which performs the component operation
-* Have a `metadata.yaml` file and its generated code (using [mdatadgen](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/README.md)).
+* Have a `metadata.yaml` file and its generated code (using [mdatadgen](https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/mdatagen/README.md)).
Familiarize yourself with the interface of the component that you want to write, and use existing implementations as a reference.
[Building a Trace Receiver](https://opentelemetry.io/docs/collector/trace-receiver/) tutorial provides a detailed example of building a component.
@@ -152,7 +152,26 @@ and its contributors.
and in the respective testing harnesses. To align with the test goal of the project, components must be testable within the framework defined within
the folder. If a component can not be properly tested within the existing framework, it must increase the non testable
components number with a comment within the PR explaining as to why it can not be tested.
-- Create a `metadata.yaml` file with at minimum the required fields defined in [metadata-schema.yaml](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml).
+- Enable [goleak checks](https://github.com/uber-go/goleak) to help ensure your component does not leak goroutines. This
+ requires adding a file named `package_test.go` to every sub-directory containing tests. This file should have the following contents by default:
+```
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package fooreceiver
+
+import (
+ "testing"
+
+ "go.uber.org/goleak"
+)
+
+func TestMain(m *testing.M) {
+ goleak.VerifyTestMain(m)
+}
+```
+
+- Create a `metadata.yaml` file with at minimum the required fields defined in [metadata-schema.yaml](https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/mdatagen/metadata-schema.yaml).
Here is a minimal representation:
```
type:
@@ -181,7 +200,7 @@ status:
// Package fooreceiver bars.
package fooreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/fooreceiver"
```
-- Type `make update-codeowners`. This will trigger the regeneration of the `.github/CODEOWNERS` file and the [metadata generator](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/README.md#using-the-metadata-generator) to generate the associated code/documentation.
+- Type `make update-codeowners`. This will trigger the regeneration of the `.github/CODEOWNERS` file and the [metadata generator](https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/mdatagen/README.md#using-the-metadata-generator) to generate the associated code/documentation.
When submitting a component to the community, consider breaking it down into separate PRs as follows:
From 3979dcc246dd833590e0f25deed98e740450e4a1 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 12 Mar 2024 09:05:29 -0700
Subject: [PATCH 13/34] [chore] group build-tools packages (#31691)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
renovate.json | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/renovate.json b/renovate.json
index d4b8f24c33ad..ef51216a5e9f 100644
--- a/renovate.json
+++ b/renovate.json
@@ -67,6 +67,11 @@
"matchSourceUrlPrefixes": ["https://golang.org/x"],
"groupName": "All golang.org/x packages"
},
+ {
+ "matchManagers": ["gomod"],
+ "matchSourceUrlPrefixes": ["https://go.opentelemetry.io/build-tools"],
+ "groupName": "All go.opentelemetry.io/build-tools packages"
+ },
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://github.com/googlecloudplatform"],
From b9ce2d3ec37b9c62c1b357e49ad1c8f80be822a0 Mon Sep 17 00:00:00 2001
From: adam-kiss-sg <93579735+adam-kiss-sg@users.noreply.github.com>
Date: Tue, 12 Mar 2024 17:31:06 +0100
Subject: [PATCH 14/34] [exporter/file] Add group_by configuration (#31396)
**Description:**
Added the option to write telemetry data into multiple files, where the
file path is based on a resource attribute.
**Link to tracking Issue:**
#24654
**Testing:**
Added tests and benchmark for new functionality.
**Documentation:**
Updated README.md
---
.chloggen/file-exporter-group-by-attr.yaml | 27 +
exporter/fileexporter/README.md | 16 +-
exporter/fileexporter/config.go | 40 +-
exporter/fileexporter/config_test.go | 66 +++
exporter/fileexporter/factory.go | 33 +-
exporter/fileexporter/file_exporter.go | 9 +-
exporter/fileexporter/file_exporter_test.go | 7 +-
exporter/fileexporter/go.mod | 3 +-
exporter/fileexporter/go.sum | 2 +
.../fileexporter/grouping_file_exporter.go | 285 ++++++++++
.../grouping_file_exporter_test.go | 499 ++++++++++++++++++
exporter/fileexporter/marshaller.go | 11 +
exporter/fileexporter/testdata/config.yaml | 28 +
13 files changed, 1003 insertions(+), 23 deletions(-)
create mode 100644 .chloggen/file-exporter-group-by-attr.yaml
create mode 100644 exporter/fileexporter/grouping_file_exporter.go
create mode 100644 exporter/fileexporter/grouping_file_exporter_test.go
diff --git a/.chloggen/file-exporter-group-by-attr.yaml b/.chloggen/file-exporter-group-by-attr.yaml
new file mode 100644
index 000000000000..bf6447ca412c
--- /dev/null
+++ b/.chloggen/file-exporter-group-by-attr.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. filelogreceiver)
+component: fileexporter
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Added the option to write telemetry data into multiple files, where the file path is based on a resource attribute.
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [24654]
+
+# (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: [user]
\ No newline at end of file
diff --git a/exporter/fileexporter/README.md b/exporter/fileexporter/README.md
index b83ef3cc2743..ce011b725c67 100644
--- a/exporter/fileexporter/README.md
+++ b/exporter/fileexporter/README.md
@@ -25,9 +25,9 @@ Exporter supports the following features:
+ Support for compressing the telemetry data before exporting.
++ Support for writing into multiple files, where the file path is determined by a resource attribute.
Please note that there is no guarantee that exact field names will remain stable.
-This intended for primarily for debugging Collector without setting up backends.
The official [opentelemetry-collector-contrib container](https://hub.docker.com/r/otel/opentelemetry-collector-contrib/tags#!) does not have a writable filesystem by default since it's built on the `scratch` layer.
As such, you will need to create a writable directory for the path, potentially by mounting writable volumes or creating a custom image.
@@ -52,6 +52,11 @@ The following settings are optional:
- `flush_interval`[default: 1s]: `time.Duration` interval between flushes. See [time.ParseDuration](https://pkg.go.dev/time#ParseDuration) for valid formats.
NOTE: a value without unit is in nanoseconds and `flush_interval` is ignored and writes are not buffered if `rotation` is set.
+- `group_by` enables writing to separate files based on a resource attribute.
+ - enabled: [default: false] enables group_by. When group_by is enabled, rotation setting is ignored.
+ - resource_attribute: [default: fileexporter.path_segment]: specifies the name of the resource attribute that contains the path segment of the file to write to. The final path will be the `path` config value, with the `*` replaced with the value of this resource attribute.
+ - max_open_files: [default: 100]: specifies the maximum number of open file descriptors for the output files.
+
## File Rotation
Telemetry data is exported to a single file by default.
`fileexporter` only enables file rotation when the user specifies `rotation:` in the config. However, if specified, related default settings would apply.
@@ -79,6 +84,15 @@ When `format` is json and `compression` is none , telemetry data is written to f
Otherwise, when using `proto` format or any kind of encoding, each encoded object is preceded by 4 bytes (an unsigned 32 bit integer) which represent the number of bytes contained in the encoded object.When we need read the messages back in, we read the size, then read the bytes into a separate buffer, then parse from that buffer.
+## Group by attribute
+
+By specifying `group_by.resource_attribute` in the config, the exporter will determine a filepath for each telemetry record, by substituting the value of the resource attribute into the `path` configuration value.
+
+The final path is guaranteed to start with the prefix part of the `path` config value (the part before the `*` character). For example if `path` is "/data/*.json", and the resource attribute value is "../etc/my_config", then the final path will be sanitized to "/data/etc/my_config.json".
+
+The final path can contain path separators (`/`). The exporter will create missing directories recursively (similarly to `mkdir -p`).
+
+Grouping by attribute currently only supports a **single** **resource** attribute. If you would like to use multiple attributes, please use [Transform processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/transformprocessor) create a routing key. If you would like to use a non-resource level (eg: Log/Metric/DataPoint) attribute, please use [Group by Attributes processor](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/groupbyattrsprocessor) first.
## Example:
diff --git a/exporter/fileexporter/config.go b/exporter/fileexporter/config.go
index b3485c23d90f..8508b6b01d9e 100644
--- a/exporter/fileexporter/config.go
+++ b/exporter/fileexporter/config.go
@@ -6,6 +6,7 @@ package fileexporter // import "github.com/open-telemetry/opentelemetry-collecto
import (
"errors"
"fmt"
+ "strings"
"time"
"go.opentelemetry.io/collector/component"
@@ -23,13 +24,14 @@ type Config struct {
// Path of the file to write to. Path is relative to current directory.
Path string `mapstructure:"path"`
- // Mode defines whether the exporter should append to the file
+ // Mode defines whether the exporter should append to the file.
// Options:
// - false[default]: truncates the file
// - true: appends to the file.
Append bool `mapstructure:"append"`
- // Rotation defines an option about rotation of telemetry files
+ // Rotation defines an option about rotation of telemetry files. Ignored
+ // when GroupByAttribute is used.
Rotation *Rotation `mapstructure:"rotation"`
// FormatType define the data format of encoded telemetry data
@@ -45,6 +47,9 @@ type Config struct {
// FlushInterval is the duration between flushes.
// See time.ParseDuration for valid values.
FlushInterval time.Duration `mapstructure:"flush_interval"`
+
+ // GroupBy enables writing to separate files based on a resource attribute.
+ GroupBy *GroupBy `mapstructure:"group_by"`
}
// Rotation an option to rolling log files
@@ -70,6 +75,21 @@ type Rotation struct {
LocalTime bool `mapstructure:"localtime"`
}
+type GroupBy struct {
+ // Enables group_by. When group_by is enabled, rotation setting is ignored. Default is false.
+ Enabled bool `mapstructure:"enabled"`
+
+ // ResourceAttribute specifies the name of the resource attribute that
+ // contains the path segment of the file to write to. The final path will be
+ // the Path config value, with the * replaced with the value of this resource
+ // attribute. Default is "fileexporter.path_segment".
+ ResourceAttribute string `mapstructure:"resource_attribute"`
+
+ // MaxOpenFiles specifies the maximum number of open file descriptors for the output files.
+ // The default is 100.
+ MaxOpenFiles int `mapstructure:"max_open_files"`
+}
+
var _ component.Config = (*Config)(nil)
// Validate checks if the exporter configuration is valid
@@ -92,6 +112,22 @@ func (cfg *Config) Validate() error {
if cfg.FlushInterval < 0 {
return errors.New("flush_interval must be larger than zero")
}
+
+ if cfg.GroupBy != nil && cfg.GroupBy.Enabled {
+ pathParts := strings.Split(cfg.Path, "*")
+ if len(pathParts) != 2 {
+ return errors.New("path must contain exatcly one * when group_by is enabled")
+ }
+
+ if len(pathParts[0]) == 0 {
+ return errors.New("path must not start with * when group_by is enabled")
+ }
+
+ if cfg.GroupBy.ResourceAttribute == "" {
+ return errors.New("resource_attribute must not be empty when group_by is enabled")
+ }
+ }
+
return nil
}
diff --git a/exporter/fileexporter/config_test.go b/exporter/fileexporter/config_test.go
index c2bfdb17822b..2e588047406e 100644
--- a/exporter/fileexporter/config_test.go
+++ b/exporter/fileexporter/config_test.go
@@ -39,6 +39,10 @@ func TestLoadConfig(t *testing.T) {
},
FormatType: formatTypeJSON,
FlushInterval: time.Second,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -54,6 +58,10 @@ func TestLoadConfig(t *testing.T) {
FormatType: formatTypeProto,
Compression: compressionZSTD,
FlushInterval: time.Second,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -65,6 +73,10 @@ func TestLoadConfig(t *testing.T) {
MaxBackups: defaultMaxBackups,
},
FlushInterval: time.Second,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -77,6 +89,10 @@ func TestLoadConfig(t *testing.T) {
},
FormatType: formatTypeJSON,
FlushInterval: time.Second,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -93,6 +109,10 @@ func TestLoadConfig(t *testing.T) {
Path: "./flushed",
FlushInterval: 5,
FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -101,6 +121,10 @@ func TestLoadConfig(t *testing.T) {
Path: "./flushed",
FlushInterval: 5 * time.Second,
FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -109,6 +133,10 @@ func TestLoadConfig(t *testing.T) {
Path: "./flushed",
FlushInterval: 500 * time.Millisecond,
FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
},
},
{
@@ -119,6 +147,44 @@ func TestLoadConfig(t *testing.T) {
id: component.NewIDWithName(metadata.Type, ""),
errorMessage: "path must be non-empty",
},
+ {
+ id: component.NewIDWithName(metadata.Type, "group_by"),
+ expected: &Config{
+ Path: "./group_by/*.json",
+ FlushInterval: time.Second,
+ FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: 10,
+ ResourceAttribute: "dummy",
+ },
+ },
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "group_by_defaults"),
+ expected: &Config{
+ Path: "./group_by/*.json",
+ FlushInterval: time.Second,
+ FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ ResourceAttribute: defaultResourceAttribute,
+ },
+ },
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "group_by_invalid_path"),
+ errorMessage: "path must contain exatcly one * when group_by is enabled",
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "group_by_invalid_path2"),
+ errorMessage: "path must not start with * when group_by is enabled",
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "group_by_empty_resource_attribute"),
+ errorMessage: "resource_attribute must not be empty when group_by is enabled",
+ },
}
for _, tt := range tests {
diff --git a/exporter/fileexporter/factory.go b/exporter/fileexporter/factory.go
index 5f7a1aaa727e..6c05220697bf 100644
--- a/exporter/fileexporter/factory.go
+++ b/exporter/fileexporter/factory.go
@@ -16,6 +16,7 @@ import (
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/pdata/ptrace"
+ "go.uber.org/zap"
"gopkg.in/natefinch/lumberjack.v2"
"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter/internal/metadata"
@@ -32,6 +33,10 @@ const (
// the type of compression codec
compressionZSTD = "zstd"
+
+ defaultMaxOpenFiles = 100
+
+ defaultResourceAttribute = "fileexporter.path_segment"
)
type FileExporter interface {
@@ -55,6 +60,10 @@ func createDefaultConfig() component.Config {
return &Config{
FormatType: formatTypeJSON,
Rotation: &Rotation{MaxBackups: defaultMaxBackups},
+ GroupBy: &GroupBy{
+ ResourceAttribute: defaultResourceAttribute,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ },
}
}
@@ -63,7 +72,7 @@ func createTracesExporter(
set exporter.CreateSettings,
cfg component.Config,
) (exporter.Traces, error) {
- fe := getOrCreateFileExporter(cfg)
+ fe := getOrCreateFileExporter(cfg, set.Logger)
return exporterhelper.NewTracesExporter(
ctx,
set,
@@ -80,7 +89,7 @@ func createMetricsExporter(
set exporter.CreateSettings,
cfg component.Config,
) (exporter.Metrics, error) {
- fe := getOrCreateFileExporter(cfg)
+ fe := getOrCreateFileExporter(cfg, set.Logger)
return exporterhelper.NewMetricsExporter(
ctx,
set,
@@ -97,7 +106,7 @@ func createLogsExporter(
set exporter.CreateSettings,
cfg component.Config,
) (exporter.Logs, error) {
- fe := getOrCreateFileExporter(cfg)
+ fe := getOrCreateFileExporter(cfg, set.Logger)
return exporterhelper.NewLogsExporter(
ctx,
set,
@@ -113,20 +122,28 @@ func createLogsExporter(
// or returns the already cached one. Caching is required because the factory is asked trace and
// metric receivers separately when it gets CreateTracesReceiver() and CreateMetricsReceiver()
// but they must not create separate objects, they must use one Exporter object per configuration.
-func getOrCreateFileExporter(cfg component.Config) FileExporter {
+func getOrCreateFileExporter(cfg component.Config, logger *zap.Logger) FileExporter {
conf := cfg.(*Config)
fe := exporters.GetOrAdd(cfg, func() component.Component {
- return newFileExporter(conf)
+ return newFileExporter(conf, logger)
})
c := fe.Unwrap()
return c.(FileExporter)
}
-func newFileExporter(conf *Config) FileExporter {
- return &fileExporter{
- conf: conf,
+func newFileExporter(conf *Config, logger *zap.Logger) FileExporter {
+ if conf.GroupBy == nil || !conf.GroupBy.Enabled {
+ return &fileExporter{
+ conf: conf,
+ }
+ }
+
+ return &groupingFileExporter{
+ conf: conf,
+ logger: logger,
}
+
}
func newFileWriter(path string, shouldAppend bool, rotation *Rotation, flushInterval time.Duration, export exportFunc) (*fileWriter, error) {
diff --git a/exporter/fileexporter/file_exporter.go b/exporter/fileexporter/file_exporter.go
index d37478c540d8..e3b6a2f6b095 100644
--- a/exporter/fileexporter/file_exporter.go
+++ b/exporter/fileexporter/file_exporter.go
@@ -45,14 +45,7 @@ func (e *fileExporter) consumeLogs(_ context.Context, ld plog.Logs) error {
// Start starts the flush timer if set.
func (e *fileExporter) Start(_ context.Context, _ component.Host) error {
- e.marshaller = &marshaller{
- formatType: e.conf.FormatType,
- tracesMarshaler: tracesMarshalers[e.conf.FormatType],
- metricsMarshaler: metricsMarshalers[e.conf.FormatType],
- logsMarshaler: logsMarshalers[e.conf.FormatType],
- compression: e.conf.Compression,
- compressor: buildCompressor(e.conf.Compression),
- }
+ e.marshaller = newMarshaller(e.conf)
export := buildExportFunc(e.conf)
var err error
diff --git a/exporter/fileexporter/file_exporter_test.go b/exporter/fileexporter/file_exporter_test.go
index e1d6d5206b44..cefc5747f775 100644
--- a/exporter/fileexporter/file_exporter_test.go
+++ b/exporter/fileexporter/file_exporter_test.go
@@ -23,6 +23,7 @@ import (
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/pdata/ptrace"
+ "go.uber.org/zap"
"gopkg.in/natefinch/lumberjack.v2"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
@@ -127,7 +128,7 @@ func TestFileTracesExporter(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
conf := tt.args.conf
- feI := newFileExporter(conf)
+ feI := newFileExporter(conf, zap.NewNop())
require.IsType(t, &fileExporter{}, feI)
fe := feI.(*fileExporter)
@@ -633,7 +634,7 @@ func TestFlushing(t *testing.T) {
// Wrap the buffer with the buffered writer closer that implements flush() method.
bwc := newBufferedWriteCloser(buf)
// Create a file exporter with flushing enabled.
- feI := newFileExporter(cfg)
+ feI := newFileExporter(cfg, zap.NewNop())
assert.IsType(t, &fileExporter{}, feI)
fe := feI.(*fileExporter)
@@ -688,7 +689,7 @@ func TestAppend(t *testing.T) {
// Wrap the buffer with the buffered writer closer that implements flush() method.
bwc := newBufferedWriteCloser(buf)
// Create a file exporter with flushing enabled.
- feI := newFileExporter(cfg)
+ feI := newFileExporter(cfg, zap.NewNop())
assert.IsType(t, &fileExporter{}, feI)
fe := feI.(*fileExporter)
diff --git a/exporter/fileexporter/go.mod b/exporter/fileexporter/go.mod
index 64d3b68e2113..04ff79bdeb90 100644
--- a/exporter/fileexporter/go.mod
+++ b/exporter/fileexporter/go.mod
@@ -3,6 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileex
go 1.21
require (
+ github.com/hashicorp/golang-lru/v2 v2.0.7
github.com/klauspost/compress v1.17.7
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.96.0
@@ -15,6 +16,7 @@ require (
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
go.uber.org/goleak v1.3.0
+ go.uber.org/zap v1.27.0
gopkg.in/natefinch/lumberjack.v2 v2.2.1
)
@@ -51,7 +53,6 @@ require (
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.24.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
diff --git a/exporter/fileexporter/go.sum b/exporter/fileexporter/go.sum
index 7bfd9330a646..dad2fce4cc43 100644
--- a/exporter/fileexporter/go.sum
+++ b/exporter/fileexporter/go.sum
@@ -23,6 +23,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
+github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
diff --git a/exporter/fileexporter/grouping_file_exporter.go b/exporter/fileexporter/grouping_file_exporter.go
new file mode 100644
index 000000000000..10a7385b05fb
--- /dev/null
+++ b/exporter/fileexporter/grouping_file_exporter.go
@@ -0,0 +1,285 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package fileexporter // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/fileexporter"
+
+import (
+ "context"
+ "errors"
+ "fmt"
+ "os"
+ "path"
+ "strings"
+ "sync"
+
+ "github.com/hashicorp/golang-lru/v2/simplelru"
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/consumer/consumererror"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+ "go.opentelemetry.io/collector/pdata/plog"
+ "go.opentelemetry.io/collector/pdata/pmetric"
+ "go.opentelemetry.io/collector/pdata/ptrace"
+ "go.uber.org/zap"
+)
+
+type groupingFileExporter struct {
+ conf *Config
+ logger *zap.Logger
+ marshaller *marshaller
+ pathPrefix string
+ pathSuffix string
+ attribute string
+ maxOpenFiles int
+ newFileWriter func(path string) (*fileWriter, error)
+
+ mutex sync.Mutex
+ writers *simplelru.LRU[string, *fileWriter]
+}
+
+func (e *groupingFileExporter) consumeTraces(ctx context.Context, td ptrace.Traces) error {
+ if td.ResourceSpans().Len() == 0 {
+ return nil
+ }
+
+ groups := make(map[string][]ptrace.ResourceSpans)
+
+ for i := 0; i < td.ResourceSpans().Len(); i++ {
+ rSpans := td.ResourceSpans().At(i)
+ group(e, groups, rSpans.Resource(), rSpans)
+ }
+
+ var errs error
+ for pathSegment, rSpansSlice := range groups {
+ traces := ptrace.NewTraces()
+ for _, rSpans := range rSpansSlice {
+ rSpans.CopyTo(traces.ResourceSpans().AppendEmpty())
+ }
+
+ buf, err := e.marshaller.marshalTraces(traces)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ continue
+ }
+
+ err = e.write(ctx, pathSegment, buf)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ }
+ }
+
+ if errs != nil {
+ return consumererror.NewPermanent(errs)
+ }
+
+ return nil
+}
+
+func (e *groupingFileExporter) consumeMetrics(ctx context.Context, md pmetric.Metrics) error {
+ if md.ResourceMetrics().Len() == 0 {
+ return nil
+ }
+
+ groups := make(map[string][]pmetric.ResourceMetrics)
+
+ for i := 0; i < md.ResourceMetrics().Len(); i++ {
+ rMetrics := md.ResourceMetrics().At(i)
+ group(e, groups, rMetrics.Resource(), rMetrics)
+ }
+
+ var errs error
+ for pathSegment, rMetricsSlice := range groups {
+ metrics := pmetric.NewMetrics()
+ for _, rMetrics := range rMetricsSlice {
+ rMetrics.CopyTo(metrics.ResourceMetrics().AppendEmpty())
+ }
+
+ buf, err := e.marshaller.marshalMetrics(metrics)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ continue
+ }
+
+ err = e.write(ctx, pathSegment, buf)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ }
+ }
+
+ if errs != nil {
+ return consumererror.NewPermanent(errs)
+ }
+
+ return nil
+}
+
+func (e *groupingFileExporter) consumeLogs(ctx context.Context, ld plog.Logs) error {
+ if ld.ResourceLogs().Len() == 0 {
+ return nil
+ }
+
+ groups := make(map[string][]plog.ResourceLogs)
+
+ for i := 0; i < ld.ResourceLogs().Len(); i++ {
+ rLogs := ld.ResourceLogs().At(i)
+ group(e, groups, rLogs.Resource(), rLogs)
+ }
+
+ var errs error
+ for pathSegment, rLogsSlice := range groups {
+ logs := plog.NewLogs()
+ for _, rlogs := range rLogsSlice {
+ rlogs.CopyTo(logs.ResourceLogs().AppendEmpty())
+ }
+
+ buf, err := e.marshaller.marshalLogs(logs)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ continue
+ }
+
+ err = e.write(ctx, pathSegment, buf)
+ if err != nil {
+ errs = errors.Join(errs, err)
+ }
+ }
+
+ if errs != nil {
+ return consumererror.NewPermanent(errs)
+ }
+
+ return nil
+}
+
+func (e *groupingFileExporter) write(_ context.Context, pathSegment string, buf []byte) error {
+ writer, err := e.getWriter(pathSegment)
+ if err != nil {
+ return err
+ }
+
+ err = writer.export(buf)
+ if err != nil {
+ return err
+ }
+
+ return nil
+}
+
+func (e *groupingFileExporter) getWriter(pathSegment string) (*fileWriter, error) {
+ fullPath := e.fullPath(pathSegment)
+
+ e.mutex.Lock()
+ defer e.mutex.Unlock()
+
+ writer, ok := e.writers.Get(fullPath)
+ if ok {
+ return writer, nil
+ }
+
+ err := os.MkdirAll(path.Dir(fullPath), 0755)
+ if err != nil {
+ return nil, err
+ }
+
+ writer, err = e.newFileWriter(fullPath)
+ if err != nil {
+ return nil, err
+ }
+
+ e.writers.Add(fullPath, writer)
+
+ writer.start()
+
+ return writer, nil
+}
+
+func cleanPathPrefix(pathPrefix string) string {
+ cleaned := path.Clean(pathPrefix)
+ if strings.HasSuffix(pathPrefix, "/") && !strings.HasSuffix(cleaned, "/") {
+ return cleaned + "/"
+ }
+
+ return cleaned
+}
+
+func (e *groupingFileExporter) fullPath(pathSegment string) string {
+ if strings.HasPrefix(pathSegment, "./") {
+ pathSegment = pathSegment[1:]
+ } else if strings.HasPrefix(pathSegment, "../") {
+ pathSegment = pathSegment[2:]
+ }
+
+ fullPath := path.Clean(e.pathPrefix + pathSegment + e.pathSuffix)
+ if strings.HasPrefix(fullPath, e.pathPrefix) {
+ return fullPath
+ }
+
+ // avoid path traversal vulnerability
+ return path.Join(e.pathPrefix, path.Join("/", pathSegment+e.pathSuffix))
+}
+
+func (e *groupingFileExporter) onEvict(_ string, writer *fileWriter) {
+ err := writer.shutdown()
+ if err != nil {
+ e.logger.Warn("Failed to close file", zap.Error(err), zap.String("path", writer.path))
+ }
+}
+
+func group[T any](e *groupingFileExporter, groups map[string][]T, resource pcommon.Resource, resourceEntries T) {
+ var pathSegment string
+ v, ok := resource.Attributes().Get(e.attribute)
+ if ok {
+ if v.Type() == pcommon.ValueTypeStr {
+ pathSegment = v.Str()
+ } else {
+ ok = false
+ }
+ }
+
+ if !ok {
+ e.logger.Debug(fmt.Sprintf("Resource does not contain %s attribute, dropping it", e.attribute))
+ return
+ }
+
+ groups[pathSegment] = append(groups[pathSegment], resourceEntries)
+}
+
+// Start initializes and starts the exporter.
+func (e *groupingFileExporter) Start(context.Context, component.Host) error {
+ e.marshaller = newMarshaller(e.conf)
+ export := buildExportFunc(e.conf)
+
+ pathParts := strings.Split(e.conf.Path, "*")
+
+ e.pathPrefix = cleanPathPrefix(pathParts[0])
+ e.attribute = e.conf.GroupBy.ResourceAttribute
+ e.pathSuffix = pathParts[1]
+ e.maxOpenFiles = e.conf.GroupBy.MaxOpenFiles
+ e.newFileWriter = func(path string) (*fileWriter, error) {
+ return newFileWriter(path, e.conf.Append, nil, e.conf.FlushInterval, export)
+ }
+
+ writers, err := simplelru.NewLRU(e.conf.GroupBy.MaxOpenFiles, e.onEvict)
+ if err != nil {
+ return err
+ }
+
+ e.writers = writers
+
+ return nil
+}
+
+// Shutdown stops the exporter and is invoked during shutdown.
+// It stops flushes and closes all underlying writers.
+func (e *groupingFileExporter) Shutdown(context.Context) error {
+ e.mutex.Lock()
+ defer e.mutex.Unlock()
+
+ if e.writers == nil {
+ return nil
+ }
+
+ e.writers.Purge()
+ e.writers = nil
+
+ return nil
+}
diff --git a/exporter/fileexporter/grouping_file_exporter_test.go b/exporter/fileexporter/grouping_file_exporter_test.go
new file mode 100644
index 000000000000..53f1b06a7382
--- /dev/null
+++ b/exporter/fileexporter/grouping_file_exporter_test.go
@@ -0,0 +1,499 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+package fileexporter
+
+import (
+ "bufio"
+ "bytes"
+ "context"
+ "fmt"
+ "os"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/collector/component/componenttest"
+ "go.opentelemetry.io/collector/pdata/plog"
+ "go.opentelemetry.io/collector/pdata/pmetric"
+ "go.opentelemetry.io/collector/pdata/ptrace"
+ "go.uber.org/zap"
+ "go.uber.org/zap/zaptest/observer"
+
+ "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/testdata"
+)
+
+type testMarshaller struct {
+ content []byte
+}
+
+func (m *testMarshaller) MarshalTraces(ptrace.Traces) ([]byte, error) {
+ return m.content, nil
+}
+
+func (m *testMarshaller) MarshalLogs(plog.Logs) ([]byte, error) {
+ return m.content, nil
+}
+
+func (m *testMarshaller) MarshalMetrics(pmetric.Metrics) ([]byte, error) {
+ return m.content, nil
+}
+
+type groupingExporterTestCase struct {
+ name string
+ conf *Config
+ traceUnmarshaler ptrace.Unmarshaler
+ logUnmarshaler plog.Unmarshaler
+ metricUnmarshaler pmetric.Unmarshaler
+}
+
+func groupingExporterTestCases() []groupingExporterTestCase {
+ return []groupingExporterTestCase{
+ {
+ name: "json: default configuration",
+ conf: &Config{
+ FormatType: formatTypeJSON,
+ Rotation: &Rotation{MaxBackups: defaultMaxBackups},
+ GroupBy: &GroupBy{
+ Enabled: true,
+ // defaults:
+ ResourceAttribute: defaultResourceAttribute,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ },
+ },
+ traceUnmarshaler: &ptrace.JSONUnmarshaler{},
+ logUnmarshaler: &plog.JSONUnmarshaler{},
+ metricUnmarshaler: &pmetric.JSONUnmarshaler{},
+ },
+ {
+ name: "json: compression configuration",
+ conf: &Config{
+ FormatType: formatTypeJSON,
+ Compression: compressionZSTD,
+ Rotation: &Rotation{MaxBackups: defaultMaxBackups},
+ GroupBy: &GroupBy{
+ Enabled: true,
+ // defaults:
+ ResourceAttribute: defaultResourceAttribute,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ },
+ },
+ traceUnmarshaler: &ptrace.JSONUnmarshaler{},
+ logUnmarshaler: &plog.JSONUnmarshaler{},
+ metricUnmarshaler: &pmetric.JSONUnmarshaler{},
+ },
+ {
+ name: "Proto: default configuration",
+ conf: &Config{
+ FormatType: formatTypeProto,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ // defaults:
+ ResourceAttribute: defaultResourceAttribute,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ },
+ },
+ traceUnmarshaler: &ptrace.ProtoUnmarshaler{},
+ logUnmarshaler: &plog.ProtoUnmarshaler{},
+ metricUnmarshaler: &pmetric.ProtoUnmarshaler{},
+ },
+ {
+ name: "Proto: compression configuration",
+ conf: &Config{
+ FormatType: formatTypeProto,
+ Compression: compressionZSTD,
+ Rotation: &Rotation{MaxBackups: defaultMaxBackups},
+ GroupBy: &GroupBy{
+ Enabled: true,
+ // defaults:
+ ResourceAttribute: defaultResourceAttribute,
+ MaxOpenFiles: defaultMaxOpenFiles,
+ },
+ },
+ traceUnmarshaler: &ptrace.ProtoUnmarshaler{},
+ logUnmarshaler: &plog.ProtoUnmarshaler{},
+ metricUnmarshaler: &pmetric.ProtoUnmarshaler{},
+ },
+ {
+ name: "json: max_open_files=1",
+ conf: &Config{
+ FormatType: formatTypeJSON,
+ Rotation: &Rotation{MaxBackups: defaultMaxBackups},
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: 1,
+ // defaults:
+ ResourceAttribute: defaultResourceAttribute,
+ },
+ },
+ traceUnmarshaler: &ptrace.JSONUnmarshaler{},
+ logUnmarshaler: &plog.JSONUnmarshaler{},
+ metricUnmarshaler: &pmetric.JSONUnmarshaler{},
+ },
+ }
+}
+
+func TestGroupingFileTracesExporter(t *testing.T) {
+ for _, tt := range groupingExporterTestCases() {
+ t.Run(tt.name, func(t *testing.T) {
+ conf := tt.conf
+ tmpDir := t.TempDir()
+ conf.Path = tmpDir + "/*.log"
+ zapCore, logs := observer.New(zap.DebugLevel)
+ feI := newFileExporter(conf, zap.New(zapCore))
+ require.IsType(t, &groupingFileExporter{}, feI)
+ gfe := feI.(*groupingFileExporter)
+
+ testSpans := func() ptrace.Traces {
+ td := testdata.GenerateTracesTwoSpansSameResourceOneDifferent()
+ testdata.GenerateTracesOneSpan().ResourceSpans().At(0).CopyTo(td.ResourceSpans().AppendEmpty())
+ td.ResourceSpans().At(0).Resource().Attributes().PutStr("fileexporter.path_segment", "one")
+ td.ResourceSpans().At(1).Resource().Attributes().PutStr("fileexporter.path_segment", ".././two/two")
+ return td
+ }
+ td := testSpans()
+
+ assert.NoError(t, gfe.Start(context.Background(), componenttest.NewNopHost()))
+ require.NoError(t, gfe.consumeTraces(context.Background(), td))
+ assert.LessOrEqual(t, gfe.writers.Len(), conf.GroupBy.MaxOpenFiles)
+
+ assert.NoError(t, gfe.Shutdown(context.Background()))
+
+ // make sure the exporter did not modify any data
+ assert.Equal(t, testSpans(), td)
+
+ debugLogs := logs.FilterLevelExact(zap.DebugLevel)
+ assert.Equal(t, 1, debugLogs.Len())
+ assert.Equal(t, 0, logs.Len()-debugLogs.Len())
+
+ pathResourceSpans := map[string][]ptrace.ResourceSpans{
+ tmpDir + "/one.log": {td.ResourceSpans().At(0)},
+ tmpDir + "/two/two.log": {td.ResourceSpans().At(1)},
+ }
+
+ for path, wantResourceSpans := range pathResourceSpans {
+ fi, err := os.Open(path)
+ if len(wantResourceSpans) == 0 {
+ assert.Error(t, err)
+ continue
+ }
+ assert.NoError(t, err)
+ br := bufio.NewReader(fi)
+ for {
+ buf, isEnd, err := func() ([]byte, bool, error) {
+ if gfe.marshaller.formatType == formatTypeJSON && gfe.marshaller.compression == "" {
+ return readJSONMessage(br)
+ }
+ return readMessageFromStream(br)
+ }()
+ assert.NoError(t, err)
+ if isEnd {
+ break
+ }
+ decoder := buildUnCompressor(gfe.marshaller.compression)
+ buf, err = decoder(buf)
+ assert.NoError(t, err)
+ got, err := tt.traceUnmarshaler.UnmarshalTraces(buf)
+ assert.NoError(t, err)
+
+ gotResourceSpans := make([]ptrace.ResourceSpans, 0)
+ for i := 0; i < got.ResourceSpans().Len(); i++ {
+ gotResourceSpans = append(gotResourceSpans, got.ResourceSpans().At(i))
+ }
+
+ assert.EqualValues(t, wantResourceSpans, gotResourceSpans)
+ }
+ fi.Close()
+ }
+ })
+ }
+}
+
+func TestGroupingFileLogsExporter(t *testing.T) {
+ for _, tt := range groupingExporterTestCases() {
+ t.Run(tt.name, func(t *testing.T) {
+ conf := tt.conf
+ tmpDir := t.TempDir()
+ conf.Path = tmpDir + "/*.log"
+ zapCore, logs := observer.New(zap.DebugLevel)
+ feI := newFileExporter(conf, zap.New(zapCore))
+ require.IsType(t, &groupingFileExporter{}, feI)
+ gfe := feI.(*groupingFileExporter)
+
+ testLogs := func() plog.Logs {
+ td := testdata.GenerateLogsTwoLogRecordsSameResource()
+ testdata.GenerateLogsOneLogRecord().ResourceLogs().At(0).CopyTo(td.ResourceLogs().AppendEmpty())
+ testdata.GenerateLogsOneLogRecord().ResourceLogs().At(0).CopyTo(td.ResourceLogs().AppendEmpty())
+ td.ResourceLogs().At(0).Resource().Attributes().PutStr("fileexporter.path_segment", "one")
+ td.ResourceLogs().At(1).Resource().Attributes().PutStr("fileexporter.path_segment", ".././two/two")
+ return td
+ }
+ td := testLogs()
+
+ assert.NoError(t, gfe.Start(context.Background(), componenttest.NewNopHost()))
+ require.NoError(t, gfe.consumeLogs(context.Background(), td))
+ assert.LessOrEqual(t, gfe.writers.Len(), conf.GroupBy.MaxOpenFiles)
+
+ assert.NoError(t, gfe.Shutdown(context.Background()))
+
+ // make sure the exporter did not modify any data
+ assert.Equal(t, testLogs(), td)
+
+ debugLogs := logs.FilterLevelExact(zap.DebugLevel)
+ assert.Equal(t, 1, debugLogs.Len())
+ assert.Equal(t, 0, logs.Len()-debugLogs.Len())
+
+ pathResourceLogs := map[string][]plog.ResourceLogs{
+ tmpDir + "/one.log": {td.ResourceLogs().At(0)},
+ tmpDir + "/two/two.log": {td.ResourceLogs().At(1)},
+ }
+
+ for path, wantResourceLogs := range pathResourceLogs {
+ fi, err := os.Open(path)
+ if len(wantResourceLogs) == 0 {
+ assert.Error(t, err)
+ continue
+ }
+ assert.NoError(t, err)
+ br := bufio.NewReader(fi)
+ for {
+ buf, isEnd, err := func() ([]byte, bool, error) {
+ if gfe.marshaller.formatType == formatTypeJSON && gfe.marshaller.compression == "" {
+ return readJSONMessage(br)
+ }
+ return readMessageFromStream(br)
+ }()
+ assert.NoError(t, err)
+ if isEnd {
+ break
+ }
+ decoder := buildUnCompressor(gfe.marshaller.compression)
+ buf, err = decoder(buf)
+ assert.NoError(t, err)
+ got, err := tt.logUnmarshaler.UnmarshalLogs(buf)
+ assert.NoError(t, err)
+
+ gotResourceLogs := make([]plog.ResourceLogs, 0)
+ for i := 0; i < got.ResourceLogs().Len(); i++ {
+ gotResourceLogs = append(gotResourceLogs, got.ResourceLogs().At(i))
+ }
+
+ assert.EqualValues(t, wantResourceLogs, gotResourceLogs)
+ }
+ fi.Close()
+ }
+ })
+ }
+}
+
+func TestGroupingFileMetricsExporter(t *testing.T) {
+ for _, tt := range groupingExporterTestCases() {
+ t.Run(tt.name, func(t *testing.T) {
+ conf := tt.conf
+ tmpDir := t.TempDir()
+ conf.Path = tmpDir + "/*.log"
+
+ zapCore, logs := observer.New(zap.DebugLevel)
+ feI := newFileExporter(conf, zap.New(zapCore))
+ require.IsType(t, &groupingFileExporter{}, feI)
+ gfe := feI.(*groupingFileExporter)
+
+ testMetrics := func() pmetric.Metrics {
+ td := testdata.GenerateMetricsTwoMetrics()
+ testdata.GenerateMetricsOneCounterOneSummaryMetrics().ResourceMetrics().At(0).CopyTo(td.ResourceMetrics().AppendEmpty())
+ testdata.GenerateMetricsOneMetricNoAttributes().ResourceMetrics().At(0).CopyTo(td.ResourceMetrics().AppendEmpty())
+ td.ResourceMetrics().At(0).Resource().Attributes().PutStr("fileexporter.path_segment", "one")
+ td.ResourceMetrics().At(1).Resource().Attributes().PutStr("fileexporter.path_segment", ".././two/two")
+ return td
+ }
+ td := testMetrics()
+
+ assert.NoError(t, gfe.Start(context.Background(), componenttest.NewNopHost()))
+ require.NoError(t, gfe.consumeMetrics(context.Background(), td))
+ assert.LessOrEqual(t, gfe.writers.Len(), conf.GroupBy.MaxOpenFiles)
+
+ assert.NoError(t, gfe.Shutdown(context.Background()))
+
+ // make sure the exporter did not modify any data
+ assert.Equal(t, testMetrics(), td)
+
+ debugLogs := logs.FilterLevelExact(zap.DebugLevel)
+ assert.Equal(t, 1, debugLogs.Len())
+ assert.Equal(t, 0, logs.Len()-debugLogs.Len())
+
+ pathResourceMetrics := map[string][]pmetric.ResourceMetrics{
+ tmpDir + "/one.log": {td.ResourceMetrics().At(0)},
+ tmpDir + "/two/two.log": {td.ResourceMetrics().At(1)},
+ }
+
+ for path, wantResourceMetrics := range pathResourceMetrics {
+ fi, err := os.Open(path)
+ if len(wantResourceMetrics) == 0 {
+ assert.Error(t, err)
+ continue
+ }
+ assert.NoError(t, err)
+ br := bufio.NewReader(fi)
+ for {
+ buf, isEnd, err := func() ([]byte, bool, error) {
+ if gfe.marshaller.formatType == formatTypeJSON && gfe.marshaller.compression == "" {
+ return readJSONMessage(br)
+ }
+ return readMessageFromStream(br)
+ }()
+ assert.NoError(t, err)
+ if isEnd {
+ break
+ }
+ decoder := buildUnCompressor(gfe.marshaller.compression)
+ buf, err = decoder(buf)
+ assert.NoError(t, err)
+ got, err := tt.metricUnmarshaler.UnmarshalMetrics(buf)
+ assert.NoError(t, err)
+
+ gotResourceMetrics := make([]pmetric.ResourceMetrics, 0)
+ for i := 0; i < got.ResourceMetrics().Len(); i++ {
+ gotResourceMetrics = append(gotResourceMetrics, got.ResourceMetrics().At(i))
+ }
+
+ assert.EqualValues(t, wantResourceMetrics, gotResourceMetrics)
+ }
+ fi.Close()
+ }
+ })
+ }
+}
+
+func TestFullPath(t *testing.T) {
+ tests := []struct {
+ prefix string
+ pathSegment string
+ suffix string
+ want string
+ }{
+ // good actor
+ {prefix: "/", pathSegment: "filename", suffix: ".json", want: "/filename.json"},
+ {prefix: "/", pathSegment: "/dir/filename", suffix: ".json", want: "/dir/filename.json"},
+ {prefix: "/dir", pathSegment: "dirsuffix/filename", suffix: ".json", want: "/dirdirsuffix/filename.json"},
+ {prefix: "/dir", pathSegment: "/subdir/filename", suffix: ".json", want: "/dir/subdir/filename.json"},
+ {prefix: "/dir", pathSegment: "./filename", suffix: ".json", want: "/dir/filename.json"},
+ {prefix: "/dir", pathSegment: "/subdir/", suffix: "filename.json", want: "/dir/subdir/filename.json"},
+ {prefix: "/dir/", pathSegment: "subdir", suffix: "/filename.json", want: "/dir/subdir/filename.json"},
+ {prefix: "/dir", pathSegment: "", suffix: "filename.json", want: "/dirfilename.json"},
+ {prefix: "/dir/", pathSegment: "", suffix: "filename.json", want: "/dir/filename.json"},
+ {prefix: "/dir/", pathSegment: "subdir/strangebutok/../", suffix: "filename.json", want: "/dir/subdir/filename.json"},
+ {prefix: "/dir", pathSegment: "dirsuffix/strangebutok/../", suffix: "filename.json", want: "/dirdirsuffix/filename.json"},
+
+ // bad actor
+ {prefix: "/dir", pathSegment: "../etc/attack", suffix: ".json", want: "/dir/etc/attack.json"},
+ {prefix: "/dir", pathSegment: "../etc/attack", suffix: "/filename.json", want: "/dir/etc/attack/filename.json"},
+ {prefix: "/dir", pathSegment: "dirsuffix/../etc/attack", suffix: ".json", want: "/dir/etc/attack.json"},
+ {prefix: "/dir", pathSegment: "dirsuffix/../../etc/attack", suffix: ".json", want: "/dir/etc/attack.json"},
+ {prefix: "/dir", pathSegment: "dirsuffix/../../etc/attack", suffix: ".json", want: "/dir/etc/attack.json"},
+ }
+
+ for _, tc := range tests {
+ t.Run(fmt.Sprintf("%s + %s + %s", tc.prefix, tc.pathSegment, tc.suffix), func(t *testing.T) {
+ e := &groupingFileExporter{
+ pathPrefix: cleanPathPrefix(tc.prefix),
+ pathSuffix: tc.suffix,
+ }
+
+ assert.Equal(t, tc.want, e.fullPath(tc.pathSegment))
+ })
+ }
+}
+
+func BenchmarkExporters(b *testing.B) {
+ tests := []struct {
+ name string
+ conf *Config
+ }{
+ {
+ name: "default",
+ conf: &Config{
+ Path: tempFileName(b),
+ FormatType: formatTypeJSON,
+ },
+ },
+ {
+ name: "grouping, 100 writers",
+ conf: &Config{
+ Path: b.TempDir() + "/*",
+ FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: 100,
+ },
+ },
+ },
+ {
+ name: "grouping, 99 writers",
+ conf: &Config{
+ Path: b.TempDir() + "/*",
+ FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: 99,
+ },
+ },
+ },
+ {
+ name: "grouping, 1 writer",
+ conf: &Config{
+ Path: b.TempDir() + "/*",
+ FormatType: formatTypeJSON,
+ GroupBy: &GroupBy{
+ Enabled: true,
+ MaxOpenFiles: 1,
+ },
+ },
+ },
+ }
+
+ var traces []ptrace.Traces
+ var logs []plog.Logs
+ for i := 0; i < 100; i++ {
+ td := testdata.GenerateTracesTwoSpansSameResource()
+ td.ResourceSpans().At(0).Resource().Attributes().PutStr("fileexporter.path_segment", fmt.Sprintf("file%d", i))
+ traces = append(traces, td)
+
+ ld := testdata.GenerateLogsTwoLogRecordsSameResource()
+ ld.ResourceLogs().At(0).Resource().Attributes().PutStr("fileexporter.path_segment", fmt.Sprintf("file%d", i))
+ logs = append(logs, ld)
+ }
+ for _, tc := range tests {
+ fe := newFileExporter(tc.conf, zap.NewNop())
+
+ // remove marshaling time from the benchmark
+ tm := &testMarshaller{content: bytes.Repeat([]byte{'a'}, 512)}
+ marshaller := &marshaller{
+ tracesMarshaler: tm,
+ metricsMarshaler: tm,
+ logsMarshaler: tm,
+ compression: "",
+ compressor: noneCompress,
+ formatType: "test",
+ }
+ switch fExp := fe.(type) {
+ case *fileExporter:
+ fExp.marshaller = marshaller
+ case *groupingFileExporter:
+ fExp.marshaller = marshaller
+ }
+
+ require.NoError(b, fe.Start(context.Background(), componenttest.NewNopHost()))
+
+ b.Run(tc.name, func(b *testing.B) {
+ b.ReportAllocs()
+ b.ResetTimer()
+
+ ctx := context.Background()
+ for i := 0; i < b.N; i++ {
+ require.NoError(b, fe.consumeTraces(ctx, traces[i%len(traces)]))
+ require.NoError(b, fe.consumeLogs(ctx, logs[i%len(logs)]))
+ }
+ })
+
+ assert.NoError(b, fe.Shutdown(context.Background()))
+ }
+}
diff --git a/exporter/fileexporter/marshaller.go b/exporter/fileexporter/marshaller.go
index 1eabb80369e4..d45302d86aea 100644
--- a/exporter/fileexporter/marshaller.go
+++ b/exporter/fileexporter/marshaller.go
@@ -34,6 +34,17 @@ type marshaller struct {
formatType string
}
+func newMarshaller(conf *Config) *marshaller {
+ return &marshaller{
+ formatType: conf.FormatType,
+ tracesMarshaler: tracesMarshalers[conf.FormatType],
+ metricsMarshaler: metricsMarshalers[conf.FormatType],
+ logsMarshaler: logsMarshalers[conf.FormatType],
+ compression: conf.Compression,
+ compressor: buildCompressor(conf.Compression),
+ }
+}
+
func (m *marshaller) marshalTraces(td ptrace.Traces) ([]byte, error) {
buf, err := m.tracesMarshaler.MarshalTraces(td)
if err != nil {
diff --git a/exporter/fileexporter/testdata/config.yaml b/exporter/fileexporter/testdata/config.yaml
index cac55b48ae83..fd7b6445ad4f 100644
--- a/exporter/fileexporter/testdata/config.yaml
+++ b/exporter/fileexporter/testdata/config.yaml
@@ -55,3 +55,31 @@ file/flush_interval_500ms:
file/flush_interval_negative_value:
path: ./flushed
flush_interval: "-1s"
+
+file/group_by:
+ path: ./group_by/*.json
+ group_by:
+ enabled: true
+ resource_attribute: dummy
+ max_open_files: 10
+
+file/group_by_defaults:
+ path: ./group_by/*.json
+ group_by:
+ enabled: true
+
+file/group_by_invalid_path:
+ path: ./group_by_no_star
+ group_by:
+ enabled: true
+
+file/group_by_invalid_path2:
+ path: '*/./group_by'
+ group_by:
+ enabled: true
+
+file/group_by_empty_resource_attribute:
+ path: ./group_by/*.json
+ group_by:
+ enabled: true
+ resource_attribute: ""
From 0fe58966ca16a8c4d4e7c14c09e45031c9e8bfca Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 10:31:52 -0600
Subject: [PATCH 15/34] fix(deps): update module
github.com/open-telemetry/otel-arrow to v0.18.0 (#31711)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/otel-arrow](https://togithub.com/open-telemetry/otel-arrow)
| `v0.17.0` -> `v0.18.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fotel-arrow/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fotel-arrow/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fotel-arrow/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fotel-arrow/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
open-telemetry/otel-arrow
(github.com/open-telemetry/otel-arrow)
###
[`v0.18.0`](https://togithub.com/open-telemetry/otel-arrow/releases/tag/v0.18.0)
[Compare
Source](https://togithub.com/open-telemetry/otel-arrow/compare/v0.17.0...v0.18.0)
##### What's Changed
- Upgrade collector to v0.96.0 by
[@moh-osman3](https://togithub.com/moh-osman3) in
[https://github.com/open-telemetry/otel-arrow/pull/155](https://togithub.com/open-telemetry/otel-arrow/pull/155)
- Release otel-arrow v0.18.0 by
[@moh-osman3](https://togithub.com/moh-osman3) in
[https://github.com/open-telemetry/otel-arrow/pull/156](https://togithub.com/open-telemetry/otel-arrow/pull/156)
**Full Changelog**:
https://github.com/open-telemetry/otel-arrow/compare/v0.17.0...v0.18.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
exporter/otelarrowexporter/go.mod | 8 ++++----
exporter/otelarrowexporter/go.sum | 16 ++++++++--------
receiver/otelarrowreceiver/go.mod | 8 ++++----
receiver/otelarrowreceiver/go.sum | 16 ++++++++--------
4 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/exporter/otelarrowexporter/go.mod b/exporter/otelarrowexporter/go.mod
index f86a12068ba4..f9484f82f24a 100644
--- a/exporter/otelarrowexporter/go.mod
+++ b/exporter/otelarrowexporter/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/otelar
go 1.21
require (
- github.com/open-telemetry/otel-arrow v0.17.0
+ github.com/open-telemetry/otel-arrow v0.18.0
github.com/open-telemetry/otel-arrow/collector v0.17.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
@@ -39,7 +39,7 @@ require (
github.com/google/flatbuffers v23.5.26+incompatible // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
- github.com/klauspost/compress v1.17.5 // indirect
+ github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
@@ -75,8 +75,8 @@ require (
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.14.0 // indirect
- golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
+ golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otelarrowexporter/go.sum b/exporter/otelarrowexporter/go.sum
index aba07a5af91a..c3fcc18f1ea3 100644
--- a/exporter/otelarrowexporter/go.sum
+++ b/exporter/otelarrowexporter/go.sum
@@ -49,8 +49,8 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/klauspost/compress v1.17.5 h1:d4vBd+7CHydUqpFBgUEKkSdtSugf9YFmSkvUYPquI5E=
-github.com/klauspost/compress v1.17.5/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
+github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg=
+github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg=
github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
@@ -74,8 +74,8 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/mostynb/go-grpc-compression v1.2.2 h1:XaDbnRvt2+1vgr0b/l0qh4mJAfIxE0bKXtz2Znl3GGI=
github.com/mostynb/go-grpc-compression v1.2.2/go.mod h1:GOCr2KBxXcblCuczg3YdLQlcin1/NfyDA348ckuCH6w=
-github.com/open-telemetry/otel-arrow v0.17.0 h1:yYapoRCKGojEUSUZAT5oYEk1xKKIx0hqjhEriLQtlMs=
-github.com/open-telemetry/otel-arrow v0.17.0/go.mod h1:XexRufxOt/u17cyweDpw4uESrn/6eAA4CFCLoFdWVLY=
+github.com/open-telemetry/otel-arrow v0.18.0 h1:v3KH1HIpdXRy+V5awAmn2M+uthbE52Qi7svBYSweASI=
+github.com/open-telemetry/otel-arrow v0.18.0/go.mod h1:054cuTUlLVHH6Y//65bEPeMiHjYRs7DiX/el+yQbgYg=
github.com/open-telemetry/otel-arrow/collector v0.17.0 h1:yxgtbK7Tqy/XW0KGa3BSXkImLQlrZcHtjrOwWmrPcNc=
github.com/open-telemetry/otel-arrow/collector v0.17.0/go.mod h1:W+WMolLuMRCR9Us+ZPzNf5oUZb/1M5WRUql0o3sPP5k=
github.com/pierrec/lz4 v2.0.5+incompatible h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I=
@@ -203,14 +203,14 @@ 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=
-golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk=
-golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
+golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
+golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0=
gonum.org/v1/gonum v0.14.0/go.mod h1:AoWeoz0becf9QMWtE8iWXNXc27fK4fNeHNf/oMejGfU=
google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c h1:NUsgEN92SQQqzfA+YtqYNqYmB3DMMYLlIwUZAQFVFbo=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
diff --git a/receiver/otelarrowreceiver/go.mod b/receiver/otelarrowreceiver/go.mod
index 38787499ea7f..979db73ec37d 100644
--- a/receiver/otelarrowreceiver/go.mod
+++ b/receiver/otelarrowreceiver/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.96.0
- github.com/open-telemetry/otel-arrow v0.17.0
+ github.com/open-telemetry/otel-arrow v0.18.0
github.com/open-telemetry/otel-arrow/collector v0.17.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
@@ -42,7 +42,7 @@ require (
github.com/google/flatbuffers v23.5.26+incompatible // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
- github.com/klauspost/compress v1.17.5 // indirect
+ github.com/klauspost/compress v1.17.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
@@ -80,8 +80,8 @@ require (
golang.org/x/sys v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.14.0 // indirect
- golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
+ golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/otelarrowreceiver/go.sum b/receiver/otelarrowreceiver/go.sum
index efbe0f054d83..627cebc2160d 100644
--- a/receiver/otelarrowreceiver/go.sum
+++ b/receiver/otelarrowreceiver/go.sum
@@ -66,8 +66,8 @@ github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHm
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/klauspost/compress v1.17.5 h1:d4vBd+7CHydUqpFBgUEKkSdtSugf9YFmSkvUYPquI5E=
-github.com/klauspost/compress v1.17.5/go.mod h1:/dCuZOvVtNoHsyb+cuJD3itjs3NbnF6KH9zAO4BDxPM=
+github.com/klauspost/compress v1.17.7 h1:ehO88t2UGzQK66LMdE8tibEd1ErmzZjNEqWkjLAKQQg=
+github.com/klauspost/compress v1.17.7/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw=
github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg=
github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
@@ -94,8 +94,8 @@ github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjY
github.com/mostynb/go-grpc-compression v1.2.2 h1:XaDbnRvt2+1vgr0b/l0qh4mJAfIxE0bKXtz2Znl3GGI=
github.com/mostynb/go-grpc-compression v1.2.2/go.mod h1:GOCr2KBxXcblCuczg3YdLQlcin1/NfyDA348ckuCH6w=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
-github.com/open-telemetry/otel-arrow v0.17.0 h1:yYapoRCKGojEUSUZAT5oYEk1xKKIx0hqjhEriLQtlMs=
-github.com/open-telemetry/otel-arrow v0.17.0/go.mod h1:XexRufxOt/u17cyweDpw4uESrn/6eAA4CFCLoFdWVLY=
+github.com/open-telemetry/otel-arrow v0.18.0 h1:v3KH1HIpdXRy+V5awAmn2M+uthbE52Qi7svBYSweASI=
+github.com/open-telemetry/otel-arrow v0.18.0/go.mod h1:054cuTUlLVHH6Y//65bEPeMiHjYRs7DiX/el+yQbgYg=
github.com/open-telemetry/otel-arrow/collector v0.17.0 h1:yxgtbK7Tqy/XW0KGa3BSXkImLQlrZcHtjrOwWmrPcNc=
github.com/open-telemetry/otel-arrow/collector v0.17.0/go.mod h1:W+WMolLuMRCR9Us+ZPzNf5oUZb/1M5WRUql0o3sPP5k=
github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
@@ -238,8 +238,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=
-golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk=
-golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
+golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU=
+golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90=
gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo=
gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0=
gonum.org/v1/gonum v0.14.0 h1:2NiG67LD1tEH0D7kM+ps2V+fXmsAnpUeec7n8tcr4S0=
@@ -248,8 +248,8 @@ gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6d
gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc=
google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c h1:NUsgEN92SQQqzfA+YtqYNqYmB3DMMYLlIwUZAQFVFbo=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240221002015-b0ce06bbee7c/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
From d78008645f66b5f4837a6798d63c9bfe89126314 Mon Sep 17 00:00:00 2001
From: jason plumb <75337021+breedx-splk@users.noreply.github.com>
Date: Tue, 12 Mar 2024 09:39:12 -0700
Subject: [PATCH 16/34] Clarify attributes also use regex (#31496)
Disclaimer: I didn't actually manage find the place in the code where
this happens, so please pump the brakes if this is off-base/wrong.
The description of `match_type` for `regexp` does not mention
attributes, but the [example config in the
tests](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/testdata/config.yaml#L303)
looks like it uses regexp. This could lead a user to think that regex
cannot be used for attribute values when reading the docs here.
The docs around the attribute value also indicated "exact", which could
lead a user to believe that regex wasn't supported.
---
processor/attributesprocessor/README.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/processor/attributesprocessor/README.md b/processor/attributesprocessor/README.md
index de7b504b3361..e1f09e46a99a 100644
--- a/processor/attributesprocessor/README.md
+++ b/processor/attributesprocessor/README.md
@@ -213,8 +213,8 @@ attributes:
# It is supported to have more than one specified, but all of the specified
# conditions must evaluate to true for a match to occur.
- # match_type controls how items in "services" and "span_names" arrays are
- # interpreted. Possible values are "regexp" or "strict".
+ # match_type controls how items in "services", "span_names", and "attributes"
+ # arrays are interpreted. Possible values are "regexp" or "strict".
# This is a required field.
match_type: {strict, regexp}
@@ -284,12 +284,12 @@ attributes:
metric_names: [, ..., ]
# Attributes specifies the list of attributes to match against.
- # All of these attributes must match exactly for a match to occur.
+ # All of these attributes must match for a match to occur.
# This is an optional field.
attributes:
# Key specifies the attribute to match against.
- key:
- # Value specifies the exact value to match against.
+ # Value specifies the value to match against.
# If not specified, a match occurs if the key is present in the attributes.
value: {value}
```
From ff03a623f0e8f2f469ed93a0e888210a5982dbbb Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 10:10:44 -0700
Subject: [PATCH 17/34] fix(deps): update module github.com/vmware/govmomi to
v0.36.0 (#31715)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/vmware/govmomi](https://togithub.com/vmware/govmomi) |
`v0.35.0` -> `v0.36.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvmware%2fgovmomi/v0.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvmware%2fgovmomi/v0.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvmware%2fgovmomi/v0.35.0/v0.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvmware%2fgovmomi/v0.35.0/v0.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
vmware/govmomi (github.com/vmware/govmomi)
###
[`v0.36.0`](https://togithub.com/vmware/govmomi/blob/HEAD/CHANGELOG.md#Release-v0360)
[Compare
Source](https://togithub.com/vmware/govmomi/compare/v0.35.0...v0.36.0)
> Release Date: 2024-03-07
##### 🐞 Fix
- \[[`fd3840e`](https://togithub.com/vmware/govmomi/commit/fd3840e3)]
vcsim Fetch method causes runtime panic when property is not set
- \[[`4254c59`](https://togithub.com/vmware/govmomi/commit/4254c59c)]
Update summary.config.hwVersion in simulator
- \[[`44610f4`](https://togithub.com/vmware/govmomi/commit/44610f43)]
govc: use session KeepAlive in library.export command
##### 💫 `vcsim` (Simulator)
- \[[`c46ad1a`](https://togithub.com/vmware/govmomi/commit/c46ad1af)]
Enhanced sim support for upgrade VM
##### 🧹 Chore
- \[[`ef3a3d6`](https://togithub.com/vmware/govmomi/commit/ef3a3d62)]
Update version.go for v0.36.0
- \[[`01a069d`](https://togithub.com/vmware/govmomi/commit/01a069da)]
bump Go versions
- \[[`08d2fd0`](https://togithub.com/vmware/govmomi/commit/08d2fd0b)]
Better support for ESXi & HW versions
##### ⚠️ BREAKING
##### 📖 Commits
- \[[`ef3a3d6`](https://togithub.com/vmware/govmomi/commit/ef3a3d62)]
chore: Update version.go for v0.36.0
- \[[`89693ad`](https://togithub.com/vmware/govmomi/commit/89693ada)]
Updating CONTRIBUTORS
- \[[`fd3840e`](https://togithub.com/vmware/govmomi/commit/fd3840e3)]
fix: vcsim Fetch method causes runtime panic when property is not set
- \[[`7550554`](https://togithub.com/vmware/govmomi/commit/75505549)]
Add APIs for vLCM enablement on a cluster and base ESXi image selection
- \[[`01a069d`](https://togithub.com/vmware/govmomi/commit/01a069da)]
chore: bump Go versions
- \[[`7998478`](https://togithub.com/vmware/govmomi/commit/7998478a)]
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
- \[[`4ad8f68`](https://togithub.com/vmware/govmomi/commit/4ad8f689)]
Add API for vLCM - offline depots and cluster baseline images
- \[[`08d2fd0`](https://togithub.com/vmware/govmomi/commit/08d2fd0b)]
chore: Better support for ESXi & HW versions
- \[[`c46ad1a`](https://togithub.com/vmware/govmomi/commit/c46ad1af)]
vcsim: Enhanced sim support for upgrade VM
- \[[`4254c59`](https://togithub.com/vmware/govmomi/commit/4254c59c)]
fix: Update summary.config.hwVersion in simulator
- \[[`de2ce18`](https://togithub.com/vmware/govmomi/commit/de2ce182)]
test fixes
- \[[`44610f4`](https://togithub.com/vmware/govmomi/commit/44610f43)]
fix: govc: use session KeepAlive in library.export command
- \[[`4190715`](https://togithub.com/vmware/govmomi/commit/41907150)]
Add service locator to CNS RelocateVolume spec
- \[[`ef555e7`](https://togithub.com/vmware/govmomi/commit/ef555e78)]
Add "AggregatedSnapshotCapacityInMb" to CnsSnapshotCreateResult and
CnsSnapshotDeleteResult.
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 2 +-
cmd/configschema/go.sum | 4 ++--
cmd/otelcontribcol/go.mod | 2 +-
cmd/otelcontribcol/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
receiver/vcenterreceiver/go.mod | 2 +-
receiver/vcenterreceiver/go.sum | 4 ++--
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index 161aac25e34e..0aed5f18cb89 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -607,7 +607,7 @@ require (
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.35.0 // indirect
+ github.com/vmware/govmomi v0.36.0 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index 6b61814550f9..6c4668f16f00 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -1589,8 +1589,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.35.0 h1:vN6m2J5ezSJomSTHyKbvpfoEZTn2mGXWg2FFpjRTRp0=
-github.com/vmware/govmomi v0.35.0/go.mod h1:VvIo6siOYFKdF9eU7qrY9+j/F99DV/LtSgsOpxFXJAY=
+github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
+github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 1b85c001f789..0283b235c84f 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -639,7 +639,7 @@ require (
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852 // indirect
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.35.0 // indirect
+ github.com/vmware/govmomi v0.36.0 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 14fb9fa4b36c..4a0b1238dcdb 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -1587,8 +1587,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.35.0 h1:vN6m2J5ezSJomSTHyKbvpfoEZTn2mGXWg2FFpjRTRp0=
-github.com/vmware/govmomi v0.35.0/go.mod h1:VvIo6siOYFKdF9eU7qrY9+j/F99DV/LtSgsOpxFXJAY=
+github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
+github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/go.mod b/go.mod
index 0801b4843771..d7d3017bdbe1 100644
--- a/go.mod
+++ b/go.mod
@@ -609,7 +609,7 @@ require (
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.35.0 // indirect
+ github.com/vmware/govmomi v0.36.0 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/go.sum b/go.sum
index c3926d8a1531..cf2a0d83fa8d 100644
--- a/go.sum
+++ b/go.sum
@@ -1589,8 +1589,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.35.0 h1:vN6m2J5ezSJomSTHyKbvpfoEZTn2mGXWg2FFpjRTRp0=
-github.com/vmware/govmomi v0.35.0/go.mod h1:VvIo6siOYFKdF9eU7qrY9+j/F99DV/LtSgsOpxFXJAY=
+github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
+github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/receiver/vcenterreceiver/go.mod b/receiver/vcenterreceiver/go.mod
index 636a20e61409..f3c130351129 100644
--- a/receiver/vcenterreceiver/go.mod
+++ b/receiver/vcenterreceiver/go.mod
@@ -9,7 +9,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.96.0
github.com/stretchr/testify v1.9.0
- github.com/vmware/govmomi v0.35.0
+ github.com/vmware/govmomi v0.36.0
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configopaque v1.3.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configtls v0.96.1-0.20240306115632-b2693620eff6
diff --git a/receiver/vcenterreceiver/go.sum b/receiver/vcenterreceiver/go.sum
index aa4537c102ab..0d4188fdfc51 100644
--- a/receiver/vcenterreceiver/go.sum
+++ b/receiver/vcenterreceiver/go.sum
@@ -146,8 +146,8 @@ github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFA
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
-github.com/vmware/govmomi v0.35.0 h1:vN6m2J5ezSJomSTHyKbvpfoEZTn2mGXWg2FFpjRTRp0=
-github.com/vmware/govmomi v0.35.0/go.mod h1:VvIo6siOYFKdF9eU7qrY9+j/F99DV/LtSgsOpxFXJAY=
+github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
+github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw=
From c566a376258ef3bd09dfe91156474c90117c33b0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 10:11:35 -0700
Subject: [PATCH 18/34] fix(deps): update module github.com/prometheus/procfs
to v0.13.0 (#31714)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/prometheus/procfs](https://togithub.com/prometheus/procfs)
| `v0.12.0` -> `v0.13.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fprocfs/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fprocfs/v0.12.0/v0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
prometheus/procfs (github.com/prometheus/procfs)
###
[`v0.13.0`](https://togithub.com/prometheus/procfs/releases/tag/v0.13.0)
[Compare
Source](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.13.0)
#### What's Changed
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/578](https://togithub.com/prometheus/procfs/pull/578)
- fix(meminfo): account for optional unit field so values are accurate
by [@tjhop](https://togithub.com/tjhop) in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/584](https://togithub.com/prometheus/procfs/pull/584)
- Bump golang.org/x/sys from 0.12.0 to 0.13.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/583](https://togithub.com/prometheus/procfs/pull/583)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/586](https://togithub.com/prometheus/procfs/pull/586)
- Bump golang.org/x/sync from 0.3.0 to 0.5.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/587](https://togithub.com/prometheus/procfs/pull/587)
- Update crypto.go, fix incorrect spelling by
[@linuxgcc](https://togithub.com/linuxgcc) in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- Add udp drops by [@alebsys](https://togithub.com/alebsys) in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/590](https://togithub.com/prometheus/procfs/pull/590)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/595](https://togithub.com/prometheus/procfs/pull/595)
- meminfo: add Percpu field by
[@manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- Bump golang.org/x/sys from 0.13.0 to 0.15.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/593](https://togithub.com/prometheus/procfs/pull/593)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/596](https://togithub.com/prometheus/procfs/pull/596)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/598](https://togithub.com/prometheus/procfs/pull/598)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/600](https://togithub.com/prometheus/procfs/pull/600)
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/602](https://togithub.com/prometheus/procfs/pull/602)
- Bump golang.org/x/sys from 0.15.0 to 0.16.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/603](https://togithub.com/prometheus/procfs/pull/603)
- infiniband: support Intel irdma devices by
[@dswarbrick](https://togithub.com/dswarbrick) in
[https://github.com/prometheus/procfs/pull/605](https://togithub.com/prometheus/procfs/pull/605)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/604](https://togithub.com/prometheus/procfs/pull/604)
- golint: redundant type from array, slice, or map composite literal by
[@manas-rust](https://togithub.com/manas-rust) in
[https://github.com/prometheus/procfs/pull/601](https://togithub.com/prometheus/procfs/pull/601)
- feat: Add `/sys/fs/btrfs//commit_stats` statistics by
[@dongjiang1989](https://togithub.com/dongjiang1989) in
[https://github.com/prometheus/procfs/pull/580](https://togithub.com/prometheus/procfs/pull/580)
- Add support for guest_time and cguest_time stats. by
[@thomasbarrett](https://togithub.com/thomasbarrett) in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- Add `/sys/class/watchdog` statistics by
[@gavinkflam](https://togithub.com/gavinkflam) in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- Add support for for /proc/net/tls_data kTLS stats by
[@defect](https://togithub.com/defect) in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- Bump golang.org/x/sys from 0.16.0 to 0.17.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/606](https://togithub.com/prometheus/procfs/pull/606)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/608](https://togithub.com/prometheus/procfs/pull/608)
- chore: class_fibrechannel: support optional attributes by
[@machine424](https://togithub.com/machine424) in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/609](https://togithub.com/prometheus/procfs/pull/609)
- Synchronize common files from prometheus/prometheus by
[@prombot](https://togithub.com/prombot) in
[https://github.com/prometheus/procfs/pull/610](https://togithub.com/prometheus/procfs/pull/610)
- Bump golang.org/x/sys from 0.17.0 to 0.18.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/prometheus/procfs/pull/611](https://togithub.com/prometheus/procfs/pull/611)
#### New Contributors
- [@tjhop](https://togithub.com/tjhop) made their first
contribution in
[https://github.com/prometheus/procfs/pull/569](https://togithub.com/prometheus/procfs/pull/569)
- [@linuxgcc](https://togithub.com/linuxgcc) made their first
contribution in
[https://github.com/prometheus/procfs/pull/591](https://togithub.com/prometheus/procfs/pull/591)
- [@alebsys](https://togithub.com/alebsys) made their first
contribution in
[https://github.com/prometheus/procfs/pull/538](https://togithub.com/prometheus/procfs/pull/538)
- [@manas-rust](https://togithub.com/manas-rust) made their first
contribution in
[https://github.com/prometheus/procfs/pull/588](https://togithub.com/prometheus/procfs/pull/588)
- [@thomasbarrett](https://togithub.com/thomasbarrett) made their
first contribution in
[https://github.com/prometheus/procfs/pull/597](https://togithub.com/prometheus/procfs/pull/597)
- [@gavinkflam](https://togithub.com/gavinkflam) made their first
contribution in
[https://github.com/prometheus/procfs/pull/594](https://togithub.com/prometheus/procfs/pull/594)
- [@defect](https://togithub.com/defect) made their first
contribution in
[https://github.com/prometheus/procfs/pull/579](https://togithub.com/prometheus/procfs/pull/579)
- [@machine424](https://togithub.com/machine424) made their first
contribution in
[https://github.com/prometheus/procfs/pull/607](https://togithub.com/prometheus/procfs/pull/607)
**Full Changelog**:
https://github.com/prometheus/procfs/compare/v0.12.0...v0.13.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 2 +-
cmd/configschema/go.sum | 4 ++--
cmd/otelcontribcol/go.mod | 2 +-
cmd/otelcontribcol/go.sum | 4 ++--
connector/datadogconnector/go.mod | 2 +-
connector/datadogconnector/go.sum | 4 ++--
exporter/datadogexporter/go.mod | 2 +-
exporter/datadogexporter/go.sum | 4 ++--
exporter/datadogexporter/integrationtest/go.mod | 2 +-
exporter/datadogexporter/integrationtest/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
receiver/hostmetricsreceiver/go.mod | 2 +-
receiver/hostmetricsreceiver/go.sum | 4 ++--
14 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index 0aed5f18cb89..dedfa1b78c14 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -560,7 +560,7 @@ require (
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/redis/go-redis/v9 v9.5.1 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index 6c4668f16f00..8a3693a6dd25 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -1404,8 +1404,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 0283b235c84f..5645f8c204f5 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -591,7 +591,7 @@ require (
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/redis/go-redis/v9 v9.5.1 // indirect
github.com/relvacode/iso8601 v1.4.0 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 4a0b1238dcdb..ebcb264da49e 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -1404,8 +1404,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
diff --git a/connector/datadogconnector/go.mod b/connector/datadogconnector/go.mod
index 0c8cc0ef8fa0..5003eb474a1c 100644
--- a/connector/datadogconnector/go.mod
+++ b/connector/datadogconnector/go.mod
@@ -124,7 +124,7 @@ require (
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.48.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.2 // indirect
diff --git a/connector/datadogconnector/go.sum b/connector/datadogconnector/go.sum
index b3fbb5f6d2a1..3e14601f548a 100644
--- a/connector/datadogconnector/go.sum
+++ b/connector/datadogconnector/go.sum
@@ -513,8 +513,8 @@ github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSz
github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
diff --git a/exporter/datadogexporter/go.mod b/exporter/datadogexporter/go.mod
index 9834a3c90e49..64b4ce32df3a 100644
--- a/exporter/datadogexporter/go.mod
+++ b/exporter/datadogexporter/go.mod
@@ -213,7 +213,7 @@ require (
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.21 // indirect
diff --git a/exporter/datadogexporter/go.sum b/exporter/datadogexporter/go.sum
index 58998243b393..619d49e25afc 100644
--- a/exporter/datadogexporter/go.sum
+++ b/exporter/datadogexporter/go.sum
@@ -678,8 +678,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
diff --git a/exporter/datadogexporter/integrationtest/go.mod b/exporter/datadogexporter/integrationtest/go.mod
index 08e589f410eb..edafb4f4d6e7 100644
--- a/exporter/datadogexporter/integrationtest/go.mod
+++ b/exporter/datadogexporter/integrationtest/go.mod
@@ -128,7 +128,7 @@ require (
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.48.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.2 // indirect
diff --git a/exporter/datadogexporter/integrationtest/go.sum b/exporter/datadogexporter/integrationtest/go.sum
index b3fbb5f6d2a1..3e14601f548a 100644
--- a/exporter/datadogexporter/integrationtest/go.sum
+++ b/exporter/datadogexporter/integrationtest/go.sum
@@ -513,8 +513,8 @@ github.com/prometheus/common v0.48.0 h1:QO8U2CdOzSn1BBsmXJXduaaW+dY/5QLjfB8svtSz
github.com/prometheus/common v0.48.0/go.mod h1:0/KsvlIEfPQCQ5I2iNSAWKPZziNCvRs5EC6ILDTlAPc=
github.com/prometheus/common/sigv4 v0.1.0 h1:qoVebwtwwEhS85Czm2dSROY5fTo2PAPEVdDeppTwGX4=
github.com/prometheus/common/sigv4 v0.1.0/go.mod h1:2Jkxxk9yYvCkE5G1sQT7GuEXm57JrvHu9k5YwTjsNtI=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
diff --git a/go.mod b/go.mod
index d7d3017bdbe1..cdb0a043733b 100644
--- a/go.mod
+++ b/go.mod
@@ -559,7 +559,7 @@ require (
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.49.0 // indirect
github.com/prometheus/common/sigv4 v0.1.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.13.0 // indirect
github.com/prometheus/prometheus v0.48.1 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/redis/go-redis/v9 v9.5.1 // indirect
diff --git a/go.sum b/go.sum
index cf2a0d83fa8d..20c829ec12f5 100644
--- a/go.sum
+++ b/go.sum
@@ -1404,8 +1404,8 @@ github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsT
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/prometheus/prometheus v0.48.1 h1:CTszphSNTXkuCG6O0IfpKdHcJkvvnAAE1GbELKS+NFk=
github.com/prometheus/prometheus v0.48.1/go.mod h1:SRw624aMAxTfryAcP8rOjg4S/sHHaetx2lyJJ2nM83g=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
diff --git a/receiver/hostmetricsreceiver/go.mod b/receiver/hostmetricsreceiver/go.mod
index c96d82306b93..7080a26567c2 100644
--- a/receiver/hostmetricsreceiver/go.mod
+++ b/receiver/hostmetricsreceiver/go.mod
@@ -8,7 +8,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/filter v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.96.0
- github.com/prometheus/procfs v0.12.0
+ github.com/prometheus/procfs v0.13.0
github.com/shirou/gopsutil/v3 v3.24.2
github.com/stretchr/testify v1.9.0
github.com/yusufpapurcu/wmi v1.2.4
diff --git a/receiver/hostmetricsreceiver/go.sum b/receiver/hostmetricsreceiver/go.sum
index a7c868cbc548..87a9b7cf6f37 100644
--- a/receiver/hostmetricsreceiver/go.sum
+++ b/receiver/hostmetricsreceiver/go.sum
@@ -276,8 +276,8 @@ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
+github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
From c999301ecd3a2b2fc26a4a98d159558660700f2c Mon Sep 17 00:00:00 2001
From: Marc Pichler
Date: Tue, 12 Mar 2024 19:02:29 +0100
Subject: [PATCH 19/34] [processor/transform] use default unit in
extract_count_metric() (#31636)
**Description:**
The `transformprocessor` offers a function `extract_count_metric()`.
Currently this function copies over the `unit` from the original metric
to a new `count` metric. However, this unit is not applicable as the
value is a count of how many values were recorded in a Explicit
Bucket/Exponential Histogram or Summary.
Therefore this PR changes that function so that it adds the default unit
(`1`) to the extracted count metric instead.
**Link to tracking Issue:** #31575
**Testing:** Unit tests (updated)
**Documentation:** Added a changelog entry as the change is user-facing
(the unit of the emitted telemetry is changed)
---------
Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
---
.chloggen/fix_extract-count-default-unit.yaml | 29 +++++++++++++++++++
.../metrics/func_extract_count_metric.go | 3 +-
.../metrics/func_extract_count_metric_test.go | 6 ++++
.../internal/metrics/processor_test.go | 2 +-
4 files changed, 38 insertions(+), 2 deletions(-)
create mode 100644 .chloggen/fix_extract-count-default-unit.yaml
diff --git a/.chloggen/fix_extract-count-default-unit.yaml b/.chloggen/fix_extract-count-default-unit.yaml
new file mode 100644
index 000000000000..c24260ef8ad9
--- /dev/null
+++ b/.chloggen/fix_extract-count-default-unit.yaml
@@ -0,0 +1,29 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: "bug_fix"
+
+# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
+component: transformprocessor
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Change metric unit for metrics extracted with `extract_count_metric()` to be the default unit (`1`)
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [31575]
+
+# (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: |
+ The original metric `unit` does not apply to extracted `count` metrics the same way it does to `sum`, `min` or `max`.
+ Metrics extracted using `extract_count_metric()` now use the more appropriate default unit (`1`) instead.
+
+# 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: [user]
diff --git a/processor/transformprocessor/internal/metrics/func_extract_count_metric.go b/processor/transformprocessor/internal/metrics/func_extract_count_metric.go
index 789a6226beba..49c218f28c1a 100644
--- a/processor/transformprocessor/internal/metrics/func_extract_count_metric.go
+++ b/processor/transformprocessor/internal/metrics/func_extract_count_metric.go
@@ -44,7 +44,8 @@ func extractCountMetric(monotonic bool) (ottl.ExprFunc[ottlmetric.TransformConte
countMetric := pmetric.NewMetric()
countMetric.SetDescription(metric.Description())
countMetric.SetName(metric.Name() + "_count")
- countMetric.SetUnit(metric.Unit())
+ // Use the default unit as the original metric unit does not apply to the 'count' field
+ countMetric.SetUnit("1")
countMetric.SetEmptySum().SetAggregationTemporality(aggTemp)
countMetric.Sum().SetIsMonotonic(monotonic)
diff --git a/processor/transformprocessor/internal/metrics/func_extract_count_metric_test.go b/processor/transformprocessor/internal/metrics/func_extract_count_metric_test.go
index e1108fa20394..cf3c22d121f4 100644
--- a/processor/transformprocessor/internal/metrics/func_extract_count_metric_test.go
+++ b/processor/transformprocessor/internal/metrics/func_extract_count_metric_test.go
@@ -24,6 +24,7 @@ func Test_extractCountMetric(t *testing.T) {
histogramMetric := getTestHistogramMetric()
histogramMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
+ countMetric.SetUnit("1")
countMetric.SetEmptySum()
countMetric.Sum().SetAggregationTemporality(histogramMetric.Histogram().AggregationTemporality())
countMetric.Sum().SetIsMonotonic(false)
@@ -44,6 +45,7 @@ func Test_extractCountMetric(t *testing.T) {
histogramMetric := getTestHistogramMetric()
histogramMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
+ countMetric.SetUnit("1")
countMetric.SetEmptySum()
countMetric.Sum().SetAggregationTemporality(histogramMetric.Histogram().AggregationTemporality())
countMetric.Sum().SetIsMonotonic(true)
@@ -64,6 +66,7 @@ func Test_extractCountMetric(t *testing.T) {
expHistogramMetric := getTestExponentialHistogramMetric()
expHistogramMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
+ countMetric.SetUnit("1")
countMetric.SetEmptySum()
countMetric.Sum().SetAggregationTemporality(expHistogramMetric.ExponentialHistogram().AggregationTemporality())
countMetric.Sum().SetIsMonotonic(false)
@@ -85,6 +88,7 @@ func Test_extractCountMetric(t *testing.T) {
expHistogramMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
countMetric.SetEmptySum()
+ countMetric.SetUnit("1")
countMetric.Sum().SetAggregationTemporality(expHistogramMetric.ExponentialHistogram().AggregationTemporality())
countMetric.Sum().SetIsMonotonic(true)
@@ -105,6 +109,7 @@ func Test_extractCountMetric(t *testing.T) {
summaryMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
countMetric.SetEmptySum()
+ countMetric.SetUnit("1")
countMetric.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
countMetric.Sum().SetIsMonotonic(false)
@@ -125,6 +130,7 @@ func Test_extractCountMetric(t *testing.T) {
summaryMetric.CopyTo(metrics.AppendEmpty())
countMetric := metrics.AppendEmpty()
countMetric.SetEmptySum()
+ countMetric.SetUnit("1")
countMetric.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityCumulative)
countMetric.Sum().SetIsMonotonic(true)
diff --git a/processor/transformprocessor/internal/metrics/processor_test.go b/processor/transformprocessor/internal/metrics/processor_test.go
index 9edd4f0af691..912b69ed99f4 100644
--- a/processor/transformprocessor/internal/metrics/processor_test.go
+++ b/processor/transformprocessor/internal/metrics/processor_test.go
@@ -163,7 +163,7 @@ func Test_ProcessMetrics_MetricContext(t *testing.T) {
countMetric.SetName(histogramMetric.Name() + "_count")
countMetric.Sum().SetAggregationTemporality(pmetric.AggregationTemporalityDelta)
countMetric.Sum().SetIsMonotonic(true)
- countMetric.SetUnit(histogramMetric.Unit())
+ countMetric.SetUnit("1")
histogramDp0 := histogramMetric.Histogram().DataPoints().At(0)
countDp0 := countMetric.Sum().DataPoints().AppendEmpty()
From 3fecbcc21a97e6d2f693ff737b9918b7f837b6ca Mon Sep 17 00:00:00 2001
From: Matej Gera <38492574+matej-g@users.noreply.github.com>
Date: Tue, 12 Mar 2024 19:35:18 +0100
Subject: [PATCH 20/34] [connector/spanmetrics] Add feature to expire metrics
(#31106)
**Description:**
Adds a new feature to expire metrics that are considered stale. If no
new spans are received within given time frame, on the next export
cycle, the metrics are considered expired and will no longer be exported
by the `spanmetricsconnector`.
This intends to solve a situation where a service is no longer producing
spans (e.g. because it was removed), but the metrics for such spans keep
being produced indefinitely. See the linked issue for more details.
Feature can be configured by setting `metrics_expiration` option. The
current behavior (metrics never expire) is kept as the default.
**Link to tracking Issue:** #30559
**Testing:** Added unit tests and tested manually as well.
**Documentation:** Updated in-code documentation and README.
---------
Signed-off-by: Matej Gera
---
...panmetrics-feature-metrics-expiration.yaml | 27 ++
connector/spanmetricsconnector/README.md | 2 +
connector/spanmetricsconnector/config.go | 12 +
connector/spanmetricsconnector/config_test.go | 4 +
connector/spanmetricsconnector/connector.go | 29 +-
.../spanmetricsconnector/connector_test.go | 270 ++++++++++++------
.../internal/cache/cache.go | 5 +
.../spanmetricsconnector/testdata/config.yaml | 3 +
8 files changed, 265 insertions(+), 87 deletions(-)
create mode 100755 .chloggen/spanmetrics-feature-metrics-expiration.yaml
diff --git a/.chloggen/spanmetrics-feature-metrics-expiration.yaml b/.chloggen/spanmetrics-feature-metrics-expiration.yaml
new file mode 100755
index 000000000000..a97e768d2d0d
--- /dev/null
+++ b/.chloggen/spanmetrics-feature-metrics-expiration.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. filelogreceiver)
+component: spanmetricsconnector
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Add `metrics_expiration` option to enable expiration of metrics if spans are not received within a certain time frame.
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [30559]
+
+# (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: The feature can be configured by specifiying the desired duration in the `metrics_expiration` option. By default, the expiration is disabled (set to 0).
+
+# 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: [user]
diff --git a/connector/spanmetricsconnector/README.md b/connector/spanmetricsconnector/README.md
index 98414e7896c0..3c0773187d4d 100644
--- a/connector/spanmetricsconnector/README.md
+++ b/connector/spanmetricsconnector/README.md
@@ -117,6 +117,7 @@ The following settings can be optionally configured:
One of either `AGGREGATION_TEMPORALITY_CUMULATIVE` or `AGGREGATION_TEMPORALITY_DELTA`.
- `namespace`: Defines the namespace of the generated metrics. If `namespace` provided, generated metric name will be added `namespace.` prefix.
- `metrics_flush_interval` (default: `15s`): Defines the flush interval of the generated metrics.
+- `metrics_expiration` (default: `0`): Defines the expiration time as `time.Duration`, after which, if no new spans are received, metrics will no longer be exported. Setting to `0` means the metrics will never expire (default behavior).
- `exemplars`: Use to configure how to attach exemplars to histograms
- `enabled` (default: `false`): enabling will add spans as Exemplars.
- `events`: Use to configure the events metric.
@@ -154,6 +155,7 @@ connectors:
dimensions_cache_size: 1000
aggregation_temporality: "AGGREGATION_TEMPORALITY_CUMULATIVE"
metrics_flush_interval: 15s
+ metrics_expiration: 5m
events:
enabled: true
dimensions:
diff --git a/connector/spanmetricsconnector/config.go b/connector/spanmetricsconnector/config.go
index 66174e34fccb..c379a2c38fd9 100644
--- a/connector/spanmetricsconnector/config.go
+++ b/connector/spanmetricsconnector/config.go
@@ -67,6 +67,10 @@ type Config struct {
// MetricsEmitInterval is the time period between when metrics are flushed or emitted to the configured MetricsExporter.
MetricsFlushInterval time.Duration `mapstructure:"metrics_flush_interval"`
+ // MetricsExpiration is the time period after which, if no new spans are received, metrics are considered stale and will no longer be exported.
+ // Default value (0) means that the metrics will never expire.
+ MetricsExpiration time.Duration `mapstructure:"metrics_expiration"`
+
// Namespace is the namespace of the metrics emitted by the connector.
Namespace string `mapstructure:"namespace"`
@@ -127,6 +131,14 @@ func (c Config) Validate() error {
return errors.New("use either `explicit` or `exponential` buckets histogram")
}
+ if c.MetricsFlushInterval < 0 {
+ return fmt.Errorf("invalid metrics_flush_interval: %v, the duration should be positive", c.MetricsFlushInterval)
+ }
+
+ if c.MetricsExpiration < 0 {
+ return fmt.Errorf("invalid metrics_expiration: %v, the duration should be positive", c.MetricsExpiration)
+ }
+
return nil
}
diff --git a/connector/spanmetricsconnector/config_test.go b/connector/spanmetricsconnector/config_test.go
index 18458fc7cd98..97e5a2a15eea 100644
--- a/connector/spanmetricsconnector/config_test.go
+++ b/connector/spanmetricsconnector/config_test.go
@@ -88,6 +88,10 @@ func TestLoadConfig(t *testing.T) {
id: component.NewIDWithName(metadata.Type, "invalid_histogram_unit"),
errorMessage: "unknown Unit \"h\"",
},
+ {
+ id: component.NewIDWithName(metadata.Type, "invalid_metrics_expiration"),
+ errorMessage: "the duration should be positive",
+ },
{
id: component.NewIDWithName(metadata.Type, "exemplars_enabled"),
expected: &Config{
diff --git a/connector/spanmetricsconnector/connector.go b/connector/spanmetricsconnector/connector.go
index 5a001c42dd38..702c1f7319b4 100644
--- a/connector/spanmetricsconnector/connector.go
+++ b/connector/spanmetricsconnector/connector.go
@@ -81,6 +81,8 @@ type resourceMetrics struct {
attributes pcommon.Map
// startTimestamp captures when the first data points for this resource are recorded.
startTimestamp pcommon.Timestamp
+ // lastSeen captures when the last data points for this resource were recorded.
+ lastSeen time.Time
}
type dimension struct {
@@ -289,12 +291,25 @@ func (p *connectorImp) resetState() {
p.resourceMetrics.RemoveEvictedItems()
p.metricKeyToDimensions.RemoveEvictedItems()
- // Exemplars are only relevant to this batch of traces, so must be cleared within the lock
- if p.config.Histogram.Disable {
+ // If no histogram and no metrics expiration is configured, we can skip the remaining operations.
+ // Enabling either of these features requires to go over resource metrics and do operation on each.
+ if p.config.Histogram.Disable && p.config.MetricsExpiration == 0 {
return
}
- p.resourceMetrics.ForEach(func(_ resourceKey, m *resourceMetrics) {
- m.histograms.Reset(true)
+
+ now := time.Now()
+ p.resourceMetrics.ForEach(func(k resourceKey, m *resourceMetrics) {
+ // Exemplars are only relevant to this batch of traces, so must be cleared within the lock
+ if !p.config.Histogram.Disable {
+ m.histograms.Reset(true)
+ }
+
+ // If metrics expiration is configured, remove metrics that haven't been seen for longer than the expiration period.
+ if p.config.MetricsExpiration > 0 {
+ if now.Sub(m.lastSeen) >= p.config.MetricsExpiration {
+ p.resourceMetrics.Remove(k)
+ }
+ }
})
}
@@ -425,6 +440,12 @@ func (p *connectorImp) getOrCreateResourceMetrics(attr pcommon.Map) *resourceMet
}
p.resourceMetrics.Add(key, v)
}
+
+ // If expiration is enabled, track the last seen time.
+ if p.config.MetricsExpiration > 0 {
+ v.lastSeen = time.Now()
+ }
+
return v
}
diff --git a/connector/spanmetricsconnector/connector_test.go b/connector/spanmetricsconnector/connector_test.go
index 98a2377dfa80..669e14be02b2 100644
--- a/connector/spanmetricsconnector/connector_test.go
+++ b/connector/spanmetricsconnector/connector_test.go
@@ -452,6 +452,50 @@ func disabledHistogramsConfig() HistogramConfig {
}
}
+func newConnectorImp(defaultNullValue *string, histogramConfig func() HistogramConfig, exemplarsConfig func() ExemplarsConfig, eventsConfig func() EventsConfig, temporality string, expiration time.Duration, resourceMetricsKeyAttributes []string, excludedDimensions ...string) (*connectorImp, *clock.Mock, error) {
+ cfg := &Config{
+ AggregationTemporality: temporality,
+ Histogram: histogramConfig(),
+ Exemplars: exemplarsConfig(),
+ ExcludeDimensions: excludedDimensions,
+ DimensionsCacheSize: dimensionsCacheSize,
+ ResourceMetricsCacheSize: resourceMetricsCacheSize,
+ ResourceMetricsKeyAttributes: resourceMetricsKeyAttributes,
+ Dimensions: []Dimension{
+ // Set nil defaults to force a lookup for the attribute in the span.
+ {stringAttrName, nil},
+ {intAttrName, nil},
+ {doubleAttrName, nil},
+ {boolAttrName, nil},
+ {mapAttrName, nil},
+ {arrayAttrName, nil},
+ {nullAttrName, defaultNullValue},
+ // Add a default value for an attribute that doesn't exist in a span
+ {notInSpanAttrName0, stringp("defaultNotInSpanAttrVal")},
+ // Leave the default value unset to test that this dimension should not be added to the metric.
+ {notInSpanAttrName1, nil},
+ // Add a resource attribute to test "process" attributes like IP, host, region, cluster, etc.
+ {regionResourceAttrName, nil},
+ },
+ Events: eventsConfig(),
+ MetricsExpiration: expiration,
+ }
+
+ mockClock := clock.NewMock(time.Now())
+ ticker := mockClock.NewTicker(time.Nanosecond)
+
+ c, err := newConnector(zap.NewNop(), cfg, ticker)
+ if err != nil {
+ return nil, nil, err
+ }
+ c.metricsConsumer = consumertest.NewNop()
+ return c, mockClock, nil
+}
+
+func stringp(str string) *string {
+ return &str
+}
+
func TestBuildKeySameServiceNameCharSequence(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig().(*Config)
@@ -594,14 +638,14 @@ func TestConcurrentShutdown(t *testing.T) {
// Prepare
ctx := context.Background()
core, observedLogs := observer.New(zapcore.InfoLevel)
- logger := zap.New(core)
-
- mockClock := clock.NewMock(time.Now())
- ticker := mockClock.NewTicker(time.Nanosecond)
// Test
- p := newConnectorImp(t, new(consumertest.MetricsSink), nil, explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, logger, ticker)
- err := p.Start(ctx, componenttest.NewNopHost())
+ p, _, err := newConnectorImp(nil, explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
+ // Override the default no-op consumer and logger for testing.
+ p.metricsConsumer = new(consumertest.MetricsSink)
+ p.logger = zap.New(core)
+ err = p.Start(ctx, componenttest.NewNopHost())
require.NoError(t, err)
// Allow goroutines time to start.
@@ -629,11 +673,10 @@ func TestConcurrentShutdown(t *testing.T) {
return len(allLogs) > 0
}, time.Second, time.Millisecond*10)
- // Building spanmetrics connector...
// Starting spanmetricsconnector...
// Shutting down spanmetricsconnector...
// Stopping ticker.
- assert.Len(t, allLogs, 4)
+ assert.Len(t, allLogs, 3)
}
func TestConnectorCapabilities(t *testing.T) {
@@ -643,6 +686,7 @@ func TestConnectorCapabilities(t *testing.T) {
// Test
c, err := newConnector(zaptest.NewLogger(t), cfg, nil)
+ // Override the default no-op consumer for testing.
c.metricsConsumer = new(consumertest.MetricsSink)
assert.NoError(t, err)
caps := c.Capabilities()
@@ -674,16 +718,17 @@ func TestConsumeMetricsErrors(t *testing.T) {
logger := zap.New(core)
var wg sync.WaitGroup
- mcon := &errConsumer{
+ p, mockClock, err := newConnectorImp(nil, explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
+ // Override the default no-op consumer and logger for testing.
+ p.metricsConsumer = &errConsumer{
wg: &wg,
fakeErr: fakeErr,
}
- mockClock := clock.NewMock(time.Now())
- ticker := mockClock.NewTicker(time.Nanosecond)
- p := newConnectorImp(t, mcon, nil, explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, logger, ticker)
+ p.logger = logger
ctx := metadata.NewIncomingContext(context.Background(), nil)
- err := p.Start(ctx, componenttest.NewNopHost())
+ err = p.Start(ctx, componenttest.NewNopHost())
defer func() { sdErr := p.Shutdown(ctx); require.NoError(t, sdErr) }()
require.NoError(t, err)
@@ -838,14 +883,13 @@ func TestConsumeTraces(t *testing.T) {
// Prepare
mcon := &consumertest.MetricsSink{}
-
- mockClock := clock.NewMock(time.Now())
- ticker := mockClock.NewTicker(time.Nanosecond)
-
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), tc.histogramConfig, tc.exemplarConfig, disabledEventsConfig, tc.aggregationTemporality, []string{}, zaptest.NewLogger(t), ticker)
+ p, mockClock, err := newConnectorImp(stringp("defaultNullValue"), tc.histogramConfig, tc.exemplarConfig, disabledEventsConfig, tc.aggregationTemporality, 0, []string{})
+ require.NoError(t, err)
+ // Override the default no-op consumer with metrics sink for testing.
+ p.metricsConsumer = mcon
ctx := metadata.NewIncomingContext(context.Background(), nil)
- err := p.Start(ctx, componenttest.NewNopHost())
+ err = p.Start(ctx, componenttest.NewNopHost())
defer func() { sdErr := p.Shutdown(ctx); require.NoError(t, sdErr) }()
require.NoError(t, err)
@@ -866,9 +910,8 @@ func TestConsumeTraces(t *testing.T) {
}
func TestMetricKeyCache(t *testing.T) {
- mcon := consumertest.NewNop()
-
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(t), nil)
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
traces := buildSampleTrace()
// Test
@@ -877,7 +920,7 @@ func TestMetricKeyCache(t *testing.T) {
// 0 key was cached at beginning
assert.Zero(t, p.metricKeyToDimensions.Len())
- err := p.ConsumeTraces(ctx, traces)
+ err = p.ConsumeTraces(ctx, traces)
// Validate
require.NoError(t, err)
// 2 key was cached, 1 key was evicted and cleaned after the processing
@@ -896,9 +939,8 @@ func TestMetricKeyCache(t *testing.T) {
}
func TestResourceMetricsCache(t *testing.T) {
- mcon := consumertest.NewNop()
-
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(t), nil)
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
// Test
ctx := metadata.NewIncomingContext(context.Background(), nil)
@@ -906,7 +948,7 @@ func TestResourceMetricsCache(t *testing.T) {
// 0 resources in the beginning
assert.Zero(t, p.resourceMetrics.Len())
- err := p.ConsumeTraces(ctx, buildSampleTrace())
+ err = p.ConsumeTraces(ctx, buildSampleTrace())
// Validate
require.NoError(t, err)
assert.Equal(t, 2, p.resourceMetrics.Len())
@@ -933,14 +975,34 @@ func TestResourceMetricsCache(t *testing.T) {
assert.Equal(t, resourceMetricsCacheSize, p.resourceMetrics.Len())
}
-func TestResourceMetricsKeyAttributes(t *testing.T) {
- mcon := consumertest.NewNop()
+func TestResourceMetricsExpiration(t *testing.T) {
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 1*time.Millisecond, []string{})
+ require.NoError(t, err)
+
+ // Test
+ ctx := metadata.NewIncomingContext(context.Background(), nil)
+ // 0 resources in the beginning
+ assert.Zero(t, p.resourceMetrics.Len())
+
+ err = p.ConsumeTraces(ctx, buildSampleTrace())
+ // Validate
+ require.NoError(t, err)
+ assert.Equal(t, 2, p.resourceMetrics.Len())
+
+ // consume another batch of traces for the same resources
+ err = p.ConsumeTraces(ctx, buildSampleTrace())
+ require.NoError(t, err)
+ assert.Equal(t, 2, p.resourceMetrics.Len())
+}
+
+func TestResourceMetricsKeyAttributes(t *testing.T) {
resourceMetricsKeyAttributes := []string{
"service.name",
}
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, resourceMetricsKeyAttributes, zaptest.NewLogger(t), nil)
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, resourceMetricsKeyAttributes)
+ require.NoError(t, err)
// Test
ctx := metadata.NewIncomingContext(context.Background(), nil)
@@ -948,7 +1010,7 @@ func TestResourceMetricsKeyAttributes(t *testing.T) {
// 0 resources in the beginning
assert.Zero(t, p.resourceMetrics.Len())
- err := p.ConsumeTraces(ctx, buildSampleTrace())
+ err = p.ConsumeTraces(ctx, buildSampleTrace())
// Validate
require.NoError(t, err)
assert.Equal(t, 2, p.resourceMetrics.Len())
@@ -977,9 +1039,8 @@ func TestResourceMetricsKeyAttributes(t *testing.T) {
func BenchmarkConnectorConsumeTraces(b *testing.B) {
// Prepare
- mcon := consumertest.NewNop()
-
- conn := newConnectorImp(nil, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(b), nil)
+ conn, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(b, err)
traces := buildSampleTrace()
@@ -991,15 +1052,15 @@ func BenchmarkConnectorConsumeTraces(b *testing.B) {
}
func TestExcludeDimensionsConsumeTraces(t *testing.T) {
- mcon := consumertest.NewNop()
excludeDimensions := []string{"span.kind", "span.name", "totallyWrongNameDoesNotAffectAnything"}
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(t), nil, excludeDimensions...)
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{}, excludeDimensions...)
+ require.NoError(t, err)
traces := buildSampleTrace()
// Test
ctx := metadata.NewIncomingContext(context.Background(), nil)
- err := p.ConsumeTraces(ctx, traces)
+ err = p.ConsumeTraces(ctx, traces)
require.NoError(t, err)
metrics := p.buildMetrics()
@@ -1042,44 +1103,6 @@ func TestExcludeDimensionsConsumeTraces(t *testing.T) {
}
-func newConnectorImp(t *testing.T, mcon consumer.Metrics, defaultNullValue *string, histogramConfig func() HistogramConfig, exemplarsConfig func() ExemplarsConfig, eventsConfig func() EventsConfig, temporality string, resourceMetricsKeyAttributes []string, logger *zap.Logger, ticker *clock.Ticker, excludedDimensions ...string) *connectorImp {
-
- cfg := &Config{
- AggregationTemporality: temporality,
- Histogram: histogramConfig(),
- Exemplars: exemplarsConfig(),
- ExcludeDimensions: excludedDimensions,
- DimensionsCacheSize: dimensionsCacheSize,
- ResourceMetricsCacheSize: resourceMetricsCacheSize,
- ResourceMetricsKeyAttributes: resourceMetricsKeyAttributes,
- Dimensions: []Dimension{
- // Set nil defaults to force a lookup for the attribute in the span.
- {stringAttrName, nil},
- {intAttrName, nil},
- {doubleAttrName, nil},
- {boolAttrName, nil},
- {mapAttrName, nil},
- {arrayAttrName, nil},
- {nullAttrName, defaultNullValue},
- // Add a default value for an attribute that doesn't exist in a span
- {notInSpanAttrName0, stringp("defaultNotInSpanAttrVal")},
- // Leave the default value unset to test that this dimension should not be added to the metric.
- {notInSpanAttrName1, nil},
- // Add a resource attribute to test "process" attributes like IP, host, region, cluster, etc.
- {regionResourceAttrName, nil},
- },
- Events: eventsConfig(),
- }
- c, err := newConnector(logger, cfg, ticker)
- require.NoError(t, err)
- c.metricsConsumer = mcon
- return c
-}
-
-func stringp(str string) *string {
- return &str
-}
-
func TestConnectorConsumeTracesEvictedCacheKey(t *testing.T) {
// Prepare
traces0 := ptrace.NewTraces()
@@ -1159,14 +1182,14 @@ func TestConnectorConsumeTracesEvictedCacheKey(t *testing.T) {
var wg sync.WaitGroup
wg.Add(len(wantDataPointCounts))
- mockClock := clock.NewMock(time.Now())
- ticker := mockClock.NewTicker(time.Nanosecond)
-
// Note: default dimension key cache size is 2.
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(t), ticker)
+ p, mockClock, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
+ // Override the default no-op consumer with metrics sink for testing.
+ p.metricsConsumer = mcon
ctx := metadata.NewIncomingContext(context.Background(), nil)
- err := p.Start(ctx, componenttest.NewNopHost())
+ err = p.Start(ctx, componenttest.NewNopHost())
defer func() { sdErr := p.Shutdown(ctx); require.NoError(t, sdErr) }()
require.NoError(t, err)
@@ -1201,6 +1224,87 @@ func TestConnectorConsumeTracesEvictedCacheKey(t *testing.T) {
}
}
+func TestConnectorConsumeTracesExpiredMetrics(t *testing.T) {
+ // Prepare
+ traces0 := ptrace.NewTraces()
+
+ initServiceSpans(
+ serviceSpans{
+ serviceName: "service-a",
+ spans: []span{
+ {
+ name: "/ping",
+ kind: ptrace.SpanKindServer,
+ statusCode: ptrace.StatusCodeOk,
+ },
+ },
+ }, traces0.ResourceSpans().AppendEmpty())
+ initServiceSpans(
+ serviceSpans{
+ serviceName: "service-b",
+ spans: []span{
+ {
+ name: "/ping",
+ kind: ptrace.SpanKindServer,
+ statusCode: ptrace.StatusCodeError,
+ },
+ },
+ }, traces0.ResourceSpans().AppendEmpty())
+
+ traces1 := ptrace.NewTraces()
+
+ initServiceSpans(
+ serviceSpans{
+ serviceName: "service-x",
+ spans: []span{
+ {
+ name: "/ping",
+ kind: ptrace.SpanKindServer,
+ statusCode: ptrace.StatusCodeOk,
+ },
+ },
+ }, traces1.ResourceSpans().AppendEmpty())
+
+ mcon := &consumertest.MetricsSink{}
+
+ // Creating a connector with a very short metricsTTL to ensure that the metrics are expired.
+ p, mockClock, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, disabledExemplarsConfig, disabledEventsConfig, cumulative, 1*time.Nanosecond, []string{})
+ require.NoError(t, err)
+ // Override the default no-op consumer with metrics sink for testing.
+ p.metricsConsumer = mcon
+
+ ctx := metadata.NewIncomingContext(context.Background(), nil)
+ err = p.Start(ctx, componenttest.NewNopHost())
+ defer func() { sdErr := p.Shutdown(ctx); require.NoError(t, sdErr) }()
+ require.NoError(t, err)
+
+ // Test expiration by sending three batches of traces, with the second and third batch being identical.
+ // On firsts test run, we should see only data points for traces #0 (= 4 data points)
+ // On second test run, we want to see both data points for traces #0 and #1 (= 6 data points)
+ // On third test run, we want to see only data points for traces #1, since metrics for traces #0 should be expired (= 2 data points)
+ wantedDataPointCounts := []int{4, 6, 2}
+ for i, traces := range []ptrace.Traces{traces0, traces1, traces1} {
+ // Test
+ err = p.ConsumeTraces(ctx, traces)
+ require.NoError(t, err)
+
+ // Allow time for metrics aggregation to complete.
+ time.Sleep(time.Millisecond)
+
+ // Trigger flush.
+ mockClock.Add(time.Nanosecond)
+
+ // Allow time for metrics flush to complete.
+ time.Sleep(time.Millisecond)
+
+ // Verify.
+ require.Equal(t, wantedDataPointCounts[i], mcon.AllMetrics()[0].DataPointCount())
+
+ // Reset so we can verify the next set of metrics from scratch.
+ mcon.Reset()
+ }
+}
+
func TestBuildMetricName(t *testing.T) {
tests := []struct {
namespace string
@@ -1416,14 +1520,14 @@ func TestSpanMetrics_Events(t *testing.T) {
}
}
func TestExemplarsForSumMetrics(t *testing.T) {
- mcon := consumertest.NewNop()
- p := newConnectorImp(t, mcon, stringp("defaultNullValue"), explicitHistogramsConfig, enabledExemplarsConfig, enabledEventsConfig, cumulative, []string{}, zaptest.NewLogger(t), nil)
+ p, _, err := newConnectorImp(stringp("defaultNullValue"), explicitHistogramsConfig, enabledExemplarsConfig, enabledEventsConfig, cumulative, 0, []string{})
+ require.NoError(t, err)
traces := buildSampleTrace()
// Test
ctx := metadata.NewIncomingContext(context.Background(), nil)
- err := p.ConsumeTraces(ctx, traces)
+ err = p.ConsumeTraces(ctx, traces)
require.NoError(t, err)
metrics := p.buildMetrics()
diff --git a/connector/spanmetricsconnector/internal/cache/cache.go b/connector/spanmetricsconnector/internal/cache/cache.go
index 23513298339c..2559d42eadf7 100644
--- a/connector/spanmetricsconnector/internal/cache/cache.go
+++ b/connector/spanmetricsconnector/internal/cache/cache.go
@@ -64,6 +64,11 @@ func (c *Cache[K, V]) Get(key K) (V, bool) {
return val, ok
}
+// Remove removes a key from the cache if it exists.
+func (c *Cache[K, V]) Remove(key K) bool {
+ return c.lru.Remove(key)
+}
+
// Len returns the number of items in the cache.
func (c *Cache[K, V]) Len() int {
return c.lru.Len()
diff --git a/connector/spanmetricsconnector/testdata/config.yaml b/connector/spanmetricsconnector/testdata/config.yaml
index ae6faab493b9..31da9ccd4aa5 100644
--- a/connector/spanmetricsconnector/testdata/config.yaml
+++ b/connector/spanmetricsconnector/testdata/config.yaml
@@ -58,6 +58,9 @@ spanmetrics/invalid_histogram_unit:
histogram:
unit: "h"
+spanmetrics/invalid_metrics_expiration:
+ metrics_expiration: -20s
+
# exemplars enabled
spanmetrics/exemplars_enabled:
exemplars:
From d8f1fe70a1a63acf9a2ca802f410d3098729cd0e Mon Sep 17 00:00:00 2001
From: Jina Jain
Date: Tue, 12 Mar 2024 11:57:27 -0700
Subject: [PATCH 21/34] [processor/k8sattributes] Fixes running with
role/rolebinding (#31673)
**Description:**
This PR allows running the k8sattributes processor with a k8s
role/rolebinding. This can be useful for k8s users w/o access to create
clusterroles and want to enrich pods' telemetry within the scope of a
namespace only. The PR also adds more comprehensive e2e tests including
tests for different RBAC use cases to ensure any changes going forward
do not introduce RBAC incompatibility.
**Link to tracking Issue:**
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/14742
**Testing:**
Added e2e tests
**Documentation:**
Updated README
---
.chloggen/k8sattr-rbac.yaml | 27 +
internal/k8stest/client.go | 46 ++
internal/k8stest/go.mod | 12 +
internal/k8stest/go.sum | 22 +
internal/k8stest/k8s_collector.go | 12 +-
internal/k8stest/k8s_objects.go | 48 +-
internal/k8stest/k8s_telemetrygen.go | 30 +-
processor/k8sattributesprocessor/README.md | 49 +-
processor/k8sattributesprocessor/e2e_test.go | 712 +++++++++++++-----
.../internal/kube/client.go | 11 +-
.../clusterrbac/collector/clusterrole.yaml | 14 +
.../collector/clusterrolebinding.yaml | 12 +
.../collector/configmap.yaml | 4 +-
.../e2e/clusterrbac/collector/deployment.yaml | 59 ++
.../e2e/clusterrbac/collector/service.yaml | 16 +
.../clusterrbac/collector/serviceaccount.yaml | 5 +
.../testdata/e2e/clusterrbac/namespace.yaml | 6 +
.../telemetrygen/daemonset.yaml | 2 +-
.../clusterrbac/telemetrygen/deployment.yaml | 34 +
.../{ => clusterrbac}/telemetrygen/job.yaml | 2 +-
.../telemetrygen/statefulset.yaml | 2 +-
.../e2e/mixrbac/collector/clusterrole.yaml | 11 +
.../collector/clusterrolebinding.yaml | 2 +-
.../e2e/mixrbac/collector/configmap.yaml | 78 ++
.../{ => mixrbac}/collector/deployment.yaml | 2 +-
.../mixrbac/collector/role-workloadns.yaml | 12 +
.../collector/rolebinding-workloadns.yaml | 13 +
.../e2e/{ => mixrbac}/collector/service.yaml | 2 +-
.../collector/serviceaccount.yaml | 2 +-
.../e2e/mixrbac/otelcol-namespace.yaml | 6 +
.../telemetrygen/deployment.yaml | 2 +-
.../e2e/mixrbac/workload-namespace.yaml | 6 +
.../namespacedrbac/collector/configmap.yaml | 82 ++
.../namespacedrbac/collector/deployment.yaml | 65 ++
.../collector/role.yaml} | 5 +-
.../namespacedrbac/collector/rolebinding.yaml | 13 +
.../e2e/namespacedrbac/collector/service.yaml | 16 +
.../collector/serviceaccount.yaml | 5 +
.../e2e/namespacedrbac/namespace.yaml | 6 +
.../telemetrygen/deployment.yaml | 35 +
receiver/k8sclusterreceiver/e2e_test.go | 11 +-
receiver/k8sobjectsreceiver/e2e_test.go | 16 +-
receiver/kubeletstatsreceiver/e2e_test.go | 11 +-
43 files changed, 1259 insertions(+), 267 deletions(-)
create mode 100644 .chloggen/k8sattr-rbac.yaml
create mode 100644 internal/k8stest/client.go
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrole.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrolebinding.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => clusterrbac}/collector/configmap.yaml (95%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/deployment.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/service.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/serviceaccount.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/namespace.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => clusterrbac}/telemetrygen/daemonset.yaml (95%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/deployment.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => clusterrbac}/telemetrygen/job.yaml (94%)
rename processor/k8sattributesprocessor/testdata/e2e/{ => clusterrbac}/telemetrygen/statefulset.yaml (95%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrole.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => mixrbac}/collector/clusterrolebinding.yaml (86%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/configmap.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => mixrbac}/collector/deployment.yaml (97%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/role-workloadns.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/rolebinding-workloadns.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => mixrbac}/collector/service.yaml (89%)
rename processor/k8sattributesprocessor/testdata/e2e/{ => mixrbac}/collector/serviceaccount.yaml (64%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/otelcol-namespace.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{ => mixrbac}/telemetrygen/deployment.yaml (95%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/mixrbac/workload-namespace.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/configmap.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/deployment.yaml
rename processor/k8sattributesprocessor/testdata/e2e/{collector/clusterrole.yaml => namespacedrbac/collector/role.yaml} (74%)
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/rolebinding.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/service.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/serviceaccount.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/namespace.yaml
create mode 100644 processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/telemetrygen/deployment.yaml
diff --git a/.chloggen/k8sattr-rbac.yaml b/.chloggen/k8sattr-rbac.yaml
new file mode 100644
index 000000000000..24077d3a066e
--- /dev/null
+++ b/.chloggen/k8sattr-rbac.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: bug_fix
+
+# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
+component: processor/k8sattributes
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Allows k8sattributes processor to work with k8s role/rolebindings when filter::namespace is set.
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [14742]
+
+# (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: [user]
diff --git a/internal/k8stest/client.go b/internal/k8stest/client.go
new file mode 100644
index 000000000000..8481b37d62b9
--- /dev/null
+++ b/internal/k8stest/client.go
@@ -0,0 +1,46 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package k8stest // import "github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8stest"
+
+import (
+ "errors"
+ "fmt"
+
+ "k8s.io/client-go/discovery"
+ memory "k8s.io/client-go/discovery/cached"
+ "k8s.io/client-go/dynamic"
+ "k8s.io/client-go/restmapper"
+ "k8s.io/client-go/tools/clientcmd"
+)
+
+type K8sClient struct {
+ DynamicClient *dynamic.DynamicClient
+ DiscoveryClient *discovery.DiscoveryClient
+ Mapper *restmapper.DeferredDiscoveryRESTMapper
+}
+
+func NewK8sClient(kubeconfigPath string) (*K8sClient, error) {
+
+ if kubeconfigPath == "" {
+ return nil, errors.New("Please provide file path to load kubeconfig")
+ }
+ restConfig, err := clientcmd.BuildConfigFromFlags("", kubeconfigPath)
+ if err != nil {
+ return nil, fmt.Errorf("unable to load kubeconfig from %s: %w", kubeconfigPath, err)
+ }
+
+ dynamicClient, err := dynamic.NewForConfig(restConfig)
+ if err != nil {
+ return nil, fmt.Errorf("error creating dynamic client: %w", err)
+ }
+
+ discoveryClient, err := discovery.NewDiscoveryClientForConfig(restConfig)
+ if err != nil {
+ return nil, fmt.Errorf("error creating discovery client: %w", err)
+ }
+
+ mapper := restmapper.NewDeferredDiscoveryRESTMapper(memory.NewMemCacheClient(discoveryClient))
+ return &K8sClient{
+ DynamicClient: dynamicClient, DiscoveryClient: discoveryClient, Mapper: mapper}, nil
+}
diff --git a/internal/k8stest/go.mod b/internal/k8stest/go.mod
index 82bb6f7d7a7e..a2a5f70c2bba 100644
--- a/internal/k8stest/go.mod
+++ b/internal/k8stest/go.mod
@@ -16,19 +16,30 @@ require (
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
+ github.com/emicklei/go-restful/v3 v3.11.0 // indirect
github.com/go-logr/logr v1.3.0 // indirect
+ github.com/go-openapi/jsonpointer v0.19.6 // indirect
+ github.com/go-openapi/jsonreference v0.20.2 // indirect
+ github.com/go-openapi/swag v0.22.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.3 // indirect
+ github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/gofuzz v1.2.0 // indirect
+ github.com/google/uuid v1.3.0 // indirect
+ github.com/imdario/mergo v0.3.6 // indirect
+ github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
+ github.com/mailru/easyjson v0.7.7 // indirect
github.com/moby/term v0.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/morikuni/aec v1.0.0 // indirect
+ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.14.0 // indirect
@@ -44,6 +55,7 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
gotest.tools/v3 v3.4.0 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
+ k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
diff --git a/internal/k8stest/go.sum b/internal/k8stest/go.sum
index e3b9698a9e09..179a7abc467c 100644
--- a/internal/k8stest/go.sum
+++ b/internal/k8stest/go.sum
@@ -2,6 +2,7 @@ github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOEl
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow=
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
+github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -15,6 +16,8 @@ github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
github.com/emicklei/go-restful/v3 v3.11.0 h1:rAQeMHw1c7zTmncogyy8VvRZwtkmkZ4FxERmMY4rD+g=
github.com/emicklei/go-restful/v3 v3.11.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
+github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84=
+github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY=
github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE=
@@ -23,6 +26,8 @@ github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2Kv
github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k=
github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g=
github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
+github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
+github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -38,16 +43,23 @@ github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec=
+github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28=
+github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY=
github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
+github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
@@ -63,6 +75,10 @@ github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
+github.com/onsi/ginkgo/v2 v2.13.0 h1:0jY9lJquiL8fcf3M4LAXN5aMlS/b2BV86HFFPCPMgE4=
+github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xlT/ETL/o=
+github.com/onsi/gomega v1.29.0 h1:KIA/t2t5UBzoirT4H9tsML45GEbo3ouUnBHsCfD2tVg=
+github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
@@ -78,7 +94,12 @@ github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVs
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
+github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
+github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
+github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
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/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
@@ -144,6 +165,7 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
+gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o=
diff --git a/internal/k8stest/k8s_collector.go b/internal/k8stest/k8s_collector.go
index 0530e9caeac3..d607fd194e1a 100644
--- a/internal/k8stest/k8s_collector.go
+++ b/internal/k8stest/k8s_collector.go
@@ -18,11 +18,12 @@ import (
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
- "k8s.io/client-go/dynamic"
)
-func CreateCollectorObjects(t *testing.T, client *dynamic.DynamicClient, testID string) []*unstructured.Unstructured {
- manifestsDir := filepath.Join(".", "testdata", "e2e", "collector")
+func CreateCollectorObjects(t *testing.T, client *K8sClient, testID string, manifestsDir string) []*unstructured.Unstructured {
+ if manifestsDir == "" {
+ manifestsDir = filepath.Join(".", "testdata", "e2e", "collector")
+ }
manifestFiles, err := os.ReadDir(manifestsDir)
require.NoErrorf(t, err, "failed to read collector manifests directory %s", manifestsDir)
host := HostEndpoint(t)
@@ -35,6 +36,7 @@ func CreateCollectorObjects(t *testing.T, client *dynamic.DynamicClient, testID
require.NoError(t, tmpl.Execute(manifest, map[string]string{
"Name": "otelcol-" + testID,
"HostEndpoint": host,
+ "TestID": testID,
}))
obj, err := CreateObject(client, manifest.Bytes())
require.NoErrorf(t, err, "failed to create collector object from manifest %s", manifestFile.Name())
@@ -52,13 +54,13 @@ func CreateCollectorObjects(t *testing.T, client *dynamic.DynamicClient, testID
return createdObjs
}
-func WaitForCollectorToStart(t *testing.T, client *dynamic.DynamicClient, podNamespace string, podLabels map[string]any) {
+func WaitForCollectorToStart(t *testing.T, client *K8sClient, podNamespace string, podLabels map[string]any) {
podGVR := schema.GroupVersionResource{Version: "v1", Resource: "pods"}
listOptions := metav1.ListOptions{LabelSelector: SelectorFromMap(podLabels).String()}
podTimeoutMinutes := 3
t.Logf("waiting for collector pods to be ready")
require.Eventuallyf(t, func() bool {
- list, err := client.Resource(podGVR).Namespace(podNamespace).List(context.Background(), listOptions)
+ list, err := client.DynamicClient.Resource(podGVR).Namespace(podNamespace).List(context.Background(), listOptions)
require.NoError(t, err, "failed to list collector pods")
podsNotReady := len(list.Items)
if podsNotReady == 0 {
diff --git a/internal/k8stest/k8s_objects.go b/internal/k8stest/k8s_objects.go
index bbbff8d6e56b..bf4b559d0994 100644
--- a/internal/k8stest/k8s_objects.go
+++ b/internal/k8stest/k8s_objects.go
@@ -5,43 +5,51 @@ package k8stest // import "github.com/open-telemetry/opentelemetry-collector-con
import (
"context"
- "strings"
+ "k8s.io/apimachinery/pkg/api/meta"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
- "k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime/serializer/yaml"
"k8s.io/client-go/dynamic"
)
-func CreateObject(client *dynamic.DynamicClient, manifest []byte) (*unstructured.Unstructured, error) {
+func CreateObject(client *K8sClient, manifest []byte) (*unstructured.Unstructured, error) {
decoder := yaml.NewDecodingSerializer(unstructured.UnstructuredJSONScheme)
obj := &unstructured.Unstructured{}
_, gvk, err := decoder.Decode(manifest, nil, obj)
if err != nil {
return nil, err
}
- gvr := schema.GroupVersionResource{
- Group: gvk.Group,
- Version: gvk.Version,
- Resource: strings.ToLower(gvk.Kind + "s"),
+ gvr, err := client.Mapper.RESTMapping(gvk.GroupKind(), gvk.Version)
+ if err != nil {
+ return nil, err
}
- return client.Resource(gvr).Namespace(obj.GetNamespace()).Create(context.Background(), obj, metav1.CreateOptions{})
+ var resource dynamic.ResourceInterface
+ if gvr.Scope.Name() == meta.RESTScopeNameNamespace {
+ resource = client.DynamicClient.Resource(gvr.Resource).Namespace(obj.GetNamespace())
+ } else {
+ // cluster-scoped resources
+ resource = client.DynamicClient.Resource(gvr.Resource)
+ }
+
+ return resource.Create(context.Background(), obj, metav1.CreateOptions{})
}
-func DeleteObject(client *dynamic.DynamicClient, obj *unstructured.Unstructured) error {
+func DeleteObject(client *K8sClient, obj *unstructured.Unstructured) error {
gvk := obj.GroupVersionKind()
- gvr := schema.GroupVersionResource{
- Group: gvk.Group,
- Version: gvk.Version,
- Resource: strings.ToLower(gvk.Kind + "s"),
+ gvr, err := client.Mapper.RESTMapping(gvk.GroupKind(), gvk.Version)
+ if err != nil {
+ return err
}
-
- options := metav1.DeleteOptions{}
- policy := metav1.DeletePropagationBackground
- if gvk.Kind == "Job" {
- options.PropagationPolicy = &policy
+ var resource dynamic.ResourceInterface
+ if gvr.Scope.Name() == meta.RESTScopeNameNamespace {
+ resource = client.DynamicClient.Resource(gvr.Resource).Namespace(obj.GetNamespace())
+ } else {
+ // cluster-scoped resources
+ resource = client.DynamicClient.Resource(gvr.Resource)
}
-
- return client.Resource(gvr).Namespace(obj.GetNamespace()).Delete(context.Background(), obj.GetName(), options)
+ deletePolicy := metav1.DeletePropagationForeground
+ return resource.Delete(context.Background(), obj.GetName(), metav1.DeleteOptions{
+ PropagationPolicy: &deletePolicy,
+ })
}
diff --git a/internal/k8stest/k8s_telemetrygen.go b/internal/k8stest/k8s_telemetrygen.go
index e9aed1a856e0..c620d499a333 100644
--- a/internal/k8stest/k8s_telemetrygen.go
+++ b/internal/k8stest/k8s_telemetrygen.go
@@ -16,7 +16,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
"k8s.io/apimachinery/pkg/runtime/schema"
- "k8s.io/client-go/dynamic"
)
type TelemetrygenObjInfo struct {
@@ -26,26 +25,33 @@ type TelemetrygenObjInfo struct {
Workload string
}
-func CreateTelemetryGenObjects(t *testing.T, client *dynamic.DynamicClient, testID string) ([]*unstructured.Unstructured, []*TelemetrygenObjInfo) {
+type TelemetrygenCreateOpts struct {
+ TestID string
+ ManifestsDir string
+ OtlpEndpoint string
+ DataTypes []string
+}
+
+func CreateTelemetryGenObjects(t *testing.T, client *K8sClient, createOpts *TelemetrygenCreateOpts) ([]*unstructured.Unstructured, []*TelemetrygenObjInfo) {
telemetrygenObjInfos := make([]*TelemetrygenObjInfo, 0)
- manifestsDir := filepath.Join(".", "testdata", "e2e", "telemetrygen")
- manifestFiles, err := os.ReadDir(manifestsDir)
- require.NoErrorf(t, err, "failed to read telemetrygen manifests directory %s", manifestsDir)
+ manifestFiles, err := os.ReadDir(createOpts.ManifestsDir)
+ require.NoErrorf(t, err, "failed to read telemetrygen manifests directory %s", createOpts.ManifestsDir)
createdObjs := make([]*unstructured.Unstructured, 0, len(manifestFiles))
for _, manifestFile := range manifestFiles {
- tmpl := template.Must(template.New(manifestFile.Name()).ParseFiles(filepath.Join(manifestsDir, manifestFile.Name())))
- for _, dataType := range []string{"metrics", "logs", "traces"} {
+ tmpl := template.Must(template.New(manifestFile.Name()).ParseFiles(filepath.Join(createOpts.ManifestsDir, manifestFile.Name())))
+ for _, dataType := range createOpts.DataTypes {
manifest := &bytes.Buffer{}
require.NoError(t, tmpl.Execute(manifest, map[string]string{
- "Name": "telemetrygen-" + testID,
+ "Name": "telemetrygen-" + createOpts.TestID,
"DataType": dataType,
- "OTLPEndpoint": "otelcol-" + testID + ":4317",
+ "OTLPEndpoint": createOpts.OtlpEndpoint,
+ "TestID": createOpts.TestID,
}))
obj, err := CreateObject(client, manifest.Bytes())
require.NoErrorf(t, err, "failed to create telemetrygen object from manifest %s", manifestFile.Name())
selector := obj.Object["spec"].(map[string]any)["selector"]
telemetrygenObjInfos = append(telemetrygenObjInfos, &TelemetrygenObjInfo{
- Namespace: "default",
+ Namespace: obj.GetNamespace(),
PodLabelSelectors: selector.(map[string]any)["matchLabels"].(map[string]any),
DataType: dataType,
Workload: obj.GetKind(),
@@ -56,13 +62,13 @@ func CreateTelemetryGenObjects(t *testing.T, client *dynamic.DynamicClient, test
return createdObjs, telemetrygenObjInfos
}
-func WaitForTelemetryGenToStart(t *testing.T, client *dynamic.DynamicClient, podNamespace string, podLabels map[string]any, workload, dataType string) {
+func WaitForTelemetryGenToStart(t *testing.T, client *K8sClient, podNamespace string, podLabels map[string]any, workload, dataType string) {
podGVR := schema.GroupVersionResource{Version: "v1", Resource: "pods"}
listOptions := metav1.ListOptions{LabelSelector: SelectorFromMap(podLabels).String()}
podTimeoutMinutes := 3
var podPhase string
require.Eventually(t, func() bool {
- list, err := client.Resource(podGVR).Namespace(podNamespace).List(context.Background(), listOptions)
+ list, err := client.DynamicClient.Resource(podGVR).Namespace(podNamespace).List(context.Background(), listOptions)
require.NoError(t, err, "failed to list collector pods")
if len(list.Items) == 0 {
return false
diff --git a/processor/k8sattributesprocessor/README.md b/processor/k8sattributesprocessor/README.md
index edce0ed2461e..a2c21b8f9d90 100644
--- a/processor/k8sattributesprocessor/README.md
+++ b/processor/k8sattributesprocessor/README.md
@@ -159,7 +159,9 @@ k8sattributes/2:
## Role-based access control
-The k8sattributesprocessor needs `get`, `watch` and `list` permissions on both `pods` and `namespaces` resources, for all namespaces and pods included in the configured filters. Additionally, when using `k8s.deployment.uid` or `k8s.deployment.name` the processor also needs `get`, `watch` and `list` permissions for `replicasets` resources. When extracting metadatas from `node`, the processor needs `get`, `watch` and `list` permissions for `nodes` resources.
+## Cluster-scoped RBAC
+
+If you'd like to set up the k8sattributesprocessor to receive telemetry from across namespaces, it will need `get`, `watch` and `list` permissions on both `pods` and `namespaces` resources, for all namespaces and pods included in the configured filters. Additionally, when using `k8s.deployment.uid` or `k8s.deployment.name` the processor also needs `get`, `watch` and `list` permissions for `replicasets` resources. When extracting metadatas from `node`, the processor needs `get`, `watch` and `list` permissions for `nodes` resources.
Here is an example of a `ClusterRole` to give a `ServiceAccount` the necessary permissions for all pods, nodes, and namespaces in the cluster (replace `` with a namespace where collector is deployed):
@@ -199,6 +201,51 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
```
+### Namespace-scoped RBAC
+When running the k8sattributesprocessor to receive telemetry traffic from pods in a specific namespace, you can use a k8s `Role` and `Rolebinding` to provide collector access to query pods and replicasets in the namespace. This would require setting the `filter::namespace` config as shown below.
+```yaml
+k8sattributes:
+ filter:
+ namespace:
+```
+With the namespace filter set, the processor will only look up pods and replicasets in the selected namespace. Note that with just a role binding, the processor can not query metadata such as labels and annotations from k8s `nodes` and `namespaces` which are cluster-scoped objects. This also means that the processor can not set the value for `k8s.cluster.uid` attribute if enabled, since the `k8s.cluster.uid` attribute is set to the uid of the namespace `kube-system` which is not queryable with namespaced rbac.
+
+Example `Role` and `RoleBinding` to create in the namespace being watched.
+```yaml
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: otel-collector
+ namespace:
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ name: otel-collector
+ namespace:
+rules:
+- apiGroups: [""]
+ resources: ["pods"]
+ verbs: ["get", "watch", "list"]
+- apiGroups: ["apps"]
+ resources: ["replicasets"]
+ verbs: ["get", "list", "watch"]
+---
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: otel-collector
+ namespace:
+subjects:
+- kind: ServiceAccount
+ name: otel-collector
+ namespace:
+roleRef:
+ kind: Role
+ name: otel-collector
+ apiGroup: rbac.authorization.k8s.io
+```
+
## Deployment scenarios
The processor can be used in collectors deployed both as an agent (Kubernetes DaemonSet) or as a gateway (Kubernetes Deployment).
diff --git a/processor/k8sattributesprocessor/e2e_test.go b/processor/k8sattributesprocessor/e2e_test.go
index b80e9e38bf74..9057ce96c06f 100644
--- a/processor/k8sattributesprocessor/e2e_test.go
+++ b/processor/k8sattributesprocessor/e2e_test.go
@@ -8,6 +8,8 @@ package k8sattributesprocessor
import (
"context"
"fmt"
+ "os"
+ "path/filepath"
"regexp"
"testing"
"time"
@@ -22,8 +24,6 @@ import (
"go.opentelemetry.io/collector/receiver/otlpreceiver"
"go.opentelemetry.io/collector/receiver/receivertest"
"go.uber.org/multierr"
- "k8s.io/client-go/dynamic"
- "k8s.io/client-go/tools/clientcmd"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8stest"
)
@@ -32,10 +32,11 @@ const (
equal = iota
regex
exist
+ testKubeConfig = "/tmp/kube-config-otelcol-e2e-testing"
+ uidRe = "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"
+ startTimeRe = "^\\\\d{4}-\\\\d{2}-\\\\d{2}T\\\\d{2}%3A\\\\d{2}%3A\\\\d{2}(?:%2E\\\\d+)?[A-Z]?(?:[+.-](?:08%3A\\\\d{2}|\\\\d{2}[A-Z]))?$"
)
-const testKubeConfig = "/tmp/kube-config-otelcol-e2e-testing"
-
type expectedValue struct {
mode int
value string
@@ -48,20 +49,32 @@ func newExpectedValue(mode int, value string) *expectedValue {
}
}
-// TestE2E tests the k8s attributes processor with a real k8s cluster.
+// TestE2E_ClusterRBAC tests the k8s attributes processor in a k8s cluster with the collector's service account having
+// cluster-wide permissions to list/watch namespaces, nodes, pods and replicasets. The config in the test does not
+// set filter::namespace.
// The test requires a prebuilt otelcontribcol image uploaded to a kind k8s cluster defined in
// `/tmp/kube-config-otelcol-e2e-testing`. Run the following command prior to running the test locally:
//
// kind create cluster --kubeconfig=/tmp/kube-config-otelcol-e2e-testing
// make docker-otelcontribcol
// KUBECONFIG=/tmp/kube-config-otelcol-e2e-testing kind load docker-image otelcontribcol:latest
-func TestE2E(t *testing.T) {
+func TestE2E_ClusterRBAC(t *testing.T) {
+ testDir := filepath.Join("testdata", "e2e", "clusterrbac")
- kubeConfig, err := clientcmd.BuildConfigFromFlags("", testKubeConfig)
- require.NoError(t, err)
- dynamicClient, err := dynamic.NewForConfig(kubeConfig)
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
require.NoError(t, err)
+ nsFile := filepath.Join(testDir, "namespace.yaml")
+ buf, err := os.ReadFile(nsFile)
+ require.NoErrorf(t, err, "failed to read namespace object file %s", nsFile)
+ nsObj, err := k8stest.CreateObject(k8sClient, buf)
+ require.NoErrorf(t, err, "failed to create k8s namespace from file %s", nsFile)
+
+ testNs := nsObj.GetName()
+ defer func() {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, nsObj), "failed to delete namespace %s", testNs)
+ }()
+
metricsConsumer := new(consumertest.MetricsSink)
tracesConsumer := new(consumertest.TracesSink)
logsConsumer := new(consumertest.LogsSink)
@@ -69,16 +82,22 @@ func TestE2E(t *testing.T) {
defer shutdownSinks()
testID := uuid.NewString()[:8]
- collectorObjs := k8stest.CreateCollectorObjects(t, dynamicClient, testID)
- telemetryGenObjs, telemetryGenObjInfos := k8stest.CreateTelemetryGenObjects(t, dynamicClient, testID)
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, filepath.Join(testDir, "collector"))
+ createTeleOpts := &k8stest.TelemetrygenCreateOpts{
+ ManifestsDir: filepath.Join(testDir, "telemetrygen"),
+ TestID: testID,
+ OtlpEndpoint: fmt.Sprintf("otelcol-%s.%s:4317", testID, testNs),
+ DataTypes: []string{"metrics", "logs", "traces"},
+ }
+ telemetryGenObjs, telemetryGenObjInfos := k8stest.CreateTelemetryGenObjects(t, k8sClient, createTeleOpts)
defer func() {
for _, obj := range append(collectorObjs, telemetryGenObjs...) {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
}()
for _, info := range telemetryGenObjInfos {
- k8stest.WaitForTelemetryGenToStart(t, dynamicClient, info.Namespace, info.PodLabelSelectors, info.Workload, info.DataType)
+ k8stest.WaitForTelemetryGenToStart(t, k8sClient, info.Namespace, info.PodLabelSelectors, info.Workload, info.DataType)
}
wantEntries := 128 // Minimal number of metrics/traces/logs to wait for.
@@ -95,22 +114,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeTraces,
service: "test-traces-job",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-job-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-job"),
- "k8s.job.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "job"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-job"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-job-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-job"),
+ "k8s.job.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "job"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-job"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -118,22 +138,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeTraces,
service: "test-traces-statefulset",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset-0"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset"),
- "k8s.statefulset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset-0"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset"),
+ "k8s.statefulset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-statefulset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -141,23 +162,24 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeTraces,
service: "test-traces-deployment",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
- "k8s.deployment.uid": newExpectedValue(exist, ""),
- "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*"),
- "k8s.replicaset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
+ "k8s.deployment.uid": newExpectedValue(exist, ""),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -165,22 +187,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeTraces,
service: "test-traces-daemonset",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-daemonset-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-daemonset"),
- "k8s.daemonset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-daemonset"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-daemonset-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-daemonset"),
+ "k8s.daemonset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-daemonset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -188,22 +211,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeMetrics,
service: "test-metrics-job",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-job-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-job"),
- "k8s.job.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "job"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-job"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-job-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-job"),
+ "k8s.job.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "job"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-job"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -211,22 +235,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeMetrics,
service: "test-metrics-statefulset",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset-0"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset"),
- "k8s.statefulset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset-0"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset"),
+ "k8s.statefulset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-statefulset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -234,23 +259,24 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeMetrics,
service: "test-metrics-deployment",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
- "k8s.deployment.uid": newExpectedValue(exist, ""),
- "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*"),
- "k8s.replicaset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
+ "k8s.deployment.uid": newExpectedValue(exist, ""),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -258,22 +284,23 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeMetrics,
service: "test-metrics-daemonset",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-daemonset-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-daemonset"),
- "k8s.daemonset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-daemonset"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-daemonset-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-daemonset"),
+ "k8s.daemonset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-daemonset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
},
},
{
@@ -281,41 +308,208 @@ func TestE2E(t *testing.T) {
dataType: component.DataTypeLogs,
service: "test-logs-job",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-job-[a-z0-9]*"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-job-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-job"),
+ "k8s.job.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "job"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-job"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ },
+ },
+ {
+ name: "logs-statefulset",
+ dataType: component.DataTypeLogs,
+ service: "test-logs-statefulset",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset-0"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset"),
+ "k8s.statefulset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ },
+ },
+ {
+ name: "logs-deployment",
+ dataType: component.DataTypeLogs,
+ service: "test-logs-deployment",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
+ "k8s.deployment.uid": newExpectedValue(exist, ""),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ },
+ },
+ {
+ name: "logs-daemonset",
+ dataType: component.DataTypeLogs,
+ service: "test-logs-daemonset",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-daemonset-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, testNs),
+ "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-daemonset"),
+ "k8s.daemonset.uid": newExpectedValue(exist, ""),
+ "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-daemonset"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ },
+ },
+ }
+
+ for _, tc := range tcs {
+ t.Run(tc.name, func(t *testing.T) {
+ switch tc.dataType {
+ case component.DataTypeTraces:
+ scanTracesForAttributes(t, tracesConsumer, tc.service, tc.attrs)
+ case component.DataTypeMetrics:
+ scanMetricsForAttributes(t, metricsConsumer, tc.service, tc.attrs)
+ case component.DataTypeLogs:
+ scanLogsForAttributes(t, logsConsumer, tc.service, tc.attrs)
+ default:
+ t.Fatalf("unknown data type %s", tc.dataType)
+ }
+ })
+ }
+}
+
+// Test with `filter::namespace` set and only role binding to collector's SA. We can't get node and namespace labels/annotations.
+func TestE2E_NamespacedRBAC(t *testing.T) {
+ testDir := filepath.Join("testdata", "e2e", "namespacedrbac")
+
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
+ require.NoError(t, err)
+
+ nsFile := filepath.Join(testDir, "namespace.yaml")
+ buf, err := os.ReadFile(nsFile)
+ require.NoErrorf(t, err, "failed to read namespace object file %s", nsFile)
+ nsObj, err := k8stest.CreateObject(k8sClient, buf)
+ require.NoErrorf(t, err, "failed to create k8s namespace from file %s", nsFile)
+ nsName := nsObj.GetName()
+ defer func() {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, nsObj), "failed to delete namespace %s", nsName)
+ }()
+
+ metricsConsumer := new(consumertest.MetricsSink)
+ tracesConsumer := new(consumertest.TracesSink)
+ logsConsumer := new(consumertest.LogsSink)
+ shutdownSinks := startUpSinks(t, metricsConsumer, tracesConsumer, logsConsumer)
+ defer shutdownSinks()
+
+ testID := uuid.NewString()[:8]
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, filepath.Join(testDir, "collector"))
+ createTeleOpts := &k8stest.TelemetrygenCreateOpts{
+ ManifestsDir: filepath.Join(testDir, "telemetrygen"),
+ TestID: testID,
+ OtlpEndpoint: fmt.Sprintf("otelcol-%s.%s:4317", testID, nsName),
+ DataTypes: []string{"metrics", "logs", "traces"},
+ }
+ telemetryGenObjs, telemetryGenObjInfos := k8stest.CreateTelemetryGenObjects(t, k8sClient, createTeleOpts)
+ defer func() {
+ for _, obj := range append(collectorObjs, telemetryGenObjs...) {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
+ }
+ }()
+
+ for _, info := range telemetryGenObjInfos {
+ k8stest.WaitForTelemetryGenToStart(t, k8sClient, info.Namespace, info.PodLabelSelectors, info.Workload, info.DataType)
+ }
+
+ wantEntries := 20 // Minimal number of metrics/traces/logs to wait for.
+ waitForData(t, wantEntries, metricsConsumer, tracesConsumer, logsConsumer)
+
+ tcs := []struct {
+ name string
+ dataType component.DataType
+ service string
+ attrs map[string]*expectedValue
+ }{
+ {
+ name: "traces-deployment",
+ dataType: component.DataTypeTraces,
+ service: "test-traces-deployment",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*-[a-z0-9]*"),
"k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, startTimeRe),
"k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.job.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-job"),
- "k8s.job.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "job"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-job"),
+ "k8s.namespace.name": newExpectedValue(equal, nsName),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
"k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
"container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
"container.image.tag": newExpectedValue(equal, "latest"),
"container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
},
},
{
- name: "logs-statefulset",
- dataType: component.DataTypeLogs,
- service: "test-logs-statefulset",
+ name: "metrics-deployment",
+ dataType: component.DataTypeMetrics,
+ service: "test-metrics-deployment",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset-0"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*-[a-z0-9]*"),
"k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, startTimeRe),
"k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.statefulset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset"),
- "k8s.statefulset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "statefulset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-statefulset"),
+ "k8s.namespace.name": newExpectedValue(equal, nsName),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
"k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
"container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
"container.image.tag": newExpectedValue(equal, "latest"),
"container.id": newExpectedValue(exist, ""),
@@ -328,45 +522,183 @@ func TestE2E(t *testing.T) {
attrs: map[string]*expectedValue{
"k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*-[a-z0-9]*"),
"k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, startTimeRe),
"k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
+ "k8s.namespace.name": newExpectedValue(equal, nsName),
"k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
- "k8s.deployment.uid": newExpectedValue(exist, ""),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
"k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*"),
- "k8s.replicaset.uid": newExpectedValue(exist, ""),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
"k8s.annotations.workload": newExpectedValue(equal, "deployment"),
"k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
"k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
"container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
"container.image.tag": newExpectedValue(equal, "latest"),
"container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
},
},
+ }
+
+ for _, tc := range tcs {
+ t.Run(tc.name, func(t *testing.T) {
+ switch tc.dataType {
+ case component.DataTypeTraces:
+ scanTracesForAttributes(t, tracesConsumer, tc.service, tc.attrs)
+ case component.DataTypeMetrics:
+ scanMetricsForAttributes(t, metricsConsumer, tc.service, tc.attrs)
+ case component.DataTypeLogs:
+ scanLogsForAttributes(t, logsConsumer, tc.service, tc.attrs)
+ default:
+ t.Fatalf("unknown data type %s", tc.dataType)
+ }
+ })
+ }
+}
+
+// Test with `filter::namespace` set, role binding for namespace-scoped objects (pod, replicaset) and clusterrole
+// binding for node and namespace objects.
+func TestE2E_MixRBAC(t *testing.T) {
+ testDir := filepath.Join("testdata", "e2e", "mixrbac")
+
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
+ require.NoError(t, err)
+
+ metricsConsumer := new(consumertest.MetricsSink)
+ tracesConsumer := new(consumertest.TracesSink)
+ logsConsumer := new(consumertest.LogsSink)
+ shutdownSinks := startUpSinks(t, metricsConsumer, tracesConsumer, logsConsumer)
+ defer shutdownSinks()
+
+ var workloadNs, otelNs string
+ testID := uuid.NewString()[:8]
+ for i, nsManifest := range []string{filepath.Join(testDir, "otelcol-namespace.yaml"), filepath.Join(testDir, "workload-namespace.yaml")} {
+ buf, err := os.ReadFile(nsManifest)
+ require.NoErrorf(t, err, "failed to read namespace object file %s", nsManifest)
+ nsObj, err := k8stest.CreateObject(k8sClient, buf)
+ require.NoErrorf(t, err, "failed to create k8s namespace from file %s", nsManifest)
+ switch i {
+ case 0:
+ otelNs = nsObj.GetName()
+ case 1:
+ workloadNs = nsObj.GetName()
+ }
+
+ defer func() {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, nsObj), "failed to delete namespace %s", nsObj.GetName())
+ }()
+ }
+
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, filepath.Join(testDir, "collector"))
+ defer func() {
+ for _, obj := range collectorObjs {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
+ }
+ }()
+
+ createTeleOpts := &k8stest.TelemetrygenCreateOpts{
+ ManifestsDir: filepath.Join(testDir, "telemetrygen"),
+ TestID: testID,
+ OtlpEndpoint: fmt.Sprintf("otelcol-%s.%s:4317", testID, otelNs),
+ DataTypes: []string{"metrics", "logs", "traces"},
+ }
+
+ telemetryGenObjs, telemetryGenObjInfos := k8stest.CreateTelemetryGenObjects(t, k8sClient, createTeleOpts)
+ defer func() {
+ for _, obj := range telemetryGenObjs {
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
+ }
+ }()
+
+ for _, info := range telemetryGenObjInfos {
+ k8stest.WaitForTelemetryGenToStart(t, k8sClient, info.Namespace, info.PodLabelSelectors, info.Workload, info.DataType)
+ }
+
+ wantEntries := 20 // Minimal number of metrics/traces/logs to wait for.
+ waitForData(t, wantEntries, metricsConsumer, tracesConsumer, logsConsumer)
+
+ tcs := []struct {
+ name string
+ dataType component.DataType
+ service string
+ attrs map[string]*expectedValue
+ }{
{
- name: "logs-daemonset",
+ name: "traces-deployment",
+ dataType: component.DataTypeTraces,
+ service: "test-traces-deployment",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, workloadNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-traces-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-traces-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ },
+ },
+ {
+ name: "metrics-deployment",
+ dataType: component.DataTypeMetrics,
+ service: "test-metrics-deployment",
+ attrs: map[string]*expectedValue{
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, workloadNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-metrics-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-metrics-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
+ },
+ },
+ {
+ name: "logs-deployment",
dataType: component.DataTypeLogs,
- service: "test-logs-daemonset",
+ service: "test-logs-deployment",
attrs: map[string]*expectedValue{
- "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-daemonset-[a-z0-9]*"),
- "k8s.pod.ip": newExpectedValue(exist, ""),
- "k8s.pod.uid": newExpectedValue(exist, ""),
- "k8s.pod.start_time": newExpectedValue(exist, ""),
- "k8s.node.name": newExpectedValue(exist, ""),
- "k8s.namespace.name": newExpectedValue(equal, "default"),
- "k8s.daemonset.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-daemonset"),
- "k8s.daemonset.uid": newExpectedValue(exist, ""),
- "k8s.annotations.workload": newExpectedValue(equal, "daemonset"),
- "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-daemonset"),
- "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
- "k8s.cluster.uid": newExpectedValue(exist, ""),
- "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
- "container.image.tag": newExpectedValue(equal, "latest"),
- "container.id": newExpectedValue(exist, ""),
- "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.pod.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*-[a-z0-9]*"),
+ "k8s.pod.ip": newExpectedValue(exist, ""),
+ "k8s.pod.uid": newExpectedValue(regex, uidRe),
+ "k8s.pod.start_time": newExpectedValue(exist, ""),
+ "k8s.node.name": newExpectedValue(exist, ""),
+ "k8s.namespace.name": newExpectedValue(equal, workloadNs),
+ "k8s.deployment.name": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
+ "k8s.deployment.uid": newExpectedValue(regex, uidRe),
+ "k8s.replicaset.name": newExpectedValue(regex, "telemetrygen-"+testID+"-logs-deployment-[a-z0-9]*"),
+ "k8s.replicaset.uid": newExpectedValue(regex, uidRe),
+ "k8s.annotations.workload": newExpectedValue(equal, "deployment"),
+ "k8s.labels.app": newExpectedValue(equal, "telemetrygen-"+testID+"-logs-deployment"),
+ "k8s.container.name": newExpectedValue(equal, "telemetrygen"),
+ "container.image.name": newExpectedValue(equal, "ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen"),
+ "container.image.tag": newExpectedValue(equal, "latest"),
+ "container.id": newExpectedValue(exist, ""),
+ "k8s.namespace.labels.foons": newExpectedValue(equal, "barns"),
+ "k8s.node.labels.foo": newExpectedValue(equal, "too"),
+ "k8s.cluster.uid": newExpectedValue(regex, uidRe),
},
},
}
diff --git a/processor/k8sattributesprocessor/internal/kube/client.go b/processor/k8sattributesprocessor/internal/kube/client.go
index 805820d3ad4a..6364d46a4e4e 100644
--- a/processor/k8sattributesprocessor/internal/kube/client.go
+++ b/processor/k8sattributesprocessor/internal/kube/client.go
@@ -120,14 +120,17 @@ func New(logger *zap.Logger, apiCfg k8sconfig.APIConfig, rules ExtractionRules,
}
if newNamespaceInformer == nil {
- // if rules to extract metadata from namespace is configured use namespace shared informer containing
- // all namespaces including kube-system which contains cluster uid information (kube-system-uid)
- if c.extractNamespaceLabelsAnnotations() {
+ switch {
+ case c.extractNamespaceLabelsAnnotations():
+ // if rules to extract metadata from namespace is configured use namespace shared informer containing
+ // all namespaces including kube-system which contains cluster uid information (kube-system-uid)
newNamespaceInformer = newNamespaceSharedInformer
- } else {
+ case rules.ClusterUID:
// use kube-system shared informer to only watch kube-system namespace
// reducing overhead of watching all the namespaces
newNamespaceInformer = newKubeSystemSharedInformer
+ default:
+ newNamespaceInformer = NewNoOpInformer
}
}
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrole.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrole.yaml
new file mode 100644
index 000000000000..e93e29729996
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrole.yaml
@@ -0,0 +1,14 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
+metadata:
+ name: {{ .Name }}
+rules:
+ - apiGroups: [""]
+ resources: ["pods", "nodes"]
+ verbs: ["get", "watch", "list"]
+ - apiGroups: ["apps"]
+ resources: ["replicasets"]
+ verbs: ["get", "watch", "list"]
+ - apiGroups: [ "" ]
+ resources: ["namespaces"]
+ verbs: [ "get", "watch", "list" ]
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrolebinding.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrolebinding.yaml
new file mode 100644
index 000000000000..41b16aef0ead
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/clusterrolebinding.yaml
@@ -0,0 +1,12 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+ name: {{ .Name }}
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: ClusterRole
+ name: {{ .Name }}
+subjects:
+ - kind: ServiceAccount
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-clusterrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/configmap.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/configmap.yaml
similarity index 95%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/configmap.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/configmap.yaml
index e82cead3fdec..384903a4b1fd 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/configmap.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/configmap.yaml
@@ -2,7 +2,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Name }}-config
- namespace: default
+ namespace: e2ek8sattribute-clusterrbac
data:
relay: |
exporters:
@@ -25,6 +25,8 @@ data:
tag_name: k8s.labels.app
- from: node
key: foo
+ - from: namespace
+ key: foons
metadata:
- k8s.pod.name
- k8s.pod.start_time
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/deployment.yaml
new file mode 100644
index 000000000000..a2011605a3e0
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/deployment.yaml
@@ -0,0 +1,59 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-clusterrbac
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
+ spec:
+ serviceAccountName: {{ .Name }}
+ containers:
+ - name: opentelemetry-collector
+ command:
+ - /otelcontribcol
+ - --config=/conf/relay.yaml
+ image: "otelcontribcol:latest"
+ imagePullPolicy: Never
+ ports:
+ - name: otlp
+ containerPort: 4317
+ protocol: TCP
+ env:
+ - name: MY_POD_IP
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: status.podIP
+ livenessProbe:
+ httpGet:
+ path: /
+ port: 13133
+ initialDelaySeconds: 3
+ readinessProbe:
+ httpGet:
+ path: /
+ port: 13133
+ initialDelaySeconds: 3
+ resources:
+ limits:
+ cpu: 128m
+ memory: 256Mi
+ volumeMounts:
+ - mountPath: /conf
+ name: opentelemetry-collector-configmap
+ volumes:
+ - name: opentelemetry-collector-configmap
+ configMap:
+ name: {{ .Name }}-config
+ items:
+ - key: relay
+ path: relay.yaml
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/service.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/service.yaml
new file mode 100644
index 000000000000..2f4ae9540089
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-clusterrbac
+spec:
+ type: ClusterIP
+ ports:
+ - name: otlp
+ port: 4317
+ targetPort: 4317
+ protocol: TCP
+ appProtocol: grpc
+ selector:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/serviceaccount.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/serviceaccount.yaml
new file mode 100644
index 000000000000..21cde70461ce
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/collector/serviceaccount.yaml
@@ -0,0 +1,5 @@
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-clusterrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/namespace.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/namespace.yaml
new file mode 100644
index 000000000000..c5161a2e8dc3
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/namespace.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: e2ek8sattribute-clusterrbac
+ labels:
+ foons: barns
diff --git a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/daemonset.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/daemonset.yaml
similarity index 95%
rename from processor/k8sattributesprocessor/testdata/e2e/telemetrygen/daemonset.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/daemonset.yaml
index 9d8effb27124..4ac9fecf815e 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/daemonset.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/daemonset.yaml
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ .Name }}-{{ .DataType }}-daemonset
- namespace: default
+ namespace: e2ek8sattribute-clusterrbac
spec:
selector:
matchLabels:
diff --git a/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/deployment.yaml
new file mode 100644
index 000000000000..8344d9b8ad90
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/deployment.yaml
@@ -0,0 +1,34 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Name }}-{{ .DataType }}-deployment
+ namespace: e2ek8sattribute-clusterrbac
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: {{ .Name }}-{{ .DataType }}-deployment
+ template:
+ metadata:
+ annotations:
+ workload: deployment
+ labels:
+ app: {{ .Name }}-{{ .DataType }}-deployment
+ spec:
+ containers:
+ - command:
+ - /telemetrygen
+ - {{ .DataType }}
+ - --otlp-insecure
+ - --otlp-endpoint={{ .OTLPEndpoint }}
+ - --duration=36000s
+ - --rate=1
+ - --otlp-attributes=service.name="test-{{ .DataType }}-deployment"
+ - --otlp-attributes=k8s.container.name="telemetrygen"
+{{- if eq .DataType "traces" }}
+ - --status-code=
+{{- end }}
+ image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
+ imagePullPolicy: IfNotPresent
+ name: telemetrygen
+ restartPolicy: Always
diff --git a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/job.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/job.yaml
similarity index 94%
rename from processor/k8sattributesprocessor/testdata/e2e/telemetrygen/job.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/job.yaml
index dd0e9dcdf345..76a003ea9533 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/job.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/job.yaml
@@ -2,7 +2,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ .Name }}-{{ .DataType}}-job
- namespace: default
+ namespace: e2ek8sattribute-clusterrbac
spec:
template:
metadata:
diff --git a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/statefulset.yaml b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/statefulset.yaml
similarity index 95%
rename from processor/k8sattributesprocessor/testdata/e2e/telemetrygen/statefulset.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/statefulset.yaml
index 6dcb9a2739ae..4ef983a8a3ef 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/statefulset.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/clusterrbac/telemetrygen/statefulset.yaml
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
name: {{ .Name }}-{{ .DataType }}-statefulset
- namespace: default
+ namespace: e2ek8sattribute-clusterrbac
spec:
serviceName: {{ .Name }}-{{ .DataType }}-statefulset
replicas: 1
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrole.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrole.yaml
new file mode 100644
index 000000000000..536113c9c1a8
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrole.yaml
@@ -0,0 +1,11 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
+metadata:
+ name: {{ .Name }}
+rules:
+ - apiGroups: [ "" ]
+ resources: ["namespaces"]
+ verbs: [ "list", "get", "watch" ]
+ - apiGroups: [ "" ]
+ resources: ["nodes"]
+ verbs: [ "get", "watch", "list" ]
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/clusterrolebinding.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrolebinding.yaml
similarity index 86%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/clusterrolebinding.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrolebinding.yaml
index b792cc6309de..1f06e35fc54e 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/clusterrolebinding.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/clusterrolebinding.yaml
@@ -9,4 +9,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: {{ .Name }}
- namespace: default
+ namespace: e2ek8sattribute-mixrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/configmap.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/configmap.yaml
new file mode 100644
index 000000000000..33a368cf7bec
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/configmap.yaml
@@ -0,0 +1,78 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ .Name }}-config
+ namespace: e2ek8sattribute-mixrbac
+data:
+ relay: |
+ exporters:
+ otlp:
+ endpoint: {{ .HostEndpoint }}:4317
+ tls:
+ insecure: true
+ extensions:
+ health_check: {}
+ processors:
+ k8sattributes:
+ filter:
+ namespace: e2ek8sattribute-workloadns
+ extract:
+ annotations:
+ - from: pod
+ key: workload
+ tag_name: k8s.annotations.workload
+ labels:
+ - from: pod
+ key: app
+ tag_name: k8s.labels.app
+ - from: node
+ key: foo
+ - from: namespace
+ key: foons
+ metadata:
+ - k8s.pod.name
+ - k8s.pod.start_time
+ - k8s.pod.uid
+ - k8s.namespace.name
+ - k8s.deployment.name
+ - k8s.deployment.uid
+ - k8s.replicaset.name
+ - k8s.replicaset.uid
+ - k8s.node.name
+ - container.id
+ - container.image.name
+ - container.image.tag
+ - k8s.cluster.uid
+ pod_association:
+ - sources:
+ - from: connection
+ receivers:
+ otlp:
+ protocols:
+ grpc:
+ endpoint: ${env:MY_POD_IP}:4317
+ service:
+ extensions:
+ - health_check
+ pipelines:
+ metrics:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
+ traces:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
+ logs:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/deployment.yaml
similarity index 97%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/deployment.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/deployment.yaml
index 841c472b04f4..14860e9513fd 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/deployment.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Name }}
- namespace: default
+ namespace: e2ek8sattribute-mixrbac
spec:
replicas: 1
selector:
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/role-workloadns.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/role-workloadns.yaml
new file mode 100644
index 000000000000..70a16a2de0d5
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/role-workloadns.yaml
@@ -0,0 +1,12 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ name: otelcol-workloadns
+ namespace: e2ek8sattribute-workloadns
+rules:
+ - apiGroups: [""]
+ resources: ["pods"]
+ verbs: ["get", "watch", "list"]
+ - apiGroups: ["apps"]
+ resources: ["replicasets"]
+ verbs: ["get", "watch", "list"]
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/rolebinding-workloadns.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/rolebinding-workloadns.yaml
new file mode 100644
index 000000000000..3ece0171afdd
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/rolebinding-workloadns.yaml
@@ -0,0 +1,13 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: otelcol-workloadns
+ namespace: e2ek8sattribute-workloadns
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: otelcol-workloadns
+subjects:
+ - kind: ServiceAccount
+ name: otelcol-{{ .TestID }}
+ namespace: e2ek8sattribute-mixrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/service.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/service.yaml
similarity index 89%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/service.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/service.yaml
index 1bbfffb99197..fe014682fb8a 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/service.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/service.yaml
@@ -2,7 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Name }}
- namespace: default
+ namespace: e2ek8sattribute-mixrbac
spec:
type: ClusterIP
ports:
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/serviceaccount.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/serviceaccount.yaml
similarity index 64%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/serviceaccount.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/serviceaccount.yaml
index bdb3a8dd1b8f..e688469a9e49 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/serviceaccount.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/collector/serviceaccount.yaml
@@ -2,4 +2,4 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Name }}
- namespace: default
+ namespace: e2ek8sattribute-mixrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/otelcol-namespace.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/otelcol-namespace.yaml
new file mode 100644
index 000000000000..a43f6cae18d9
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/otelcol-namespace.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: e2ek8sattribute-mixrbac
+ labels:
+ foons: barns
diff --git a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/telemetrygen/deployment.yaml
similarity index 95%
rename from processor/k8sattributesprocessor/testdata/e2e/telemetrygen/deployment.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/mixrbac/telemetrygen/deployment.yaml
index bc31edac33ed..a09257347f5e 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/telemetrygen/deployment.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/telemetrygen/deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Name }}-{{ .DataType }}-deployment
- namespace: default
+ namespace: e2ek8sattribute-workloadns
spec:
replicas: 1
selector:
diff --git a/processor/k8sattributesprocessor/testdata/e2e/mixrbac/workload-namespace.yaml b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/workload-namespace.yaml
new file mode 100644
index 000000000000..4cf0a4a67531
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/mixrbac/workload-namespace.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: e2ek8sattribute-workloadns
+ labels:
+ foons: barns
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/configmap.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/configmap.yaml
new file mode 100644
index 000000000000..e8170c327bf5
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/configmap.yaml
@@ -0,0 +1,82 @@
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: {{ .Name }}-config
+ namespace: e2ek8sattribute-namespacedrbac
+data:
+ relay: |
+ exporters:
+ otlp:
+ endpoint: {{ .HostEndpoint }}:4317
+ tls:
+ insecure: true
+ extensions:
+ health_check: {}
+ processors:
+ k8sattributes:
+ filter:
+ namespace: e2ek8sattribute-namespacedrbac
+ node_from_env_var: MY_NODE_NAME
+ labels:
+ - key: component
+ value: telemetrygen
+ op: equals
+ fields:
+ - key: spec.restartPolicy
+ value: Never
+ op: not-equals
+ extract:
+ annotations:
+ - from: pod
+ key: workload
+ tag_name: k8s.annotations.workload
+ labels:
+ - from: pod
+ key: app
+ tag_name: k8s.labels.app
+ metadata:
+ - k8s.pod.name
+ - k8s.pod.start_time
+ - k8s.pod.uid
+ - k8s.namespace.name
+ - k8s.deployment.name
+ - k8s.deployment.uid
+ - k8s.replicaset.name
+ - k8s.replicaset.uid
+ - k8s.node.name
+ - container.id
+ - container.image.name
+ - container.image.tag
+ pod_association:
+ - sources:
+ - from: connection
+ receivers:
+ otlp:
+ protocols:
+ grpc:
+ endpoint: ${env:MY_POD_IP}:4317
+ service:
+ extensions:
+ - health_check
+ pipelines:
+ metrics:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
+ traces:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
+ logs:
+ exporters:
+ - otlp
+ processors:
+ - k8sattributes
+ receivers:
+ - otlp
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/deployment.yaml
new file mode 100644
index 000000000000..c4c54829bf68
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/deployment.yaml
@@ -0,0 +1,65 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
+ template:
+ metadata:
+ labels:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
+ spec:
+ serviceAccountName: {{ .Name }}
+ containers:
+ - name: opentelemetry-collector
+ command:
+ - /otelcontribcol
+ - --config=/conf/relay.yaml
+ - --feature-gates=k8sattr.rfc3339
+ image: "otelcontribcol:latest"
+ imagePullPolicy: Never
+ ports:
+ - name: otlp
+ containerPort: 4317
+ protocol: TCP
+ env:
+ - name: MY_POD_IP
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: status.podIP
+ - name: MY_NODE_NAME
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: spec.nodeName
+ livenessProbe:
+ httpGet:
+ path: /
+ port: 13133
+ initialDelaySeconds: 3
+ readinessProbe:
+ httpGet:
+ path: /
+ port: 13133
+ initialDelaySeconds: 3
+ resources:
+ limits:
+ cpu: 128m
+ memory: 256Mi
+ volumeMounts:
+ - mountPath: /conf
+ name: opentelemetry-collector-configmap
+ volumes:
+ - name: opentelemetry-collector-configmap
+ configMap:
+ name: {{ .Name }}-config
+ items:
+ - key: relay
+ path: relay.yaml
diff --git a/processor/k8sattributesprocessor/testdata/e2e/collector/clusterrole.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/role.yaml
similarity index 74%
rename from processor/k8sattributesprocessor/testdata/e2e/collector/clusterrole.yaml
rename to processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/role.yaml
index 5bc4bfb348ab..336174eda79b 100644
--- a/processor/k8sattributesprocessor/testdata/e2e/collector/clusterrole.yaml
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/role.yaml
@@ -1,10 +1,11 @@
apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
+kind: Role
metadata:
name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
rules:
- apiGroups: [""]
- resources: ["pods", "namespaces", "nodes"]
+ resources: ["pods"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/rolebinding.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/rolebinding.yaml
new file mode 100644
index 000000000000..fd39c71386ea
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/rolebinding.yaml
@@ -0,0 +1,13 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: RoleBinding
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
+roleRef:
+ apiGroup: rbac.authorization.k8s.io
+ kind: Role
+ name: {{ .Name }}
+subjects:
+ - kind: ServiceAccount
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/service.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/service.yaml
new file mode 100644
index 000000000000..9e83585a9058
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/service.yaml
@@ -0,0 +1,16 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
+spec:
+ type: ClusterIP
+ ports:
+ - name: otlp
+ port: 4317
+ targetPort: 4317
+ protocol: TCP
+ appProtocol: grpc
+ selector:
+ app.kubernetes.io/name: opentelemetry-collector
+ app.kubernetes.io/instance: {{ .Name }}
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/serviceaccount.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/serviceaccount.yaml
new file mode 100644
index 000000000000..8e707e5f3ff6
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/collector/serviceaccount.yaml
@@ -0,0 +1,5 @@
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ .Name }}
+ namespace: e2ek8sattribute-namespacedrbac
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/namespace.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/namespace.yaml
new file mode 100644
index 000000000000..baaecf01583a
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/namespace.yaml
@@ -0,0 +1,6 @@
+apiVersion: v1
+kind: Namespace
+metadata:
+ name: e2ek8sattribute-namespacedrbac
+ labels:
+ foons: barns
diff --git a/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/telemetrygen/deployment.yaml b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/telemetrygen/deployment.yaml
new file mode 100644
index 000000000000..fd56c39d4eff
--- /dev/null
+++ b/processor/k8sattributesprocessor/testdata/e2e/namespacedrbac/telemetrygen/deployment.yaml
@@ -0,0 +1,35 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: {{ .Name }}-{{ .DataType }}-deployment
+ namespace: e2ek8sattribute-namespacedrbac
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: {{ .Name }}-{{ .DataType }}-deployment
+ template:
+ metadata:
+ annotations:
+ workload: deployment
+ labels:
+ app: {{ .Name }}-{{ .DataType }}-deployment
+ component: telemetrygen
+ spec:
+ containers:
+ - command:
+ - /telemetrygen
+ - {{ .DataType }}
+ - --otlp-insecure
+ - --otlp-endpoint={{ .OTLPEndpoint }}
+ - --duration=36000s
+ - --rate=1
+ - --otlp-attributes=service.name="test-{{ .DataType }}-deployment"
+ - --otlp-attributes=k8s.container.name="telemetrygen"
+{{- if eq .DataType "traces" }}
+ - --status-code=
+{{- end }}
+ image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
+ imagePullPolicy: IfNotPresent
+ name: telemetrygen
+ restartPolicy: Always
diff --git a/receiver/k8sclusterreceiver/e2e_test.go b/receiver/k8sclusterreceiver/e2e_test.go
index 6530976d3461..fbe6aac0cd42 100644
--- a/receiver/k8sclusterreceiver/e2e_test.go
+++ b/receiver/k8sclusterreceiver/e2e_test.go
@@ -20,8 +20,6 @@ import (
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/receiver/otlpreceiver"
"go.opentelemetry.io/collector/receiver/receivertest"
- "k8s.io/client-go/dynamic"
- "k8s.io/client-go/tools/clientcmd"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8stest"
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden"
@@ -43,9 +41,8 @@ func TestE2E(t *testing.T) {
expectedFile := filepath.Join("testdata", "e2e", "expected.yaml")
expected, err := golden.ReadMetrics(expectedFile)
require.NoError(t, err)
- kubeConfig, err := clientcmd.BuildConfigFromFlags("", testKubeConfig)
- require.NoError(t, err)
- dynamicClient, err := dynamic.NewForConfig(kubeConfig)
+
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
require.NoError(t, err)
metricsConsumer := new(consumertest.MetricsSink)
@@ -53,11 +50,11 @@ func TestE2E(t *testing.T) {
defer shutdownSink()
testID := uuid.NewString()[:8]
- collectorObjs := k8stest.CreateCollectorObjects(t, dynamicClient, testID)
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, "")
defer func() {
for _, obj := range append(collectorObjs) {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
}()
diff --git a/receiver/k8sobjectsreceiver/e2e_test.go b/receiver/k8sobjectsreceiver/e2e_test.go
index e27c34acb179..c5df5472f01b 100644
--- a/receiver/k8sobjectsreceiver/e2e_test.go
+++ b/receiver/k8sobjectsreceiver/e2e_test.go
@@ -21,8 +21,6 @@ import (
"go.opentelemetry.io/collector/receiver/otlpreceiver"
"go.opentelemetry.io/collector/receiver/receivertest"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
- "k8s.io/client-go/dynamic"
- "k8s.io/client-go/tools/clientcmd"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8stest"
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden"
@@ -43,9 +41,7 @@ const (
func TestE2E(t *testing.T) {
- kubeConfig, err := clientcmd.BuildConfigFromFlags("", testKubeConfig)
- require.NoError(t, err)
- dynamicClient, err := dynamic.NewForConfig(kubeConfig)
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
require.NoError(t, err)
testID := uuid.NewString()[:8]
@@ -62,11 +58,11 @@ func TestE2E(t *testing.T) {
}()
// startup collector in k8s cluster
- collectorObjs := k8stest.CreateCollectorObjects(t, dynamicClient, testID)
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, "")
defer func() {
for _, obj := range collectorObjs {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
}()
@@ -125,18 +121,18 @@ func TestE2E(t *testing.T) {
for _, fileName := range tc.objectFileNames {
obj, err := os.ReadFile(filepath.Join(testObjectsDir, fileName))
require.NoErrorf(t, err, "failed to read object file %s", fileName)
- newObj, err := k8stest.CreateObject(dynamicClient, obj)
+ newObj, err := k8stest.CreateObject(k8sClient, obj)
require.NoErrorf(t, err, "failed to create k8s object from file %s", fileName)
testObjs = append(testObjs, newObj)
}
if tc.objectAction == createAndDelete {
for _, obj := range testObjs {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
} else {
defer func() {
for _, obj := range testObjs {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
}()
}
diff --git a/receiver/kubeletstatsreceiver/e2e_test.go b/receiver/kubeletstatsreceiver/e2e_test.go
index f8de3d0948a2..9d8c314524e4 100644
--- a/receiver/kubeletstatsreceiver/e2e_test.go
+++ b/receiver/kubeletstatsreceiver/e2e_test.go
@@ -19,8 +19,6 @@ import (
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/receiver/otlpreceiver"
"go.opentelemetry.io/collector/receiver/receivertest"
- "k8s.io/client-go/dynamic"
- "k8s.io/client-go/tools/clientcmd"
"github.com/open-telemetry/opentelemetry-collector-contrib/internal/k8stest"
"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden"
@@ -35,9 +33,8 @@ func TestE2E(t *testing.T) {
expectedFile := filepath.Join("testdata", "e2e", "expected.yaml")
expected, err := golden.ReadMetrics(expectedFile)
require.NoError(t, err)
- kubeConfig, err := clientcmd.BuildConfigFromFlags("", testKubeConfig)
- require.NoError(t, err)
- dynamicClient, err := dynamic.NewForConfig(kubeConfig)
+
+ k8sClient, err := k8stest.NewK8sClient(testKubeConfig)
require.NoError(t, err)
metricsConsumer := new(consumertest.MetricsSink)
@@ -45,11 +42,11 @@ func TestE2E(t *testing.T) {
defer shutdownSink()
testID := uuid.NewString()[:8]
- collectorObjs := k8stest.CreateCollectorObjects(t, dynamicClient, testID)
+ collectorObjs := k8stest.CreateCollectorObjects(t, k8sClient, testID, "")
defer func() {
for _, obj := range append(collectorObjs) {
- require.NoErrorf(t, k8stest.DeleteObject(dynamicClient, obj), "failed to delete object %s", obj.GetName())
+ require.NoErrorf(t, k8stest.DeleteObject(k8sClient, obj), "failed to delete object %s", obj.GetName())
}
}()
From bc9f3b731c9f1b476dd6046f740e65d9f6c59a57 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 12:12:02 -0700
Subject: [PATCH 22/34] fix(deps): update module github.com/vmware/govmomi to
v0.36.1 (#31720)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/vmware/govmomi](https://togithub.com/vmware/govmomi) |
`v0.36.0` -> `v0.36.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fvmware%2fgovmomi/v0.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fvmware%2fgovmomi/v0.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fvmware%2fgovmomi/v0.36.0/v0.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fvmware%2fgovmomi/v0.36.0/v0.36.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
vmware/govmomi (github.com/vmware/govmomi)
###
[`v0.36.1`](https://togithub.com/vmware/govmomi/releases/tag/v0.36.1)
[Compare
Source](https://togithub.com/vmware/govmomi/compare/v0.36.0...v0.36.1)
#### [Release
v0.36.1](https://togithub.com/vmware/govmomi/compare/v0.36.0...v0.36.1)
> Release Date: 2024-03-12
##### 🐞 Fix
- \[[`edf70dc`](https://togithub.com/vmware/govmomi/commit/edf70dc3)]
lookup client to use envoy sidecar url if enabled
##### 🧹 Chore
- \[[`cc533e4`](https://togithub.com/vmware/govmomi/commit/cc533e4b)]
Update version.go for v0.36.1
##### ⚠️ BREAKING
##### 📖 Commits
- \[[`cc533e4`](https://togithub.com/vmware/govmomi/commit/cc533e4b)]
chore: Update version.go for v0.36.1
- \[[`2799634`](https://togithub.com/vmware/govmomi/commit/27996347)]
Add support for SHA256 thumbprint based vCenter authentication
- \[[`edf70dc`](https://togithub.com/vmware/govmomi/commit/edf70dc3)]
fix: lookup client to use envoy sidecar url if enabled
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 2 +-
cmd/configschema/go.sum | 4 ++--
cmd/otelcontribcol/go.mod | 2 +-
cmd/otelcontribcol/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
receiver/vcenterreceiver/go.mod | 2 +-
receiver/vcenterreceiver/go.sum | 4 ++--
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index dedfa1b78c14..a5a91797c5ce 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -607,7 +607,7 @@ require (
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.36.0 // indirect
+ github.com/vmware/govmomi v0.36.1 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index 8a3693a6dd25..bf15da2cb9cc 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -1589,8 +1589,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
-github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
+github.com/vmware/govmomi v0.36.1 h1:+E/nlfteQ8JvC0xhuKAfpnMsuIeGeGj7rJwqENUcWm8=
+github.com/vmware/govmomi v0.36.1/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index 5645f8c204f5..ce2a056ee3fe 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -639,7 +639,7 @@ require (
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852 // indirect
github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.36.0 // indirect
+ github.com/vmware/govmomi v0.36.1 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index ebcb264da49e..46305f8696d4 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -1587,8 +1587,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
-github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
+github.com/vmware/govmomi v0.36.1 h1:+E/nlfteQ8JvC0xhuKAfpnMsuIeGeGj7rJwqENUcWm8=
+github.com/vmware/govmomi v0.36.1/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/go.mod b/go.mod
index cdb0a043733b..6a74bcc1a139 100644
--- a/go.mod
+++ b/go.mod
@@ -609,7 +609,7 @@ require (
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f // indirect
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e // indirect
- github.com/vmware/govmomi v0.36.0 // indirect
+ github.com/vmware/govmomi v0.36.1 // indirect
github.com/vultr/govultr/v2 v2.17.2 // indirect
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
diff --git a/go.sum b/go.sum
index 20c829ec12f5..701e09389300 100644
--- a/go.sum
+++ b/go.sum
@@ -1589,8 +1589,8 @@ github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vb
github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e h1:Vu41Q0Pv3yMdd+tcDW6QeEUIK2L+9ZrPrq8NAMrKSLc=
github.com/vmware/go-vmware-nsxt v0.0.0-20230223012718-d31b8a1ca05e/go.mod h1:aRq5pxwgdJpAuP97SCjX1+Db32z/b0dggQ07FDF+fqE=
-github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
-github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
+github.com/vmware/govmomi v0.36.1 h1:+E/nlfteQ8JvC0xhuKAfpnMsuIeGeGj7rJwqENUcWm8=
+github.com/vmware/govmomi v0.36.1/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/vultr/govultr/v2 v2.17.2 h1:gej/rwr91Puc/tgh+j33p/BLR16UrIPnSr+AIwYWZQs=
github.com/vultr/govultr/v2 v2.17.2/go.mod h1:ZFOKGWmgjytfyjeyAdhQlSWwTjh2ig+X49cAp50dzXI=
github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c=
diff --git a/receiver/vcenterreceiver/go.mod b/receiver/vcenterreceiver/go.mod
index f3c130351129..0676585f8c0b 100644
--- a/receiver/vcenterreceiver/go.mod
+++ b/receiver/vcenterreceiver/go.mod
@@ -9,7 +9,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.96.0
github.com/stretchr/testify v1.9.0
- github.com/vmware/govmomi v0.36.0
+ github.com/vmware/govmomi v0.36.1
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configopaque v1.3.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configtls v0.96.1-0.20240306115632-b2693620eff6
diff --git a/receiver/vcenterreceiver/go.sum b/receiver/vcenterreceiver/go.sum
index 0d4188fdfc51..058dbc2263cc 100644
--- a/receiver/vcenterreceiver/go.sum
+++ b/receiver/vcenterreceiver/go.sum
@@ -146,8 +146,8 @@ github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFA
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
-github.com/vmware/govmomi v0.36.0 h1:h8+PfYnsIihvUpzD2Mb9kFnSWEz1u2dRWxrBLi79N9I=
-github.com/vmware/govmomi v0.36.0/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
+github.com/vmware/govmomi v0.36.1 h1:+E/nlfteQ8JvC0xhuKAfpnMsuIeGeGj7rJwqENUcWm8=
+github.com/vmware/govmomi v0.36.1/go.mod h1:mtGWtM+YhTADHlCgJBiskSRPOZRsN9MSjPzaZLte/oQ=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.3 h1:E1ctvB7uKFMOJw3fdOW32DwGE9I7t++CRUEMKvFoFiw=
From a1e0e60be4ad2d188939149c1b8776ba0c1eafef Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 12:12:44 -0700
Subject: [PATCH 23/34] fix(deps): update module google.golang.org/grpc to
v1.62.1 (#31718)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) |
`v1.61.1` -> `v1.62.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.61.1/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.61.1/v1.62.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
grpc/grpc-go (google.golang.org/grpc)
### [`v1.62.1`](https://togithub.com/grpc/grpc-go/releases/tag/v1.62.1):
Release 1.62.1
[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.62.0...v1.62.1)
### Bug Fixes
- xds: fix a bug that results in `no matching virtual host found` RPC
errors due to a difference between the target and LDS resource names
([#6997](https://togithub.com/grpc/grpc-go/issues/6997))
- server: fixed stats handler data `InPayload.Length` for unary RPC
calls ([#6766](https://togithub.com/grpc/grpc-go/issues/6766))
- Special Thanks: [@hueypark](https://togithub.com/hueypark)
- grpc: the experimental `RecvBufferPool` `DialOption` and
`ServerOption` are now active during unary RPCs with compression
([#6766](https://togithub.com/grpc/grpc-go/issues/6766))
- Special Thanks: [@hueypark](https://togithub.com/hueypark)
- grpc: trim whitespaces in `accept-encoding` header before determining
compressors
- Special Thanks: [@sercand](https://togithub.com/sercand)
### [`v1.62.0`](https://togithub.com/grpc/grpc-go/releases/tag/v1.62.0):
Release 1.62.0
[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)
### New Features
- grpc: Add StaticMethod CallOption as a signal to stats handler that a
method is safe to use as an instrument key
([#6986](https://togithub.com/grpc/grpc-go/issues/6986))
### Behavior Changes
- grpc: Return canonical target string from ClientConn.Target() and
resolver.Address.String()
([#6923](https://togithub.com/grpc/grpc-go/issues/6923))
### Bug Fixes
- server: wait to close connection until incoming socket is drained
(with timeout) to prevent data loss on client-side
([#6977](https://togithub.com/grpc/grpc-go/issues/6977))
- Special Thanks:
[@s-matyukevich](https://togithub.com/s-matyukevich) for
discovering the root cause
### Performance Improvements
- \*: Allow building without `x/net/trace` by using `grpcnotrace` to
enable dead code elimination
([#6954](https://togithub.com/grpc/grpc-go/issues/6954))
- Special Thanks: [@hugelgupf](https://togithub.com/hugelgupf)
- rand: improve performance and simplify implementation of `grpcrand` by
adopting `math/rand`'s top-level functions for go version 1.21.0 and
newer. ([#6925](https://togithub.com/grpc/grpc-go/issues/6925))
- Special Thanks:
[@kmirzavaziri](https://togithub.com/kmirzavaziri)
### Dependencies
- \*: Use google.golang.org/protobuf/proto instead of
github.com/golang/protobuf.
([#6919](https://togithub.com/grpc/grpc-go/issues/6919))
- Special Thanks:
[@Clement-Jean](https://togithub.com/Clement-Jean)
> \[!NOTE]
> The above change in proto library usage introduces a minor behavior
change within those libraries. The old `github.com/golang/protobuf`
library would error if given a `nil` message to `Marshal`, while the new
`google.golang.org/protobuf` library will successfully output zero bytes
in this case. This means server method handlers that did `return nil,
nil` will now return an empty message and no error, while it used to
return an error. This also affects the client side, where clients
sending `nil` messages used to fail without sending the RPC, and now
they will send an empty message.
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
examples/demo/client/go.mod | 8 ++++----
examples/demo/client/go.sum | 20 ++++++++++----------
examples/demo/server/go.mod | 8 ++++----
examples/demo/server/go.sum | 20 ++++++++++----------
4 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/examples/demo/client/go.mod b/examples/demo/client/go.mod
index 51abdecbf651..dd1476cac357 100644
--- a/examples/demo/client/go.mod
+++ b/examples/demo/client/go.mod
@@ -11,7 +11,7 @@ require (
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/sdk v1.24.0
go.opentelemetry.io/otel/sdk/metric v1.24.0
- google.golang.org/grpc v1.61.1
+ google.golang.org/grpc v1.62.1
)
require (
@@ -23,11 +23,11 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
go.opentelemetry.io/otel/trace v1.24.0 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
- golang.org/x/net v0.19.0 // indirect
+ golang.org/x/net v0.20.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)
diff --git a/examples/demo/client/go.sum b/examples/demo/client/go.sum
index 24b7238554cd..be2de8eeff41 100644
--- a/examples/demo/client/go.sum
+++ b/examples/demo/client/go.sum
@@ -43,21 +43,21 @@ go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxi
go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
-golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
-golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
+golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
+golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU=
-google.golang.org/grpc v1.61.1 h1:kLAiWrZs7YeDM6MumDe7m3y4aM6wacLzM1Y/wiLP9XY=
-google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
+google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ=
+google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro=
+google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 h1:Lj5rbfG876hIAYFjqiJnPHfhXbv+nzTWfm04Fg/XSVU=
+google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
+google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
+google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
diff --git a/examples/demo/server/go.mod b/examples/demo/server/go.mod
index ac7082de75fb..728703dbe1b8 100644
--- a/examples/demo/server/go.mod
+++ b/examples/demo/server/go.mod
@@ -12,7 +12,7 @@ require (
go.opentelemetry.io/otel/sdk v1.24.0
go.opentelemetry.io/otel/sdk/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
- google.golang.org/grpc v1.61.1
+ google.golang.org/grpc v1.62.1
)
require (
@@ -23,11 +23,11 @@ require (
github.com/golang/protobuf v1.5.3 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
- golang.org/x/net v0.19.0 // indirect
+ golang.org/x/net v0.20.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)
diff --git a/examples/demo/server/go.sum b/examples/demo/server/go.sum
index 24b7238554cd..be2de8eeff41 100644
--- a/examples/demo/server/go.sum
+++ b/examples/demo/server/go.sum
@@ -43,21 +43,21 @@ go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxi
go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
-golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
-golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
+golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo=
+golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY=
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU=
-google.golang.org/grpc v1.61.1 h1:kLAiWrZs7YeDM6MumDe7m3y4aM6wacLzM1Y/wiLP9XY=
-google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
+google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ=
+google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro=
+google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80 h1:Lj5rbfG876hIAYFjqiJnPHfhXbv+nzTWfm04Fg/XSVU=
+google.golang.org/genproto/googleapis/api v0.0.0-20240123012728-ef4313101c80/go.mod h1:4jWUdICTdgc3Ibxmr8nAJiiLHwQBY0UI0XZcEMaFKaA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 h1:AjyfHzEPEFp/NpvfN5g+KDla3EMojjhRVZc1i7cj+oM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80/go.mod h1:PAREbraiVEVGVdTZsVWjSbbTtSyGbAgIIvni8a8CD5s=
+google.golang.org/grpc v1.62.1 h1:B4n+nfKzOICUXMgyrNd19h/I9oH0L1pizfk1d4zSgTk=
+google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
From 6e418b1d0bf2fa4c280b08b604775e08dc0c9981 Mon Sep 17 00:00:00 2001
From: Jina Jain
Date: Tue, 12 Mar 2024 12:14:50 -0700
Subject: [PATCH 24/34] [chore] Fix args order to ptracetest/CompareSpan
(#31716)
**Description:**
Pass the correct `expected, actual` variables to CompareSpan fns in
ptracetest. The errors show the reverse expected and actual trace due to
this.
**Testing:**
Updated unit tests - swapped the actual/expected yamls for impacted
tests.
---------
Co-authored-by: Curtis Robert
---
.../testdata/ignore-attribute-value/actual.yaml | 2 +-
.../testdata/ignore-attribute-value/expected.yaml | 2 +-
.../testdata/ignore-end-timestamp/actual.yaml | 2 --
.../testdata/ignore-end-timestamp/expected.yaml | 1 +
.../ptracetest/testdata/ignore-spanid/actual.yaml | 2 --
.../ptracetest/testdata/ignore-spanid/expected.yaml | 1 +
.../testdata/ignore-start-timestamp/actual.yaml | 2 --
.../testdata/ignore-start-timestamp/expected.yaml | 1 +
.../ptracetest/testdata/ignore-traceid/actual.yaml | 2 --
.../ptracetest/testdata/ignore-traceid/expected.yaml | 1 +
.../scopespans-spans-attributes-mismatch/actual.yaml | 2 +-
.../scopespans-spans-attributes-mismatch/expected.yaml | 2 +-
.../actual.yaml | 1 +
.../expected.yaml | 1 -
.../actual.yaml | 1 +
.../expected.yaml | 1 -
.../actual.yaml | 1 +
.../expected.yaml | 1 -
.../scopespans-spans-endtimestamp-mismatch/actual.yaml | 2 +-
.../expected.yaml | 2 +-
.../scopespans-spans-events-mismatch/actual.yaml | 2 --
.../scopespans-spans-events-mismatch/expected.yaml | 2 ++
.../scopespans-spans-events-name-mismatch/actual.yaml | 2 +-
.../expected.yaml | 2 +-
.../scopespans-spans-kind-mismatch/actual.yaml | 2 +-
.../scopespans-spans-kind-mismatch/expected.yaml | 2 +-
.../scopespans-spans-links-mismatch/actual.yaml | 10 ----------
.../scopespans-spans-links-mismatch/expected.yaml | 10 ++++++++++
.../scopespans-spans-links-spanid-mismatch/actual.yaml | 2 +-
.../expected.yaml | 2 +-
.../scopespans-spans-parentspanid-mismatch/actual.yaml | 2 +-
.../expected.yaml | 2 +-
.../scopespans-spans-spanid-mismatch/actual.yaml | 2 +-
.../scopespans-spans-spanid-mismatch/expected.yaml | 2 +-
.../actual.yaml | 2 +-
.../expected.yaml | 2 +-
.../scopespans-spans-status-mismatch/actual.yaml | 3 +--
.../scopespans-spans-status-mismatch/expected.yaml | 3 ++-
.../scopespans-spans-traceid-mismatch/actual.yaml | 2 +-
.../scopespans-spans-traceid-mismatch/expected.yaml | 2 +-
.../scopespans-spans-tracestate-mismatch/actual.yaml | 2 +-
.../scopespans-spans-tracestate-mismatch/expected.yaml | 2 +-
pkg/pdatatest/ptracetest/traces.go | 6 +++---
43 files changed, 47 insertions(+), 51 deletions(-)
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/actual.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/actual.yaml
index 2183acea9c37..042e8ee25274 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/actual.yaml
@@ -20,7 +20,7 @@ resourceSpans:
- attributes:
- key: testKey2
value:
- stringValue: teststringvalue2
+ stringValue: unpredictable
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/expected.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/expected.yaml
index 042e8ee25274..2183acea9c37 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-attribute-value/expected.yaml
@@ -20,7 +20,7 @@ resourceSpans:
- attributes:
- key: testKey2
value:
- stringValue: unpredictable
+ stringValue: teststringvalue2
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/actual.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/actual.yaml
index d6602fc6fc53..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/actual.yaml
@@ -16,7 +16,5 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
- endTimeUnixNano: "11651379494838206464"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
-
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/expected.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/expected.yaml
index 8191dc41f6f8..368785e0f0e1 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-end-timestamp/expected.yaml
@@ -16,5 +16,6 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
+ endTimeUnixNano: "11651379494838206464"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-spanid/actual.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-spanid/actual.yaml
index 817c4fc938d1..3b3954599639 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-spanid/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-spanid/actual.yaml
@@ -15,7 +15,5 @@ resourceSpans:
stringValue: value1
name: span1
parentSpanId: ""
- spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
-
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-spanid/expected.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-spanid/expected.yaml
index 3b3954599639..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-spanid/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-spanid/expected.yaml
@@ -15,5 +15,6 @@ resourceSpans:
stringValue: value1
name: span1
parentSpanId: ""
+ spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/actual.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/actual.yaml
index d87405374e69..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/actual.yaml
@@ -16,7 +16,5 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
- startTimeUnixNano: "11651379494838206464"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
-
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/expected.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/expected.yaml
index 8191dc41f6f8..dd50da9b7e79 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-start-timestamp/expected.yaml
@@ -16,5 +16,6 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
+ startTimeUnixNano: "11651379494838206464"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-traceid/actual.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-traceid/actual.yaml
index 817c4fc938d1..f01f0307bac4 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-traceid/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-traceid/actual.yaml
@@ -17,5 +17,3 @@ resourceSpans:
parentSpanId: ""
spanId: fd0da883bb27cd6b
status: {}
- traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
-
diff --git a/pkg/pdatatest/ptracetest/testdata/ignore-traceid/expected.yaml b/pkg/pdatatest/ptracetest/testdata/ignore-traceid/expected.yaml
index f01f0307bac4..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/ignore-traceid/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/ignore-traceid/expected.yaml
@@ -17,3 +17,4 @@ resourceSpans:
parentSpanId: ""
spanId: fd0da883bb27cd6b
status: {}
+ traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/actual.yaml
index e845db6e4f77..28510fc30b9d 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/actual.yaml
@@ -20,7 +20,7 @@ resourceSpans:
- attributes:
- key: key2
value:
- stringValue: value2
+ stringValue: value3
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/expected.yaml
index 28510fc30b9d..e845db6e4f77 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-attributes-mismatch/expected.yaml
@@ -20,7 +20,7 @@ resourceSpans:
- attributes:
- key: key2
value:
- stringValue: value3
+ stringValue: value2
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/actual.yaml
index 8191dc41f6f8..c7cd6a74086f 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/actual.yaml
@@ -13,6 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
+ droppedAttributesCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/expected.yaml
index c7cd6a74086f..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedattributescount-mismatch/expected.yaml
@@ -13,7 +13,6 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- droppedAttributesCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/actual.yaml
index 8191dc41f6f8..e8b685b3b5bb 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/actual.yaml
@@ -13,6 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
+ droppedEventsCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/expected.yaml
index e8b685b3b5bb..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedeventscount-mismatch/expected.yaml
@@ -13,7 +13,6 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- droppedEventsCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/actual.yaml
index 8191dc41f6f8..1bb2c13ad084 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/actual.yaml
@@ -13,6 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
+ droppedLinksCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/expected.yaml
index 1bb2c13ad084..8191dc41f6f8 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-droppedlinkscount-mismatch/expected.yaml
@@ -13,7 +13,6 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- droppedLinksCount: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/actual.yaml
index eaa0db29ef38..4c3b545ee928 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/actual.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- endTimeUnixNano: "11651379494838206464"
+ endTimeUnixNano: "11651379494838206400"
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/expected.yaml
index 4c3b545ee928..eaa0db29ef38 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-endtimestamp-mismatch/expected.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- endTimeUnixNano: "11651379494838206400"
+ endTimeUnixNano: "11651379494838206464"
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/actual.yaml
index 4a7bca4a0df8..e10af274c4da 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/actual.yaml
@@ -13,8 +13,6 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- events:
- - name: Sub span event
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/expected.yaml
index e10af274c4da..4a7bca4a0df8 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-mismatch/expected.yaml
@@ -13,6 +13,8 @@ resourceSpans:
- key: key1
value:
stringValue: value1
+ events:
+ - name: Sub span event
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/actual.yaml
index e1f054accf3b..0c43ec75f6d6 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/actual.yaml
@@ -14,7 +14,7 @@ resourceSpans:
value:
stringValue: value1
events:
- - name: event1
+ - name: event2
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/expected.yaml
index 0c43ec75f6d6..e1f054accf3b 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-events-name-mismatch/expected.yaml
@@ -14,7 +14,7 @@ resourceSpans:
value:
stringValue: value1
events:
- - name: event2
+ - name: event1
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/actual.yaml
index 3bcbfcc7bebf..78ccfee19106 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/actual.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- kind: 2
+ kind: 1
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/expected.yaml
index 78ccfee19106..3bcbfcc7bebf 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-kind-mismatch/expected.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- kind: 1
+ kind: 2
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/actual.yaml
index 99f7cc7c344c..e10af274c4da 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/actual.yaml
@@ -13,16 +13,6 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- links:
- - attributes:
- - key: testKey1
- value:
- stringValue: teststringvalue1
- - key: testKey2
- value:
- stringValue: teststringvalue2
- spanId: fd0da883bb27cd6b
- traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/expected.yaml
index e10af274c4da..99f7cc7c344c 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-mismatch/expected.yaml
@@ -13,6 +13,16 @@ resourceSpans:
- key: key1
value:
stringValue: value1
+ links:
+ - attributes:
+ - key: testKey1
+ value:
+ stringValue: teststringvalue1
+ - key: testKey2
+ value:
+ stringValue: teststringvalue2
+ spanId: fd0da883bb27cd6b
+ traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
parentSpanId: ""
spanId: ""
status: {}
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/actual.yaml
index bc1ff37c83bb..972040290a3f 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/actual.yaml
@@ -14,7 +14,7 @@ resourceSpans:
value:
stringValue: value1
links:
- - spanId: ""
+ - spanId: fd0da883bb27cd6b
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
parentSpanId: ""
spanId: ""
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/expected.yaml
index 972040290a3f..bc1ff37c83bb 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-links-spanid-mismatch/expected.yaml
@@ -14,7 +14,7 @@ resourceSpans:
value:
stringValue: value1
links:
- - spanId: fd0da883bb27cd6b
+ - spanId: ""
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
parentSpanId: ""
spanId: ""
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/actual.yaml
index 2a8446e61e6e..725c2484f868 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/actual.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- parentSpanId: bcff497b5a47310f
+ parentSpanId: 310fbcff497b5a47
spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/expected.yaml
index 725c2484f868..2a8446e61e6e 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-parentspanid-mismatch/expected.yaml
@@ -13,7 +13,7 @@ resourceSpans:
- key: key1
value:
stringValue: value1
- parentSpanId: 310fbcff497b5a47
+ parentSpanId: bcff497b5a47310f
spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/actual.yaml
index 32fafc017821..c1dfdf0cf3b3 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/actual.yaml
@@ -14,6 +14,6 @@ resourceSpans:
value:
stringValue: value1
parentSpanId: ""
- spanId: fd0da883bb27cd6b
+ spanId: d0dfa883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/expected.yaml
index c1dfdf0cf3b3..32fafc017821 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-spanid-mismatch/expected.yaml
@@ -14,6 +14,6 @@ resourceSpans:
value:
stringValue: value1
parentSpanId: ""
- spanId: d0dfa883bb27cd6b
+ spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/actual.yaml
index dd50da9b7e79..c7b15909afa3 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/actual.yaml
@@ -16,6 +16,6 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
- startTimeUnixNano: "11651379494838206464"
+ startTimeUnixNano: "11651379494838206400"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/expected.yaml
index c7b15909afa3..dd50da9b7e79 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-starttimestamp-mismatch/expected.yaml
@@ -16,6 +16,6 @@ resourceSpans:
name: span1
parentSpanId: ""
spanId: fd0da883bb27cd6b
- startTimeUnixNano: "11651379494838206400"
+ startTimeUnixNano: "11651379494838206464"
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/actual.yaml
index da5360514b26..e10af274c4da 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/actual.yaml
@@ -15,6 +15,5 @@ resourceSpans:
stringValue: value1
parentSpanId: ""
spanId: ""
- status:
- code: 1
+ status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/expected.yaml
index e10af274c4da..da5360514b26 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-status-mismatch/expected.yaml
@@ -15,5 +15,6 @@ resourceSpans:
stringValue: value1
parentSpanId: ""
spanId: ""
- status: {}
+ status:
+ code: 1
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/actual.yaml
index e10af274c4da..0854d8f8469d 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/actual.yaml
@@ -16,4 +16,4 @@ resourceSpans:
parentSpanId: ""
spanId: ""
status: {}
- traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
+ traceId: b8cb1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/expected.yaml
index 0854d8f8469d..e10af274c4da 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-traceid-mismatch/expected.yaml
@@ -16,4 +16,4 @@ resourceSpans:
parentSpanId: ""
spanId: ""
status: {}
- traceId: b8cb1765a7b0acf0b66aa4623fcb7bd5
+ traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/actual.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/actual.yaml
index 7cd945900f2c..2d63f1fee865 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/actual.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/actual.yaml
@@ -17,4 +17,4 @@ resourceSpans:
spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
- traceState: xx
+ traceState: yy
diff --git a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/expected.yaml b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/expected.yaml
index 2d63f1fee865..7cd945900f2c 100644
--- a/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/expected.yaml
+++ b/pkg/pdatatest/ptracetest/testdata/scopespans-spans-tracestate-mismatch/expected.yaml
@@ -17,4 +17,4 @@ resourceSpans:
spanId: fd0da883bb27cd6b
status: {}
traceId: 8c8b1765a7b0acf0b66aa4623fcb7bd5
- traceState: yy
+ traceState: xx
diff --git a/pkg/pdatatest/ptracetest/traces.go b/pkg/pdatatest/ptracetest/traces.go
index 0e89813880dc..087f9e5a3029 100644
--- a/pkg/pdatatest/ptracetest/traces.go
+++ b/pkg/pdatatest/ptracetest/traces.go
@@ -206,7 +206,7 @@ func CompareScopeSpans(expected, actual ptrace.ScopeSpans) error {
}
for as, es := range matchingSpans {
- errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span "%s"`, es.Name()), CompareSpan(as, es)))
+ errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span "%s"`, es.Name()), CompareSpan(es, as)))
}
return errs
@@ -340,7 +340,7 @@ func compareSpanEventSlice(expected, actual ptrace.SpanEventSlice) (errs error)
}
for ae, ee := range matchingSpanEvents {
- errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span event "%s"`, ee.Name()), CompareSpanEvent(ae, ee)))
+ errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span event "%s"`, ee.Name()), CompareSpanEvent(ee, ae)))
}
return errs
@@ -420,7 +420,7 @@ func compareSpanLinkSlice(expected, actual ptrace.SpanLinkSlice) (errs error) {
}
for al, el := range matchingSpanLinks {
- errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span link "%s"`, el.SpanID()), CompareSpanLink(al, el)))
+ errs = multierr.Append(errs, internal.AddErrPrefix(fmt.Sprintf(`span link "%s"`, el.SpanID()), CompareSpanLink(el, al)))
}
return errs
From 2f2e32d47172981ac732d090e42f34205dccd2f7 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 12:15:06 -0700
Subject: [PATCH 25/34] fix(deps): update module
github.com/open-telemetry/otel-arrow/collector to v0.18.0 (#31712)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/otel-arrow/collector](https://togithub.com/open-telemetry/otel-arrow)
| `v0.17.0` -> `v0.18.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fotel-arrow%2fcollector/v0.17.0/v0.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
open-telemetry/otel-arrow
(github.com/open-telemetry/otel-arrow/collector)
###
[`v0.18.0`](https://togithub.com/open-telemetry/otel-arrow/releases/tag/v0.18.0)
[Compare
Source](https://togithub.com/open-telemetry/otel-arrow/compare/v0.17.0...v0.18.0)
##### What's Changed
- Upgrade collector to v0.96.0 by
[@moh-osman3](https://togithub.com/moh-osman3) in
[https://github.com/open-telemetry/otel-arrow/pull/155](https://togithub.com/open-telemetry/otel-arrow/pull/155)
- Release otel-arrow v0.18.0 by
[@moh-osman3](https://togithub.com/moh-osman3) in
[https://github.com/open-telemetry/otel-arrow/pull/156](https://togithub.com/open-telemetry/otel-arrow/pull/156)
**Full Changelog**:
https://github.com/open-telemetry/otel-arrow/compare/v0.17.0...v0.18.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Yang Song
---
exporter/otelarrowexporter/go.mod | 2 +-
exporter/otelarrowexporter/go.sum | 4 ++--
receiver/otelarrowreceiver/go.mod | 2 +-
receiver/otelarrowreceiver/go.sum | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/exporter/otelarrowexporter/go.mod b/exporter/otelarrowexporter/go.mod
index f9484f82f24a..bc627a5a6581 100644
--- a/exporter/otelarrowexporter/go.mod
+++ b/exporter/otelarrowexporter/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/open-telemetry/otel-arrow v0.18.0
- github.com/open-telemetry/otel-arrow/collector v0.17.0
+ github.com/open-telemetry/otel-arrow/collector v0.18.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configauth v0.96.1-0.20240306115632-b2693620eff6
diff --git a/exporter/otelarrowexporter/go.sum b/exporter/otelarrowexporter/go.sum
index c3fcc18f1ea3..b2b546b3c1e6 100644
--- a/exporter/otelarrowexporter/go.sum
+++ b/exporter/otelarrowexporter/go.sum
@@ -76,8 +76,8 @@ github.com/mostynb/go-grpc-compression v1.2.2 h1:XaDbnRvt2+1vgr0b/l0qh4mJAfIxE0b
github.com/mostynb/go-grpc-compression v1.2.2/go.mod h1:GOCr2KBxXcblCuczg3YdLQlcin1/NfyDA348ckuCH6w=
github.com/open-telemetry/otel-arrow v0.18.0 h1:v3KH1HIpdXRy+V5awAmn2M+uthbE52Qi7svBYSweASI=
github.com/open-telemetry/otel-arrow v0.18.0/go.mod h1:054cuTUlLVHH6Y//65bEPeMiHjYRs7DiX/el+yQbgYg=
-github.com/open-telemetry/otel-arrow/collector v0.17.0 h1:yxgtbK7Tqy/XW0KGa3BSXkImLQlrZcHtjrOwWmrPcNc=
-github.com/open-telemetry/otel-arrow/collector v0.17.0/go.mod h1:W+WMolLuMRCR9Us+ZPzNf5oUZb/1M5WRUql0o3sPP5k=
+github.com/open-telemetry/otel-arrow/collector v0.18.0 h1:1YFyQv3pYnU+RxXwhDmr6UeQ+TgOweznBxqc56A5pXQ=
+github.com/open-telemetry/otel-arrow/collector v0.18.0/go.mod h1:2ifSqH498f+p/oX3RbR1jl0ej/YA0vyhXI9f8cJvNgo=
github.com/pierrec/lz4 v2.0.5+incompatible h1:2xWsjqPFWcplujydGg4WmhC/6fZqK42wMM8aXeqhl0I=
github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
diff --git a/receiver/otelarrowreceiver/go.mod b/receiver/otelarrowreceiver/go.mod
index 979db73ec37d..d99f06ffb2eb 100644
--- a/receiver/otelarrowreceiver/go.mod
+++ b/receiver/otelarrowreceiver/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/open-telemetry/opentelemetry-collector-contrib/internal/sharedcomponent v0.96.0
github.com/open-telemetry/otel-arrow v0.18.0
- github.com/open-telemetry/otel-arrow/collector v0.17.0
+ github.com/open-telemetry/otel-arrow/collector v0.18.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/config/configgrpc v0.96.1-0.20240306115632-b2693620eff6
diff --git a/receiver/otelarrowreceiver/go.sum b/receiver/otelarrowreceiver/go.sum
index 627cebc2160d..4ce2c98bea6f 100644
--- a/receiver/otelarrowreceiver/go.sum
+++ b/receiver/otelarrowreceiver/go.sum
@@ -96,8 +96,8 @@ github.com/mostynb/go-grpc-compression v1.2.2/go.mod h1:GOCr2KBxXcblCuczg3YdLQlc
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/open-telemetry/otel-arrow v0.18.0 h1:v3KH1HIpdXRy+V5awAmn2M+uthbE52Qi7svBYSweASI=
github.com/open-telemetry/otel-arrow v0.18.0/go.mod h1:054cuTUlLVHH6Y//65bEPeMiHjYRs7DiX/el+yQbgYg=
-github.com/open-telemetry/otel-arrow/collector v0.17.0 h1:yxgtbK7Tqy/XW0KGa3BSXkImLQlrZcHtjrOwWmrPcNc=
-github.com/open-telemetry/otel-arrow/collector v0.17.0/go.mod h1:W+WMolLuMRCR9Us+ZPzNf5oUZb/1M5WRUql0o3sPP5k=
+github.com/open-telemetry/otel-arrow/collector v0.18.0 h1:1YFyQv3pYnU+RxXwhDmr6UeQ+TgOweznBxqc56A5pXQ=
+github.com/open-telemetry/otel-arrow/collector v0.18.0/go.mod h1:2ifSqH498f+p/oX3RbR1jl0ej/YA0vyhXI9f8cJvNgo=
github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ=
github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
From f7d4b1975f2b533a41c9d6cfcf0a4d4a9cc6ae44 Mon Sep 17 00:00:00 2001
From: Andrzej Stencel
Date: Tue, 12 Mar 2024 20:16:19 +0100
Subject: [PATCH 26/34] [chore] restore using latest markdown-link-check
(#31699)
Reverts
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/31681
after bug https://github.com/tcort/markdown-link-check/issues/297 was
fixed.
---
.github/workflows/changelog.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 3409c87737bc..785f59c8f30b 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -84,7 +84,7 @@ jobs:
run: make chlog-preview > changelog_preview.md
- name: Install markdown-link-check
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') && !contains(github.event.pull_request.labels.*.name, 'Skip Changelog') && !contains(github.event.pull_request.title, '[chore]')}}
- run: npm install -g markdown-link-check@3.11.2
+ run: npm install -g markdown-link-check
- name: Run markdown-link-check
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') && !contains(github.event.pull_request.labels.*.name, 'Skip Changelog') && !contains(github.event.pull_request.title, '[chore]')}}
run: |
From eca255a2f0956e920f29e9a34910eeed584427ee Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=83=E4=B9=98=28Qian=20Sheng=29?=
<81615037+qiansheng91@users.noreply.github.com>
Date: Wed, 13 Mar 2024 03:17:28 +0800
Subject: [PATCH 27/34] Revert [exporter/alibabacloudlogservice] mark component
unmainained (#31695)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Ref #29868 ,#29721
---
exporter/alibabacloudlogserviceexporter/README.md | 4 ++--
.../internal/metadata/generated_status.go | 6 +++---
exporter/alibabacloudlogserviceexporter/metadata.yaml | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/exporter/alibabacloudlogserviceexporter/README.md b/exporter/alibabacloudlogserviceexporter/README.md
index 8db8cc37c2da..9709eda9e794 100644
--- a/exporter/alibabacloudlogserviceexporter/README.md
+++ b/exporter/alibabacloudlogserviceexporter/README.md
@@ -3,12 +3,12 @@
| Status | |
| ------------- |-----------|
-| Stability | [unmaintained]: traces, metrics, logs |
+| Stability | [beta]: traces, metrics, logs |
| Distributions | [contrib], [observiq] |
| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aexporter%2Falibabacloudlogservice%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aexporter%2Falibabacloudlogservice) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aexporter%2Falibabacloudlogservice%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aexporter%2Falibabacloudlogservice) |
| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@shabicheng](https://www.github.com/shabicheng), [@kongluoxing](https://www.github.com/kongluoxing), [@qiansheng91](https://www.github.com/qiansheng91) |
-[unmaintained]: https://github.com/open-telemetry/opentelemetry-collector#unmaintained
+[beta]: https://github.com/open-telemetry/opentelemetry-collector#beta
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
[observiq]: https://github.com/observIQ/observiq-otel-collector
diff --git a/exporter/alibabacloudlogserviceexporter/internal/metadata/generated_status.go b/exporter/alibabacloudlogserviceexporter/internal/metadata/generated_status.go
index ea83a3144b88..8d609d8e3e36 100644
--- a/exporter/alibabacloudlogserviceexporter/internal/metadata/generated_status.go
+++ b/exporter/alibabacloudlogserviceexporter/internal/metadata/generated_status.go
@@ -13,9 +13,9 @@ var (
)
const (
- TracesStability = component.StabilityLevelUnmaintained
- MetricsStability = component.StabilityLevelUnmaintained
- LogsStability = component.StabilityLevelUnmaintained
+ TracesStability = component.StabilityLevelBeta
+ MetricsStability = component.StabilityLevelBeta
+ LogsStability = component.StabilityLevelBeta
)
func Meter(settings component.TelemetrySettings) metric.Meter {
diff --git a/exporter/alibabacloudlogserviceexporter/metadata.yaml b/exporter/alibabacloudlogserviceexporter/metadata.yaml
index e75fef961cf3..d7fdaf3986d9 100644
--- a/exporter/alibabacloudlogserviceexporter/metadata.yaml
+++ b/exporter/alibabacloudlogserviceexporter/metadata.yaml
@@ -4,7 +4,7 @@ scope_name: otelcol/alibabacloudlogservice
status:
class: exporter
stability:
- unmaintained: [traces, metrics, logs]
+ beta: [traces, metrics, logs]
distributions: [contrib, observiq]
codeowners:
active: [shabicheng, kongluoxing, qiansheng91]
From 757ddd10b5a9937e4ad3a2716b8521129f84aeea Mon Sep 17 00:00:00 2001
From: Brandon Johnson
Date: Tue, 12 Mar 2024 15:44:25 -0400
Subject: [PATCH 28/34] [receiver/hostmetrics] Divide by logical cores when
calculating process.cpu.utilization (#31378)
**Description:**
When calculating the process.cpu.utilization metric, values over 1 were
possible since the number of cores was not taken into account (a single
process may run on multiple logical cores, this effectively multplying
the maximum amount of CPU time the process may take).
This PR adds a division by the number of logical cores to the
calculation for cpu utilization.
**Link to tracking Issue:** Closes #31368
**Testing:**
* Added some unit tests
* Tested locally on my system with the program I posted in the issue:
```json
{
"name": "process.cpu.utilization",
"description": "Percentage of total CPU time used by the process since last scrape, expressed as a value between 0 and 1. On the first scrape, no data point is emitted for this metric.",
"unit": "1",
"gauge": {
"dataPoints": [
{
"attributes": [{ "key": "state", "value": { "stringValue": "user" } }],
"startTimeUnixNano": "1708562810521000000",
"timeUnixNano": "1708562890771386000",
"asDouble": 0.8811268516953904
},
{
"attributes": [
{ "key": "state", "value": { "stringValue": "system" } }
],
"startTimeUnixNano": "1708562810521000000",
"timeUnixNano": "1708562890771386000",
"asDouble": 0.0029471002907659667
},
{
"attributes": [{ "key": "state", "value": { "stringValue": "wait" } }],
"startTimeUnixNano": "1708562810521000000",
"timeUnixNano": "1708562890771386000",
"asDouble": 0
}
]
}
}
```
In activity monitor, this process was clocking in around ~1000% - ~1100%
cpu, on my machine that has 12 logical cores. So the value of around 90%
total utilization seems correct here.
**Documentation:**
N/A
---------
Co-authored-by: Daniel Jaglowski
---
.../fix_cpu-utilization-divide-by-cores.yaml | 18 ++++
receiver/hostmetricsreceiver/README.md | 15 +++
receiver/hostmetricsreceiver/go.mod | 2 +-
.../scraper/processscraper/process_scraper.go | 11 ++-
.../ucal/cpu_utilization_calculator.go | 33 +++++--
.../ucal/cpu_utilization_calculator_test.go | 96 ++++++++++++++++++-
6 files changed, 163 insertions(+), 12 deletions(-)
create mode 100755 .chloggen/fix_cpu-utilization-divide-by-cores.yaml
diff --git a/.chloggen/fix_cpu-utilization-divide-by-cores.yaml b/.chloggen/fix_cpu-utilization-divide-by-cores.yaml
new file mode 100755
index 000000000000..77983b00d2d0
--- /dev/null
+++ b/.chloggen/fix_cpu-utilization-divide-by-cores.yaml
@@ -0,0 +1,18 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: bug_fix
+
+# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
+component: hostmetricsreceiver
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Adds the receiver.hostmetrics.normalizeProcessCPUUtilization feature gate to optionally normalize process.cpu.utilization values.
+
+subtext: >
+ When enabled, the receiver.hostmetrics.normalizeProcessCPUUtilization feature gate will cause process.cpu.utilization
+ values to be divided by the number of logical cores on the system. This is necessary to produce a value on the interval of
+ [0-1], as the description of process.cpu.utilization the metric says.
+
+# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
+issues: [31368]
diff --git a/receiver/hostmetricsreceiver/README.md b/receiver/hostmetricsreceiver/README.md
index d522eae54ac1..837fbbfd7945 100644
--- a/receiver/hostmetricsreceiver/README.md
+++ b/receiver/hostmetricsreceiver/README.md
@@ -192,3 +192,18 @@ Currently, the hostmetrics receiver does not set any Resource attributes on the
export OTEL_RESOURCE_ATTRIBUTES="service.name=,service.namespace=,service.instance.id="
```
+## Feature Gates
+
+See the [Collector feature gates](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md#collector-feature-gates) for an overview of feature gates in the collector.
+
+### `receiver.hostmetrics.normalizeProcessCPUUtilization`
+
+When enabled, normalizes the `process.cpu.utilization` metric onto the interval [0-1] by dividing the value by the number of logical processors. With this feature gate disabled, the value of the `process.cpu.utilization` metric may exceed 1.
+
+For example, if you have 4 logical cores on your system, and a process is occupying 2 logical cores for an entire scrape interval, with this feature gate disabled a `process.cpu.utilization` metric will be emitted with a value of 2. if this feature gate is enabled in the same scenario, the value of the emitted metric will be 0.5.
+
+The schedule for this feature gate is:
+- Introduced in v0.97.0 (March 2024) as `alpha` - disabled by default.
+- Moved to `beta` in v0.99.0 (April 2024) - enabled by default.
+- Moved to `stable` in v0.101.0 (May 2024) - cannot be disabled.
+- Removed three releases after `stable`.
diff --git a/receiver/hostmetricsreceiver/go.mod b/receiver/hostmetricsreceiver/go.mod
index 7080a26567c2..929f126e73f2 100644
--- a/receiver/hostmetricsreceiver/go.mod
+++ b/receiver/hostmetricsreceiver/go.mod
@@ -15,6 +15,7 @@ require (
go.opentelemetry.io/collector/component v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/confmap v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/consumer v0.96.1-0.20240306115632-b2693620eff6
+ go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/otelcol v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/pdata v1.3.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6
@@ -101,7 +102,6 @@ require (
go.opentelemetry.io/collector/connector v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/exporter v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/extension v0.96.1-0.20240306115632-b2693620eff6 // indirect
- go.opentelemetry.io/collector/featuregate v1.3.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/processor v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/collector/service v0.96.1-0.20240306115632-b2693620eff6 // indirect
go.opentelemetry.io/contrib/config v0.4.0 // indirect
diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go
index 01d897fe6458..88571bc8c604 100644
--- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go
+++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/process_scraper.go
@@ -11,6 +11,7 @@ import (
"time"
"github.com/shirou/gopsutil/v3/common"
+ "github.com/shirou/gopsutil/v3/cpu"
"github.com/shirou/gopsutil/v3/process"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/pdata/pcommon"
@@ -48,6 +49,7 @@ type scraper struct {
excludeFS filterset.FilterSet
scrapeProcessDelay time.Duration
ucals map[int32]*ucal.CPUUtilizationCalculator
+ logicalCores int
// for mocking
getProcessCreateTime func(p processHandle, ctx context.Context) (int64, error)
@@ -84,6 +86,13 @@ func newProcessScraper(settings receiver.CreateSettings, cfg *Config) (*scraper,
}
}
+ logicalCores, err := cpu.Counts(true)
+ if err != nil {
+ return nil, fmt.Errorf("error getting number of logical cores: %w", err)
+ }
+
+ scraper.logicalCores = logicalCores
+
return scraper, nil
}
@@ -284,7 +293,7 @@ func (s *scraper) scrapeAndAppendCPUTimeMetric(ctx context.Context, now pcommon.
s.ucals[pid] = &ucal.CPUUtilizationCalculator{}
}
- err = s.ucals[pid].CalculateAndRecord(now, times, s.recordCPUUtilization)
+ err = s.ucals[pid].CalculateAndRecord(now, s.logicalCores, times, s.recordCPUUtilization)
return err
}
diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator.go
index 7418b7122f1d..32ffd5c11630 100644
--- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator.go
+++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator.go
@@ -7,9 +7,18 @@ import (
"time"
"github.com/shirou/gopsutil/v3/cpu"
+ "go.opentelemetry.io/collector/featuregate"
"go.opentelemetry.io/collector/pdata/pcommon"
)
+var normalizeProcessCPUUtilizationFeatureGate = featuregate.GlobalRegistry().MustRegister(
+ "receiver.hostmetrics.normalizeProcessCPUUtilization",
+ featuregate.StageAlpha,
+ featuregate.WithRegisterDescription("When enabled, normalizes the process.cpu.utilization metric onto the interval [0-1] by dividing the value by the number of logical processors."),
+ featuregate.WithRegisterFromVersion("v0.97.0"),
+ featuregate.WithRegisterReferenceURL("https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31368"),
+)
+
// CPUUtilization stores the utilization percents [0-1] for the different cpu states
type CPUUtilization struct {
User float64
@@ -27,9 +36,9 @@ type CPUUtilizationCalculator struct {
// CalculateAndRecord calculates the cpu utilization for the different cpu states comparing previously
// stored []cpu.TimesStat and time.Time and current []cpu.TimesStat and current time.Time
// If no previous data is stored it will return empty slice of CPUUtilization and no error
-func (c *CPUUtilizationCalculator) CalculateAndRecord(now pcommon.Timestamp, currentCPUStats *cpu.TimesStat, recorder func(pcommon.Timestamp, CPUUtilization)) error {
+func (c *CPUUtilizationCalculator) CalculateAndRecord(now pcommon.Timestamp, logicalCores int, currentCPUStats *cpu.TimesStat, recorder func(pcommon.Timestamp, CPUUtilization)) error {
if c.previousCPUStats != nil {
- recorder(now, cpuUtilization(c.previousCPUStats, c.previousReadTime, currentCPUStats, now))
+ recorder(now, cpuUtilization(logicalCores, c.previousCPUStats, c.previousReadTime, currentCPUStats, now))
}
c.previousCPUStats = currentCPUStats
c.previousReadTime = now
@@ -38,14 +47,26 @@ func (c *CPUUtilizationCalculator) CalculateAndRecord(now pcommon.Timestamp, cur
}
// cpuUtilization calculates the difference between 2 cpu.TimesStat using spent time between them
-func cpuUtilization(startStats *cpu.TimesStat, startTime pcommon.Timestamp, endStats *cpu.TimesStat, endTime pcommon.Timestamp) CPUUtilization {
+func cpuUtilization(logicalCores int, startStats *cpu.TimesStat, startTime pcommon.Timestamp, endStats *cpu.TimesStat, endTime pcommon.Timestamp) CPUUtilization {
elapsedTime := time.Duration(endTime - startTime).Seconds()
if elapsedTime <= 0 {
return CPUUtilization{}
}
+
+ userUtilization := (endStats.User - startStats.User) / elapsedTime
+ systemUtilization := (endStats.System - startStats.System) / elapsedTime
+ ioWaitUtilization := (endStats.Iowait - startStats.Iowait) / elapsedTime
+
+ if normalizeProcessCPUUtilizationFeatureGate.IsEnabled() && logicalCores > 0 {
+ // Normalize onto the [0-1] interval by dividing by the number of logical cores
+ userUtilization /= float64(logicalCores)
+ systemUtilization /= float64(logicalCores)
+ ioWaitUtilization /= float64(logicalCores)
+ }
+
return CPUUtilization{
- User: (endStats.User - startStats.User) / elapsedTime,
- System: (endStats.System - startStats.System) / elapsedTime,
- Iowait: (endStats.Iowait - startStats.Iowait) / elapsedTime,
+ User: userUtilization,
+ System: systemUtilization,
+ Iowait: ioWaitUtilization,
}
}
diff --git a/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator_test.go b/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator_test.go
index 89644284001e..6a226ba62d1a 100644
--- a/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator_test.go
+++ b/receiver/hostmetricsreceiver/internal/scraper/processscraper/ucal/cpu_utilization_calculator_test.go
@@ -9,6 +9,8 @@ import (
"github.com/shirou/gopsutil/v3/cpu"
"github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/collector/featuregate"
"go.opentelemetry.io/collector/pdata/pcommon"
)
@@ -24,14 +26,17 @@ func TestCpuUtilizationCalculator_Calculate(t *testing.T) {
t.Parallel()
testCases := []struct {
name string
+ logicalCores int
currentReadTime pcommon.Timestamp
currentCPUStat *cpu.TimesStat
previousReadTime pcommon.Timestamp
previousCPUStat *cpu.TimesStat
expectedUtilization *CPUUtilization
+ normalize bool
}{
{
- name: "no previous times",
+ name: "no previous times",
+ logicalCores: 1,
currentCPUStat: &cpu.TimesStat{
User: 8260.4,
},
@@ -39,6 +44,7 @@ func TestCpuUtilizationCalculator_Calculate(t *testing.T) {
},
{
name: "no delta time should return utilization=0",
+ logicalCores: 1,
previousReadTime: 1640097430772858000,
currentReadTime: 1640097430772858000,
previousCPUStat: &cpu.TimesStat{
@@ -51,6 +57,71 @@ func TestCpuUtilizationCalculator_Calculate(t *testing.T) {
},
{
name: "one second time delta",
+ logicalCores: 1,
+ previousReadTime: 1640097430772858000,
+ currentReadTime: 1640097431772858000,
+ previousCPUStat: &cpu.TimesStat{
+ User: 8258.4,
+ System: 6193.3,
+ Iowait: 34.201,
+ },
+ currentCPUStat: &cpu.TimesStat{
+ User: 8258.5,
+ System: 6193.6,
+ Iowait: 34.202,
+ },
+ expectedUtilization: &CPUUtilization{
+ User: 0.1,
+ System: 0.3,
+ Iowait: 0.001,
+ },
+ },
+ {
+ name: "one second time delta, 2 logical cores, normalized",
+ logicalCores: 2,
+ previousReadTime: 1640097430772858000,
+ currentReadTime: 1640097431772858000,
+ previousCPUStat: &cpu.TimesStat{
+ User: 8258.4,
+ System: 6193.3,
+ Iowait: 34.201,
+ },
+ currentCPUStat: &cpu.TimesStat{
+ User: 8258.5,
+ System: 6193.6,
+ Iowait: 34.202,
+ },
+ expectedUtilization: &CPUUtilization{
+ User: 0.05,
+ System: 0.15,
+ Iowait: 0.0005,
+ },
+ normalize: true,
+ },
+ {
+ name: "one second time delta, 2 logical cores, not normalized",
+ logicalCores: 2,
+ previousReadTime: 1640097430772858000,
+ currentReadTime: 1640097431772858000,
+ previousCPUStat: &cpu.TimesStat{
+ User: 8258.4,
+ System: 6193.3,
+ Iowait: 34.201,
+ },
+ currentCPUStat: &cpu.TimesStat{
+ User: 8258.5,
+ System: 6193.6,
+ Iowait: 34.202,
+ },
+ expectedUtilization: &CPUUtilization{
+ User: 0.1,
+ System: 0.3,
+ Iowait: 0.001,
+ },
+ },
+ {
+ name: "0 logical cores",
+ logicalCores: 0,
previousReadTime: 1640097430772858000,
currentReadTime: 1640097431772858000,
previousCPUStat: &cpu.TimesStat{
@@ -73,13 +144,13 @@ func TestCpuUtilizationCalculator_Calculate(t *testing.T) {
for _, test := range testCases {
test := test
t.Run(test.name, func(t *testing.T) {
- t.Parallel()
+ setNormalizeProcessCPUUtilizationFeatureGate(t, test.normalize)
recorder := inMemoryRecorder{}
calculator := CPUUtilizationCalculator{
previousReadTime: test.previousReadTime,
previousCPUStats: test.previousCPUStat,
}
- err := calculator.CalculateAndRecord(test.currentReadTime, test.currentCPUStat, recorder.record)
+ err := calculator.CalculateAndRecord(test.currentReadTime, test.logicalCores, test.currentCPUStat, recorder.record)
assert.NoError(t, err)
assert.InDelta(t, test.expectedUtilization.System, recorder.cpuUtilization.System, 0.00001)
assert.InDelta(t, test.expectedUtilization.User, recorder.cpuUtilization.User, 0.00001)
@@ -108,9 +179,26 @@ func Test_cpuUtilization(t *testing.T) {
Iowait: 0.024,
}
- actualUtilization := cpuUtilization(startStat, startTime, endStat, halfSecondLater)
+ actualUtilization := cpuUtilization(1, startStat, startTime, endStat, halfSecondLater)
assert.InDelta(t, expectedUtilization.User, actualUtilization.User, 0.00001)
assert.InDelta(t, expectedUtilization.System, actualUtilization.System, 0.00001)
assert.InDelta(t, expectedUtilization.Iowait, actualUtilization.Iowait, 0.00001)
}
+
+func setNormalizeProcessCPUUtilizationFeatureGate(t *testing.T, val bool) {
+ wasEnabled := normalizeProcessCPUUtilizationFeatureGate.IsEnabled()
+ err := featuregate.GlobalRegistry().Set(
+ normalizeProcessCPUUtilizationFeatureGate.ID(),
+ val,
+ )
+ require.NoError(t, err)
+
+ t.Cleanup(func() {
+ err := featuregate.GlobalRegistry().Set(
+ normalizeProcessCPUUtilizationFeatureGate.ID(),
+ wasEnabled,
+ )
+ require.NoError(t, err)
+ })
+}
From da8ab1817588a577d312d18a0b1c223c140e871b Mon Sep 17 00:00:00 2001
From: Rodrigo Mageste
Date: Tue, 12 Mar 2024 16:44:37 -0300
Subject: [PATCH 29/34] [processor/deltatocumulative] Adjust Config struct and
MaxStreams validates (#31690)
**Description:** The Config struct was changed from JSON to mapstructure
to parse the configuration correctly. Additionally, the validation of
MaxStreams was adjusted to consider values of 0.
**Testing:** Unit tests were added for the config.go file.
---
.../deltatocumulativeprocessor/config.go | 6 +-
.../deltatocumulativeprocessor/config_test.go | 65 +++++++++++++++++++
.../testdata/config.yaml | 7 ++
3 files changed, 75 insertions(+), 3 deletions(-)
create mode 100644 processor/deltatocumulativeprocessor/config_test.go
create mode 100644 processor/deltatocumulativeprocessor/testdata/config.yaml
diff --git a/processor/deltatocumulativeprocessor/config.go b/processor/deltatocumulativeprocessor/config.go
index 54628386f6e0..b97793d0b6d8 100644
--- a/processor/deltatocumulativeprocessor/config.go
+++ b/processor/deltatocumulativeprocessor/config.go
@@ -13,15 +13,15 @@ import (
var _ component.ConfigValidator = (*Config)(nil)
type Config struct {
- MaxStale time.Duration `json:"max_stale"`
- MaxStreams int `json:"max_streams"`
+ MaxStale time.Duration `mapstructure:"max_stale"`
+ MaxStreams int `mapstructure:"max_streams"`
}
func (c *Config) Validate() error {
if c.MaxStale <= 0 {
return fmt.Errorf("max_stale must be a positive duration (got %s)", c.MaxStale)
}
- if c.MaxStreams <= 0 {
+ if c.MaxStreams < 0 {
return fmt.Errorf("max_streams must be a positive number (got %d)", c.MaxStreams)
}
return nil
diff --git a/processor/deltatocumulativeprocessor/config_test.go b/processor/deltatocumulativeprocessor/config_test.go
new file mode 100644
index 000000000000..79348b2aa6a7
--- /dev/null
+++ b/processor/deltatocumulativeprocessor/config_test.go
@@ -0,0 +1,65 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package deltatocumulativeprocessor // import "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor"
+
+import (
+ "path/filepath"
+ "testing"
+ "time"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/confmap/confmaptest"
+
+ "github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor/internal/metadata"
+)
+
+func TestLoadConfig(t *testing.T) {
+ t.Parallel()
+
+ cm, err := confmaptest.LoadConf(filepath.Join("testdata", "config.yaml"))
+ require.NoError(t, err)
+
+ tests := []struct {
+ id component.ID
+ expected component.Config
+ }{
+ {
+ id: component.NewIDWithName(metadata.Type, "all"),
+ expected: &Config{
+ MaxStale: 1 * time.Minute,
+ MaxStreams: 10,
+ },
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "set-valid-max_stale"),
+ expected: &Config{
+ MaxStale: 2 * time.Minute,
+ MaxStreams: 0,
+ },
+ },
+ {
+ id: component.NewIDWithName(metadata.Type, "set-valid-max_streams"),
+ expected: &Config{
+ MaxStale: 5 * time.Minute,
+ MaxStreams: 20,
+ },
+ },
+ }
+
+ for _, tt := range tests {
+ t.Run(tt.id.String(), func(t *testing.T) {
+ factory := NewFactory()
+ cfg := factory.CreateDefaultConfig()
+
+ sub, err := cm.Sub(tt.id.String())
+ require.NoError(t, err)
+ require.NoError(t, component.UnmarshalConfig(sub, cfg))
+
+ assert.NoError(t, component.ValidateConfig(cfg))
+ assert.Equal(t, tt.expected, cfg)
+ })
+ }
+}
diff --git a/processor/deltatocumulativeprocessor/testdata/config.yaml b/processor/deltatocumulativeprocessor/testdata/config.yaml
new file mode 100644
index 000000000000..28e34bde5c7b
--- /dev/null
+++ b/processor/deltatocumulativeprocessor/testdata/config.yaml
@@ -0,0 +1,7 @@
+deltatocumulative/all:
+ max_stale: 1m
+ max_streams: 10
+deltatocumulative/set-valid-max_stale:
+ max_stale: 2m
+deltatocumulative/set-valid-max_streams:
+ max_streams: 20
From 2a638ecfd2046e3b67a9513f694ea4247cfb8822 Mon Sep 17 00:00:00 2001
From: Curtis Robert
Date: Tue, 12 Mar 2024 12:55:05 -0700
Subject: [PATCH 30/34] [chore][receiver/sqlquery] Enable goleak check (#31667)
**Description:**
Enable goleak checks to help ensure no goroutines are being leaked. This
is a test only change, a couple tests were missing `Shutdown` calls.
**Link to tracking Issue:**
#30438
---------
Co-authored-by: Andrzej Stencel
---
receiver/sqlqueryreceiver/go.mod | 1 +
receiver/sqlqueryreceiver/package_test.go | 15 +++++++++++++++
receiver/sqlqueryreceiver/receiver_test.go | 2 ++
3 files changed, 18 insertions(+)
create mode 100644 receiver/sqlqueryreceiver/package_test.go
diff --git a/receiver/sqlqueryreceiver/go.mod b/receiver/sqlqueryreceiver/go.mod
index cebf7b9218f3..6617d1e2818b 100644
--- a/receiver/sqlqueryreceiver/go.mod
+++ b/receiver/sqlqueryreceiver/go.mod
@@ -19,6 +19,7 @@ require (
go.opentelemetry.io/collector/receiver v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
+ go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
)
diff --git a/receiver/sqlqueryreceiver/package_test.go b/receiver/sqlqueryreceiver/package_test.go
new file mode 100644
index 000000000000..0544a360dc65
--- /dev/null
+++ b/receiver/sqlqueryreceiver/package_test.go
@@ -0,0 +1,15 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package sqlqueryreceiver
+
+import (
+ "testing"
+
+ "go.uber.org/goleak"
+)
+
+// Regarding the godbus/dbus ignore: see https://github.com/99designs/keyring/issues/103
+func TestMain(m *testing.M) {
+ goleak.VerifyTestMain(m, goleak.IgnoreAnyFunction("github.com/godbus/dbus.(*Conn).inWorker"))
+}
diff --git a/receiver/sqlqueryreceiver/receiver_test.go b/receiver/sqlqueryreceiver/receiver_test.go
index ff5cd49f9d53..d5a1aecf882b 100644
--- a/receiver/sqlqueryreceiver/receiver_test.go
+++ b/receiver/sqlqueryreceiver/receiver_test.go
@@ -45,6 +45,7 @@ func TestCreateLogsReceiver(t *testing.T) {
require.NoError(t, err)
err = receiver.Start(ctx, componenttest.NewNopHost())
require.NoError(t, err)
+ require.NoError(t, receiver.Shutdown(ctx))
}
func TestCreateMetricsReceiver(t *testing.T) {
@@ -75,6 +76,7 @@ func TestCreateMetricsReceiver(t *testing.T) {
require.NoError(t, err)
err = receiver.Start(ctx, componenttest.NewNopHost())
require.NoError(t, err)
+ require.NoError(t, receiver.Shutdown(ctx))
}
func fakeDBConnect(string, string) (*sql.DB, error) {
From bf401627f20f3af71ee0d30e2dbd1460c32b7103 Mon Sep 17 00:00:00 2001
From: Israel Blancas
Date: Tue, 12 Mar 2024 21:07:39 +0100
Subject: [PATCH 31/34] [chore] Add goleak tests for jaeger receiver (#31687)
Related to
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30438
Signed-off-by: Israel Blancas
---
receiver/jaegerreceiver/go.mod | 1 +
receiver/jaegerreceiver/jaeger_agent_test.go | 8 +++-----
receiver/jaegerreceiver/package_test.go | 14 ++++++++++++++
3 files changed, 18 insertions(+), 5 deletions(-)
create mode 100644 receiver/jaegerreceiver/package_test.go
diff --git a/receiver/jaegerreceiver/go.mod b/receiver/jaegerreceiver/go.mod
index 926d00b84ada..48e9e7b07d5b 100644
--- a/receiver/jaegerreceiver/go.mod
+++ b/receiver/jaegerreceiver/go.mod
@@ -22,6 +22,7 @@ require (
go.opentelemetry.io/collector/semconv v0.96.1-0.20240306115632-b2693620eff6
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
+ go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
google.golang.org/grpc v1.62.1
diff --git a/receiver/jaegerreceiver/jaeger_agent_test.go b/receiver/jaegerreceiver/jaeger_agent_test.go
index aa1e5673ba41..77e07cfca7ea 100644
--- a/receiver/jaegerreceiver/jaeger_agent_test.go
+++ b/receiver/jaegerreceiver/jaeger_agent_test.go
@@ -161,11 +161,9 @@ func TestJaegerHTTP(t *testing.T) {
resp, err := http.Get(fmt.Sprintf("http://%s/sampling?service=test", endpoint))
assert.NoError(t, err, "should not have failed to make request")
- if resp != nil {
- assert.Equal(t, 500, resp.StatusCode, "should have returned 200")
- return
- }
- t.Fail()
+ assert.NotNil(t, resp)
+ defer resp.Body.Close()
+ assert.Equal(t, 500, resp.StatusCode, "should have returned 200")
}
func testJaegerAgent(t *testing.T, agentEndpoint string, receiverConfig *configuration) {
diff --git a/receiver/jaegerreceiver/package_test.go b/receiver/jaegerreceiver/package_test.go
new file mode 100644
index 000000000000..79fe99141725
--- /dev/null
+++ b/receiver/jaegerreceiver/package_test.go
@@ -0,0 +1,14 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package jaegerreceiver
+
+import (
+ "testing"
+
+ "go.uber.org/goleak"
+)
+
+func TestMain(m *testing.M) {
+ goleak.VerifyTestMain(m)
+}
From 916a2fed0eef1993198ebcb5cea357ea8eebfc82 Mon Sep 17 00:00:00 2001
From: Curtis Robert
Date: Tue, 12 Mar 2024 15:07:01 -0700
Subject: [PATCH 32/34] [chore][internal/filter/filterconfig] Update comment to
match functionality (#31517)
Context:
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/31496#issuecomment-1971974552
I believe strict matching was originally the only supported option for
attributes, and regex was added shortly after. I believe this comment
was missed with the update, so it's out of date. Refer to the referenced
comment above for more context and references.
---
internal/filter/filterconfig/config.go | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/internal/filter/filterconfig/config.go b/internal/filter/filterconfig/config.go
index 4f77f99fe65f..eb0f2a53191f 100644
--- a/internal/filter/filterconfig/config.go
+++ b/internal/filter/filterconfig/config.go
@@ -105,8 +105,7 @@ type MatchProperties struct {
MetricNames []string `mapstructure:"metric_names"`
// Attributes specifies the list of attributes to match against.
- // All of these attributes must match exactly for a match to occur.
- // Only match_type=strict is allowed if "attributes" are specified.
+ // All of these attributes must match for a match to occur.
// This is an optional field.
Attributes []Attribute `mapstructure:"attributes"`
From 3e072d2010b9e7c0ce7611b0f15f4eba36bfd220 Mon Sep 17 00:00:00 2001
From: Andrzej Stencel
Date: Tue, 12 Mar 2024 23:07:38 +0100
Subject: [PATCH 33/34] [chore] refactor(sumologicexporter): use
`confighttp.NewDefaultClientConfig` (#31510)
Use `confighttp.NewDefaultClientConfig` instead of
`confighttp.ClientConfig{...}`.
**Link to tracking Issue:** https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/6641
**Testing:**
Unit tests
---
exporter/sumologicexporter/config.go | 6 +++---
exporter/sumologicexporter/factory_test.go | 4 +++-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/exporter/sumologicexporter/config.go b/exporter/sumologicexporter/config.go
index 568400ef74e7..16382c6942c7 100644
--- a/exporter/sumologicexporter/config.go
+++ b/exporter/sumologicexporter/config.go
@@ -62,9 +62,9 @@ type Config struct {
// createDefaultClientConfig returns default http client settings
func createDefaultClientConfig() confighttp.ClientConfig {
- return confighttp.ClientConfig{
- Timeout: defaultTimeout,
- }
+ config := confighttp.NewDefaultClientConfig()
+ config.Timeout = defaultTimeout
+ return config
}
// LogFormatType represents log_format
diff --git a/exporter/sumologicexporter/factory_test.go b/exporter/sumologicexporter/factory_test.go
index 906cd7d415e3..c37ad2e8ebb3 100644
--- a/exporter/sumologicexporter/factory_test.go
+++ b/exporter/sumologicexporter/factory_test.go
@@ -40,7 +40,9 @@ func TestCreateDefaultConfig(t *testing.T) {
GraphiteTemplate: "%{_metric_}",
ClientConfig: confighttp.ClientConfig{
- Timeout: 5 * time.Second,
+ IdleConnTimeout: confighttp.NewDefaultClientConfig().IdleConnTimeout,
+ MaxIdleConns: confighttp.NewDefaultClientConfig().MaxIdleConns,
+ Timeout: 5 * time.Second,
},
BackOffConfig: configretry.NewDefaultBackOffConfig(),
QueueSettings: qs,
From 02a89ad8efccadbf765686ca2abc4a2370eba55c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 12 Mar 2024 15:08:11 -0700
Subject: [PATCH 34/34] fix(deps): update module k8s.io/klog/v2 to v2.120.1
(#31721)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://togithub.com/kubernetes/klog) | `v2.110.1` ->
`v2.120.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.110.1/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.110.1/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
kubernetes/klog (k8s.io/klog/v2)
###
[`v2.120.1`](https://togithub.com/kubernetes/klog/releases/tag/v2.120.1):
Prepare klog release for Kubernetes v1.30 (Take 2)
[Compare
Source](https://togithub.com/kubernetes/klog/compare/v2.120.0...v2.120.1)
#### What's Changed
- textlogger: allow caller to override stack unwinding by
[@pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/397](https://togithub.com/kubernetes/klog/pull/397)
**Full Changelog**:
https://github.com/kubernetes/klog/compare/v2.120.0...v2.120.1
###
[`v2.120.0`](https://togithub.com/kubernetes/klog/releases/tag/v2.120.0):
Prepare klog release for Kubernetes v1.30 (Take 1)
[Compare
Source](https://togithub.com/kubernetes/klog/compare/v2.110.1...v2.120.0)
#### What's Changed
- OWNERS: remove serathius, add mengjiao-liu, promote pohly by
[@pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/394](https://togithub.com/kubernetes/klog/pull/394)
- docs: clarify relationship between different features by
[@pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/395](https://togithub.com/kubernetes/klog/pull/395)
- Add SafePtr wrapper by [@kaisoz](https://togithub.com/kaisoz)
in
[https://github.com/kubernetes/klog/pull/393](https://togithub.com/kubernetes/klog/pull/393)
- logr v1.4.1 + SetSlogLogger by
[@pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/396](https://togithub.com/kubernetes/klog/pull/396)
#### New Contributors
- [@kaisoz](https://togithub.com/kaisoz) made their first
contribution in
[https://github.com/kubernetes/klog/pull/393](https://togithub.com/kubernetes/klog/pull/393)
**Full Changelog**:
https://github.com/kubernetes/klog/compare/v2.110.1...v2.120.0
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/configschema/go.mod | 2 +-
cmd/configschema/go.sum | 5 ++---
cmd/otelcontribcol/go.mod | 2 +-
cmd/otelcontribcol/go.sum | 5 ++---
go.mod | 2 +-
go.sum | 5 ++---
receiver/awscontainerinsightreceiver/go.mod | 2 +-
receiver/awscontainerinsightreceiver/go.sum | 5 ++---
8 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/cmd/configschema/go.mod b/cmd/configschema/go.mod
index a5a91797c5ce..54fb7fa80408 100644
--- a/cmd/configschema/go.mod
+++ b/cmd/configschema/go.mod
@@ -705,7 +705,7 @@ require (
k8s.io/api v0.29.2 // indirect
k8s.io/apimachinery v0.29.2 // indirect
k8s.io/client-go v0.29.2 // indirect
- k8s.io/klog/v2 v2.110.1 // indirect
+ k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/kubelet v0.29.2 // indirect
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
diff --git a/cmd/configschema/go.sum b/cmd/configschema/go.sum
index bf15da2cb9cc..d20e8b7cfbd1 100644
--- a/cmd/configschema/go.sum
+++ b/cmd/configschema/go.sum
@@ -649,7 +649,6 @@ github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7
github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
@@ -2370,8 +2369,8 @@ k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAE
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
-k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
-k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
+k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
+k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
diff --git a/cmd/otelcontribcol/go.mod b/cmd/otelcontribcol/go.mod
index ce2a056ee3fe..a006d9ee6e64 100644
--- a/cmd/otelcontribcol/go.mod
+++ b/cmd/otelcontribcol/go.mod
@@ -721,7 +721,7 @@ require (
k8s.io/api v0.29.2 // indirect
k8s.io/apimachinery v0.29.2 // indirect
k8s.io/client-go v0.29.2 // indirect
- k8s.io/klog/v2 v2.110.1 // indirect
+ k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/kubelet v0.29.2 // indirect
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
diff --git a/cmd/otelcontribcol/go.sum b/cmd/otelcontribcol/go.sum
index 46305f8696d4..0b5c4b1a13b9 100644
--- a/cmd/otelcontribcol/go.sum
+++ b/cmd/otelcontribcol/go.sum
@@ -645,7 +645,6 @@ github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7
github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
@@ -2367,8 +2366,8 @@ k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAE
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
-k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
-k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
+k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
+k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
diff --git a/go.mod b/go.mod
index 6a74bcc1a139..6389e7d24eaa 100644
--- a/go.mod
+++ b/go.mod
@@ -701,7 +701,7 @@ require (
k8s.io/api v0.29.2 // indirect
k8s.io/apimachinery v0.29.2 // indirect
k8s.io/client-go v0.29.2 // indirect
- k8s.io/klog/v2 v2.110.1 // indirect
+ k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
k8s.io/kubelet v0.29.2 // indirect
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
diff --git a/go.sum b/go.sum
index 701e09389300..33014a3b93c6 100644
--- a/go.sum
+++ b/go.sum
@@ -649,7 +649,6 @@ github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7
github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
@@ -2371,8 +2370,8 @@ k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAE
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
-k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
-k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
+k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
+k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
diff --git a/receiver/awscontainerinsightreceiver/go.mod b/receiver/awscontainerinsightreceiver/go.mod
index 31d9f12e7982..0f140cc1e829 100644
--- a/receiver/awscontainerinsightreceiver/go.mod
+++ b/receiver/awscontainerinsightreceiver/go.mod
@@ -26,7 +26,7 @@ require (
k8s.io/api v0.29.2
k8s.io/apimachinery v0.29.2
k8s.io/client-go v0.29.2
- k8s.io/klog/v2 v2.110.1
+ k8s.io/klog/v2 v2.120.1
)
require (
diff --git a/receiver/awscontainerinsightreceiver/go.sum b/receiver/awscontainerinsightreceiver/go.sum
index b9f078e9d0ea..741d53df958d 100644
--- a/receiver/awscontainerinsightreceiver/go.sum
+++ b/receiver/awscontainerinsightreceiver/go.sum
@@ -106,7 +106,6 @@ github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7
github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
@@ -734,8 +733,8 @@ k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAE
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
k8s.io/klog/v2 v2.8.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
-k8s.io/klog/v2 v2.110.1 h1:U/Af64HJf7FcwMcXyKm2RPM22WZzyR7OSpYj5tg3cL0=
-k8s.io/klog/v2 v2.110.1/go.mod h1:YGtd1984u+GgbuZ7e08/yBuAfKLSO0+uR1Fhi6ExXjo=
+k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
+k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7/go.mod h1:wXW5VT87nVfh/iLV8FpR2uDvrFyomxbtb1KivDbvPTE=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=