From 061712234f1deea3f32e2016eaf3cc22d8e6d3c2 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Mon, 6 May 2024 14:01:35 -0700
Subject: [PATCH 001/111] [mdatagen] use mdatagen to produce component internal
telemetry (#10054)
#### Description
This updates mdatagen to generate internal telemetry for components
based on metadata.yaml configuration.
#### Testing
Added tests to mdatagen and updated the batch processor to use this as
well for synchronous counters and histogram
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit d73235fc9104fdc10f930c36bcf122c7a5bd162c)
---
.../codeboten_mdatagen-for-batch-metrics.yaml | 27 ++++++++++
.../internal/metadata/generated_telemetry.go | 33 ++++++++++++
.../internal/samplereceiver/metadata.yaml | 16 ++++++
cmd/mdatagen/loader.go | 11 ++++
cmd/mdatagen/loader_test.go | 26 +++++++--
cmd/mdatagen/metadata-schema.yaml | 33 ++++++++++++
cmd/mdatagen/metricdata.go | 54 +++++++++++++++++--
cmd/mdatagen/templates/telemetry.go.tmpl | 35 ++++++++++++
.../internal/metadata/generated_telemetry.go | 47 ++++++++++++++++
processor/batchprocessor/metadata.yaml | 29 ++++++++++
processor/batchprocessor/metrics.go | 44 +++------------
11 files changed, 311 insertions(+), 44 deletions(-)
create mode 100644 .chloggen/codeboten_mdatagen-for-batch-metrics.yaml
diff --git a/.chloggen/codeboten_mdatagen-for-batch-metrics.yaml b/.chloggen/codeboten_mdatagen-for-batch-metrics.yaml
new file mode 100644
index 00000000000..219510dfdbb
--- /dev/null
+++ b/.chloggen/codeboten_mdatagen-for-batch-metrics.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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: add ability to use metadata.yaml to automatically generate instruments for components
+
+# One or more tracking issues or pull requests related to the change
+issues: [10054]
+
+# (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 `telemetry` section in metadata.yaml is used to generate
+ instruments for components to measure telemetry about themselves.
+
+# 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/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
index 2e9683259cd..d916f8b40bb 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
@@ -3,6 +3,8 @@
package metadata
import (
+ "errors"
+
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
@@ -16,3 +18,34 @@ func Meter(settings component.TelemetrySettings) metric.Meter {
func Tracer(settings component.TelemetrySettings) trace.Tracer {
return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/internal/receiver/samplereceiver")
}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ BatchSizeTriggerSend metric.Int64Counter
+ RequestDuration metric.Float64Histogram
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.BatchSizeTriggerSend, err = meter.Int64Counter(
+ "batch_size_trigger_send",
+ metric.WithDescription("Number of times the batch was sent due to a size trigger"),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.RequestDuration, err = meter.Float64Histogram(
+ "request_duration",
+ metric.WithDescription("Duration of request"),
+ metric.WithUnit("s"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/cmd/mdatagen/internal/samplereceiver/metadata.yaml b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
index 06d544b18af..9394b54fcc8 100644
--- a/cmd/mdatagen/internal/samplereceiver/metadata.yaml
+++ b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
@@ -149,3 +149,19 @@ metrics:
monotonic: true
aggregation_temporality: cumulative
attributes: [ string_attr, overridden_int_attr, enum_attr, slice_attr, map_attr ]
+
+telemetry:
+ metrics:
+ batch_size_trigger_send:
+ enabled: true
+ description: Number of times the batch was sent due to a size trigger
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+ request_duration:
+ enabled: true
+ description: Duration of request
+ unit: s
+ histogram:
+ value_type: double
diff --git a/cmd/mdatagen/loader.go b/cmd/mdatagen/loader.go
index 20b20d0dc19..4ed517c6613 100644
--- a/cmd/mdatagen/loader.go
+++ b/cmd/mdatagen/loader.go
@@ -117,6 +117,8 @@ type metric struct {
Sum *sum `mapstructure:"sum,omitempty"`
// Gauge stores metadata for gauge metric type
Gauge *gauge `mapstructure:"gauge,omitempty"`
+ // Gauge stores metadata for gauge metric type
+ Histogram *histogram `mapstructure:"histogram,omitempty"`
// Attributes is the list of attributes that the metric emits.
Attributes []attributeName `mapstructure:"attributes"`
@@ -135,6 +137,9 @@ func (m metric) Data() MetricData {
if m.Gauge != nil {
return m.Gauge
}
+ if m.Histogram != nil {
+ return m.Histogram
+ }
return nil
}
@@ -221,6 +226,10 @@ type tests struct {
ExpectConsumerError bool `mapstructure:"expect_consumer_error"`
}
+type telemetry struct {
+ Metrics map[metricName]metric `mapstructure:"metrics"`
+}
+
type metadata struct {
// Type of the component.
Type string `mapstructure:"type"`
@@ -228,6 +237,8 @@ type metadata struct {
Parent string `mapstructure:"parent"`
// Status information for the component.
Status *Status `mapstructure:"status"`
+ // Telemetry information for the component.
+ Telemetry telemetry `mapstructure:"telemetry"`
// SemConvVersion is a version number of OpenTelemetry semantic conventions applied to the scraped metrics.
SemConvVersion string `mapstructure:"sem_conv_version"`
// ResourceAttributes that can be emitted by the component.
diff --git a/cmd/mdatagen/loader_test.go b/cmd/mdatagen/loader_test.go
index cf3d59e07ce..ee720d8ce54 100644
--- a/cmd/mdatagen/loader_test.go
+++ b/cmd/mdatagen/loader_test.go
@@ -231,6 +231,27 @@ func TestLoadMetadata(t *testing.T) {
Attributes: []attributeName{"string_attr", "overridden_int_attr", "enum_attr", "slice_attr", "map_attr"},
},
},
+ Telemetry: telemetry{
+ Metrics: map[metricName]metric{
+ "batch_size_trigger_send": {
+ Enabled: true,
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: strPtr("1"),
+ Sum: &sum{
+ MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeInt},
+ Mono: Mono{Monotonic: true},
+ },
+ },
+ "request_duration": {
+ Enabled: true,
+ Description: "Duration of request",
+ Unit: strPtr("s"),
+ Histogram: &histogram{
+ MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeDouble},
+ },
+ },
+ },
+ },
ScopeName: "go.opentelemetry.io/collector/internal/receiver/samplereceiver",
ShortFolderName: "sample",
},
@@ -264,11 +285,6 @@ func TestLoadMetadata(t *testing.T) {
name: "testdata/unknown_value_type.yaml",
wantErr: "1 error(s) decoding:\n\n* error decoding 'metrics[system.cpu.time]': 1 error(s) decoding:\n\n* error decoding 'sum': 1 error(s) decoding:\n\n* error decoding 'value_type': invalid value_type: \"unknown\"",
},
- {
- name: "testdata/no_aggregation.yaml",
- want: metadata{},
- wantErr: "1 error(s) decoding:\n\n* error decoding 'metrics[default.metric]': 1 error(s) decoding:\n\n* error decoding 'sum': missing required field: `aggregation_temporality`",
- },
{
name: "testdata/invalid_aggregation.yaml",
want: metadata{},
diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml
index 1363346971e..b2746b2cc33 100644
--- a/cmd/mdatagen/metadata-schema.yaml
+++ b/cmd/mdatagen/metadata-schema.yaml
@@ -125,3 +125,36 @@ tests:
ignore:
top: [string] # Optional: array of strings representing functions that should be ignore via IgnoreTopFunction
any: [string] # Optional: array of strings representing functions that should be ignore via IgnoreAnyFunction
+
+
+# Optional: map of metric names with the key being the metric name and value
+# being described below.
+telemetry:
+ :
+ # Required: whether the metric is collected by default.
+ enabled: bool
+ # Required: metric description.
+ description:
+ # Optional: extended documentation of the metric.
+ extended_documentation:
+ # Optional: warnings that will be shown to user under specified conditions.
+ warnings:
+ # A warning that will be displayed if the metric is enabled in user config.
+ # Should be used for deprecated default metrics that will be removed soon.
+ if_enabled:
+ # A warning that will be displayed if `enabled` field is not set explicitly in user config.
+ # Should be used for metrics that will be turned from default to optional or vice versa.
+ if_enabled_not_set:
+ # A warning that will be displayed if the metrics is configured by user in any way.
+ # Should be used for deprecated optional metrics that will be removed soon.
+ if_configured:
+ # Required: metric unit as defined by https://ucum.org/ucum.html.
+ unit:
+ # Required: metric type with its settings.
+ :
+ # Required for sum and gauge metrics: type of number data point values.
+ value_type:
+ # Required for sum metric: whether the metric is monotonic (no negative delta values).
+ monotonic: bool
+ # Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
+ attributes: [string]
diff --git a/cmd/mdatagen/metricdata.go b/cmd/mdatagen/metricdata.go
index 5bf77985cc9..aa80904e607 100644
--- a/cmd/mdatagen/metricdata.go
+++ b/cmd/mdatagen/metricdata.go
@@ -7,6 +7,9 @@ import (
"errors"
"fmt"
+ "golang.org/x/text/cases"
+ "golang.org/x/text/language"
+
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/pdata/pmetric"
)
@@ -14,6 +17,7 @@ import (
var (
_ MetricData = &gauge{}
_ MetricData = &sum{}
+ _ MetricData = &histogram{}
)
// MetricData is generic interface for all metric datatypes.
@@ -22,6 +26,7 @@ type MetricData interface {
HasMonotonic() bool
HasAggregated() bool
HasMetricInputType() bool
+ Instrument() string
}
// AggregationTemporality defines a metric aggregation type.
@@ -140,6 +145,10 @@ func (d gauge) HasAggregated() bool {
return false
}
+func (d gauge) Instrument() string {
+ return ""
+}
+
type sum struct {
AggregationTemporality `mapstructure:"aggregation_temporality"`
Mono `mapstructure:",squash"`
@@ -149,9 +158,6 @@ type sum struct {
// Unmarshal is a custom unmarshaler for sum. Needed mostly to avoid MetricValueType.Unmarshal inheritance.
func (d *sum) Unmarshal(parser *confmap.Conf) error {
- if !parser.IsSet("aggregation_temporality") {
- return errors.New("missing required field: `aggregation_temporality`")
- }
if err := d.MetricValueType.Unmarshal(parser); err != nil {
return err
}
@@ -180,3 +186,45 @@ func (d sum) HasMonotonic() bool {
func (d sum) HasAggregated() bool {
return true
}
+
+func (d sum) Instrument() string {
+ instrumentName := cases.Title(language.English).String(d.MetricValueType.BasicType())
+
+ if !d.Monotonic {
+ instrumentName += "UpDown"
+ }
+ instrumentName += "Counter"
+ return instrumentName
+}
+
+type histogram struct {
+ AggregationTemporality `mapstructure:"aggregation_temporality"`
+ Mono `mapstructure:",squash"`
+ MetricValueType `mapstructure:"value_type"`
+ MetricInputType `mapstructure:",squash"`
+}
+
+func (d histogram) Type() string {
+ return "Histogram"
+}
+
+func (d histogram) HasMonotonic() bool {
+ return true
+}
+
+func (d histogram) HasAggregated() bool {
+ return true
+}
+
+func (d histogram) Instrument() string {
+ instrumentName := cases.Title(language.English).String(d.MetricValueType.BasicType())
+ return instrumentName + d.Type()
+}
+
+// Unmarshal is a custom unmarshaler for histogram. Needed mostly to avoid MetricValueType.Unmarshal inheritance.
+func (d *histogram) Unmarshal(parser *confmap.Conf) error {
+ if err := d.MetricValueType.Unmarshal(parser); err != nil {
+ return err
+ }
+ return parser.Unmarshal(d, confmap.WithIgnoreUnused())
+}
diff --git a/cmd/mdatagen/templates/telemetry.go.tmpl b/cmd/mdatagen/templates/telemetry.go.tmpl
index f0b430f3653..5d72cabe316 100644
--- a/cmd/mdatagen/templates/telemetry.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry.go.tmpl
@@ -3,6 +3,10 @@
package {{ .Package }}
import (
+ {{- if .Telemetry.Metrics }}
+ "errors"
+ {{- end }}
+
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
@@ -15,3 +19,34 @@ func Meter(settings component.TelemetrySettings) metric.Meter {
func Tracer(settings component.TelemetrySettings) trace.Tracer {
return settings.TracerProvider.Tracer("{{ .ScopeName }}")
}
+{{- if .Telemetry.Metrics }}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ {{- range $name, $metric := .Telemetry.Metrics }}
+ {{ $name.Render }} metric.{{ $metric.Data.Instrument }}
+ {{- end }}
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ {{- range $name, $metric := .Telemetry.Metrics }}
+ builder.{{ $name.Render }}, err = meter.{{ $metric.Data.Instrument }}(
+ "{{ $name }}",
+ metric.WithDescription("{{ $metric.Description }}"),
+ metric.WithUnit("{{ $metric.Unit }}"),
+ )
+ errs = errors.Join(errs, err)
+ {{- end }}
+ return &builder, errs
+}
+
+{{- end }}
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry.go b/processor/batchprocessor/internal/metadata/generated_telemetry.go
index 9a1991a4795..a35d095dd51 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry.go
@@ -3,6 +3,8 @@
package metadata
import (
+ "errors"
+
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
@@ -16,3 +18,48 @@ func Meter(settings component.TelemetrySettings) metric.Meter {
func Tracer(settings component.TelemetrySettings) trace.Tracer {
return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/processor/batchprocessor")
}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ProcessorBatchBatchSendSize metric.Int64Histogram
+ ProcessorBatchBatchSendSizeBytes metric.Int64Histogram
+ ProcessorBatchBatchSizeTriggerSend metric.Int64Counter
+ ProcessorBatchTimeoutTriggerSend metric.Int64Counter
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.ProcessorBatchBatchSendSize, err = meter.Int64Histogram(
+ "processor_batch_batch_send_size",
+ metric.WithDescription("Number of units in the batch"),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorBatchBatchSendSizeBytes, err = meter.Int64Histogram(
+ "processor_batch_batch_send_size_bytes",
+ metric.WithDescription("Number of bytes in batch that was sent"),
+ metric.WithUnit("By"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorBatchBatchSizeTriggerSend, err = meter.Int64Counter(
+ "processor_batch_batch_size_trigger_send",
+ metric.WithDescription("Number of times the batch was sent due to a size trigger"),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorBatchTimeoutTriggerSend, err = meter.Int64Counter(
+ "processor_batch_timeout_trigger_send",
+ metric.WithDescription("Number of times the batch was sent due to a timeout trigger"),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/processor/batchprocessor/metadata.yaml b/processor/batchprocessor/metadata.yaml
index d96e0f80d9b..986ada2ae27 100644
--- a/processor/batchprocessor/metadata.yaml
+++ b/processor/batchprocessor/metadata.yaml
@@ -7,3 +7,32 @@ status:
distributions: [core, contrib]
tests:
+
+telemetry:
+ metrics:
+ processor_batch_batch_size_trigger_send:
+ enabled: true
+ description: Number of times the batch was sent due to a size trigger
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+ processor_batch_timeout_trigger_send:
+ enabled: true
+ description: Number of times the batch was sent due to a timeout trigger
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+ processor_batch_batch_send_size:
+ enabled: true
+ description: Number of units in the batch
+ unit: 1
+ histogram:
+ value_type: int
+ processor_batch_batch_send_size_bytes:
+ enabled: true
+ description: Number of bytes in batch that was sent
+ unit: By
+ histogram:
+ value_type: int
diff --git a/processor/batchprocessor/metrics.go b/processor/batchprocessor/metrics.go
index 95fe7f28e16..08d3d9749f3 100644
--- a/processor/batchprocessor/metrics.go
+++ b/processor/batchprocessor/metrics.go
@@ -34,10 +34,7 @@ type batchProcessorTelemetry struct {
exportCtx context.Context
processorAttr []attribute.KeyValue
- batchSizeTriggerSend metric.Int64Counter
- timeoutTriggerSend metric.Int64Counter
- batchSendSize metric.Int64Histogram
- batchSendSizeBytes metric.Int64Histogram
+ telemetryBuilder *metadata.TelemetryBuilder
batchMetadataCardinality metric.Int64ObservableUpDownCounter
}
@@ -69,37 +66,12 @@ func (bpt *batchProcessorTelemetry) createOtelMetrics(set component.TelemetrySet
meter = noopmetric.Meter{}
}
- bpt.batchSizeTriggerSend, err = meter.Int64Counter(
- processorhelper.BuildCustomMetricName(typeStr, "batch_size_trigger_send"),
- metric.WithDescription("Number of times the batch was sent due to a size trigger"),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- bpt.timeoutTriggerSend, err = meter.Int64Counter(
- processorhelper.BuildCustomMetricName(typeStr, "timeout_trigger_send"),
- metric.WithDescription("Number of times the batch was sent due to a timeout trigger"),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- bpt.batchSendSize, err = meter.Int64Histogram(
- processorhelper.BuildCustomMetricName(typeStr, "batch_send_size"),
- metric.WithDescription("Number of units in the batch"),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- bpt.batchSendSizeBytes, err = meter.Int64Histogram(
- processorhelper.BuildCustomMetricName(typeStr, "batch_send_size_bytes"),
- metric.WithDescription("Number of bytes in batch that was sent"),
- metric.WithUnit("By"),
- )
+ bpt.telemetryBuilder, err = metadata.NewTelemetryBuilder(set)
errors = multierr.Append(errors, err)
bpt.batchMetadataCardinality, err = meter.Int64ObservableUpDownCounter(
- processorhelper.BuildCustomMetricName(typeStr, "metadata_cardinality"),
- metric.WithDescription("Number of distinct metadata value combinations being processed"),
+ processorhelper.BuildCustomMetricName(typeStr, ""),
+ metric.WithDescription(""),
metric.WithUnit("1"),
metric.WithInt64Callback(func(_ context.Context, obs metric.Int64Observer) error {
obs.Observe(int64(currentMetadataCardinality()))
@@ -114,13 +86,13 @@ func (bpt *batchProcessorTelemetry) createOtelMetrics(set component.TelemetrySet
func (bpt *batchProcessorTelemetry) record(trigger trigger, sent, bytes int64) {
switch trigger {
case triggerBatchSize:
- bpt.batchSizeTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSizeTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
case triggerTimeout:
- bpt.timeoutTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchTimeoutTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
}
- bpt.batchSendSize.Record(bpt.exportCtx, sent, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSendSize.Record(bpt.exportCtx, sent, metric.WithAttributes(bpt.processorAttr...))
if bpt.detailed {
- bpt.batchSendSizeBytes.Record(bpt.exportCtx, bytes, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSendSizeBytes.Record(bpt.exportCtx, bytes, metric.WithAttributes(bpt.processorAttr...))
}
}
From 8c4cffac0cf612b889b6aa94ca4d0c2bdc8bdf77 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Mon, 6 May 2024 14:34:08 -0700
Subject: [PATCH 002/111] [chore] Update release schedule after release 0.100.0
(#10092)
Signed-off-by: Bogdan Drutu
(cherry picked from commit 430369240f7fc2b640cab48f233cf7d8b39796a4)
---
docs/release.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/release.md b/docs/release.md
index e9c5afea292..9546b8f39ed 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -158,9 +158,6 @@ Once a module is ready to be released under the `1.x` version scheme, file a PR
| Date | Version | Release manager |
|------------|----------|-----------------|
-| 2024-04-10 | v0.98.0 | @dmitryax |
-| 2024-04-22 | v0.99.0 | @codeboten |
-| 2024-05-06 | v0.100.0 | @bogdandrutu |
| 2024-05-20 | v0.101.0 | @Aneurysm9 |
| 2024-06-03 | v0.102.0 | @jpkrohling |
| 2024-06-17 | v0.103.0 | @mx-psi |
@@ -168,3 +165,6 @@ Once a module is ready to be released under the `1.x` version scheme, file a PR
| 2024-07-15 | v0.105.0 | @atoulme |
| 2024-07-29 | v0.106.0 | @TylerHelmuth |
| 2024-08-12 | v0.107.0 | @songy23 |
+| 2024-08-26 | v0.108.0 | @dmitryax |
+| 2024-09-09 | v0.109.0 | @codeboten |
+| 2024-09-23 | v0.110.0 | @bogdandrutu |
From 2769d33c424dbe0e68864b7053d23c63c12044d7 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Mon, 6 May 2024 14:37:27 -0700
Subject: [PATCH 003/111] [chore] add unit test for histogram in mdatagen
(#10089)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit 7855bf2ababecdddfea82e4b1a15fd81be2d2d66)
---
cmd/mdatagen/metricdata.go | 4 ++--
cmd/mdatagen/metricdata_test.go | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/cmd/mdatagen/metricdata.go b/cmd/mdatagen/metricdata.go
index aa80904e607..c011be6db7a 100644
--- a/cmd/mdatagen/metricdata.go
+++ b/cmd/mdatagen/metricdata.go
@@ -209,11 +209,11 @@ func (d histogram) Type() string {
}
func (d histogram) HasMonotonic() bool {
- return true
+ return false
}
func (d histogram) HasAggregated() bool {
- return true
+ return false
}
func (d histogram) Instrument() string {
diff --git a/cmd/mdatagen/metricdata_test.go b/cmd/mdatagen/metricdata_test.go
index 10b7f46613e..fc67af4e074 100644
--- a/cmd/mdatagen/metricdata_test.go
+++ b/cmd/mdatagen/metricdata_test.go
@@ -18,6 +18,7 @@ func TestMetricData(t *testing.T) {
}{
{&gauge{}, "Gauge", false, false},
{&sum{}, "Sum", true, true},
+ {&histogram{}, "Histogram", false, false},
} {
assert.Equal(t, arg.typ, arg.metricData.Type())
assert.Equal(t, arg.hasAggregated, arg.metricData.HasAggregated())
From f3215fb3630ad1e66601e7191894482c265226b3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 07:55:33 -0700
Subject: [PATCH 004/111] Update module github.com/shirou/gopsutil/v3 to
v3.24.4 (#10097)
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/shirou/gopsutil/v3](https://togithub.com/shirou/gopsutil)
| `v3.24.3` -> `v3.24.4` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fshirou%2fgopsutil%2fv3/v3.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fshirou%2fgopsutil%2fv3/v3.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fshirou%2fgopsutil%2fv3/v3.24.3/v3.24.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fshirou%2fgopsutil%2fv3/v3.24.3/v3.24.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
shirou/gopsutil (github.com/shirou/gopsutil/v3)
###
[`v3.24.4`](https://togithub.com/shirou/gopsutil/releases/tag/v3.24.4)
[Compare
Source](https://togithub.com/shirou/gopsutil/compare/v3.24.3...v3.24.4)
##### What's Changed
##### net
- Update net_openbsd.go to correctly parse netstat output on obsd by
[@amarinderca](https://togithub.com/amarinderca) in
[https://github.com/shirou/gopsutil/pull/1621](https://togithub.com/shirou/gopsutil/pull/1621)
- chore: fix some typos in comments by
[@camcui](https://togithub.com/camcui) in
[https://github.com/shirou/gopsutil/pull/1624](https://togithub.com/shirou/gopsutil/pull/1624)
##### New Contributors
- [@amarinderca](https://togithub.com/amarinderca) made their
first contribution in
[https://github.com/shirou/gopsutil/pull/1621](https://togithub.com/shirou/gopsutil/pull/1621)
- [@camcui](https://togithub.com/camcui) made their first
contribution in
[https://github.com/shirou/gopsutil/pull/1624](https://togithub.com/shirou/gopsutil/pull/1624)
**Full Changelog**:
https://github.com/shirou/gopsutil/compare/v3.24.3...v3.24.4
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
(cherry picked from commit 9bee0cafcae752ee3701c106ede7060ed3470a00)
---
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 5 ++---
extension/ballastextension/go.mod | 2 +-
extension/ballastextension/go.sum | 5 ++---
extension/memorylimiterextension/go.mod | 2 +-
extension/memorylimiterextension/go.sum | 5 ++---
go.mod | 2 +-
go.sum | 5 ++---
otelcol/go.mod | 2 +-
otelcol/go.sum | 5 ++---
processor/memorylimiterprocessor/go.mod | 2 +-
processor/memorylimiterprocessor/go.sum | 5 ++---
service/go.mod | 2 +-
service/go.sum | 5 ++---
14 files changed, 21 insertions(+), 28 deletions(-)
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 9fda292e0f7..87993a345d9 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -70,7 +70,7 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- github.com/shirou/gopsutil/v3 v3.24.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/spf13/cobra v1.8.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index 13c5f8a3f42..dc19034cff3 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -115,8 +115,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
github.com/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
github.com/rs/cors v1.10.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
-github.com/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=
@@ -228,7 +228,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 8d895a863d1..cdcda065821 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -37,7 +37,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- github.com/shirou/gopsutil/v3 v3.24.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index 6d9bf441a16..0625719612b 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -54,8 +54,8 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
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/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -114,7 +114,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 3a10b662bd5..50e5e4daa1f 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -36,7 +36,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- github.com/shirou/gopsutil/v3 v3.24.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index 6d9bf441a16..0625719612b 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -54,8 +54,8 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
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/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -114,7 +114,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/go.mod b/go.mod
index 0b0e01d1d21..45809bc5818 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/collector
go 1.21
require (
- github.com/shirou/gopsutil/v3 v3.24.3
+ github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.100.0
go.opentelemetry.io/collector/confmap v0.100.0
diff --git a/go.sum b/go.sum
index 3ce50f26a17..98dbafc2248 100644
--- a/go.sum
+++ b/go.sum
@@ -66,8 +66,8 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
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/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -145,7 +145,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index a24906b5d07..80d161c8f28 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -60,7 +60,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- github.com/shirou/gopsutil/v3 v3.24.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
diff --git a/otelcol/go.sum b/otelcol/go.sum
index ccfb176713a..e291a5b9e0b 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -103,8 +103,8 @@ github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3c
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/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
-github.com/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=
@@ -212,7 +212,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index 87ab2ea6753..ad22e2b5ebf 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -40,7 +40,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- github.com/shirou/gopsutil/v3 v3.24.3 // indirect
+ github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index a2c03ed5c2f..8c067badf1a 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -62,8 +62,8 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
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/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -123,7 +123,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
diff --git a/service/go.mod b/service/go.mod
index 3e31d3b760b..cfa961e8ba8 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -7,7 +7,7 @@ require (
github.com/prometheus/client_golang v1.19.0
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
- github.com/shirou/gopsutil/v3 v3.24.3
+ github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
go.opencensus.io v0.24.0
go.opentelemetry.io/collector v0.100.0
diff --git a/service/go.sum b/service/go.sum
index db17fdf1402..2c244fe762f 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -99,8 +99,8 @@ github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k
github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
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/shirou/gopsutil/v3 v3.24.3 h1:eoUGJSmdfLzJ3mxIhmOAhgKEKgQkeOwKpz1NbhVnuPE=
-github.com/shirou/gopsutil/v3 v3.24.3/go.mod h1:JpND7O217xa72ewWz9zN2eIIkPWsDN/3pl0H8Qt0uwg=
+github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
+github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=
@@ -204,7 +204,6 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
From cfc6f0df43419861d58e8b5fa2040ba45dadac72 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 09:42:51 -0700
Subject: [PATCH 005/111] Update module
go.opentelemetry.io/collector/exporter/otlphttpexporter to v0.100.0 (#10104)
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/collector/exporter/otlphttpexporter](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.99.0` -> `v0.100.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.99.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.99.0/v0.100.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-collector
(go.opentelemetry.io/collector/exporter/otlphttpexporter)
###
[`v0.100.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v170v01000)
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.99.0...v0.100.0)
##### 🛑 Breaking changes 🛑
- `service`: The `validate` sub-command no longer validates that each
pipeline's type is the same as its component types
([#10031](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10031))
##### 💡 Enhancements 💡
- `semconv`: Add support for v1.25.0 semantic convention
([#10072](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10072))
- `builder`: remove the need to go get a module to address ambiguous
import paths
([#10015](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10015))
- `pmetric`: Support parsing metric.metadata from OTLP JSON.
([#10026](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10026))
##### 🧰 Bug fixes 🧰
- `exporterhelper`: Fix enabled config option for batch sender
([#10076](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10076))
---
### 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 5605528fbdbe37662891f19a3948c1774740b9c8)
---
internal/e2e/go.mod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 7ba98c47f7d..b6acb483269 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -13,7 +13,7 @@ require (
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/exporter/otlpexporter v0.99.0
- go.opentelemetry.io/collector/exporter/otlphttpexporter v0.99.0
+ go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
go.opentelemetry.io/collector/pdata/testdata v0.100.0
go.opentelemetry.io/collector/receiver v0.100.0
From 1c4e659f6443a40608328145b867e1e6a3dd9af5 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 7 May 2024 09:59:00 -0700
Subject: [PATCH 006/111] [chore] split arm builds into their own workflow
(#10113)
This is the same as was done in contrib.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit 93901cd2b767b555b46fce2bf6d72704adbb8b11)
---
.github/workflows/build-and-test-arm.yml | 63 ++++++++++++++++++++++++
.github/workflows/build-and-test.yml | 5 +-
2 files changed, 64 insertions(+), 4 deletions(-)
create mode 100644 .github/workflows/build-and-test-arm.yml
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
new file mode 100644
index 00000000000..2020178d4e8
--- /dev/null
+++ b/.github/workflows/build-and-test-arm.yml
@@ -0,0 +1,63 @@
+name: build-and-test-arm
+on:
+ push:
+ branches: [ main ]
+ tags:
+ - 'v[0-9]+.[0-9]+.[0-9]+*'
+ merge_group:
+ pull_request:
+env:
+ TEST_RESULTS: testbed/tests/results/junit/results.xml
+ # Make sure to exit early if cache segment download times out after 2 minutes.
+ # We limit cache download as a whole to 5 minutes.
+ SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
+ GOPROXY: https://goproxy1.cncf.selfactuated.dev,direct
+
+# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
+jobs:
+ arm-unittest-matrix:
+ if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
+ runs-on: actuated-arm64-4cpu-4gb
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version: "~1.22.2"
+ cache: false
+ - name: Cache Go
+ id: go-cache
+ timeout-minutes: 5
+ uses: actions/cache@v4
+ with:
+ path: |
+ ~/go/bin
+ ~/go/pkg/mod
+ key: go-build-cache-${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+ - name: Install dependencies
+ if: steps.go-cache.outputs.cache-hit != 'true'
+ run: make gomoddownload
+ - name: Install Tools
+ if: steps.go-cache.outputs.cache-hit != 'true'
+ run: make install-tools
+ - name: Run Unit Tests
+ run: make -j4 gotest
+ arm-unittest:
+ if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
+ runs-on: actuated-arm64-4cpu-4gb
+ needs: [arm-unittest-matrix]
+ steps:
+ - name: Print result
+ run: echo ${{ needs.arm-unittest-matrix.result }}
+ - name: Interpret result
+ run: |
+ if [[ success == ${{ needs.arm-unittest-matrix.result }} ]]
+ then
+ echo "All matrix jobs passed!"
+ else
+ echo "One or more matrix jobs failed."
+ false
+ fi
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index b7ed51a68e4..d66b22dd09e 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -137,10 +137,7 @@ jobs:
unittest-matrix:
strategy:
matrix:
- runner: [ubuntu-latest, actuated-arm64-4cpu-4gb]
- exclude:
- - go-version: "~1.21.9"
- runner: actuated-arm64-4cpu-4gb
+ runner: [ubuntu-latest]
go-version: ["~1.22", "~1.21.9"] # 1.20 needs quotes otherwise it's interpreted as 1.2
runs-on: ${{ matrix.runner }}
needs: [setup-environment]
From 0306f4161eacf1e52bbbaf2c615b9abc0f88fa99 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 7 May 2024 10:12:45 -0700
Subject: [PATCH 007/111] [chore] group more dependencies (#10112)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit 067ac03a57b1b7e85e9d76ecfbbbfe0932aa47e2)
---
renovate.json | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/renovate.json b/renovate.json
index bcbc26dd133..6f4fd1b062c 100644
--- a/renovate.json
+++ b/renovate.json
@@ -52,9 +52,14 @@
},
{
"matchManagers": ["gomod"],
- "matchSourceUrlPrefixes": ["https://golang.org/x"],
+ "matchPackagePrefixes": ["https://golang.org/x"],
"groupName": "All golang.org/x packages"
},
+ {
+ "matchManagers": ["gomod"],
+ "matchPackagePrefixes": ["go.opentelemetry.io/collector"],
+ "groupName": "All go.opentelemetry.io/collector packages"
+ },
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://go.opentelemetry.io/build-tools"],
From 0d7ce58eed34764af07aa8e00b9a2a860cf598fe Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 7 May 2024 10:43:21 -0700
Subject: [PATCH 008/111] [chore] fix package prefix (#10116)
should not have included `https`
(cherry picked from commit f23316625776a917dbf625c5e1640330fa3d022a)
---
renovate.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/renovate.json b/renovate.json
index 6f4fd1b062c..46774c4aeec 100644
--- a/renovate.json
+++ b/renovate.json
@@ -52,7 +52,7 @@
},
{
"matchManagers": ["gomod"],
- "matchPackagePrefixes": ["https://golang.org/x"],
+ "matchPackagePrefixes": ["golang.org/x"],
"groupName": "All golang.org/x packages"
},
{
From a728c5e42c9b0b580dafb207cabbd1bdccd21851 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 10:52:41 -0700
Subject: [PATCH 009/111] Update All go.opentelemetry.io/collector packages to
v0.100.0 (#10115)
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/collector/exporter/otlpexporter](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.99.0` -> `v0.100.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.99.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.99.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/collector/receiver/otlpreceiver](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.99.0` -> `v0.100.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.99.0/v0.100.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.99.0/v0.100.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-collector
(go.opentelemetry.io/collector/exporter/otlpexporter)
###
[`v0.100.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v170v01000)
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.99.0...v0.100.0)
##### 🛑 Breaking changes 🛑
- `service`: The `validate` sub-command no longer validates that each
pipeline's type is the same as its component types
([#10031](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10031))
##### 💡 Enhancements 💡
- `semconv`: Add support for v1.25.0 semantic convention
([#10072](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10072))
- `builder`: remove the need to go get a module to address ambiguous
import paths
([#10015](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10015))
- `pmetric`: Support parsing metric.metadata from OTLP JSON.
([#10026](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10026))
##### 🧰 Bug fixes 🧰
- `exporterhelper`: Fix enabled config option for batch sender
([#10076](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10076))
---
### 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 these
updates 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 2e289b64bbed115d186c8cf944ba054dbb8e4b63)
---
internal/e2e/go.mod | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index b6acb483269..1e9e20c17a3 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -12,12 +12,12 @@ require (
go.opentelemetry.io/collector/config/configtls v0.100.0
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/exporter/otlpexporter v0.99.0
+ go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
go.opentelemetry.io/collector/pdata/testdata v0.100.0
go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/collector/receiver/otlpreceiver v0.99.0
+ go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
go.uber.org/goleak v1.3.0
)
From 828d326670d78170252140a03b90e5db31888290 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 11:18:31 -0700
Subject: [PATCH 010/111] Update All golang.org/x packages (#10117)
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 |
|---|---|---|---|---|---|
| golang.org/x/exp | `v0.0.0-20231110203233-9a3e6036ecaa` ->
`v0.0.0-20240506185415-9bf2ced13842` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20231110203233-9a3e6036ecaa/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20231110203233-9a3e6036ecaa/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/exp | `v0.0.0-20240119083558-1b970713d09a` ->
`v0.0.0-20240506185415-9bf2ced13842` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fexp/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fexp/v0.0.0-20240119083558-1b970713d09a/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fexp/v0.0.0-20240119083558-1b970713d09a/v0.0.0-20240506185415-9bf2ced13842?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/net | `v0.24.0` -> `v0.25.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.24.0/v0.25.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/sys | `v0.19.0` -> `v0.20.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fsys/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fsys/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fsys/v0.19.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fsys/v0.19.0/v0.20.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/text | `v0.14.0` -> `v0.15.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftext/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftext/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftext/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftext/v0.14.0/v0.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| golang.org/x/tools | `v0.20.0` -> `v0.21.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2ftools/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2ftools/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2ftools/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2ftools/v0.20.0/v0.21.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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
(cherry picked from commit 3c5bca5097da4585f3a50ebefdbb6403a0038948)
---
cmd/mdatagen/go.mod | 2 +-
cmd/mdatagen/go.sum | 4 ++--
cmd/otelcorecol/go.mod | 8 ++++----
cmd/otelcorecol/go.sum | 15 ++++++++-------
config/confighttp/go.mod | 6 +++---
config/confighttp/go.sum | 12 ++++++------
exporter/debugexporter/go.mod | 2 +-
exporter/debugexporter/go.sum | 4 ++--
exporter/go.mod | 2 +-
exporter/go.sum | 4 ++--
exporter/loggingexporter/go.mod | 2 +-
exporter/loggingexporter/go.sum | 4 ++--
exporter/nopexporter/go.mod | 2 +-
exporter/nopexporter/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 6 +++---
exporter/otlphttpexporter/go.sum | 12 ++++++------
internal/e2e/go.mod | 6 +++---
internal/e2e/go.sum | 12 ++++++------
internal/tools/go.mod | 12 ++++++------
internal/tools/go.sum | 28 ++++++++++++++--------------
otelcol/go.mod | 4 ++--
otelcol/go.sum | 7 ++++---
receiver/otlpreceiver/go.mod | 6 +++---
receiver/otlpreceiver/go.sum | 12 ++++++------
service/go.mod | 2 +-
service/go.sum | 3 ++-
28 files changed, 95 insertions(+), 92 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 8512c0f3a0d..bb06b1d8eff 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- golang.org/x/text v0.14.0
+ golang.org/x/text v0.15.0
)
require (
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index 4394e616fe3..66ba2317044 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -99,8 +99,8 @@ golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 87993a345d9..f74d17abf57 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -33,7 +33,7 @@ require (
go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0
go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
go.uber.org/goleak v1.3.0
- golang.org/x/sys v0.19.0
+ golang.org/x/sys v0.20.0
)
require (
@@ -117,9 +117,9 @@ require (
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index dc19034cff3..fb8c4951ec7 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -196,8 +196,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ=
-golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
@@ -212,8 +212,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-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
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=
@@ -228,12 +228,13 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 819bc18d124..0819f0bb9f2 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -21,7 +21,7 @@ require (
go.opentelemetry.io/otel v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- golang.org/x/net v0.24.0
+ golang.org/x/net v0.25.0
)
require (
@@ -54,8 +54,8 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.0 // indirect
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index 666e96bd68b..8bfd4bdca1c 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -94,20 +94,20 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index ddf75d20ab4..cac31777151 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -49,7 +49,7 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index 7bbf6704ff6..769772457f3 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -97,8 +97,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/go.mod b/exporter/go.mod
index 47b4d59cfe9..73de75a427a 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -22,7 +22,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
- golang.org/x/sys v0.19.0
+ golang.org/x/sys v0.20.0
google.golang.org/grpc v1.63.2
)
diff --git a/exporter/go.sum b/exporter/go.sum
index 7bbf6704ff6..769772457f3 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -97,8 +97,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index d817b35d6a6..566213e47c5 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -50,7 +50,7 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index 7bbf6704ff6..769772457f3 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -97,8 +97,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 5d3489ccf93..51ee9350dd5 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -47,7 +47,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index 7bbf6704ff6..769772457f3 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -97,8 +97,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 6ba890c33a8..b7fa5258fb9 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -78,7 +78,7 @@ require (
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 0180159064d..9f4746dab27 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -129,8 +129,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 2c9f641f43b..1dd223991d2 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -76,9 +76,9 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index b8a1052e14f..4ef8e54affe 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -123,20 +123,20 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 1e9e20c17a3..e34e1796fd6 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -81,9 +81,9 @@ require (
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index ee0cdcbf90e..24223d6cda6 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -127,20 +127,20 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index b1049839b5a..6c30b8807a1 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -14,8 +14,8 @@ require (
go.opentelemetry.io/build-tools/crosslink v0.13.0
go.opentelemetry.io/build-tools/multimod v0.13.0
go.opentelemetry.io/build-tools/semconvgen v0.13.0
- golang.org/x/exp v0.0.0-20240119083558-1b970713d09a
- golang.org/x/tools v0.20.0
+ golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
+ golang.org/x/tools v0.21.0
golang.org/x/vuln v1.1.0
)
@@ -200,13 +200,13 @@ require (
go.uber.org/automaxprocs v1.5.3 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/crypto v0.22.0 // indirect
+ golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f // indirect
golang.org/x/mod v0.17.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sync v0.7.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index f2935d93a15..610a2f4adf3 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -660,8 +660,8 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0
golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
-golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
-golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
+golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
+golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -672,8 +672,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
-golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA=
-golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f h1:phY1HzDcf18Aq9A8KkmRtY9WvOFIxN8wgfvy6Zm1DV8=
@@ -748,8 +748,8 @@ golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
-golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -826,8 +826,8 @@ golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -835,8 +835,8 @@ golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
-golang.org/x/term v0.19.0 h1:+ThwsDv+tYfnJFhF4L8jITxu1tdTWRTZpdsWgEgjL6Q=
-golang.org/x/term v0.19.0/go.mod h1:2CuTdWZ7KHSQwUzKva0cbMg6q2DMI3Mmxp+gKJbskEk=
+golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw=
+golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -848,8 +848,8 @@ golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -914,8 +914,8 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
-golang.org/x/tools v0.20.0 h1:hz/CVckiOxybQvFw6h7b/q80NTr9IUQb4s1IIzW7KNY=
-golang.org/x/tools v0.20.0/go.mod h1:WvitBU7JJf6A4jOdg4S1tviW9bhUxkgeCui/0JHctQg=
+golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=
+golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/vuln v1.1.0 h1:ECEdI+aEtjpF90eqEcDL5Q11DWSZAw5PJQWlp0+gWqc=
golang.org/x/vuln v1.1.0/go.mod h1:HT/Ar8fE34tbxWG2s7PYjVl+iIE4Er36/940Z+K540Y=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index 80d161c8f28..37e37dd7a60 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -24,8 +24,8 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
- golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
- golang.org/x/sys v0.19.0
+ golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
+ golang.org/x/sys v0.20.0
google.golang.org/grpc v1.63.2
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/otelcol/go.sum b/otelcol/go.sum
index e291a5b9e0b..4b2966cc348 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -180,8 +180,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ=
-golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM=
+golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
@@ -212,8 +212,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index b104a35ba7a..78a66b180b1 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -79,9 +79,9 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index ee0cdcbf90e..24223d6cda6 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -127,20 +127,20 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
diff --git a/service/go.mod b/service/go.mod
index cfa961e8ba8..b7c48a95924 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -80,7 +80,7 @@ require (
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/service/go.sum b/service/go.sum
index 2c244fe762f..7bfd0a5bd62 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -204,8 +204,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
From 88b76b94b898004005d8f0e091ff67c906a98d90 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 12:20:22 -0700
Subject: [PATCH 011/111] Update module google.golang.org/protobuf to v1.34.1
(#10101)
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/protobuf](https://togithub.com/protocolbuffers/protobuf-go)
| `v1.34.0` -> `v1.34.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fprotobuf/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fprotobuf/v1.34.0/v1.34.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
protocolbuffers/protobuf-go
(google.golang.org/protobuf)
###
[`v1.34.1`](https://togithub.com/protocolbuffers/protobuf-go/releases/tag/v1.34.1)
[Compare
Source](https://togithub.com/protocolbuffers/protobuf-go/compare/v1.34.0...v1.34.1)
Minor fixes for editions compliance:
- [CL/582635](https://go.dev/cl/582635): all: update to protobuf
27.0-rc1 and regenerate protos
- [CL/582755](https://go.dev/cl/582755): encoding/proto\[json|text]:
accept lower case names for group-like fields
---
### 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).
---------
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>
(cherry picked from commit c5ee52b133725ce07a0d5b2ed76f1d1462fd6633)
---
cmd/mdatagen/go.mod | 2 +-
cmd/mdatagen/go.sum | 4 ++--
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 4 ++--
component/go.mod | 2 +-
component/go.sum | 4 ++--
config/configauth/go.mod | 2 +-
config/configauth/go.sum | 4 ++--
config/configgrpc/go.mod | 2 +-
config/configgrpc/go.sum | 4 ++--
config/confighttp/go.mod | 2 +-
config/confighttp/go.sum | 4 ++--
connector/forwardconnector/go.mod | 2 +-
connector/forwardconnector/go.sum | 4 ++--
connector/go.mod | 2 +-
connector/go.sum | 4 ++--
consumer/go.mod | 2 +-
consumer/go.sum | 4 ++--
exporter/debugexporter/go.mod | 2 +-
exporter/debugexporter/go.sum | 4 ++--
exporter/go.mod | 2 +-
exporter/go.sum | 4 ++--
exporter/loggingexporter/go.mod | 2 +-
exporter/loggingexporter/go.sum | 4 ++--
exporter/nopexporter/go.mod | 2 +-
exporter/nopexporter/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.sum | 4 ++--
extension/auth/go.mod | 2 +-
extension/auth/go.sum | 4 ++--
extension/ballastextension/go.mod | 2 +-
extension/ballastextension/go.sum | 4 ++--
extension/go.mod | 2 +-
extension/go.sum | 4 ++--
extension/memorylimiterextension/go.mod | 2 +-
extension/memorylimiterextension/go.sum | 4 ++--
extension/zpagesextension/go.mod | 2 +-
extension/zpagesextension/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
internal/e2e/go.mod | 2 +-
internal/e2e/go.sum | 4 ++--
otelcol/go.mod | 2 +-
otelcol/go.sum | 4 ++--
pdata/go.mod | 2 +-
pdata/go.sum | 4 ++--
pdata/testdata/go.mod | 2 +-
pdata/testdata/go.sum | 4 ++--
processor/batchprocessor/go.mod | 2 +-
processor/batchprocessor/go.sum | 4 ++--
processor/go.mod | 2 +-
processor/go.sum | 4 ++--
processor/memorylimiterprocessor/go.mod | 2 +-
processor/memorylimiterprocessor/go.sum | 4 ++--
receiver/go.mod | 2 +-
receiver/go.sum | 4 ++--
receiver/nopreceiver/go.mod | 2 +-
receiver/nopreceiver/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.sum | 4 ++--
service/go.mod | 2 +-
service/go.sum | 4 ++--
64 files changed, 96 insertions(+), 96 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index bb06b1d8eff..980b3e63c16 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -52,7 +52,7 @@ require (
golang.org/x/sys v0.19.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index 66ba2317044..caf02f2e84a 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index f74d17abf57..5a79a099ad7 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -124,7 +124,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index fb8c4951ec7..95c3c1cc1d4 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -276,8 +276,8 @@ 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.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/component/go.mod b/component/go.mod
index 41731120641..a47bae43974 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -41,7 +41,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/component/go.sum b/component/go.sum
index 5467b123e44..e7132707b58 100644
--- a/component/go.sum
+++ b/component/go.sum
@@ -100,8 +100,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index 072dce27655..85ecf8a73e5 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -33,7 +33,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/configauth/go.sum b/config/configauth/go.sum
index 624dd0f4bec..1b403218c72 100644
--- a/config/configauth/go.sum
+++ b/config/configauth/go.sum
@@ -99,8 +99,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index ef10d17a561..746e5506ec7 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -62,7 +62,7 @@ require (
golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index 30b59f5dc25..b2de3b34188 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -123,8 +123,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 0819f0bb9f2..c46a29329a9 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -58,7 +58,7 @@ require (
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index 8bfd4bdca1c..c436376b611 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -120,8 +120,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 0f27694a228..23e1ad51c63 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -49,7 +49,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/connector/forwardconnector/go.sum b/connector/forwardconnector/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/connector/forwardconnector/go.sum
+++ b/connector/forwardconnector/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/connector/go.mod b/connector/go.mod
index fcf88fdc3e4..07d31e2defc 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -49,7 +49,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/connector/go.sum b/connector/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/connector/go.sum
+++ b/connector/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/consumer/go.mod b/consumer/go.mod
index f054b0b3a0d..d3a26865d6f 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -23,7 +23,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/consumer/go.sum b/consumer/go.sum
index 458a9f2f0c1..01a9a61180c 100644
--- a/consumer/go.sum
+++ b/consumer/go.sum
@@ -69,8 +69,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index cac31777151..927de140fab 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -53,7 +53,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index 769772457f3..391a5180151 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -115,8 +115,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/go.mod b/exporter/go.mod
index 73de75a427a..84067e8c098 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -53,7 +53,7 @@ require (
golang.org/x/net v0.24.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/go.sum b/exporter/go.sum
index 769772457f3..391a5180151 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -115,8 +115,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 566213e47c5..b9f8cf529c0 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -54,7 +54,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index 769772457f3..391a5180151 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -115,8 +115,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 51ee9350dd5..49158d89bbb 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -51,7 +51,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index 769772457f3..391a5180151 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -115,8 +115,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index b7fa5258fb9..3a467866e60 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -23,7 +23,7 @@ require (
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
google.golang.org/grpc v1.63.2
- google.golang.org/protobuf v1.34.0
+ google.golang.org/protobuf v1.34.1
)
require (
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 9f4746dab27..5a006341c03 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -151,8 +151,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 1dd223991d2..e855f9a4a4a 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -21,7 +21,7 @@ require (
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
google.golang.org/grpc v1.63.2
- google.golang.org/protobuf v1.34.0
+ google.golang.org/protobuf v1.34.1
)
require (
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index 4ef8e54affe..6121c6fafcc 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -153,8 +153,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index 661499d5720..18b1f10e553 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -43,7 +43,7 @@ require (
golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/auth/go.sum b/extension/auth/go.sum
index 5467b123e44..e7132707b58 100644
--- a/extension/auth/go.sum
+++ b/extension/auth/go.sum
@@ -100,8 +100,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index cdcda065821..7faa450c859 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -53,7 +53,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index 0625719612b..ee39ed94185 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -132,8 +132,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/extension/go.mod b/extension/go.mod
index c6f3813997e..2814c5938ce 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -43,7 +43,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/go.sum b/extension/go.sum
index a0f02ecceb9..73673bc93aa 100644
--- a/extension/go.sum
+++ b/extension/go.sum
@@ -102,8 +102,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 50e5e4daa1f..e40cd2aab7b 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -52,7 +52,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index 0625719612b..ee39ed94185 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -132,8 +132,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 1af25bfbed5..e1b632570eb 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -59,7 +59,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/zpagesextension/go.sum b/extension/zpagesextension/go.sum
index fe7454c4610..39eec412d10 100644
--- a/extension/zpagesextension/go.sum
+++ b/extension/zpagesextension/go.sum
@@ -130,8 +130,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/go.mod b/go.mod
index 45809bc5818..e50b24b44e4 100644
--- a/go.mod
+++ b/go.mod
@@ -68,7 +68,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/go.sum b/go.sum
index 98dbafc2248..01b1a5939b8 100644
--- a/go.sum
+++ b/go.sum
@@ -167,8 +167,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index e34e1796fd6..c501c742ff7 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -87,7 +87,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 24223d6cda6..3fd76525abf 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -157,8 +157,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index 37e37dd7a60..c0383919f5b 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -94,7 +94,7 @@ require (
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
)
replace go.opentelemetry.io/collector => ../
diff --git a/otelcol/go.sum b/otelcol/go.sum
index 4b2966cc348..37fcb033a3f 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -260,8 +260,8 @@ 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.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/pdata/go.mod b/pdata/go.mod
index 81fa331f77c..5700d12536b 100644
--- a/pdata/go.mod
+++ b/pdata/go.mod
@@ -9,7 +9,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
google.golang.org/grpc v1.63.2
- google.golang.org/protobuf v1.34.0
+ google.golang.org/protobuf v1.34.1
)
require (
diff --git a/pdata/go.sum b/pdata/go.sum
index 93e99b1aad8..423ee3618c5 100644
--- a/pdata/go.sum
+++ b/pdata/go.sum
@@ -74,8 +74,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/pdata/testdata/go.mod b/pdata/testdata/go.mod
index a92f19a2e54..f457e7a5b43 100644
--- a/pdata/testdata/go.mod
+++ b/pdata/testdata/go.mod
@@ -15,7 +15,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
)
replace go.opentelemetry.io/collector/pdata => ../
diff --git a/pdata/testdata/go.sum b/pdata/testdata/go.sum
index 54657892220..c8f0ea8a116 100644
--- a/pdata/testdata/go.sum
+++ b/pdata/testdata/go.sum
@@ -62,7 +62,7 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index eeeeba8a4a1..3eeca1c2415 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -50,7 +50,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/processor/batchprocessor/go.sum
+++ b/processor/batchprocessor/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/processor/go.mod b/processor/go.mod
index e569ac163d8..e03d3a706f2 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -49,7 +49,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/go.sum b/processor/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/processor/go.sum
+++ b/processor/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index ad22e2b5ebf..f663695995f 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -57,7 +57,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index 8c067badf1a..6e25c38fb3e 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -141,8 +141,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/receiver/go.mod b/receiver/go.mod
index 600c47a82ef..dfac49db6f2 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -48,7 +48,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/go.sum b/receiver/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/receiver/go.sum
+++ b/receiver/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 8f2e843d625..736e949f811 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -50,7 +50,7 @@ require (
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/nopreceiver/go.sum b/receiver/nopreceiver/go.sum
index 4394e616fe3..b60f3f5be7a 100644
--- a/receiver/nopreceiver/go.sum
+++ b/receiver/nopreceiver/go.sum
@@ -113,8 +113,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 78a66b180b1..58d067c59f5 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -23,7 +23,7 @@ require (
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
google.golang.org/grpc v1.63.2
- google.golang.org/protobuf v1.34.0
+ google.golang.org/protobuf v1.34.1
)
require (
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 24223d6cda6..3fd76525abf 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -157,8 +157,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
-google.golang.org/protobuf v1.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
diff --git a/service/go.mod b/service/go.mod
index b7c48a95924..631a062620d 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -85,7 +85,7 @@ require (
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
- google.golang.org/protobuf v1.34.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/service/go.sum b/service/go.sum
index 7bfd0a5bd62..83307976ab9 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -252,8 +252,8 @@ 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.34.0 h1:Qo/qEd2RZPCf2nKuorzksSknv0d3ERwp1vFG38gSmH4=
-google.golang.org/protobuf v1.34.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
From ca6d8a5d888d8c0afd0a6eb3ef55f39b45ec42a3 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 20:49:19 -0700
Subject: [PATCH 012/111] Update module github.com/golangci/golangci-lint to
v1.58.0 (#10102)
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/golangci/golangci-lint](https://togithub.com/golangci/golangci-lint)
| `v1.57.2` -> `v1.58.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint/v1.57.2/v1.58.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint/v1.57.2/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.
---
### Release Notes
golangci/golangci-lint
(github.com/golangci/golangci-lint)
###
[`v1.58.0`](https://togithub.com/golangci/golangci-lint/compare/v1.57.2...v1.58.0)
[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.57.2...v1.58.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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
(cherry picked from commit 90ddbcb666e3a415ef83120c5d828e44422b35c8)
---
internal/tools/go.mod | 50 +++--
internal/tools/go.sum | 497 +++++-------------------------------------
2 files changed, 81 insertions(+), 466 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 6c30b8807a1..4576faa2cf0 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/a8m/envsubst v1.4.2
github.com/client9/misspell v0.3.4
- github.com/golangci/golangci-lint v1.57.2
+ github.com/golangci/golangci-lint v1.58.0
github.com/google/addlicense v1.1.1
github.com/jcchavezs/porto v0.6.0
github.com/pavius/impi v0.0.3
@@ -25,13 +25,14 @@ require (
dario.cat/mergo v1.0.0 // indirect
github.com/4meepo/tagalign v1.3.3 // indirect
github.com/Abirdcfly/dupword v0.0.14 // indirect
- github.com/Antonboom/errname v0.1.12 // indirect
- github.com/Antonboom/nilnil v0.1.7 // indirect
+ github.com/Antonboom/errname v0.1.13 // indirect
+ github.com/Antonboom/nilnil v0.1.8 // indirect
github.com/Antonboom/testifylint v1.2.0 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
+ github.com/Crocmagnon/fatcontext v0.2.2 // indirect
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 // indirect
- github.com/Masterminds/semver v1.5.0 // indirect
+ github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/OpenPeeDeeP/depguard/v2 v2.2.0 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
@@ -50,28 +51,28 @@ require (
github.com/breml/bidichk v0.2.7 // indirect
github.com/breml/errchkjson v0.3.6 // indirect
github.com/butuzov/ireturn v0.3.0 // indirect
- github.com/butuzov/mirror v1.1.0 // indirect
+ github.com/butuzov/mirror v1.2.0 // indirect
github.com/catenacyber/perfsprint v0.7.1 // indirect
github.com/ccojocar/zxcvbn-go v1.0.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/charithe/durationcheck v0.0.10 // indirect
github.com/chavacava/garif v0.1.0 // indirect
- github.com/ckaznocha/intrange v0.1.1 // indirect
+ github.com/ckaznocha/intrange v0.1.2 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/curioswitch/go-reassign v0.2.0 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
- github.com/daixiang0/gci v0.12.3 // indirect
+ github.com/daixiang0/gci v0.13.4 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/denis-tingaikin/go-header v0.5.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/ettle/strcase v0.2.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/fatih/structtag v1.2.0 // indirect
- github.com/firefart/nonamedreturns v1.0.4 // indirect
+ github.com/firefart/nonamedreturns v1.0.5 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
github.com/ghostiam/protogetter v0.3.5 // indirect
- github.com/go-critic/go-critic v0.11.2 // indirect
+ github.com/go-critic/go-critic v0.11.3 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-git/go-git/v5 v5.11.0 // indirect
@@ -89,9 +90,10 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a // indirect
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e // indirect
- github.com/golangci/misspell v0.4.1 // indirect
+ github.com/golangci/misspell v0.5.1 // indirect
+ github.com/golangci/modinfo v0.3.4 // indirect
github.com/golangci/plugin-module-register v0.1.1 // indirect
- github.com/golangci/revgrep v0.5.2 // indirect
+ github.com/golangci/revgrep v0.5.3 // indirect
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/gordonklaus/ineffassign v0.1.0 // indirect
@@ -107,9 +109,9 @@ require (
github.com/jgautheron/goconst v1.7.1 // indirect
github.com/jingyugao/rowserrcheck v1.1.1 // indirect
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af // indirect
- github.com/jjti/go-spancheck v0.5.3 // indirect
+ github.com/jjti/go-spancheck v0.6.1 // indirect
github.com/julz/importas v0.1.0 // indirect
- github.com/karamaru-alpha/copyloopvar v1.0.10 // indirect
+ github.com/karamaru-alpha/copyloopvar v1.1.0 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/kisielk/errcheck v1.7.0 // indirect
github.com/kisielk/gotool v1.0.0 // indirect
@@ -117,9 +119,10 @@ require (
github.com/kulti/thelper v0.6.3 // indirect
github.com/kunwardeep/paralleltest v1.0.10 // indirect
github.com/kyoh86/exportloopref v0.1.11 // indirect
+ github.com/lasiar/canonicalheader v1.0.6 // indirect
github.com/ldez/gomoddirectives v0.2.4 // indirect
github.com/ldez/tagliatelle v0.5.0 // indirect
- github.com/leonklingele/grouper v1.1.1 // indirect
+ github.com/leonklingele/grouper v1.1.2 // indirect
github.com/lufeee/execinquery v1.2.1 // indirect
github.com/macabu/inamedparam v0.1.3 // indirect
github.com/magiconair/properties v1.8.7 // indirect
@@ -138,19 +141,20 @@ require (
github.com/nishanths/predeclared v0.2.2 // indirect
github.com/nunnatsa/ginkgolinter v0.16.2 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
- github.com/pelletier/go-toml/v2 v2.2.0 // indirect
+ github.com/pelletier/go-toml/v2 v2.2.2 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
- github.com/polyfloyd/go-errorlint v1.4.8 // indirect
+ github.com/polyfloyd/go-errorlint v1.5.1 // indirect
github.com/prometheus/client_golang v1.19.0 // indirect
github.com/prometheus/client_model v0.5.0 // indirect
github.com/prometheus/common v0.48.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/quasilyte/go-ruleguard v0.4.2 // indirect
+ github.com/quasilyte/go-ruleguard/dsl v0.3.22 // indirect
github.com/quasilyte/gogrep v0.5.0 // indirect
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 // indirect
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 // indirect
- github.com/ryancurrah/gomodguard v1.3.1 // indirect
+ github.com/ryancurrah/gomodguard v1.3.2 // indirect
github.com/ryanrolds/sqlclosecheck v0.5.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
@@ -186,16 +190,16 @@ require (
github.com/tomarrell/wrapcheck/v2 v2.8.3 // indirect
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
github.com/ultraware/funlen v0.1.0 // indirect
- github.com/ultraware/whitespace v0.1.0 // indirect
+ github.com/ultraware/whitespace v0.1.1 // indirect
github.com/uudashr/gocognit v1.1.2 // 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
- github.com/yeya24/promlinter v0.2.0 // indirect
+ github.com/yeya24/promlinter v0.3.0 // indirect
github.com/ykadowak/zerologlint v0.1.5 // indirect
- gitlab.com/bosi/decorder v0.4.1 // indirect
- go-simpler.org/musttag v0.9.0 // indirect
- go-simpler.org/sloglint v0.5.0 // indirect
+ gitlab.com/bosi/decorder v0.4.2 // indirect
+ go-simpler.org/musttag v0.12.1 // indirect
+ go-simpler.org/sloglint v0.6.0 // indirect
go.opentelemetry.io/build-tools v0.13.0 // indirect
go.uber.org/automaxprocs v1.5.3 // indirect
go.uber.org/multierr v1.11.0 // indirect
@@ -214,7 +218,7 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/tools v0.4.7 // indirect
mvdan.cc/gofumpt v0.6.0 // indirect
- mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 // indirect
+ mvdan.cc/unparam v0.0.0-20240427195214-063aff900ca1 // indirect
)
retract (
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index 610a2f4adf3..d0c4a6eb958 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -2,61 +2,28 @@
4d63.com/gocheckcompilerdirectives v1.2.1/go.mod h1:yjDJSxmDTtIHHCqX0ufRYZDL6vQtMG7tJdKVeWwsqvs=
4d63.com/gochecknoglobals v0.2.1 h1:1eiorGsgHOFOuoOiJDy2psSrQbRdIHrlge0IJIkUgDc=
4d63.com/gochecknoglobals v0.2.1/go.mod h1:KRE8wtJB3CXCsb1xy421JfTHIIbmT3U5ruxw2Qu8fSU=
-cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
-cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
-cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
-cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
-cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
-cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
-cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
-cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
-cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
-cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
-cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
-cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
-cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
-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=
-cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
-cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
-cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
-cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
-cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
-cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
-cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
-cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
-cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
-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=
-cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
-cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
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=
github.com/4meepo/tagalign v1.3.3 h1:ZsOxcwGD/jP4U/aw7qeWu58i7dwYemfy5Y+IF1ACoNw=
github.com/4meepo/tagalign v1.3.3/go.mod h1:Q9c1rYMZJc9dPRkbQPpcBNCLEmY2njbAsXhQOZFE2dE=
github.com/Abirdcfly/dupword v0.0.14 h1:3U4ulkc8EUo+CaT105/GJ1BQwtgyj6+VaBVbAX11Ba8=
github.com/Abirdcfly/dupword v0.0.14/go.mod h1:VKDAbxdY8YbKUByLGg8EETzYSuC4crm9WwI6Y3S0cLI=
-github.com/Antonboom/errname v0.1.12 h1:oh9ak2zUtsLp5oaEd/erjB4GPu9w19NyoIskZClDcQY=
-github.com/Antonboom/errname v0.1.12/go.mod h1:bK7todrzvlaZoQagP1orKzWXv59X/x0W0Io2XT1Ssro=
-github.com/Antonboom/nilnil v0.1.7 h1:ofgL+BA7vlA1K2wNQOsHzLJ2Pw5B5DpWRLdDAVvvTow=
-github.com/Antonboom/nilnil v0.1.7/go.mod h1:TP+ScQWVEq0eSIxqU8CbdT5DFWoHp0MbP+KMUO1BKYQ=
+github.com/Antonboom/errname v0.1.13 h1:JHICqsewj/fNckzrfVSe+T33svwQxmjC+1ntDsHOVvM=
+github.com/Antonboom/errname v0.1.13/go.mod h1:uWyefRYRN54lBg6HseYCFhs6Qjcy41Y3Jl/dVhA87Ns=
+github.com/Antonboom/nilnil v0.1.8 h1:97QG7xrLq4TBK2U9aFq/I8Mcgz67pwMIiswnTA9gIn0=
+github.com/Antonboom/nilnil v0.1.8/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ=
github.com/Antonboom/testifylint v1.2.0 h1:015bxD8zc5iY8QwTp4+RG9I4kIbqwvGX9TrBbb7jGdM=
github.com/Antonboom/testifylint v1.2.0/go.mod h1:rkmEqjqVnHDRNsinyN6fPSLnoajzFwsCcguJgwADBkw=
-github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
-github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
+github.com/Crocmagnon/fatcontext v0.2.2 h1:OrFlsDdOj9hW/oBEJBNSuH7QWf+E9WPVHw+x52bXVbk=
+github.com/Crocmagnon/fatcontext v0.2.2/go.mod h1:WSn/c/+MMNiD8Pri0ahRj0o9jVpeowzavOQplBJw6u0=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 h1:sATXp1x6/axKxz2Gjxv8MALP0bXaNRfQinEwyfMcx8c=
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0/go.mod h1:Nl76DrGNJTA1KJ0LePKBw/vznBX1EHbAZX8mwjR82nI=
-github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
-github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
+github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
+github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
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=
@@ -72,11 +39,6 @@ github.com/alecthomas/go-check-sumtype v0.1.4 h1:WCvlB3l5Vq5dZQTFmodqL2g68uHiSww
github.com/alecthomas/go-check-sumtype v0.1.4/go.mod h1:WyYPfhfkdhyrdaligV6svFopZV8Lqdzn5pyVBaV6jhQ=
github.com/alecthomas/repr v0.2.0 h1:HAzS41CIzNW5syS8Mf9UwXhNH1J9aix/BvDRf1Ml2Yk=
github.com/alecthomas/repr v0.2.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
-github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
-github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
-github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
-github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
-github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
github.com/alexkohler/nakedret/v2 v2.0.4 h1:yZuKmjqGi0pSmjGpOC016LtPJysIL0WEUiaXW5SUnNg=
github.com/alexkohler/nakedret/v2 v2.0.4/go.mod h1:bF5i0zF2Wo2o4X4USt9ntUWve6JbFv02Ff4vlkmS/VU=
github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw=
@@ -91,8 +53,6 @@ github.com/ashanbrown/forbidigo v1.6.0 h1:D3aewfM37Yb3pxHujIPSpTf6oQk9sc9WZi8ger
github.com/ashanbrown/forbidigo v1.6.0/go.mod h1:Y8j9jy9ZYAEHXdu723cUlraTqbzjKF1MUyfOKL+AjcU=
github.com/ashanbrown/makezero v1.1.1 h1:iCQ87C0V0vSyO+M9E/FZYbu65auqH0lnsOkf5FcB28s=
github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI=
-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=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bkielbasa/cyclop v1.2.1 h1:AeF71HZDob1P2/pRm1so9cd1alZnrpyc4q2uP2l0gJY=
@@ -109,40 +69,33 @@ github.com/breml/errchkjson v0.3.6 h1:VLhVkqSBH96AvXEyclMR37rZslRrY2kcyq+31HCsVr
github.com/breml/errchkjson v0.3.6/go.mod h1:jhSDoFheAF2RSDOlCfhHO9KqhZgAYLyvHe7bRCX8f/U=
github.com/butuzov/ireturn v0.3.0 h1:hTjMqWw3y5JC3kpnC5vXmFJAWI/m31jaCYQqzkS6PL0=
github.com/butuzov/ireturn v0.3.0/go.mod h1:A09nIiwiqzN/IoVo9ogpa0Hzi9fex1kd9PSD6edP5ZA=
-github.com/butuzov/mirror v1.1.0 h1:ZqX54gBVMXu78QLoiqdwpl2mgmoOJTk7s4p4o+0avZI=
-github.com/butuzov/mirror v1.1.0/go.mod h1:8Q0BdQU6rC6WILDiBM60DBfvV78OLJmMmixe7GF45AE=
+github.com/butuzov/mirror v1.2.0 h1:9YVK1qIjNspaqWutSv8gsge2e/Xpq1eqEkslEUHy5cs=
+github.com/butuzov/mirror v1.2.0/go.mod h1:DqZZDtzm42wIAIyHXeN8W/qb1EPlb9Qn/if9icBOpdQ=
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/catenacyber/perfsprint v0.7.1 h1:PGW5G/Kxn+YrN04cRAZKC+ZuvlVwolYMrIyyTJ/rMmc=
github.com/catenacyber/perfsprint v0.7.1/go.mod h1:/wclWYompEyjUD2FuIIDVKNkqz7IgBIWXIH3V0Zol50=
github.com/ccojocar/zxcvbn-go v1.0.2 h1:na/czXU8RrhXO4EZme6eQJLR4PzcGsahsBOAwU6I3Vg=
github.com/ccojocar/zxcvbn-go v1.0.2/go.mod h1:g1qkXtUSvHP8lhHp5GrSmTz6uWALGRMQdw6Qnz/hi60=
-github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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/charithe/durationcheck v0.0.10 h1:wgw73BiocdBDQPik+zcEoBG/ob8uyBHf2iyoHGPf5w4=
github.com/charithe/durationcheck v0.0.10/go.mod h1:bCWXb7gYRysD1CU3C+u4ceO49LoGOY1C1L6uouGNreQ=
github.com/chavacava/garif v0.1.0 h1:2JHa3hbYf5D9dsgseMKAmc/MZ109otzgNFk5s87H9Pc=
github.com/chavacava/garif v0.1.0/go.mod h1:XMyYCkEL58DF0oyW4qDjjnPWONs2HBqYKI+UIPD+Gww=
-github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
-github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
-github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
-github.com/ckaznocha/intrange v0.1.1 h1:gHe4LfqCspWkh8KpJFs20fJz3XRHFBFUV9yI7Itu83Q=
-github.com/ckaznocha/intrange v0.1.1/go.mod h1:RWffCw/vKBwHeOEwWdCikAtY0q4gGt8VhJZEEA5n+RE=
+github.com/ckaznocha/intrange v0.1.2 h1:3Y4JAxcMntgb/wABQ6e8Q8leMd26JbX2790lIss9MTI=
+github.com/ckaznocha/intrange v0.1.2/go.mod h1:RWffCw/vKBwHeOEwWdCikAtY0q4gGt8VhJZEEA5n+RE=
github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
-github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/curioswitch/go-reassign v0.2.0 h1:G9UZyOcpk/d7Gd6mqYgd8XYWFMw/znxwGDUstnC9DIo=
github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc=
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
-github.com/daixiang0/gci v0.12.3 h1:yOZI7VAxAGPQmkb1eqt5g/11SUlwoat1fSblGLmdiQc=
-github.com/daixiang0/gci v0.12.3/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI=
+github.com/daixiang0/gci v0.13.4 h1:61UGkmpoAcxHM2hhNkZEf5SzwQtWJXTSws7jaPyqwlw=
+github.com/daixiang0/gci v0.13.4/go.mod h1:12etP2OniiIdP4q+kjUGrC/rUagga7ODbqsom5Eo5Yk=
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=
@@ -153,18 +106,14 @@ github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcej
github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM=
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
-github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
-github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
-github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
-github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q=
github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A=
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
-github.com/firefart/nonamedreturns v1.0.4 h1:abzI1p7mAEPYuR4A+VLKn4eNDOycjYo2phmY9sfv40Y=
-github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI=
+github.com/firefart/nonamedreturns v1.0.5 h1:tM+Me2ZaXs8tfdDw3X6DOX++wMCOqzYUho6tUTYIdRA=
+github.com/firefart/nonamedreturns v1.0.5/go.mod h1:gHJjDqhGM4WyPt639SOZs+G89Ko7QKH5R5BhnO6xJhw=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
@@ -175,8 +124,8 @@ github.com/ghostiam/protogetter v0.3.5 h1:+f7UiF8XNd4w3a//4DnusQ2SZjPkUjxkMEfjbx
github.com/ghostiam/protogetter v0.3.5/go.mod h1:7lpeDnEJ1ZjL/YtyoN99ljO4z0pd3H0d18/t2dPBxHw=
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
-github.com/go-critic/go-critic v0.11.2 h1:81xH/2muBphEgPtcwH1p6QD+KzXl2tMSi3hXjBSxDnM=
-github.com/go-critic/go-critic v0.11.2/go.mod h1:OePaicfjsf+KPy33yq4gzv6CO7TEQ9Rom6ns1KsJnl8=
+github.com/go-critic/go-critic v0.11.3 h1:SJbYD/egY1noYjTMNTlhGaYlfQ77rQmrNH7h+gtn0N0=
+github.com/go-critic/go-critic v0.11.3/go.mod h1:Je0h5Obm1rR5hAGA9mP2PDiOOk53W+n7pyvXErFKIgI=
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU=
@@ -185,18 +134,8 @@ github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMj
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4=
github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY=
-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=
-github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
-github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
-github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
-github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
-github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
-github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
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-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
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/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8=
@@ -226,86 +165,39 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU=
-github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
-github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
-github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
-github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
-github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
-github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
-github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
-github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
-github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
-github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8=
-github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA=
-github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
-github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
-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.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
-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/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM=
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM=
-github.com/golangci/golangci-lint v1.57.2 h1:NNhxfZyL5He1WWDrIvl1a4n5bvWZBcgAqBwlJAAgLTw=
-github.com/golangci/golangci-lint v1.57.2/go.mod h1:ApiG3S3Ca23QyfGp5BmsorTiVxJpr5jGiNS0BkdSidg=
-github.com/golangci/misspell v0.4.1 h1:+y73iSicVy2PqyX7kmUefHusENlrP9YwuHZHPLGQj/g=
-github.com/golangci/misspell v0.4.1/go.mod h1:9mAN1quEo3DlpbaIKKyEvRxK1pwqR9s/Sea1bJCtlNI=
+github.com/golangci/golangci-lint v1.58.0 h1:r8duFARMJ0VdSM9tDXAdt2+f57dfZQmagvYX6kmkUKQ=
+github.com/golangci/golangci-lint v1.58.0/go.mod h1:WAY3BnSLvTUEv41Q0v3ZFzNybLRF+a7Vd9Da8Jx9Eqo=
+github.com/golangci/misspell v0.5.1 h1:/SjR1clj5uDjNLwYzCahHwIOPmQgoH04AyQIiWGbhCM=
+github.com/golangci/misspell v0.5.1/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo=
+github.com/golangci/modinfo v0.3.4 h1:oU5huX3fbxqQXdfspamej74DFX0kyGLkw1ppvXoJ8GA=
+github.com/golangci/modinfo v0.3.4/go.mod h1:wytF1M5xl9u0ij8YSvhkEVPP3M5Mc7XLl1pxH3B2aUM=
github.com/golangci/plugin-module-register v0.1.1 h1:TCmesur25LnyJkpsVrupv1Cdzo+2f7zX0H6Jkw1Ol6c=
github.com/golangci/plugin-module-register v0.1.1/go.mod h1:TTpqoB6KkwOJMV8u7+NyXMrkwwESJLOkfl9TxR1DGFc=
-github.com/golangci/revgrep v0.5.2 h1:EndcWoRhcnfj2NHQ+28hyuXpLMF+dQmCN+YaeeIl4FU=
-github.com/golangci/revgrep v0.5.2/go.mod h1:bjAMA+Sh/QUfTDcHzxfyHxr4xKvllVr/0sCv2e7jJHA=
+github.com/golangci/revgrep v0.5.3 h1:3tL7c1XBMtWHHqVpS5ChmiAAoe4PF/d5+ULzV9sLAzs=
+github.com/golangci/revgrep v0.5.3/go.mod h1:U4R/s9dlXZsg8uJmaR1GrloUr14D7qDl8gi2iPXJH8k=
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed h1:IURFTjxeTfNFP0hTEi1YKjB/ub8zkpaOqFFMApi2EAs=
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed/go.mod h1:XLXN8bNw4CGRPaqgl3bv/lhz7bsGPh4/xSaMTbo2vkQ=
github.com/google/addlicense v1.1.1 h1:jpVf9qPbU8rz5MxKo7d+RMcNHkqxi4YJi/laauX4aAE=
github.com/google/addlicense v1.1.1/go.mod h1:Sm/DHu7Jk+T5miFHHehdIjbi4M5+dJDRS3Cq0rncIxA=
-github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786 h1:rcv+Ippz6RAtvaGgKxc+8FQIpxHgsF+HBzPyYL2cyVU=
github.com/google/go-cmdtest v0.4.1-0.20220921163831-55ab3332a786/go.mod h1:apVn/GCasLZUVpAJ6oWAuyP7Ne7CEsQbTnc0plM3m+o=
-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.4.1/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.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/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.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
-github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
-github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
-github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
-github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE=
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
-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/gordonklaus/ineffassign v0.1.0 h1:y2Gd/9I7MdY1oEIt+n+rowjBNDcLQq3RsH5hwJd0f9s=
github.com/gordonklaus/ineffassign v0.1.0/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0=
github.com/gostaticanalysis/analysisutil v0.7.1 h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=
@@ -323,13 +215,10 @@ github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Rep
github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
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/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
-github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=
@@ -342,21 +231,12 @@ github.com/jingyugao/rowserrcheck v1.1.1 h1:zibz55j/MJtLsjP1OF4bSdgXxwL1b+Vn7Tjz
github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c=
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=
github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0=
-github.com/jjti/go-spancheck v0.5.3 h1:vfq4s2IB8T3HvbpiwDTYgVPj1Ze/ZSXrTtaZRTc7CuM=
-github.com/jjti/go-spancheck v0.5.3/go.mod h1:eQdOX1k3T+nAKvZDyLC3Eby0La4dZ+I19iOl5NzSPFE=
-github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
-github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
-github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
-github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
-github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
-github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
-github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
+github.com/jjti/go-spancheck v0.6.1 h1:ZK/wE5Kyi1VX3PJpUO2oEgeoI4FWOUm7Shb2Gbv5obI=
+github.com/jjti/go-spancheck v0.6.1/go.mod h1:vF1QkOO159prdo6mHRxak2CpzDpHAfKiPUDP/NeRnX8=
github.com/julz/importas v0.1.0 h1:F78HnrsjY3cR7j0etXy5+TU1Zuy7Xt08X/1aJnH5xXY=
github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0=
-github.com/karamaru-alpha/copyloopvar v1.0.10 h1:8HYDy6KQYqTmD7JuhZMWS1nwPru9889XI24ROd/+WXI=
-github.com/karamaru-alpha/copyloopvar v1.0.10/go.mod h1:u7CIfztblY0jZLOQZgH3oYsJzpC2A7S6u/lfgSXHy0k=
+github.com/karamaru-alpha/copyloopvar v1.1.0 h1:x7gNyKcC2vRBO1H2Mks5u1VxQtYvFiym7fCjIP8RPos=
+github.com/karamaru-alpha/copyloopvar v1.1.0/go.mod h1:u7CIfztblY0jZLOQZgH3oYsJzpC2A7S6u/lfgSXHy0k=
github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=
github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
github.com/kisielk/errcheck v1.7.0 h1:+SbscKmWJ5mOK/bO1zS60F5I9WwZDWOfRsC4RwfwRV0=
@@ -365,9 +245,6 @@ github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/kkHAIKE/contextcheck v1.1.5 h1:CdnJh63tcDe53vG+RebdpdXJTc9atMgGqdx8LXxiilg=
github.com/kkHAIKE/contextcheck v1.1.5/go.mod h1:O930cpht4xb1YQpK+1+AgoM3mFsvxr7uyFptcnWTYUA=
-github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
-github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
-github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
@@ -381,12 +258,14 @@ github.com/kunwardeep/paralleltest v1.0.10 h1:wrodoaKYzS2mdNVnc4/w31YaXFtsc21PCT
github.com/kunwardeep/paralleltest v1.0.10/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY=
github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=
github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA=
+github.com/lasiar/canonicalheader v1.0.6 h1:LJiiZ/MzkqibXOL2v+J8+WZM21pM0ivrBY/jbm9f5fo=
+github.com/lasiar/canonicalheader v1.0.6/go.mod h1:GfXTLQb3O1qF5qcSTyXTnfNUggUNyzbkOSpzZ0dpUJo=
github.com/ldez/gomoddirectives v0.2.4 h1:j3YjBIjEBbqZ0NKtBNzr8rtMHTOrLPeiwTkfUJZ3alg=
github.com/ldez/gomoddirectives v0.2.4/go.mod h1:oWu9i62VcQDYp9EQ0ONTfqLNh+mDLWWDO+SO0qSQw5g=
github.com/ldez/tagliatelle v0.5.0 h1:epgfuYt9v0CG3fms0pEgIMNPuFf/LpPIfjk4kyqSioo=
github.com/ldez/tagliatelle v0.5.0/go.mod h1:rj1HmWiL1MiKQuOONhd09iySTEkUuE/8+5jtPYz9xa4=
-github.com/leonklingele/grouper v1.1.1 h1:suWXRU57D4/Enn6pXR0QVqqWWrnJ9Osrz+5rjt8ivzU=
-github.com/leonklingele/grouper v1.1.1/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
+github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY=
+github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA=
github.com/lufeee/execinquery v1.2.1 h1:hf0Ems4SHcUGBxpGN7Jz78z1ppVkP/837ZlETPCEtOM=
github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM=
github.com/macabu/inamedparam v0.1.3 h1:2tk/phHkMlEL/1GNe/Yf6kkR/hkcUdAEY3L0hjYV1Mk=
@@ -408,22 +287,14 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
-github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/mgechev/revive v1.3.7 h1:502QY0vQGe9KtYJ9FpxMz9rL+Fc/P13CI5POL4uHCcE=
github.com/mgechev/revive v1.3.7/go.mod h1:RJ16jUbF0OWC3co/+XTxmFNgEpUPwnnA0BRllX2aDNA=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4 h1:BpfhmLKZf+SjVanKKhCgf3bg+511DmU9eDQTen7LLbY=
github.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
-github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
-github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
-github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
-github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/moricho/tparallel v0.3.1 h1:fQKD4U1wRMAYNngDonW5XupoB/ZGJHdpzrWqgyg9krA=
github.com/moricho/tparallel v0.3.1/go.mod h1:leENX2cUv7Sv2qDgdi0D0fCftN8fRC67Bcn8pqzeYNI=
-github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
-github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
github.com/nakabonne/nestif v0.3.1 h1:wm28nZjhQY5HyYPx+weN3Q65k6ilSBxDb8v5S81B81U=
github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE=
github.com/nishanths/exhaustive v0.12.0 h1:vIY9sALmw6T/yxiASewa4TQcFsVYZQQRUQJhKRf3Swg=
@@ -447,61 +318,42 @@ github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT9
github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
github.com/pavius/impi v0.0.3 h1:DND6MzU+BLABhOZXbELR3FU8b+zDgcq4dOCNLhiTYuI=
github.com/pavius/impi v0.0.3/go.mod h1:x/hU0bfdWIhuOT1SKwiJg++yvkk6EuOtJk8WtDZqgr8=
-github.com/pelletier/go-toml/v2 v2.2.0 h1:QLgLl2yMN7N+ruc31VynXs1vhMZa7CeHHejIeBAsoHo=
-github.com/pelletier/go-toml/v2 v2.2.0/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs=
+github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM=
+github.com/pelletier/go-toml/v2 v2.2.2/go.mod h1:1t835xjRzz80PqgE6HHgN2JOsmgYu/h4qDAS4n929Rs=
github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4=
github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI=
-github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
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/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/polyfloyd/go-errorlint v1.4.8 h1:jiEjKDH33ouFktyez7sckv6pHWif9B7SuS8cutDXFHw=
-github.com/polyfloyd/go-errorlint v1.4.8/go.mod h1:NNCxFcFjZcw3xNjVdCchERkEM6Oz7wta2XJVxRftwO4=
+github.com/polyfloyd/go-errorlint v1.5.1 h1:5gHxDjLyyWij7fhfrjYNNlHsUNQeyx0LFQKUelO3RBo=
+github.com/polyfloyd/go-errorlint v1.5.1/go.mod h1:sH1QC1pxxi0fFecsVIzBmxtrgd9IF/SkJpA6wqyKAJs=
github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g=
github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U=
-github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
-github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
-github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
-github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
-github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
-github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
-github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw=
github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI=
-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.32.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/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=
-github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.7.3/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/quasilyte/go-ruleguard v0.4.2 h1:htXcXDK6/rO12kiTHKfHuqR4kr3Y4M0J0rOL6CH/BYs=
github.com/quasilyte/go-ruleguard v0.4.2/go.mod h1:GJLgqsLeo4qgavUoL8JeGFNS7qcisx3awV/w9eWTmNI=
+github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE=
+github.com/quasilyte/go-ruleguard/dsl v0.3.22/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU=
github.com/quasilyte/gogrep v0.5.0 h1:eTKODPXbI8ffJMN+W2aE0+oL0z/nh8/5eNdiO34SOAo=
github.com/quasilyte/gogrep v0.5.0/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng=
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727 h1:TCg2WBOl980XxGFEZSS6KlBGIV0diGdySzxATTWoqaU=
github.com/quasilyte/regex/syntax v0.0.0-20210819130434-b3f0c404a727/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0=
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567 h1:M8mH9eK4OUR4lu7Gd+PU1fV2/qnDNfzT635KRSObncs=
github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ=
-github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
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/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
-github.com/ryancurrah/gomodguard v1.3.1 h1:fH+fUg+ngsQO0ruZXXHnA/2aNllWA1whly4a6UvyzGE=
-github.com/ryancurrah/gomodguard v1.3.1/go.mod h1:DGFHzEhi6iJ0oIDfMuo3TgrS+L9gZvrEfmjjuelnRU0=
+github.com/ryancurrah/gomodguard v1.3.2 h1:CuG27ulzEB1Gu5Dk5gP8PFxSOZ3ptSdP5iI/3IXxM18=
+github.com/ryancurrah/gomodguard v1.3.2/go.mod h1:LqdemiFomEjcxOqirbQCb3JFvSxH2JUYMerTFd3sF2o=
github.com/ryanrolds/sqlclosecheck v0.5.1 h1:dibWW826u0P8jNLsLN+En7+RqWWTYrjCB9fJfSfdyCU=
github.com/ryanrolds/sqlclosecheck v0.5.1/go.mod h1:2g3dUjoS6AL4huFdv6wn55WpLIDjY7ZgUR4J8HOO/XQ=
github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ=
@@ -524,9 +376,6 @@ github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqP
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=
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ=
-github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
-github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
-github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
@@ -557,7 +406,6 @@ github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRk
github.com/stbenjam/no-sprintf-host-port v0.1.1 h1:tYugd/yrm1O0dV+ThCbaKZh195Dfm07ysF0U6JQXczc=
github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/objx v0.1.1/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/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
@@ -595,8 +443,8 @@ github.com/tommy-muehle/go-mnd/v2 v2.5.1 h1:NowYhSdyE/1zwK9QCLeRb6USWdoif80Ie+v+
github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw=
github.com/ultraware/funlen v0.1.0 h1:BuqclbkY6pO+cvxoq7OsktIXZpgBSkYTQtmwhAK81vI=
github.com/ultraware/funlen v0.1.0/go.mod h1:XJqmOQja6DpxarLj6Jj1U7JuoS8PvL4nEqDaQhy22p4=
-github.com/ultraware/whitespace v0.1.0 h1:O1HKYoh0kIeqE8sFqZf1o0qbORXUCOQFrlaQyZsczZw=
-github.com/ultraware/whitespace v0.1.0/go.mod h1:/se4r3beMFNmewJ4Xmz0nMQ941GJt+qmSHGP9emHYe0=
+github.com/ultraware/whitespace v0.1.1 h1:bTPOGejYFulW3PkcrqkeQwOd6NKOOXvmGD9bo/Gk8VQ=
+github.com/ultraware/whitespace v0.1.1/go.mod h1:XcP1RLD81eV4BW8UhQlpaR+SDc2givTvyI8a586WjW8=
github.com/uudashr/gocognit v1.1.2 h1:l6BAEKJqQH2UpKAPKdMfZf5kE4W/2xk8pfU1OVLvniI=
github.com/uudashr/gocognit v1.1.2/go.mod h1:aAVdLURqcanke8h3vg35BC++eseDm66Z7KmchI5et4k=
github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
@@ -605,30 +453,24 @@ github.com/xen0n/gosmopolitan v1.2.2 h1:/p2KTnMzwRexIW8GlKawsTWOxn7UHA+jCMF/V8HH
github.com/xen0n/gosmopolitan v1.2.2/go.mod h1:7XX7Mj61uLYrj0qmeN0zi7XDon9JRAEhYQqAPLVNTeg=
github.com/yagipy/maintidx v1.0.0 h1:h5NvIsCz+nRDapQ0exNv4aJ0yXSI0420omVANTv3GJM=
github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk=
-github.com/yeya24/promlinter v0.2.0 h1:xFKDQ82orCU5jQujdaD8stOHiv8UN68BSdn2a8u8Y3o=
-github.com/yeya24/promlinter v0.2.0/go.mod h1:u54lkmBOZrpEbQQ6gox2zWKKLKu2SGe+2KOiextY+IA=
+github.com/yeya24/promlinter v0.3.0 h1:JVDbMp08lVCP7Y6NP3qHroGAO6z2yGKQtS5JsjqtoFs=
+github.com/yeya24/promlinter v0.3.0/go.mod h1:cDfJQQYv9uYciW60QT0eeHlFodotkYZlL+YcPQN+mW4=
github.com/ykadowak/zerologlint v0.1.5 h1:Gy/fMz1dFQN9JZTPjv1hxEk+sRWm05row04Yoolgdiw=
github.com/ykadowak/zerologlint v0.1.5/go.mod h1:KaUskqF3e/v59oPmdq1U1DnKcuHokl2/K1U4pmIELKg=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
-gitlab.com/bosi/decorder v0.4.1 h1:VdsdfxhstabyhZovHafFw+9eJ6eU0d2CkFNJcZz/NU4=
-gitlab.com/bosi/decorder v0.4.1/go.mod h1:jecSqWUew6Yle1pCr2eLWTensJMmsxHsBwt+PVbkAqA=
+gitlab.com/bosi/decorder v0.4.2 h1:qbQaV3zgwnBZ4zPMhGLW4KZe7A7NwxEhJx39R3shffo=
+gitlab.com/bosi/decorder v0.4.2/go.mod h1:muuhHoaJkA9QLcYHq4Mj8FJUwDZ+EirSHRiaTcTf6T8=
go-simpler.org/assert v0.7.0 h1:OzWWZqfNxt8cLS+MlUp6Tgk1HjPkmgdKBq9qvy8lZsA=
go-simpler.org/assert v0.7.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28=
-go-simpler.org/musttag v0.9.0 h1:Dzt6/tyP9ONr5g9h9P3cnYWCxeBFRkd0uJL/w+1Mxos=
-go-simpler.org/musttag v0.9.0/go.mod h1:gA9nThnalvNSKpEoyp3Ko4/vCX2xTpqKoUtNqXOnVR4=
-go-simpler.org/sloglint v0.5.0 h1:2YCcd+YMuYpuqthCgubcF5lBSjb6berc5VMOYUHKrpY=
-go-simpler.org/sloglint v0.5.0/go.mod h1:EUknX5s8iXqf18KQxKnaBHUPVriiPnOrPjjJcsaTcSQ=
-go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
-go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
-go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
-go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
-go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
+go-simpler.org/musttag v0.12.1 h1:yaMcjl/uyVnd1z6GqIhBiFH/PoqNN9f2IgtU7bp7W/0=
+go-simpler.org/musttag v0.12.1/go.mod h1:46HKu04A3Am9Lne5kKP0ssgwY3AeIlqsDzz3UxKROpY=
+go-simpler.org/sloglint v0.6.0 h1:0YcqSVG7LI9EVBfRPhgPec79BH6X6mwjFuUR5Mr7j1M=
+go-simpler.org/sloglint v0.6.0/go.mod h1:+kJJtebtPePWyG5boFwY46COydAggADDOHM22zOvzBk=
go.opentelemetry.io/build-tools v0.13.0 h1:0I3jJQ2zcJU8k4ZjyHNqUBX2Len1UvBIOzVP4b50g9A=
go.opentelemetry.io/build-tools v0.13.0/go.mod h1:PEtg5iWjNI9WAlKXP/xll/hgbq/Cp4Ma4T1ssKB2T0Q=
go.opentelemetry.io/build-tools/checkfile v0.13.0 h1:Nq13fOLpF9T+y4birZbfv6JurFC1Pla5UwC+t0GMbAo=
@@ -649,10 +491,7 @@ go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
-golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
@@ -662,40 +501,12 @@ golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2Uz
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
-golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
-golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
-golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
-golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
-golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
-golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 h1:vr/HnozRka3pE4EsMEg1lgkXJkTFJCVUX+S/ZT6wYzM=
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc=
golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230203172020-98cc5a0785f9/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f h1:phY1HzDcf18Aq9A8KkmRtY9WvOFIxN8wgfvy6Zm1DV8=
golang.org/x/exp/typeparams v0.0.0-20240314144324-c7f7c6466f7f/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
-golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
-golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
-golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
-golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
-golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs=
-golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
-golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
-golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
-golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
-golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
-golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY=
-golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
-golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
@@ -708,38 +519,14 @@ golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
-golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
-golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
-golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
@@ -750,59 +537,19 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
-golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-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/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=
-golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
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-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
-golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -810,11 +557,9 @@ golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
@@ -837,9 +582,7 @@ golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.20.0 h1:VnkxpohqXaOBYJtBmEppKUG6mXpi+4O6purfc2+sMhw=
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
-golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
@@ -850,56 +593,15 @@ golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
-golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
-golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
-golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
-golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
-golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU=
@@ -922,117 +624,26 @@ 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/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
-google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
-google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
-google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
-google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
-google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
-google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
-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.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
-google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
-google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
-google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
-google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
-google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
-google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
-google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
-google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
-google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
-google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
-google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
-google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
-google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
-google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
-google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
-google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
-google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
-google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
-google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
-google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
-google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE=
-google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo=
-google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
-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.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4=
-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/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
-gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=
gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
-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.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=
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=
-honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
-honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.4.7 h1:9MDAWxMoSnB6QoSqiVr7P5mtkT9pOc1kSxchzPCnqJs=
honnef.co/go/tools v0.4.7/go.mod h1:+rnGS1THNh8zMwnd2oVOTL9QF6vmfyG6ZXBULae2uc0=
mvdan.cc/gofumpt v0.6.0 h1:G3QvahNDmpD+Aek/bNOLrFR2XC6ZAdo62dZu65gmwGo=
mvdan.cc/gofumpt v0.6.0/go.mod h1:4L0wf+kgIPZtcCWXynNS2e6bhmj73umwnuXSZarixzA=
-mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14 h1:zCr3iRRgdk5eIikZNDphGcM6KGVTx3Yu+/Uu9Es254w=
-mvdan.cc/unparam v0.0.0-20240104100049-c549a3470d14/go.mod h1:ZzZjEpJDOmx8TdVU6umamY3Xy0UAQUI2DHbf05USVbI=
-rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
-rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
-rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
+mvdan.cc/unparam v0.0.0-20240427195214-063aff900ca1 h1:Nykk7fggxChwLK4rUPYESzeIwqsuxXXlFEAh5YhaMRo=
+mvdan.cc/unparam v0.0.0-20240427195214-063aff900ca1/go.mod h1:ZzZjEpJDOmx8TdVU6umamY3Xy0UAQUI2DHbf05USVbI=
From 69ae3c5a634904655703ead2990aa4f450a39955 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 7 May 2024 20:49:30 -0700
Subject: [PATCH 013/111] Update actions/setup-go action to v5.0.1 (#10096)
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 |
|---|---|---|---|
| [actions/setup-go](https://togithub.com/actions/setup-go) | action |
patch | `v5.0.0` -> `v5.0.1` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
actions/setup-go (actions/setup-go)
###
[`v5.0.1`](https://togithub.com/actions/setup-go/releases/tag/v5.0.1)
[Compare
Source](https://togithub.com/actions/setup-go/compare/v5.0.0...v5.0.1)
#### What's Changed
- Bump undici from 5.28.2 to 5.28.3 and dependencies upgrade by
[@dependabot](https://togithub.com/dependabot) ,
[@HarithaVattikuti](https://togithub.com/HarithaVattikuti) in
[https://github.com/actions/setup-go/pull/465](https://togithub.com/actions/setup-go/pull/465)
- Update documentation with latest V5 release notes by
[@ab](https://togithub.com/ab) in
[https://github.com/actions/setup-go/pull/459](https://togithub.com/actions/setup-go/pull/459)
- Update version documentation by
[@178inaba](https://togithub.com/178inaba) in
[https://github.com/actions/setup-go/pull/458](https://togithub.com/actions/setup-go/pull/458)
- Documentation update of `actions/setup-go` to v5 by
[@chenrui333](https://togithub.com/chenrui333) in
[https://github.com/actions/setup-go/pull/449](https://togithub.com/actions/setup-go/pull/449)
#### New Contributors
- [@ab](https://togithub.com/ab) made their first contribution in
[https://github.com/actions/setup-go/pull/459](https://togithub.com/actions/setup-go/pull/459)
**Full Changelog**:
https://github.com/actions/setup-go/compare/v5.0.0...v5.0.1
---
### 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yang Song
(cherry picked from commit 9bc32498ce5edc12222ced1db46378e26dbd3cce)
---
.github/workflows/api-compatibility.yml | 2 +-
.github/workflows/build-and-test-windows.yaml | 4 ++--
.github/workflows/build-and-test.yml | 14 +++++++-------
.github/workflows/builder-integration-test.yaml | 2 +-
.github/workflows/builder-release.yaml | 2 +-
.github/workflows/changelog.yml | 2 +-
.github/workflows/codeql-analysis.yml | 2 +-
.github/workflows/contrib-tests.yml | 2 +-
.github/workflows/perf.yml | 2 +-
.github/workflows/prepare-release.yml | 2 +-
.github/workflows/tidy-dependencies.yml | 2 +-
11 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/api-compatibility.yml b/.github/workflows/api-compatibility.yml
index cd2fda2aaab..5dc6e985a6a 100644
--- a/.github/workflows/api-compatibility.yml
+++ b/.github/workflows/api-compatibility.yml
@@ -33,7 +33,7 @@ jobs:
path: ${{ github.head_ref }}
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
diff --git a/.github/workflows/build-and-test-windows.yaml b/.github/workflows/build-and-test-windows.yaml
index 09124dfab02..82d0776e787 100644
--- a/.github/workflows/build-and-test-windows.yaml
+++ b/.github/workflows/build-and-test-windows.yaml
@@ -20,7 +20,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
cache: false
@@ -42,7 +42,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
cache: false
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index d66b22dd09e..229b25c05b1 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -17,7 +17,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
@@ -40,7 +40,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
@@ -64,7 +64,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
@@ -89,7 +89,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
@@ -152,7 +152,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ matrix.go-version }}
cache: false
@@ -196,7 +196,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
@@ -258,7 +258,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
diff --git a/.github/workflows/builder-integration-test.yaml b/.github/workflows/builder-integration-test.yaml
index 94ed1a3179b..cfc63cff3b3 100644
--- a/.github/workflows/builder-integration-test.yaml
+++ b/.github/workflows/builder-integration-test.yaml
@@ -31,7 +31,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
- name: Test
diff --git a/.github/workflows/builder-release.yaml b/.github/workflows/builder-release.yaml
index 86f0717b0f2..17f02824d17 100644
--- a/.github/workflows/builder-release.yaml
+++ b/.github/workflows/builder-release.yaml
@@ -14,7 +14,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
- name: Run GoReleaser
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 1838f6f3caf..25e6017666b 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
- name: Cache Go
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 70dc2f95c98..329af637e4f 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml
index 0c8b11b8996..e8caa8fe008 100644
--- a/.github/workflows/contrib-tests.yml
+++ b/.github/workflows/contrib-tests.yml
@@ -40,7 +40,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
cache: false
diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml
index 432cebcb13f..2f48d0a250c 100644
--- a/.github/workflows/perf.yml
+++ b/.github/workflows/perf.yml
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index 5bed593e28b..fef28ed2ef7 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -82,7 +82,7 @@ jobs:
REPO: open-telemetry/opentelemetry-collector-contrib
run: ./.github/workflows/scripts/release-check-build-status.sh
- name: Setup Go
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.5
# Prepare Core for release.
diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml
index 7427464d9a3..a409819807d 100644
--- a/.github/workflows/tidy-dependencies.yml
+++ b/.github/workflows/tidy-dependencies.yml
@@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
ref: ${{ github.head_ref }}
- - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
+ - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ~1.21.9
cache: false
From a9e22b96d64413caffd896dc7a93bcd83783930d Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Wed, 8 May 2024 09:27:05 -0600
Subject: [PATCH 014/111] [chore] Update go versions in CI (#10119)
(cherry picked from commit 7b63bfc9a46b692451c838bb7acd2e3692580bf4)
---
.github/workflows/build-and-test-arm.yml | 2 +-
.github/workflows/build-and-test.yml | 14 +++++++-------
.github/workflows/tidy-dependencies.yml | 2 +-
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
index 2020178d4e8..74acd25e1e0 100644
--- a/.github/workflows/build-and-test-arm.yml
+++ b/.github/workflows/build-and-test-arm.yml
@@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
- go-version: "~1.22.2"
+ go-version: "~1.22.3"
cache: false
- name: Cache Go
id: go-cache
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 229b25c05b1..4e8cdcbf6e5 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -19,7 +19,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
@@ -42,7 +42,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
@@ -66,7 +66,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
@@ -91,7 +91,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
@@ -138,7 +138,7 @@ jobs:
strategy:
matrix:
runner: [ubuntu-latest]
- go-version: ["~1.22", "~1.21.9"] # 1.20 needs quotes otherwise it's interpreted as 1.2
+ go-version: ["~1.22", "~1.21.10"] # 1.20 needs quotes otherwise it's interpreted as 1.2
runs-on: ${{ matrix.runner }}
needs: [setup-environment]
steps:
@@ -198,7 +198,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
@@ -260,7 +260,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml
index a409819807d..cd1d495eb7c 100644
--- a/.github/workflows/tidy-dependencies.yml
+++ b/.github/workflows/tidy-dependencies.yml
@@ -21,7 +21,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.9
+ go-version: ~1.21.10
cache: false
- name: Cache Go
id: go-cache
From 777fee6231a67e13e615d7974c4c0d156e607034 Mon Sep 17 00:00:00 2001
From: Anthony Mirabella
Date: Wed, 8 May 2024 12:52:37 -0400
Subject: [PATCH 015/111] Move Aneurysm9 to emeritus status (#10120)
I have been unable to provide this position the bandwidth that it
deserves and it is time to formalize recognition of that fact.
Signed-off-by: Anthony J Mirabella
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit c6b70a7ec794d1a296f82863032def0848f870e0)
---
README.md | 2 +-
docs/release.md | 19 +++++++++----------
2 files changed, 10 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 7497f7fa4e0..0c7ee6fabd4 100644
--- a/README.md
+++ b/README.md
@@ -131,7 +131,6 @@ Here is a list of community roles with current and previous members:
- Approvers ([@open-telemetry/collector-approvers](https://github.com/orgs/open-telemetry/teams/collector-approvers)):
- - [Anthony Mirabella](https://github.com/Aneurysm9), AWS
- [Antoine Toulme](https://github.com/atoulme), Splunk
- [Daniel Jaglowski](https://github.com/djaglowski), observIQ
- [Juraci Paixão Kröhling](https://github.com/jpkrohling), Grafana Labs
@@ -146,6 +145,7 @@ Here is a list of community roles with current and previous members:
- [Owais Lone](https://github.com/owais), Splunk
- [Rahul Patel](https://github.com/rghetia), Google
- [Steven Karis](https://github.com/sjkaris), Splunk
+ - [Anthony Mirabella](https://github.com/Aneurysm9), AWS
- Maintainers ([@open-telemetry/collector-maintainers](https://github.com/orgs/open-telemetry/teams/collector-maintainers)):
diff --git a/docs/release.md b/docs/release.md
index 9546b8f39ed..20776c31c51 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -158,13 +158,12 @@ Once a module is ready to be released under the `1.x` version scheme, file a PR
| Date | Version | Release manager |
|------------|----------|-----------------|
-| 2024-05-20 | v0.101.0 | @Aneurysm9 |
-| 2024-06-03 | v0.102.0 | @jpkrohling |
-| 2024-06-17 | v0.103.0 | @mx-psi |
-| 2024-07-01 | v0.104.0 | @djaglowski |
-| 2024-07-15 | v0.105.0 | @atoulme |
-| 2024-07-29 | v0.106.0 | @TylerHelmuth |
-| 2024-08-12 | v0.107.0 | @songy23 |
-| 2024-08-26 | v0.108.0 | @dmitryax |
-| 2024-09-09 | v0.109.0 | @codeboten |
-| 2024-09-23 | v0.110.0 | @bogdandrutu |
+| 2024-05-20 | v0.101.0 | @jpkrohling |
+| 2024-06-03 | v0.102.0 | @mx-psi |
+| 2024-06-17 | v0.103.0 | @djaglowski |
+| 2024-07-01 | v0.104.0 | @atoulme |
+| 2024-07-15 | v0.105.0 | @TylerHelmuth |
+| 2024-07-29 | v0.106.0 | @songy23 |
+| 2024-08-12 | v0.107.0 | @dmitryax |
+| 2024-08-26 | v0.108.0 | @codeboten |
+| 2024-09-09 | v0.109.0 | @bogdandrutu |
From edb1fa0404a8ce8a3148cfdb23f748412088d177 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Wed, 8 May 2024 12:11:10 -0700
Subject: [PATCH 016/111] [chore] use mdatagen for exporterhelper metrics
(#10094)
Uses the new mdatagen capabilities to generate internal telemetry
details for exporterhelper.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
(cherry picked from commit 5c72c5d2a035c811fc60e6608320986ec85e4110)
---
cmd/mdatagen/main.go | 24 ++--
exporter/exporterhelper/doc.go | 2 +
...kage_test.go => generated_package_test.go} | 3 +-
.../internal/metadata/generated_status.go | 17 +++
.../internal/metadata/generated_telemetry.go | 100 +++++++++++++++
.../metadata/generated_telemetry_test.go | 63 ++++++++++
exporter/exporterhelper/metadata.yaml | 81 +++++++++++++
exporter/exporterhelper/obsexporter.go | 114 +++---------------
8 files changed, 296 insertions(+), 108 deletions(-)
rename exporter/exporterhelper/{package_test.go => generated_package_test.go} (62%)
create mode 100644 exporter/exporterhelper/internal/metadata/generated_status.go
create mode 100644 exporter/exporterhelper/internal/metadata/generated_telemetry.go
create mode 100644 exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
create mode 100644 exporter/exporterhelper/metadata.yaml
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index 8d7d1731faa..959275c0226 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -62,22 +62,22 @@ func run(ymlPath string) error {
filepath.Join(codeDir, "generated_status.go"), md, "metadata"); err != nil {
return err
}
- if err = generateFile(filepath.Join(tmplDir, "telemetry.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "telemetry_test.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry_test.go"), md, "metadata"); err != nil {
- return err
- }
if err = generateFile(filepath.Join(tmplDir, "component_test.go.tmpl"),
filepath.Join(ymlDir, "generated_component_test.go"), md, packageName); err != nil {
return err
}
- if err = generateFile(filepath.Join(tmplDir, "package_test.go.tmpl"),
- filepath.Join(ymlDir, "generated_package_test.go"), md, packageName); err != nil {
- return err
- }
+ }
+ if err = generateFile(filepath.Join(tmplDir, "telemetry.go.tmpl"),
+ filepath.Join(codeDir, "generated_telemetry.go"), md, "metadata"); err != nil {
+ return err
+ }
+ if err = generateFile(filepath.Join(tmplDir, "telemetry_test.go.tmpl"),
+ filepath.Join(codeDir, "generated_telemetry_test.go"), md, "metadata"); err != nil {
+ return err
+ }
+ if err = generateFile(filepath.Join(tmplDir, "package_test.go.tmpl"),
+ filepath.Join(ymlDir, "generated_package_test.go"), md, packageName); err != nil {
+ return err
}
if _, err = os.Stat(filepath.Join(ymlDir, "README.md")); err == nil {
diff --git a/exporter/exporterhelper/doc.go b/exporter/exporterhelper/doc.go
index 4436c969347..ccecf255f08 100644
--- a/exporter/exporterhelper/doc.go
+++ b/exporter/exporterhelper/doc.go
@@ -1,5 +1,7 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
// Package exporterhelper provides helper functions for exporters.
package exporterhelper // import "go.opentelemetry.io/collector/exporter/exporterhelper"
diff --git a/exporter/exporterhelper/package_test.go b/exporter/exporterhelper/generated_package_test.go
similarity index 62%
rename from exporter/exporterhelper/package_test.go
rename to exporter/exporterhelper/generated_package_test.go
index 6cf68017a7d..73b52415cde 100644
--- a/exporter/exporterhelper/package_test.go
+++ b/exporter/exporterhelper/generated_package_test.go
@@ -1,5 +1,4 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
+// Code generated by mdatagen. DO NOT EDIT.
package exporterhelper
diff --git a/exporter/exporterhelper/internal/metadata/generated_status.go b/exporter/exporterhelper/internal/metadata/generated_status.go
new file mode 100644
index 00000000000..5c9e6c455ca
--- /dev/null
+++ b/exporter/exporterhelper/internal/metadata/generated_status.go
@@ -0,0 +1,17 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "go.opentelemetry.io/collector/component"
+)
+
+var (
+ Type = component.MustNewType("exporterhelper")
+)
+
+const (
+ TracesStability = component.StabilityLevelBeta
+ MetricsStability = component.StabilityLevelBeta
+ LogsStability = component.StabilityLevelBeta
+)
diff --git a/exporter/exporterhelper/internal/metadata/generated_telemetry.go b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
new file mode 100644
index 00000000000..c74090acb7d
--- /dev/null
+++ b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
@@ -0,0 +1,100 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "errors"
+
+ "go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+func Meter(settings component.TelemetrySettings) metric.Meter {
+ return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/exporterhelper")
+}
+
+func Tracer(settings component.TelemetrySettings) trace.Tracer {
+ return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/exporterhelper")
+}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ExporterEnqueueFailedLogRecords metric.Int64Counter
+ ExporterEnqueueFailedMetricPoints metric.Int64Counter
+ ExporterEnqueueFailedSpans metric.Int64Counter
+ ExporterSendFailedLogRecords metric.Int64Counter
+ ExporterSendFailedMetricPoints metric.Int64Counter
+ ExporterSendFailedSpans metric.Int64Counter
+ ExporterSentLogRecords metric.Int64Counter
+ ExporterSentMetricPoints metric.Int64Counter
+ ExporterSentSpans metric.Int64Counter
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.ExporterEnqueueFailedLogRecords, err = meter.Int64Counter(
+ "exporter_enqueue_failed_log_records",
+ metric.WithDescription("Number of log records failed to be added to the sending queue."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterEnqueueFailedMetricPoints, err = meter.Int64Counter(
+ "exporter_enqueue_failed_metric_points",
+ metric.WithDescription("Number of metric points failed to be added to the sending queue."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterEnqueueFailedSpans, err = meter.Int64Counter(
+ "exporter_enqueue_failed_spans",
+ metric.WithDescription("Number of spans failed to be added to the sending queue."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSendFailedLogRecords, err = meter.Int64Counter(
+ "exporter_send_failed_log_records",
+ metric.WithDescription("Number of log records in failed attempts to send to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSendFailedMetricPoints, err = meter.Int64Counter(
+ "exporter_send_failed_metric_points",
+ metric.WithDescription("Number of metric points in failed attempts to send to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSendFailedSpans, err = meter.Int64Counter(
+ "exporter_send_failed_spans",
+ metric.WithDescription("Number of spans in failed attempts to send to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSentLogRecords, err = meter.Int64Counter(
+ "exporter_sent_log_records",
+ metric.WithDescription("Number of log record successfully sent to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSentMetricPoints, err = meter.Int64Counter(
+ "exporter_sent_metric_points",
+ metric.WithDescription("Number of metric points successfully sent to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ExporterSentSpans, err = meter.Int64Counter(
+ "exporter_sent_spans",
+ metric.WithDescription("Number of spans successfully sent to destination."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go b/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
new file mode 100644
index 00000000000..7fd14058b3a
--- /dev/null
+++ b/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
@@ -0,0 +1,63 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/metric"
+ embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
+ noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/trace"
+ embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
+ nooptrace "go.opentelemetry.io/otel/trace/noop"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+type mockMeter struct {
+ noopmetric.Meter
+ name string
+}
+type mockMeterProvider struct {
+ embeddedmetric.MeterProvider
+}
+
+func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
+ return mockMeter{name: name}
+}
+
+type mockTracer struct {
+ nooptrace.Tracer
+ name string
+}
+
+type mockTracerProvider struct {
+ embeddedtrace.TracerProvider
+}
+
+func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
+ return mockTracer{name: name}
+}
+
+func TestProviders(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+
+ meter := Meter(set)
+ if m, ok := meter.(mockMeter); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/exporter/exporterhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockMeter")
+ }
+
+ tracer := Tracer(set)
+ if m, ok := tracer.(mockTracer); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/exporter/exporterhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockTracer")
+ }
+}
diff --git a/exporter/exporterhelper/metadata.yaml b/exporter/exporterhelper/metadata.yaml
new file mode 100644
index 00000000000..1560331c1d9
--- /dev/null
+++ b/exporter/exporterhelper/metadata.yaml
@@ -0,0 +1,81 @@
+type: exporterhelper
+
+status:
+ class: pkg
+ stability:
+ beta: [traces, metrics, logs]
+ distributions: [core, contrib]
+
+telemetry:
+ metrics:
+ exporter_sent_spans:
+ enabled: true
+ description: Number of spans successfully sent to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_send_failed_spans:
+ enabled: true
+ description: Number of spans in failed attempts to send to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_enqueue_failed_spans:
+ enabled: true
+ description: Number of spans failed to be added to the sending queue.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_sent_metric_points:
+ enabled: true
+ description: Number of metric points successfully sent to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_send_failed_metric_points:
+ enabled: true
+ description: Number of metric points in failed attempts to send to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_enqueue_failed_metric_points:
+ enabled: true
+ description: Number of metric points failed to be added to the sending queue.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_sent_log_records:
+ enabled: true
+ description: Number of log record successfully sent to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_send_failed_log_records:
+ enabled: true
+ description: Number of log records in failed attempts to send to destination.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ exporter_enqueue_failed_log_records:
+ enabled: true
+ description: Number of log records failed to be added to the sending queue.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
diff --git a/exporter/exporterhelper/obsexporter.go b/exporter/exporterhelper/obsexporter.go
index ed490144242..e3a78c34b04 100644
--- a/exporter/exporterhelper/obsexporter.go
+++ b/exporter/exporterhelper/obsexporter.go
@@ -10,19 +10,15 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
- "go.uber.org/multierr"
"go.uber.org/zap"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/exporter"
+ "go.opentelemetry.io/collector/exporter/exporterhelper/internal/metadata"
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
)
-const (
- exporterScope = obsmetrics.Scope + obsmetrics.SpanNameSep + obsmetrics.ExporterKey
-)
-
// ObsReport is a helper to add observability to an exporter.
type ObsReport struct {
level configtelemetry.Level
@@ -30,16 +26,8 @@ type ObsReport struct {
tracer trace.Tracer
logger *zap.Logger
- otelAttrs []attribute.KeyValue
- sentSpans metric.Int64Counter
- failedToSendSpans metric.Int64Counter
- failedToEnqueueSpans metric.Int64Counter
- sentMetricPoints metric.Int64Counter
- failedToSendMetricPoints metric.Int64Counter
- failedToEnqueueMetricPoints metric.Int64Counter
- sentLogRecords metric.Int64Counter
- failedToSendLogRecords metric.Int64Counter
- failedToEnqueueLogRecords metric.Int64Counter
+ otelAttrs []attribute.KeyValue
+ telemetryBuilder *metadata.TelemetryBuilder
}
// ObsReportSettings are settings for creating an ObsReport.
@@ -54,7 +42,12 @@ func NewObsReport(cfg ObsReportSettings) (*ObsReport, error) {
}
func newExporter(cfg ObsReportSettings) (*ObsReport, error) {
- exp := &ObsReport{
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ExporterCreateSettings.TelemetrySettings)
+ if err != nil {
+ return nil, err
+ }
+
+ return &ObsReport{
level: cfg.ExporterCreateSettings.TelemetrySettings.MetricsLevel,
spanNamePrefix: obsmetrics.ExporterPrefix + cfg.ExporterID.String(),
tracer: cfg.ExporterCreateSettings.TracerProvider.Tracer(cfg.ExporterID.String()),
@@ -63,75 +56,8 @@ func newExporter(cfg ObsReportSettings) (*ObsReport, error) {
otelAttrs: []attribute.KeyValue{
attribute.String(obsmetrics.ExporterKey, cfg.ExporterID.String()),
},
- }
-
- if err := exp.createOtelMetrics(cfg); err != nil {
- return nil, err
- }
-
- return exp, nil
-}
-
-func (or *ObsReport) createOtelMetrics(cfg ObsReportSettings) error {
- meter := cfg.ExporterCreateSettings.MeterProvider.Meter(exporterScope)
-
- var errors, err error
-
- or.sentSpans, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.SentSpansKey,
- metric.WithDescription("Number of spans successfully sent to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToSendSpans, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToSendSpansKey,
- metric.WithDescription("Number of spans in failed attempts to send to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToEnqueueSpans, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToEnqueueSpansKey,
- metric.WithDescription("Number of spans failed to be added to the sending queue."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.sentMetricPoints, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.SentMetricPointsKey,
- metric.WithDescription("Number of metric points successfully sent to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToSendMetricPoints, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToSendMetricPointsKey,
- metric.WithDescription("Number of metric points in failed attempts to send to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToEnqueueMetricPoints, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToEnqueueMetricPointsKey,
- metric.WithDescription("Number of metric points failed to be added to the sending queue."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.sentLogRecords, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.SentLogRecordsKey,
- metric.WithDescription("Number of log record successfully sent to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToSendLogRecords, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToSendLogRecordsKey,
- metric.WithDescription("Number of log records in failed attempts to send to destination."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- or.failedToEnqueueLogRecords, err = meter.Int64Counter(
- obsmetrics.ExporterMetricPrefix+obsmetrics.FailedToEnqueueLogRecordsKey,
- metric.WithDescription("Number of log records failed to be added to the sending queue."),
- metric.WithUnit("1"))
- errors = multierr.Append(errors, err)
-
- return errors
+ telemetryBuilder: telemetryBuilder,
+ }, nil
}
// StartTracesOp is called at the start of an Export operation.
@@ -192,14 +118,14 @@ func (or *ObsReport) recordMetrics(ctx context.Context, dataType component.DataT
var sentMeasure, failedMeasure metric.Int64Counter
switch dataType {
case component.DataTypeTraces:
- sentMeasure = or.sentSpans
- failedMeasure = or.failedToSendSpans
+ sentMeasure = or.telemetryBuilder.ExporterSentSpans
+ failedMeasure = or.telemetryBuilder.ExporterSendFailedSpans
case component.DataTypeMetrics:
- sentMeasure = or.sentMetricPoints
- failedMeasure = or.failedToSendMetricPoints
+ sentMeasure = or.telemetryBuilder.ExporterSentMetricPoints
+ failedMeasure = or.telemetryBuilder.ExporterSendFailedMetricPoints
case component.DataTypeLogs:
- sentMeasure = or.sentLogRecords
- failedMeasure = or.failedToSendLogRecords
+ sentMeasure = or.telemetryBuilder.ExporterSentLogRecords
+ failedMeasure = or.telemetryBuilder.ExporterSendFailedLogRecords
}
sentMeasure.Add(ctx, sent, metric.WithAttributes(or.otelAttrs...))
@@ -232,11 +158,11 @@ func (or *ObsReport) recordEnqueueFailure(ctx context.Context, dataType componen
var enqueueFailedMeasure metric.Int64Counter
switch dataType {
case component.DataTypeTraces:
- enqueueFailedMeasure = or.failedToEnqueueSpans
+ enqueueFailedMeasure = or.telemetryBuilder.ExporterEnqueueFailedSpans
case component.DataTypeMetrics:
- enqueueFailedMeasure = or.failedToEnqueueMetricPoints
+ enqueueFailedMeasure = or.telemetryBuilder.ExporterEnqueueFailedMetricPoints
case component.DataTypeLogs:
- enqueueFailedMeasure = or.failedToEnqueueLogRecords
+ enqueueFailedMeasure = or.telemetryBuilder.ExporterEnqueueFailedLogRecords
}
enqueueFailedMeasure.Add(ctx, failed, metric.WithAttributes(or.otelAttrs...))
From e5a6b86bf4a7c5033caf6c5158fbca88083b9304 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 9 May 2024 07:02:44 -0700
Subject: [PATCH 017/111] [chore] use mdatagen scraperhelper (#10095)
Follows
https://github.com/open-telemetry/opentelemetry-collector/pull/10094
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
receiver/scraperhelper/doc.go | 2 +
...kage_test.go => generated_package_test.go} | 3 +-
.../internal/metadata/generated_telemetry.go | 51 +++++++++++++++
.../metadata/generated_telemetry_test.go | 63 +++++++++++++++++++
receiver/scraperhelper/metadata.yaml | 25 ++++++++
receiver/scraperhelper/obsreport.go | 52 ++++-----------
6 files changed, 154 insertions(+), 42 deletions(-)
rename receiver/scraperhelper/{package_test.go => generated_package_test.go} (62%)
create mode 100644 receiver/scraperhelper/internal/metadata/generated_telemetry.go
create mode 100644 receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
create mode 100644 receiver/scraperhelper/metadata.yaml
diff --git a/receiver/scraperhelper/doc.go b/receiver/scraperhelper/doc.go
index f936c187381..a1e5cb26f1d 100644
--- a/receiver/scraperhelper/doc.go
+++ b/receiver/scraperhelper/doc.go
@@ -1,5 +1,7 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
// Package scraperhelper provides utilities for scrapers.
package scraperhelper // import "go.opentelemetry.io/collector/receiver/scraperhelper"
diff --git a/receiver/scraperhelper/package_test.go b/receiver/scraperhelper/generated_package_test.go
similarity index 62%
rename from receiver/scraperhelper/package_test.go
rename to receiver/scraperhelper/generated_package_test.go
index a9a536a78d9..b88f94c44a0 100644
--- a/receiver/scraperhelper/package_test.go
+++ b/receiver/scraperhelper/generated_package_test.go
@@ -1,5 +1,4 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
+// Code generated by mdatagen. DO NOT EDIT.
package scraperhelper
diff --git a/receiver/scraperhelper/internal/metadata/generated_telemetry.go b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
new file mode 100644
index 00000000000..6c76bccd5f3
--- /dev/null
+++ b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
@@ -0,0 +1,51 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "errors"
+
+ "go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+func Meter(settings component.TelemetrySettings) metric.Meter {
+ return settings.MeterProvider.Meter("go.opentelemetry.io/collector/receiver/scraperhelper")
+}
+
+func Tracer(settings component.TelemetrySettings) trace.Tracer {
+ return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/receiver/scraperhelper")
+}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ScraperErroredMetricPoints metric.Int64Counter
+ ScraperScrapedMetricPoints metric.Int64Counter
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.ScraperErroredMetricPoints, err = meter.Int64Counter(
+ "scraper_errored_metric_points",
+ metric.WithDescription("Number of metric points that were unable to be scraped."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ScraperScrapedMetricPoints, err = meter.Int64Counter(
+ "scraper_scraped_metric_points",
+ metric.WithDescription("Number of metric points successfully scraped."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go b/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
new file mode 100644
index 00000000000..d182ec9776e
--- /dev/null
+++ b/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
@@ -0,0 +1,63 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/metric"
+ embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
+ noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/trace"
+ embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
+ nooptrace "go.opentelemetry.io/otel/trace/noop"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+type mockMeter struct {
+ noopmetric.Meter
+ name string
+}
+type mockMeterProvider struct {
+ embeddedmetric.MeterProvider
+}
+
+func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
+ return mockMeter{name: name}
+}
+
+type mockTracer struct {
+ nooptrace.Tracer
+ name string
+}
+
+type mockTracerProvider struct {
+ embeddedtrace.TracerProvider
+}
+
+func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
+ return mockTracer{name: name}
+}
+
+func TestProviders(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+
+ meter := Meter(set)
+ if m, ok := meter.(mockMeter); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/receiver/scraperhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockMeter")
+ }
+
+ tracer := Tracer(set)
+ if m, ok := tracer.(mockTracer); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/receiver/scraperhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockTracer")
+ }
+}
diff --git a/receiver/scraperhelper/metadata.yaml b/receiver/scraperhelper/metadata.yaml
new file mode 100644
index 00000000000..7d084ca2b45
--- /dev/null
+++ b/receiver/scraperhelper/metadata.yaml
@@ -0,0 +1,25 @@
+type: scraperhelper
+
+status:
+ class: pkg
+ stability:
+ beta: [traces, metrics, logs]
+ distributions: [core, contrib]
+
+telemetry:
+ metrics:
+ scraper_scraped_metric_points:
+ enabled: true
+ description: Number of metric points successfully scraped.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ scraper_errored_metric_points:
+ enabled: true
+ description: Number of metric points that were unable to be scraped.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
\ No newline at end of file
diff --git a/receiver/scraperhelper/obsreport.go b/receiver/scraperhelper/obsreport.go
index 89ad80fdc08..9c10f7002a8 100644
--- a/receiver/scraperhelper/obsreport.go
+++ b/receiver/scraperhelper/obsreport.go
@@ -11,7 +11,6 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
- "go.uber.org/multierr"
"go.uber.org/zap"
"go.opentelemetry.io/collector/component"
@@ -19,10 +18,7 @@ import (
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
"go.opentelemetry.io/collector/receiver"
"go.opentelemetry.io/collector/receiver/scrapererror"
-)
-
-var (
- scraperScope = obsmetrics.Scope + obsmetrics.SpanNameSep + obsmetrics.ScraperKey
+ "go.opentelemetry.io/collector/receiver/scraperhelper/internal/metadata"
)
// ObsReport is a helper to add observability to a scraper.
@@ -34,9 +30,8 @@ type ObsReport struct {
logger *zap.Logger
- otelAttrs []attribute.KeyValue
- scrapedMetricsPoints metric.Int64Counter
- erroredMetricsPoints metric.Int64Counter
+ otelAttrs []attribute.KeyValue
+ telemetryBuilder *metadata.TelemetryBuilder
}
// ObsReportSettings are settings for creating an ObsReport.
@@ -52,7 +47,11 @@ func NewObsReport(cfg ObsReportSettings) (*ObsReport, error) {
}
func newScraper(cfg ObsReportSettings) (*ObsReport, error) {
- scraper := &ObsReport{
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ReceiverCreateSettings.TelemetrySettings)
+ if err != nil {
+ return nil, err
+ }
+ return &ObsReport{
level: cfg.ReceiverCreateSettings.TelemetrySettings.MetricsLevel,
receiverID: cfg.ReceiverID,
scraper: cfg.Scraper,
@@ -63,35 +62,8 @@ func newScraper(cfg ObsReportSettings) (*ObsReport, error) {
attribute.String(obsmetrics.ReceiverKey, cfg.ReceiverID.String()),
attribute.String(obsmetrics.ScraperKey, cfg.Scraper.String()),
},
- }
-
- if err := scraper.createOtelMetrics(cfg); err != nil {
- return nil, err
- }
-
- return scraper, nil
-}
-
-func (s *ObsReport) createOtelMetrics(cfg ObsReportSettings) error {
- meter := cfg.ReceiverCreateSettings.MeterProvider.Meter(scraperScope)
-
- var errors, err error
-
- s.scrapedMetricsPoints, err = meter.Int64Counter(
- obsmetrics.ScraperPrefix+obsmetrics.ScrapedMetricPointsKey,
- metric.WithDescription("Number of metric points successfully scraped."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- s.erroredMetricsPoints, err = meter.Int64Counter(
- obsmetrics.ScraperPrefix+obsmetrics.ErroredMetricPointsKey,
- metric.WithDescription("Number of metric points that were unable to be scraped."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- return errors
+ telemetryBuilder: telemetryBuilder,
+ }, nil
}
// StartMetricsOp is called when a scrape operation is started. The
@@ -144,6 +116,6 @@ func (s *ObsReport) EndMetricsOp(
}
func (s *ObsReport) recordMetrics(scraperCtx context.Context, numScrapedMetrics, numErroredMetrics int) {
- s.scrapedMetricsPoints.Add(scraperCtx, int64(numScrapedMetrics), metric.WithAttributes(s.otelAttrs...))
- s.erroredMetricsPoints.Add(scraperCtx, int64(numErroredMetrics), metric.WithAttributes(s.otelAttrs...))
+ s.telemetryBuilder.ScraperScrapedMetricPoints.Add(scraperCtx, int64(numScrapedMetrics), metric.WithAttributes(s.otelAttrs...))
+ s.telemetryBuilder.ScraperErroredMetricPoints.Add(scraperCtx, int64(numErroredMetrics), metric.WithAttributes(s.otelAttrs...))
}
From d78b5255d1393e9fb7b2b6383d50a58eda48207f Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 9 May 2024 07:03:07 -0700
Subject: [PATCH 018/111] [chore] use mdatagen for processorhelper (#10122)
This updates the processor helper to use mdatagen for its internal
telemetry.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
processor/go.mod | 2 +-
...kage_test.go => generated_package_test.go} | 3 +-
.../internal/metadata/generated_telemetry.go | 100 ++++++++++++++
.../metadata/generated_telemetry_test.go | 63 +++++++++
processor/processorhelper/metadata.yaml | 81 ++++++++++++
processor/processorhelper/obsreport.go | 122 +++---------------
processor/processorhelper/processor.go | 2 +
7 files changed, 267 insertions(+), 106 deletions(-)
rename processor/processorhelper/{package_test.go => generated_package_test.go} (62%)
create mode 100644 processor/processorhelper/internal/metadata/generated_telemetry.go
create mode 100644 processor/processorhelper/internal/metadata/generated_telemetry_test.go
create mode 100644 processor/processorhelper/metadata.yaml
diff --git a/processor/go.mod b/processor/go.mod
index e03d3a706f2..61d1b2d9f9d 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -15,7 +15,6 @@ require (
go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
- go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
)
@@ -44,6 +43,7 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.19.0 // indirect
golang.org/x/text v0.14.0 // indirect
diff --git a/processor/processorhelper/package_test.go b/processor/processorhelper/generated_package_test.go
similarity index 62%
rename from processor/processorhelper/package_test.go
rename to processor/processorhelper/generated_package_test.go
index e9823cee56e..2f76dc96200 100644
--- a/processor/processorhelper/package_test.go
+++ b/processor/processorhelper/generated_package_test.go
@@ -1,5 +1,4 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
+// Code generated by mdatagen. DO NOT EDIT.
package processorhelper
diff --git a/processor/processorhelper/internal/metadata/generated_telemetry.go b/processor/processorhelper/internal/metadata/generated_telemetry.go
new file mode 100644
index 00000000000..cf496bb3504
--- /dev/null
+++ b/processor/processorhelper/internal/metadata/generated_telemetry.go
@@ -0,0 +1,100 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "errors"
+
+ "go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+func Meter(settings component.TelemetrySettings) metric.Meter {
+ return settings.MeterProvider.Meter("go.opentelemetry.io/collector/processor/processorhelper")
+}
+
+func Tracer(settings component.TelemetrySettings) trace.Tracer {
+ return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/processor/processorhelper")
+}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ProcessorAcceptedLogRecords metric.Int64Counter
+ ProcessorAcceptedMetricPoints metric.Int64Counter
+ ProcessorAcceptedSpans metric.Int64Counter
+ ProcessorDroppedLogRecords metric.Int64Counter
+ ProcessorDroppedMetricPoints metric.Int64Counter
+ ProcessorDroppedSpans metric.Int64Counter
+ ProcessorRefusedLogRecords metric.Int64Counter
+ ProcessorRefusedMetricPoints metric.Int64Counter
+ ProcessorRefusedSpans metric.Int64Counter
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.ProcessorAcceptedLogRecords, err = meter.Int64Counter(
+ "processor_accepted_log_records",
+ metric.WithDescription("Number of log records successfully pushed into the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorAcceptedMetricPoints, err = meter.Int64Counter(
+ "processor_accepted_metric_points",
+ metric.WithDescription("Number of metric points successfully pushed into the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorAcceptedSpans, err = meter.Int64Counter(
+ "processor_accepted_spans",
+ metric.WithDescription("Number of spans successfully pushed into the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorDroppedLogRecords, err = meter.Int64Counter(
+ "processor_dropped_log_records",
+ metric.WithDescription("Number of log records that were dropped."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorDroppedMetricPoints, err = meter.Int64Counter(
+ "processor_dropped_metric_points",
+ metric.WithDescription("Number of metric points that were dropped."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorDroppedSpans, err = meter.Int64Counter(
+ "processor_dropped_spans",
+ metric.WithDescription("Number of spans that were dropped."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorRefusedLogRecords, err = meter.Int64Counter(
+ "processor_refused_log_records",
+ metric.WithDescription("Number of log records that were rejected by the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorRefusedMetricPoints, err = meter.Int64Counter(
+ "processor_refused_metric_points",
+ metric.WithDescription("Number of metric points that were rejected by the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessorRefusedSpans, err = meter.Int64Counter(
+ "processor_refused_spans",
+ metric.WithDescription("Number of spans that were rejected by the next component in the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/processor/processorhelper/internal/metadata/generated_telemetry_test.go b/processor/processorhelper/internal/metadata/generated_telemetry_test.go
new file mode 100644
index 00000000000..8f0846b7663
--- /dev/null
+++ b/processor/processorhelper/internal/metadata/generated_telemetry_test.go
@@ -0,0 +1,63 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/metric"
+ embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
+ noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/trace"
+ embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
+ nooptrace "go.opentelemetry.io/otel/trace/noop"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+type mockMeter struct {
+ noopmetric.Meter
+ name string
+}
+type mockMeterProvider struct {
+ embeddedmetric.MeterProvider
+}
+
+func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
+ return mockMeter{name: name}
+}
+
+type mockTracer struct {
+ nooptrace.Tracer
+ name string
+}
+
+type mockTracerProvider struct {
+ embeddedtrace.TracerProvider
+}
+
+func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
+ return mockTracer{name: name}
+}
+
+func TestProviders(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+
+ meter := Meter(set)
+ if m, ok := meter.(mockMeter); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/processor/processorhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockMeter")
+ }
+
+ tracer := Tracer(set)
+ if m, ok := tracer.(mockTracer); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/processor/processorhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockTracer")
+ }
+}
diff --git a/processor/processorhelper/metadata.yaml b/processor/processorhelper/metadata.yaml
new file mode 100644
index 00000000000..75d66636d15
--- /dev/null
+++ b/processor/processorhelper/metadata.yaml
@@ -0,0 +1,81 @@
+type: processorhelper
+
+status:
+ class: pkg
+ stability:
+ beta: [traces, metrics, logs]
+ distributions: [core, contrib]
+
+telemetry:
+ metrics:
+ processor_accepted_spans:
+ enabled: true
+ description: Number of spans successfully pushed into the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_refused_spans:
+ enabled: true
+ description: Number of spans that were rejected by the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_dropped_spans:
+ enabled: true
+ description: Number of spans that were dropped.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_accepted_metric_points:
+ enabled: true
+ description: Number of metric points successfully pushed into the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_refused_metric_points:
+ enabled: true
+ description: Number of metric points that were rejected by the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_dropped_metric_points:
+ enabled: true
+ description: Number of metric points that were dropped.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_accepted_log_records:
+ enabled: true
+ description: Number of log records successfully pushed into the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_refused_log_records:
+ enabled: true
+ description: Number of log records that were rejected by the next component in the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ processor_dropped_log_records:
+ enabled: true
+ description: Number of log records that were dropped.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
\ No newline at end of file
diff --git a/processor/processorhelper/obsreport.go b/processor/processorhelper/obsreport.go
index 17b20704f0d..2e074713f87 100644
--- a/processor/processorhelper/obsreport.go
+++ b/processor/processorhelper/obsreport.go
@@ -9,17 +9,13 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
- "go.uber.org/multierr"
"go.uber.org/zap"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
"go.opentelemetry.io/collector/processor"
-)
-
-var (
- processorScope = obsmetrics.Scope + obsmetrics.SpanNameSep + obsmetrics.ProcessorKey
+ "go.opentelemetry.io/collector/processor/processorhelper/internal/metadata"
)
// BuildCustomMetricName is used to be build a metric name following
@@ -42,17 +38,8 @@ type ObsReport struct {
logger *zap.Logger
- otelAttrs []attribute.KeyValue
-
- acceptedSpansCounter metric.Int64Counter
- refusedSpansCounter metric.Int64Counter
- droppedSpansCounter metric.Int64Counter
- acceptedMetricPointsCounter metric.Int64Counter
- refusedMetricPointsCounter metric.Int64Counter
- droppedMetricPointsCounter metric.Int64Counter
- acceptedLogRecordsCounter metric.Int64Counter
- refusedLogRecordsCounter metric.Int64Counter
- droppedLogRecordsCounter metric.Int64Counter
+ otelAttrs []attribute.KeyValue
+ telemetryBuilder *metadata.TelemetryBuilder
}
// ObsReportSettings are settings for creating an ObsReport.
@@ -67,106 +54,35 @@ func NewObsReport(cfg ObsReportSettings) (*ObsReport, error) {
}
func newObsReport(cfg ObsReportSettings) (*ObsReport, error) {
- report := &ObsReport{
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ProcessorCreateSettings.TelemetrySettings)
+ if err != nil {
+ return nil, err
+ }
+ return &ObsReport{
level: cfg.ProcessorCreateSettings.MetricsLevel,
logger: cfg.ProcessorCreateSettings.Logger,
otelAttrs: []attribute.KeyValue{
attribute.String(obsmetrics.ProcessorKey, cfg.ProcessorID.String()),
},
- }
-
- if err := report.createOtelMetrics(cfg); err != nil {
- return nil, err
- }
-
- return report, nil
-}
-
-func (or *ObsReport) createOtelMetrics(cfg ObsReportSettings) error {
- meter := cfg.ProcessorCreateSettings.MeterProvider.Meter(processorScope)
- var errors, err error
-
- or.acceptedSpansCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.AcceptedSpansKey,
- metric.WithDescription("Number of spans successfully pushed into the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.refusedSpansCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.RefusedSpansKey,
- metric.WithDescription("Number of spans that were rejected by the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.droppedSpansCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.DroppedSpansKey,
- metric.WithDescription("Number of spans that were dropped."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.acceptedMetricPointsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.AcceptedMetricPointsKey,
- metric.WithDescription("Number of metric points successfully pushed into the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.refusedMetricPointsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.RefusedMetricPointsKey,
- metric.WithDescription("Number of metric points that were rejected by the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.droppedMetricPointsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.DroppedMetricPointsKey,
- metric.WithDescription("Number of metric points that were dropped."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.acceptedLogRecordsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.AcceptedLogRecordsKey,
- metric.WithDescription("Number of log records successfully pushed into the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.refusedLogRecordsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.RefusedLogRecordsKey,
- metric.WithDescription("Number of log records that were rejected by the next component in the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- or.droppedLogRecordsCounter, err = meter.Int64Counter(
- obsmetrics.ProcessorMetricPrefix+obsmetrics.DroppedLogRecordsKey,
- metric.WithDescription("Number of log records that were dropped."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- return errors
+ telemetryBuilder: telemetryBuilder,
+ }, nil
}
func (or *ObsReport) recordData(ctx context.Context, dataType component.DataType, accepted, refused, dropped int64) {
var acceptedCount, refusedCount, droppedCount metric.Int64Counter
switch dataType {
case component.DataTypeTraces:
- acceptedCount = or.acceptedSpansCounter
- refusedCount = or.refusedSpansCounter
- droppedCount = or.droppedSpansCounter
+ acceptedCount = or.telemetryBuilder.ProcessorAcceptedSpans
+ refusedCount = or.telemetryBuilder.ProcessorRefusedSpans
+ droppedCount = or.telemetryBuilder.ProcessorDroppedSpans
case component.DataTypeMetrics:
- acceptedCount = or.acceptedMetricPointsCounter
- refusedCount = or.refusedMetricPointsCounter
- droppedCount = or.droppedMetricPointsCounter
+ acceptedCount = or.telemetryBuilder.ProcessorAcceptedMetricPoints
+ refusedCount = or.telemetryBuilder.ProcessorRefusedMetricPoints
+ droppedCount = or.telemetryBuilder.ProcessorDroppedMetricPoints
case component.DataTypeLogs:
- acceptedCount = or.acceptedLogRecordsCounter
- refusedCount = or.refusedLogRecordsCounter
- droppedCount = or.droppedLogRecordsCounter
+ acceptedCount = or.telemetryBuilder.ProcessorAcceptedLogRecords
+ refusedCount = or.telemetryBuilder.ProcessorRefusedLogRecords
+ droppedCount = or.telemetryBuilder.ProcessorDroppedLogRecords
}
acceptedCount.Add(ctx, accepted, metric.WithAttributes(or.otelAttrs...))
diff --git a/processor/processorhelper/processor.go b/processor/processorhelper/processor.go
index 3aeb70a4126..8bdaa4fbf73 100644
--- a/processor/processorhelper/processor.go
+++ b/processor/processorhelper/processor.go
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
package processorhelper // import "go.opentelemetry.io/collector/processor/processorhelper"
import (
From efefff77b8c437402c74883f22d79704dc6f98ba Mon Sep 17 00:00:00 2001
From: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Date: Thu, 9 May 2024 12:21:11 -0400
Subject: [PATCH 019/111] [chore][cmd/builder] Test for unreleased versions
(#10030)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
#### Description
Add a test to help prevent our replace statements from going out of date
and causing situations like
https://github.com/open-telemetry/opentelemetry-collector/issues/10014.
This is also probably just a decent test case to have since it's a
syntactically valid but nonexistent version.
---------
Co-authored-by: Evan Bradley
Co-authored-by: Juraci Paixão Kröhling
---
cmd/builder/internal/builder/main_test.go | 208 +++++++++++++++++-----
1 file changed, 162 insertions(+), 46 deletions(-)
diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go
index 7ddd7ff7408..fed30a548ae 100644
--- a/cmd/builder/internal/builder/main_test.go
+++ b/cmd/builder/internal/builder/main_test.go
@@ -7,17 +7,20 @@ import (
"fmt"
"io"
"os"
+ "path"
"path/filepath"
"runtime"
+ "strings"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
+ "golang.org/x/mod/modfile"
)
-var (
- goModTestFile = []byte(`// Copyright The OpenTelemetry Authors
+const (
+ goModTestFile = `// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
module go.opentelemetry.io/collector/cmd/builder/internal/tester
go 1.20
@@ -30,7 +33,53 @@ require (
go.opentelemetry.io/collector/processor v0.94.1
go.opentelemetry.io/collector/receiver v0.94.1
go.opentelemetry.io/collector v0.96.0
-)`)
+)`
+ modulePrefix = "go.opentelemetry.io/collector"
+)
+
+var (
+ replaceModules = []string{
+ "",
+ "/component",
+ "/config/configauth",
+ "/config/configcompression",
+ "/config/configgrpc",
+ "/config/confighttp",
+ "/config/confignet",
+ "/config/configopaque",
+ "/config/configretry",
+ "/config/configtelemetry",
+ "/config/configtls",
+ "/config/internal",
+ "/confmap",
+ "/confmap/converter/expandconverter",
+ "/confmap/provider/envprovider",
+ "/confmap/provider/fileprovider",
+ "/confmap/provider/httpprovider",
+ "/confmap/provider/httpsprovider",
+ "/confmap/provider/yamlprovider",
+ "/consumer",
+ "/connector",
+ "/exporter",
+ "/exporter/debugexporter",
+ "/exporter/nopexporter",
+ "/exporter/otlpexporter",
+ "/exporter/otlphttpexporter",
+ "/extension",
+ "/extension/auth",
+ "/extension/zpagesextension",
+ "/featuregate",
+ "/processor",
+ "/processor/batchprocessor",
+ "/processor/memorylimiterprocessor",
+ "/receiver",
+ "/receiver/nopreceiver",
+ "/receiver/otlpreceiver",
+ "/otelcol",
+ "/pdata",
+ "/semconv",
+ "/service",
+ }
)
func newTestConfig() Config {
@@ -96,7 +145,7 @@ func TestVersioning(t *testing.T) {
cfgBuilder: func() Config {
cfg := newTestConfig()
tempDir := t.TempDir()
- err := makeModule(tempDir, goModTestFile)
+ err := makeModule(tempDir, []byte(goModTestFile))
require.NoError(t, err)
cfg.Distribution.OutputPath = tempDir
cfg.SkipGenerate = true
@@ -279,6 +328,108 @@ func TestGenerateAndCompile(t *testing.T) {
}
}
+// Test that the go.mod files that other tests in this file
+// may generate have all their modules covered by our
+// "replace" statements created in `generateReplaces`.
+//
+// An incomplete set of replace statements in these tests
+// may cause them to fail during the release process, when
+// the local version of modules in the release branch is
+// not yet available on the Go package repository.
+// Unless the replace statements route all modules to the
+// local copy, `go get` will try to fetch the unreleased
+// version remotely and some tests will fail.
+func TestReplaceStatementsAreComplete(t *testing.T) {
+ var err error
+ dir := t.TempDir()
+ cfg := NewDefaultConfig()
+ cfg.Distribution.Go = "go"
+ cfg.Distribution.OutputPath = dir
+ // Use a deliberately nonexistent version to simulate an unreleased
+ // version of the package. Not strictly necessary since this test
+ // will catch gaps in the replace statements before a release is in
+ // progress.
+ cfg.Distribution.OtelColVersion = "1.9999.9999"
+ cfg.Replaces = append(cfg.Replaces, generateReplaces()...)
+ // Configure all components that we want to use elsewhere in these tests.
+ // This ensures the resulting go.mod file has maximum coverage of modules
+ // that exist in the Core repository.
+ cfg.Exporters, err = parseModules([]Module{
+ {
+ GoMod: "go.opentelemetry.io/collector/exporter/debugexporter v1.9999.9999",
+ },
+ {
+ GoMod: "go.opentelemetry.io/collector/exporter/nopexporter v1.9999.9999",
+ },
+ {
+ GoMod: "go.opentelemetry.io/collector/exporter/otlpexporter v1.9999.9999",
+ },
+ {
+ GoMod: "go.opentelemetry.io/collector/exporter/otlphttpexporter v1.9999.9999",
+ },
+ })
+ require.NoError(t, err)
+ cfg.Receivers, err = parseModules([]Module{
+ {
+ GoMod: "go.opentelemetry.io/collector/receiver/nopreceiver v1.9999.9999",
+ },
+ {
+ GoMod: "go.opentelemetry.io/collector/receiver/otlpreceiver v1.9999.9999",
+ },
+ })
+ require.NoError(t, err)
+ cfg.Extensions, err = parseModules([]Module{
+ {
+ GoMod: "go.opentelemetry.io/collector/extension/zpagesextension v1.9999.9999",
+ },
+ })
+ require.NoError(t, err)
+ cfg.Processors, err = parseModules([]Module{
+ {
+ GoMod: "go.opentelemetry.io/collector/processor/batchprocessor v1.9999.9999",
+ },
+ {
+ GoMod: "go.opentelemetry.io/collector/processor/memorylimiterprocessor v1.9999.9999",
+ },
+ })
+ require.NoError(t, err)
+
+ require.NoError(t, cfg.SetBackwardsCompatibility())
+ require.NoError(t, cfg.Validate())
+ require.NoError(t, cfg.ParseModules())
+ err = GenerateAndCompile(cfg)
+ require.NoError(t, err)
+
+ gomodpath := path.Join(dir, "go.mod")
+ // #nosec G304 We control this path and generate the file inside, so we can assume it is safe.
+ gomod, err := os.ReadFile(gomodpath)
+ require.NoError(t, err)
+
+ mod, err := modfile.Parse(gomodpath, gomod, nil)
+ require.NoError(t, err)
+
+ replaceMods := map[string]bool{}
+
+ for _, suffix := range replaceModules {
+ replaceMods[modulePrefix+suffix] = false
+ }
+
+ for _, req := range mod.Require {
+ if !strings.HasPrefix(req.Mod.Path, modulePrefix) {
+ continue
+ }
+
+ _, ok := replaceMods[req.Mod.Path]
+ assert.Truef(t, ok, "Module missing from replace statements list: %s", req.Mod.Path)
+
+ replaceMods[req.Mod.Path] = true
+ }
+
+ for k, v := range replaceMods {
+ assert.Truef(t, v, "Module not used: %s", k)
+ }
+}
+
func makeModule(dir string, fileContents []byte) error {
// if the file does not exist, try to create it
if _, err := os.Stat(dir); os.IsNotExist(err) {
@@ -301,47 +452,12 @@ func generateReplaces() []string {
// The goal is find the root of the repo so we can replace the root module.
_, thisFile, _, _ := runtime.Caller(0)
workspaceDir := filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(thisFile)))))
- return []string{fmt.Sprintf("go.opentelemetry.io/collector => %s", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/component => %s/component", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configauth => %s/config/configauth", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configcompression => %s/config/configcompression", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configgrpc => %s/config/configgrpc", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/confignet => %s/config/confignet", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configopaque => %s/config/configopaque", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configretry => %s/config/configretry", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configtelemetry => %s/config/configtelemetry", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/configtls => %s/config/configtls", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/config/internal => %s/config/internal", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap => %s/confmap", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/converter/expandconverter => %s/confmap/converter/expandconverter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/provider/envprovider => %s/confmap/provider/envprovider", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/provider/fileprovider => %s/confmap/provider/fileprovider", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/provider/httpprovider => %s/confmap/provider/httpprovider", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/provider/httpsprovider => %s/confmap/provider/httpsprovider", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/confmap/provider/yamlprovider => %s/confmap/provider/yamlprovider", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/consumer => %s/consumer", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/connector => %s/connector", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter => %s/exporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter/debugexporter => %s/exporter/debugexporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter/loggingexporter => %s/exporter/loggingexporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter/nopexporter => %s/exporter/nopexporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter/otlpexporter => %s/exporter/otlpexporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/exporter/otlphttpexporter => %s/exporter/otlphttpexporter", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/extension => %s/extension", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/extension/auth => %s/extension/auth", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/extension/ballastextension => %s/extension/ballastextension", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/extension/zpagesextension => %s/extension/zpagesextension", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/featuregate => %s/featuregate", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/processor => %s/processor", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/processor/batchprocessor => %s/processor/batchprocessor", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/processor/memorylimiterprocessor => %s/processor/memorylimiterprocessor", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/receiver => %s/receiver", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/receiver/nopreceiver => %s/receiver/nopreceiver", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/receiver/otlpreceiver => %s/receiver/otlpreceiver", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/otelcol => %s/otelcol", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/pdata => %s/pdata", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/pdata/testdata => %s/pdata/testdata", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/semconv => %s/semconv", workspaceDir),
- fmt.Sprintf("go.opentelemetry.io/collector/service => %s/service", workspaceDir),
+ modules := replaceModules
+ replaces := make([]string, len(modules))
+
+ for i, mod := range modules {
+ replaces[i] = fmt.Sprintf("%s%s => %s%s", modulePrefix, mod, workspaceDir, mod)
}
+
+ return replaces
}
From 899b237e9409c4c59335062f1bf3cb8d9f3c83ca Mon Sep 17 00:00:00 2001
From: Curtis Robert
Date: Thu, 9 May 2024 10:16:54 -0700
Subject: [PATCH 020/111] [mdatagen] Run tests when skipping goleak (#10126)
#### Description
Tests are currently not being run when `goleak` checks are skipped. This
is because `TestMain` is called in the generated file, and needs to call
`m.Run()` to properly run the package's tests. This call was missing.
#### Link to tracking issue
Fixes #10125
#### Testing
There aren't any `goleak` checks currently being skipped in core from
the generated package tests, but there are quite a few in `contrib`.
This will fix the skipped tests in `contrib`.
---
.chloggen/fix_skip_goleak.yaml | 25 +++++++++++++++++++++
cmd/mdatagen/templates/package_test.go.tmpl | 1 +
2 files changed, 26 insertions(+)
create mode 100644 .chloggen/fix_skip_goleak.yaml
diff --git a/.chloggen/fix_skip_goleak.yaml b/.chloggen/fix_skip_goleak.yaml
new file mode 100644
index 00000000000..7ab790d9c9e
--- /dev/null
+++ b/.chloggen/fix_skip_goleak.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Run package tests when goleak is skipped
+
+# One or more tracking issues or pull requests related to the change
+issues: [10125]
+
+# (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:
+
+# 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/cmd/mdatagen/templates/package_test.go.tmpl b/cmd/mdatagen/templates/package_test.go.tmpl
index d0c8f823748..f0e0ba2e795 100644
--- a/cmd/mdatagen/templates/package_test.go.tmpl
+++ b/cmd/mdatagen/templates/package_test.go.tmpl
@@ -16,6 +16,7 @@ func TestMain(m *testing.M) {
{{- end }}
{{- if .Tests.GoLeak.Skip }}
// skipping goleak test as per metadata.yml configuration
+ os.Exit(m.Run())
{{- else }}
goleak.VerifyTestMain(m {{- range $val := .Tests.GoLeak.Ignore.Top}}, goleak.IgnoreTopFunction("{{$val}}"){{end}}{{- range $val := .Tests.GoLeak.Ignore.Any}}, goleak.IgnoreAnyFunction("{{$val}}"){{end}} )
{{- end }}
From 251542ab0ddc75597acd39ff8bd354c6ceb2aca0 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 9 May 2024 10:18:14 -0700
Subject: [PATCH 021/111] [chore] use mdatagen for receiverhelper metrics
(#10123)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
...kage_test.go => generated_package_test.go} | 3 +-
.../internal/metadata/generated_telemetry.go | 79 +++++++++++++++
.../metadata/generated_telemetry_test.go | 63 ++++++++++++
receiver/receiverhelper/metadata.yaml | 57 +++++++++++
receiver/receiverhelper/obsreport.go | 95 ++++---------------
5 files changed, 218 insertions(+), 79 deletions(-)
rename receiver/receiverhelper/{package_test.go => generated_package_test.go} (62%)
create mode 100644 receiver/receiverhelper/internal/metadata/generated_telemetry.go
create mode 100644 receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
create mode 100644 receiver/receiverhelper/metadata.yaml
diff --git a/receiver/receiverhelper/package_test.go b/receiver/receiverhelper/generated_package_test.go
similarity index 62%
rename from receiver/receiverhelper/package_test.go
rename to receiver/receiverhelper/generated_package_test.go
index 7b9bf829fc9..3e71ceab063 100644
--- a/receiver/receiverhelper/package_test.go
+++ b/receiver/receiverhelper/generated_package_test.go
@@ -1,5 +1,4 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
+// Code generated by mdatagen. DO NOT EDIT.
package receiverhelper
diff --git a/receiver/receiverhelper/internal/metadata/generated_telemetry.go b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
new file mode 100644
index 00000000000..5226a3d64b4
--- /dev/null
+++ b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
@@ -0,0 +1,79 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "errors"
+
+ "go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+func Meter(settings component.TelemetrySettings) metric.Meter {
+ return settings.MeterProvider.Meter("go.opentelemetry.io/collector/receiver/receiverhelper")
+}
+
+func Tracer(settings component.TelemetrySettings) trace.Tracer {
+ return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/receiver/receiverhelper")
+}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ReceiverAcceptedLogRecords metric.Int64Counter
+ ReceiverAcceptedMetricPoints metric.Int64Counter
+ ReceiverAcceptedSpans metric.Int64Counter
+ ReceiverRefusedLogRecords metric.Int64Counter
+ ReceiverRefusedMetricPoints metric.Int64Counter
+ ReceiverRefusedSpans metric.Int64Counter
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ var err, errs error
+ meter := Meter(settings)
+ builder.ReceiverAcceptedLogRecords, err = meter.Int64Counter(
+ "receiver_accepted_log_records",
+ metric.WithDescription("Number of log records successfully pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ReceiverAcceptedMetricPoints, err = meter.Int64Counter(
+ "receiver_accepted_metric_points",
+ metric.WithDescription("Number of metric points successfully pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ReceiverAcceptedSpans, err = meter.Int64Counter(
+ "receiver_accepted_spans",
+ metric.WithDescription("Number of spans successfully pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ReceiverRefusedLogRecords, err = meter.Int64Counter(
+ "receiver_refused_log_records",
+ metric.WithDescription("Number of log records that could not be pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ReceiverRefusedMetricPoints, err = meter.Int64Counter(
+ "receiver_refused_metric_points",
+ metric.WithDescription("Number of metric points that could not be pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ builder.ReceiverRefusedSpans, err = meter.Int64Counter(
+ "receiver_refused_spans",
+ metric.WithDescription("Number of spans that could not be pushed into the pipeline."),
+ metric.WithUnit("1"),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go b/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
new file mode 100644
index 00000000000..842c86838aa
--- /dev/null
+++ b/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
@@ -0,0 +1,63 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/metric"
+ embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
+ noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/trace"
+ embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
+ nooptrace "go.opentelemetry.io/otel/trace/noop"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+type mockMeter struct {
+ noopmetric.Meter
+ name string
+}
+type mockMeterProvider struct {
+ embeddedmetric.MeterProvider
+}
+
+func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
+ return mockMeter{name: name}
+}
+
+type mockTracer struct {
+ nooptrace.Tracer
+ name string
+}
+
+type mockTracerProvider struct {
+ embeddedtrace.TracerProvider
+}
+
+func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
+ return mockTracer{name: name}
+}
+
+func TestProviders(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+
+ meter := Meter(set)
+ if m, ok := meter.(mockMeter); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/receiver/receiverhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockMeter")
+ }
+
+ tracer := Tracer(set)
+ if m, ok := tracer.(mockTracer); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/receiver/receiverhelper", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockTracer")
+ }
+}
diff --git a/receiver/receiverhelper/metadata.yaml b/receiver/receiverhelper/metadata.yaml
new file mode 100644
index 00000000000..9d1fe3c4436
--- /dev/null
+++ b/receiver/receiverhelper/metadata.yaml
@@ -0,0 +1,57 @@
+type: receiverhelper
+
+status:
+ class: pkg
+ stability:
+ beta: [traces, metrics, logs]
+ distributions: [core, contrib]
+
+telemetry:
+ metrics:
+ receiver_accepted_spans:
+ enabled: true
+ description: Number of spans successfully pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ receiver_refused_spans:
+ enabled: true
+ description: Number of spans that could not be pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ receiver_accepted_metric_points:
+ enabled: true
+ description: Number of metric points successfully pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ receiver_refused_metric_points:
+ enabled: true
+ description: Number of metric points that could not be pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ receiver_accepted_log_records:
+ enabled: true
+ description: Number of log records successfully pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
+
+ receiver_refused_log_records:
+ enabled: true
+ description: Number of log records that could not be pushed into the pipeline.
+ unit: 1
+ sum:
+ value_type: int
+ monotonic: true
\ No newline at end of file
diff --git a/receiver/receiverhelper/obsreport.go b/receiver/receiverhelper/obsreport.go
index ae1422b68f1..18ff7556454 100644
--- a/receiver/receiverhelper/obsreport.go
+++ b/receiver/receiverhelper/obsreport.go
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
package receiverhelper // import "go.opentelemetry.io/collector/receiver/receiverhelper"
import (
@@ -10,17 +12,13 @@ import (
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/trace"
- "go.uber.org/multierr"
"go.uber.org/zap"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
"go.opentelemetry.io/collector/receiver"
-)
-
-const (
- receiverScope = obsmetrics.Scope + obsmetrics.SpanNameSep + obsmetrics.ReceiverKey
+ "go.opentelemetry.io/collector/receiver/receiverhelper/internal/metadata"
)
// ObsReport is a helper to add observability to a receiver.
@@ -30,17 +28,10 @@ type ObsReport struct {
transport string
longLivedCtx bool
tracer trace.Tracer
- meter metric.Meter
logger *zap.Logger
- otelAttrs []attribute.KeyValue
-
- acceptedSpansCounter metric.Int64Counter
- refusedSpansCounter metric.Int64Counter
- acceptedMetricPointsCounter metric.Int64Counter
- refusedMetricPointsCounter metric.Int64Counter
- acceptedLogRecordsCounter metric.Int64Counter
- refusedLogRecordsCounter metric.Int64Counter
+ otelAttrs []attribute.KeyValue
+ telemetryBuilder *metadata.TelemetryBuilder
}
// ObsReportSettings are settings for creating an ObsReport.
@@ -62,74 +53,24 @@ func NewObsReport(cfg ObsReportSettings) (*ObsReport, error) {
}
func newReceiver(cfg ObsReportSettings) (*ObsReport, error) {
- rec := &ObsReport{
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ReceiverCreateSettings.TelemetrySettings)
+ if err != nil {
+ return nil, err
+ }
+ return &ObsReport{
level: cfg.ReceiverCreateSettings.TelemetrySettings.MetricsLevel,
spanNamePrefix: obsmetrics.ReceiverPrefix + cfg.ReceiverID.String(),
transport: cfg.Transport,
longLivedCtx: cfg.LongLivedCtx,
tracer: cfg.ReceiverCreateSettings.TracerProvider.Tracer(cfg.ReceiverID.String()),
- meter: cfg.ReceiverCreateSettings.MeterProvider.Meter(receiverScope),
logger: cfg.ReceiverCreateSettings.Logger,
otelAttrs: []attribute.KeyValue{
attribute.String(obsmetrics.ReceiverKey, cfg.ReceiverID.String()),
attribute.String(obsmetrics.TransportKey, cfg.Transport),
},
- }
-
- if err := rec.createOtelMetrics(); err != nil {
- return nil, err
- }
-
- return rec, nil
-}
-
-func (rec *ObsReport) createOtelMetrics() error {
- var errors, err error
-
- rec.acceptedSpansCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.AcceptedSpansKey,
- metric.WithDescription("Number of spans successfully pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- rec.refusedSpansCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.RefusedSpansKey,
- metric.WithDescription("Number of spans that could not be pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- rec.acceptedMetricPointsCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.AcceptedMetricPointsKey,
- metric.WithDescription("Number of metric points successfully pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- rec.refusedMetricPointsCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.RefusedMetricPointsKey,
- metric.WithDescription("Number of metric points that could not be pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- rec.acceptedLogRecordsCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.AcceptedLogRecordsKey,
- metric.WithDescription("Number of log records successfully pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- rec.refusedLogRecordsCounter, err = rec.meter.Int64Counter(
- obsmetrics.ReceiverMetricPrefix+obsmetrics.RefusedLogRecordsKey,
- metric.WithDescription("Number of log records that could not be pushed into the pipeline."),
- metric.WithUnit("1"),
- )
- errors = multierr.Append(errors, err)
-
- return errors
+ telemetryBuilder: telemetryBuilder,
+ }, nil
}
// StartTracesOp is called when a request is received from a client.
@@ -263,14 +204,14 @@ func (rec *ObsReport) recordMetrics(receiverCtx context.Context, dataType compon
var acceptedMeasure, refusedMeasure metric.Int64Counter
switch dataType {
case component.DataTypeTraces:
- acceptedMeasure = rec.acceptedSpansCounter
- refusedMeasure = rec.refusedSpansCounter
+ acceptedMeasure = rec.telemetryBuilder.ReceiverAcceptedSpans
+ refusedMeasure = rec.telemetryBuilder.ReceiverRefusedSpans
case component.DataTypeMetrics:
- acceptedMeasure = rec.acceptedMetricPointsCounter
- refusedMeasure = rec.refusedMetricPointsCounter
+ acceptedMeasure = rec.telemetryBuilder.ReceiverAcceptedMetricPoints
+ refusedMeasure = rec.telemetryBuilder.ReceiverRefusedMetricPoints
case component.DataTypeLogs:
- acceptedMeasure = rec.acceptedLogRecordsCounter
- refusedMeasure = rec.refusedLogRecordsCounter
+ acceptedMeasure = rec.telemetryBuilder.ReceiverAcceptedLogRecords
+ refusedMeasure = rec.telemetryBuilder.ReceiverRefusedLogRecords
}
acceptedMeasure.Add(receiverCtx, int64(numAccepted), metric.WithAttributes(rec.otelAttrs...))
From 0bf40d39eabd00f7a2b391e961c42a7104045c21 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 9 May 2024 10:55:23 -0700
Subject: [PATCH 022/111] [mdatagen] use main as package for cmd types (#10130)
This allows us to enabled package test generation for mdatagen itself
(and for telemetrygen in contrib)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
cmd/mdatagen/{package_test.go => generated_package_test.go} | 3 +--
cmd/mdatagen/main.go | 5 +++++
cmd/mdatagen/metadata.yaml | 2 ++
cmd/mdatagen/templates/package_test.go.tmpl | 2 +-
4 files changed, 9 insertions(+), 3 deletions(-)
rename cmd/mdatagen/{package_test.go => generated_package_test.go} (60%)
diff --git a/cmd/mdatagen/package_test.go b/cmd/mdatagen/generated_package_test.go
similarity index 60%
rename from cmd/mdatagen/package_test.go
rename to cmd/mdatagen/generated_package_test.go
index 5cd502ca564..2a21d3c7c86 100644
--- a/cmd/mdatagen/package_test.go
+++ b/cmd/mdatagen/generated_package_test.go
@@ -1,5 +1,4 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
+// Code generated by mdatagen. DO NOT EDIT.
package main
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index 959275c0226..ee4b719aef5 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
package main
import (
@@ -204,6 +206,9 @@ func templatize(tmplFile string, md metadata) *template.Template {
"isConnector": func() bool {
return md.Status.Class == "connector"
},
+ "isCommand": func() bool {
+ return md.Status.Class == "cmd"
+ },
"supportsLogs": func() bool {
for _, signals := range md.Status.Stability {
for _, s := range signals {
diff --git a/cmd/mdatagen/metadata.yaml b/cmd/mdatagen/metadata.yaml
index 65bb097a962..bc18609e74c 100644
--- a/cmd/mdatagen/metadata.yaml
+++ b/cmd/mdatagen/metadata.yaml
@@ -2,5 +2,7 @@ type: mdatagen
status:
class: cmd
+ stability:
+ alpha: [metrics]
codeowners:
active: [dmitryax]
\ No newline at end of file
diff --git a/cmd/mdatagen/templates/package_test.go.tmpl b/cmd/mdatagen/templates/package_test.go.tmpl
index f0e0ba2e795..93446b7a5d7 100644
--- a/cmd/mdatagen/templates/package_test.go.tmpl
+++ b/cmd/mdatagen/templates/package_test.go.tmpl
@@ -1,6 +1,6 @@
// Code generated by mdatagen. DO NOT EDIT.
-package {{ .Package }}
+package {{ if isCommand -}}main{{ else }}{{ .Package }}{{- end }}
import (
"testing"
From 80634274c07561fd958ea5aa8e777f049587fc33 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 9 May 2024 12:05:32 -0700
Subject: [PATCH 023/111] [mdatagen] only generate telemetry as needed (#10129)
This prevent unnecessary files from being generated if metadata.yaml
doesn't include any internal telemetry for a component.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
cmd/mdatagen/main.go | 20 +++---
connector/forwardconnector/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
exporter/debugexporter/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
exporter/loggingexporter/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
exporter/nopexporter/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
exporter/otlpexporter/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
exporter/otlphttpexporter/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
extension/ballastextension/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
extension/memorylimiterextension/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
extension/zpagesextension/go.mod | 2 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
processor/memorylimiterprocessor/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
receiver/nopreceiver/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
receiver/otlpreceiver/go.mod | 4 +-
.../internal/metadata/generated_telemetry.go | 18 ------
.../metadata/generated_telemetry_test.go | 63 -------------------
37 files changed, 35 insertions(+), 1003 deletions(-)
delete mode 100644 connector/forwardconnector/internal/metadata/generated_telemetry.go
delete mode 100644 connector/forwardconnector/internal/metadata/generated_telemetry_test.go
delete mode 100644 exporter/debugexporter/internal/metadata/generated_telemetry.go
delete mode 100644 exporter/debugexporter/internal/metadata/generated_telemetry_test.go
delete mode 100644 exporter/loggingexporter/internal/metadata/generated_telemetry.go
delete mode 100644 exporter/loggingexporter/internal/metadata/generated_telemetry_test.go
delete mode 100644 exporter/nopexporter/internal/metadata/generated_telemetry.go
delete mode 100644 exporter/nopexporter/internal/metadata/generated_telemetry_test.go
delete mode 100644 exporter/otlpexporter/internal/metadata/generated_telemetry.go
delete mode 100644 exporter/otlpexporter/internal/metadata/generated_telemetry_test.go
delete mode 100644 exporter/otlphttpexporter/internal/metadata/generated_telemetry.go
delete mode 100644 exporter/otlphttpexporter/internal/metadata/generated_telemetry_test.go
delete mode 100644 extension/ballastextension/internal/metadata/generated_telemetry.go
delete mode 100644 extension/ballastextension/internal/metadata/generated_telemetry_test.go
delete mode 100644 extension/memorylimiterextension/internal/metadata/generated_telemetry.go
delete mode 100644 extension/memorylimiterextension/internal/metadata/generated_telemetry_test.go
delete mode 100644 extension/zpagesextension/internal/metadata/generated_telemetry.go
delete mode 100644 extension/zpagesextension/internal/metadata/generated_telemetry_test.go
delete mode 100644 processor/memorylimiterprocessor/internal/metadata/generated_telemetry.go
delete mode 100644 processor/memorylimiterprocessor/internal/metadata/generated_telemetry_test.go
delete mode 100644 receiver/nopreceiver/internal/metadata/generated_telemetry.go
delete mode 100644 receiver/nopreceiver/internal/metadata/generated_telemetry_test.go
delete mode 100644 receiver/otlpreceiver/internal/metadata/generated_telemetry.go
delete mode 100644 receiver/otlpreceiver/internal/metadata/generated_telemetry_test.go
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index ee4b719aef5..963ae695b72 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -69,14 +69,7 @@ func run(ymlPath string) error {
return err
}
}
- if err = generateFile(filepath.Join(tmplDir, "telemetry.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "telemetry_test.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry_test.go"), md, "metadata"); err != nil {
- return err
- }
+
if err = generateFile(filepath.Join(tmplDir, "package_test.go.tmpl"),
filepath.Join(ymlDir, "generated_package_test.go"), md, packageName); err != nil {
return err
@@ -92,6 +85,17 @@ func run(ymlPath string) error {
}
}
+ if len(md.Telemetry.Metrics) != 0 {
+ if err = generateFile(filepath.Join(tmplDir, "telemetry.go.tmpl"),
+ filepath.Join(codeDir, "generated_telemetry.go"), md, "metadata"); err != nil {
+ return err
+ }
+ if err = generateFile(filepath.Join(tmplDir, "telemetry_test.go.tmpl"),
+ filepath.Join(codeDir, "generated_telemetry_test.go"), md, "metadata"); err != nil {
+ return err
+ }
+ }
+
if len(md.Metrics) == 0 && len(md.ResourceAttributes) == 0 {
return nil
}
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 23e1ad51c63..697903db929 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -9,8 +9,6 @@ require (
go.opentelemetry.io/collector/connector v0.100.0
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
)
@@ -40,8 +38,10 @@ require (
go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/connector/forwardconnector/internal/metadata/generated_telemetry.go b/connector/forwardconnector/internal/metadata/generated_telemetry.go
deleted file mode 100644
index bf218aec069..00000000000
--- a/connector/forwardconnector/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/connector/forwardconnector")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/connector/forwardconnector")
-}
diff --git a/connector/forwardconnector/internal/metadata/generated_telemetry_test.go b/connector/forwardconnector/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 658ab380f97..00000000000
--- a/connector/forwardconnector/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/connector/forwardconnector", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/connector/forwardconnector", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 927de140fab..88a992245bf 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -10,8 +10,6 @@ require (
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -45,8 +43,10 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/exporter/debugexporter/internal/metadata/generated_telemetry.go b/exporter/debugexporter/internal/metadata/generated_telemetry.go
deleted file mode 100644
index abe43e7fa07..00000000000
--- a/exporter/debugexporter/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/debugexporter")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/debugexporter")
-}
diff --git a/exporter/debugexporter/internal/metadata/generated_telemetry_test.go b/exporter/debugexporter/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index ed6c580e677..00000000000
--- a/exporter/debugexporter/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/debugexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/debugexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index b9f8cf529c0..5bd2c4fa2c6 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -10,8 +10,6 @@ require (
go.opentelemetry.io/collector/confmap v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -46,8 +44,10 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/exporter/loggingexporter/internal/metadata/generated_telemetry.go b/exporter/loggingexporter/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 121a4370066..00000000000
--- a/exporter/loggingexporter/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/loggingexporter")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/loggingexporter")
-}
diff --git a/exporter/loggingexporter/internal/metadata/generated_telemetry_test.go b/exporter/loggingexporter/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index deab99a089e..00000000000
--- a/exporter/loggingexporter/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/loggingexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/loggingexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 49158d89bbb..ef7aec8de6a 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -11,8 +11,6 @@ require (
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
)
@@ -42,8 +40,10 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/exporter/nopexporter/internal/metadata/generated_telemetry.go b/exporter/nopexporter/internal/metadata/generated_telemetry.go
deleted file mode 100644
index db41096278d..00000000000
--- a/exporter/nopexporter/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/nopexporter")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/nopexporter")
-}
diff --git a/exporter/nopexporter/internal/metadata/generated_telemetry_test.go b/exporter/nopexporter/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 13312b17e0d..00000000000
--- a/exporter/nopexporter/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/nopexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/nopexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 3a467866e60..7d0baa3ec88 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -17,8 +17,6 @@ require (
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
@@ -73,8 +71,10 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/exporter/otlpexporter/internal/metadata/generated_telemetry.go b/exporter/otlpexporter/internal/metadata/generated_telemetry.go
deleted file mode 100644
index ee872915b19..00000000000
--- a/exporter/otlpexporter/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/otlpexporter")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/otlpexporter")
-}
diff --git a/exporter/otlpexporter/internal/metadata/generated_telemetry_test.go b/exporter/otlpexporter/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 8ad8ad95063..00000000000
--- a/exporter/otlpexporter/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/otlpexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/otlpexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index e855f9a4a4a..3c6ad2eed69 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -15,8 +15,6 @@ require (
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/exporter v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
@@ -72,8 +70,10 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
diff --git a/exporter/otlphttpexporter/internal/metadata/generated_telemetry.go b/exporter/otlphttpexporter/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 8b014c784fb..00000000000
--- a/exporter/otlphttpexporter/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/exporter/otlphttpexporter")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/exporter/otlphttpexporter")
-}
diff --git a/exporter/otlphttpexporter/internal/metadata/generated_telemetry_test.go b/exporter/otlphttpexporter/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index bc1d66d9cfb..00000000000
--- a/exporter/otlphttpexporter/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/otlphttpexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/exporter/otlphttpexporter", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 7faa450c859..507175deec4 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -9,8 +9,6 @@ require (
go.opentelemetry.io/collector/component v0.100.0
go.opentelemetry.io/collector/confmap v0.100.0
go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -45,8 +43,10 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.19.0 // indirect
diff --git a/extension/ballastextension/internal/metadata/generated_telemetry.go b/extension/ballastextension/internal/metadata/generated_telemetry.go
deleted file mode 100644
index ddd7d808462..00000000000
--- a/extension/ballastextension/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/extension/ballastextension")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/extension/ballastextension")
-}
diff --git a/extension/ballastextension/internal/metadata/generated_telemetry_test.go b/extension/ballastextension/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 6eeac05298b..00000000000
--- a/extension/ballastextension/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/ballastextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/ballastextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index e40cd2aab7b..460699be869 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -8,8 +8,6 @@ require (
go.opentelemetry.io/collector/component v0.100.0
go.opentelemetry.io/collector/confmap v0.100.0
go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -44,8 +42,10 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.19.0 // indirect
diff --git a/extension/memorylimiterextension/internal/metadata/generated_telemetry.go b/extension/memorylimiterextension/internal/metadata/generated_telemetry.go
deleted file mode 100644
index c90ad7e67da..00000000000
--- a/extension/memorylimiterextension/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/extension/memorylimiterextension")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/extension/memorylimiterextension")
-}
diff --git a/extension/memorylimiterextension/internal/metadata/generated_telemetry_test.go b/extension/memorylimiterextension/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index b2c1e454273..00000000000
--- a/extension/memorylimiterextension/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/memorylimiterextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/memorylimiterextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index e1b632570eb..96567a57448 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -10,7 +10,6 @@ require (
go.opentelemetry.io/collector/confmap v0.100.0
go.opentelemetry.io/collector/extension v0.100.0
go.opentelemetry.io/contrib/zpages v0.51.0
- go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/sdk v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
@@ -50,6 +49,7 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/extension/zpagesextension/internal/metadata/generated_telemetry.go b/extension/zpagesextension/internal/metadata/generated_telemetry.go
deleted file mode 100644
index d545bbbe394..00000000000
--- a/extension/zpagesextension/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/extension/zpagesextension")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/extension/zpagesextension")
-}
diff --git a/extension/zpagesextension/internal/metadata/generated_telemetry_test.go b/extension/zpagesextension/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 53ce3364bc1..00000000000
--- a/extension/zpagesextension/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/zpagesextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/extension/zpagesextension", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index f663695995f..a084f1a7423 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -10,8 +10,6 @@ require (
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/pdata v1.7.0
go.opentelemetry.io/collector/processor v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
)
@@ -48,8 +46,10 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.100.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/processor/memorylimiterprocessor/internal/metadata/generated_telemetry.go b/processor/memorylimiterprocessor/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 9ae63c09a87..00000000000
--- a/processor/memorylimiterprocessor/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/processor/memorylimiterprocessor")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/processor/memorylimiterprocessor")
-}
diff --git a/processor/memorylimiterprocessor/internal/metadata/generated_telemetry_test.go b/processor/memorylimiterprocessor/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 21c22f3a34c..00000000000
--- a/processor/memorylimiterprocessor/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/processor/memorylimiterprocessor", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/processor/memorylimiterprocessor", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 736e949f811..324bab4cc7a 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -10,8 +10,6 @@ require (
go.opentelemetry.io/collector/confmap v0.100.0
go.opentelemetry.io/collector/consumer v0.100.0
go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
)
@@ -41,8 +39,10 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/receiver/nopreceiver/internal/metadata/generated_telemetry.go b/receiver/nopreceiver/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 9f3838ece6c..00000000000
--- a/receiver/nopreceiver/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/receiver/nopreceiver")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/receiver/nopreceiver")
-}
diff --git a/receiver/nopreceiver/internal/metadata/generated_telemetry_test.go b/receiver/nopreceiver/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 95dde48b83a..00000000000
--- a/receiver/nopreceiver/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/receiver/nopreceiver", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/receiver/nopreceiver", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 58d067c59f5..17d456bc1df 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -17,8 +17,6 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0
go.opentelemetry.io/collector/pdata/testdata v0.100.0
go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
@@ -75,8 +73,10 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/trace v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
diff --git a/receiver/otlpreceiver/internal/metadata/generated_telemetry.go b/receiver/otlpreceiver/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 6115bffcf56..00000000000
--- a/receiver/otlpreceiver/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,18 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/receiver/otlpreceiver")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/receiver/otlpreceiver")
-}
diff --git a/receiver/otlpreceiver/internal/metadata/generated_telemetry_test.go b/receiver/otlpreceiver/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 155056b256a..00000000000
--- a/receiver/otlpreceiver/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,63 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/receiver/otlpreceiver", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/receiver/otlpreceiver", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
From 53fa55bdab342d6fe53c6a9ac285c25e028d3a95 Mon Sep 17 00:00:00 2001
From: Ankit Patel <8731662+ankitpatel96@users.noreply.github.com>
Date: Thu, 9 May 2024 16:27:55 -0400
Subject: [PATCH 024/111] ExporterHelper tests - switch to DataType instead of
Type (#10127)
#### Description
`newBaseExporter` needs a `DataType` - up until now we've been passing
in a `Type`. In preparation of splitting `DataType` and `Type`, pass in
a real `DataType`.
#### Link to tracking issue
related to
https://github.com/open-telemetry/opentelemetry-collector/issues/9429
In preparation for
https://github.com/open-telemetry/opentelemetry-collector/pull/10069
---
exporter/exporterhelper/batch_sender_test.go | 16 ++++++++--------
exporter/exporterhelper/common_test.go | 13 +++++++------
exporter/exporterhelper/queue_sender_test.go | 18 +++++++++---------
exporter/exporterhelper/retry_sender_test.go | 12 ++++++------
4 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/exporter/exporterhelper/batch_sender_test.go b/exporter/exporterhelper/batch_sender_test.go
index 15d05b066f4..bc5720a99f8 100644
--- a/exporter/exporterhelper/batch_sender_test.go
+++ b/exporter/exporterhelper/batch_sender_test.go
@@ -209,7 +209,7 @@ func TestBatchSender_Disabled(t *testing.T) {
cfg := exporterbatcher.NewDefaultConfig()
cfg.Enabled = false
cfg.MaxSizeItems = 5
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(cfg, WithRequestBatchFuncs(fakeBatchMergeFunc, fakeBatchMergeSplitFunc)))
require.NotNil(t, be)
require.NoError(t, err)
@@ -257,7 +257,7 @@ func TestBatchSender_InvalidMergeSplitFunc(t *testing.T) {
}
func TestBatchSender_PostShutdown(t *testing.T) {
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(exporterbatcher.NewDefaultConfig(), WithRequestBatchFuncs(fakeBatchMergeFunc,
fakeBatchMergeSplitFunc)))
require.NotNil(t, be)
@@ -275,7 +275,7 @@ func TestBatchSender_PostShutdown(t *testing.T) {
func TestBatchSender_ConcurrencyLimitReached(t *testing.T) {
qCfg := exporterqueue.NewDefaultConfig()
qCfg.NumConsumers = 2
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(exporterbatcher.NewDefaultConfig(), WithRequestBatchFuncs(fakeBatchMergeFunc, fakeBatchMergeSplitFunc)),
WithRequestQueue(qCfg, exporterqueue.NewMemoryQueueFactory[Request]()))
require.NotNil(t, be)
@@ -299,7 +299,7 @@ func TestBatchSender_ConcurrencyLimitReached(t *testing.T) {
func TestBatchSender_BatchBlocking(t *testing.T) {
bCfg := exporterbatcher.NewDefaultConfig()
bCfg.MinSizeItems = 3
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(bCfg, WithRequestBatchFuncs(fakeBatchMergeFunc, fakeBatchMergeSplitFunc)))
require.NotNil(t, be)
require.NoError(t, err)
@@ -329,7 +329,7 @@ func TestBatchSender_BatchBlocking(t *testing.T) {
func TestBatchSender_BatchCancelled(t *testing.T) {
bCfg := exporterbatcher.NewDefaultConfig()
bCfg.MinSizeItems = 2
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(bCfg, WithRequestBatchFuncs(fakeBatchMergeFunc, fakeBatchMergeSplitFunc)))
require.NotNil(t, be)
require.NoError(t, err)
@@ -364,7 +364,7 @@ func TestBatchSender_BatchCancelled(t *testing.T) {
func TestBatchSender_DrainActiveRequests(t *testing.T) {
bCfg := exporterbatcher.NewDefaultConfig()
bCfg.MinSizeItems = 2
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
WithBatcher(bCfg, WithRequestBatchFuncs(fakeBatchMergeFunc, fakeBatchMergeSplitFunc)))
require.NotNil(t, be)
require.NoError(t, err)
@@ -427,7 +427,7 @@ func TestBatchSender_WithBatcherOption(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender, tt.opts...)
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender, tt.opts...)
if tt.expectedErr {
assert.Nil(t, be)
assert.Error(t, err)
@@ -440,7 +440,7 @@ func TestBatchSender_WithBatcherOption(t *testing.T) {
}
func queueBatchExporter(t *testing.T, batchOption Option) *baseExporter {
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender, batchOption,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender, batchOption,
WithRequestQueue(exporterqueue.NewDefaultConfig(), exporterqueue.NewMemoryQueueFactory[Request]()))
require.NotNil(t, be)
require.NoError(t, err)
diff --git a/exporter/exporterhelper/common_test.go b/exporter/exporterhelper/common_test.go
index e134affeaaa..d79b7c07918 100644
--- a/exporter/exporterhelper/common_test.go
+++ b/exporter/exporterhelper/common_test.go
@@ -24,6 +24,7 @@ import (
var (
defaultType = component.MustNewType("test")
+ defaultDataType = component.DataTypeMetrics
defaultID = component.NewID(defaultType)
defaultSettings = func() exporter.CreateSettings {
set := exportertest.NewNopCreateSettings()
@@ -37,7 +38,7 @@ func newNoopObsrepSender(*ObsReport) requestSender {
}
func TestBaseExporter(t *testing.T) {
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender)
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender)
require.NoError(t, err)
require.NoError(t, be.Start(context.Background(), componenttest.NewNopHost()))
require.NoError(t, be.Shutdown(context.Background()))
@@ -46,7 +47,7 @@ func TestBaseExporter(t *testing.T) {
func TestBaseExporterWithOptions(t *testing.T) {
want := errors.New("my error")
be, err := newBaseExporter(
- defaultSettings, defaultType, newNoopObsrepSender,
+ defaultSettings, defaultDataType, newNoopObsrepSender,
WithStart(func(context.Context, component.Host) error { return want }),
WithShutdown(func(context.Context) error { return want }),
WithTimeout(NewDefaultTimeoutSettings()),
@@ -66,16 +67,16 @@ func checkStatus(t *testing.T, sd sdktrace.ReadOnlySpan, err error) {
}
func TestQueueOptionsWithRequestExporter(t *testing.T) {
- bs, err := newBaseExporter(exportertest.NewNopCreateSettings(), defaultType, newNoopObsrepSender,
+ bs, err := newBaseExporter(exportertest.NewNopCreateSettings(), defaultDataType, newNoopObsrepSender,
WithRetry(configretry.NewDefaultBackOffConfig()))
require.Nil(t, err)
require.Nil(t, bs.marshaler)
require.Nil(t, bs.unmarshaler)
- _, err = newBaseExporter(exportertest.NewNopCreateSettings(), defaultType, newNoopObsrepSender,
+ _, err = newBaseExporter(exportertest.NewNopCreateSettings(), defaultDataType, newNoopObsrepSender,
WithRetry(configretry.NewDefaultBackOffConfig()), WithQueue(NewDefaultQueueSettings()))
require.Error(t, err)
- _, err = newBaseExporter(exportertest.NewNopCreateSettings(), defaultType, newNoopObsrepSender,
+ _, err = newBaseExporter(exportertest.NewNopCreateSettings(), defaultDataType, newNoopObsrepSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(configretry.NewDefaultBackOffConfig()),
WithRequestQueue(exporterqueue.NewDefaultConfig(), exporterqueue.NewMemoryQueueFactory[Request]()))
@@ -88,7 +89,7 @@ func TestBaseExporterLogging(t *testing.T) {
set.Logger = zap.New(logger)
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.Enabled = false
- bs, err := newBaseExporter(set, defaultType, newNoopObsrepSender, WithRetry(rCfg))
+ bs, err := newBaseExporter(set, defaultDataType, newNoopObsrepSender, WithRetry(rCfg))
require.Nil(t, err)
sendErr := bs.send(context.Background(), newErrorRequest())
require.Error(t, sendErr)
diff --git a/exporter/exporterhelper/queue_sender_test.go b/exporter/exporterhelper/queue_sender_test.go
index a2616152ea6..4775938eb55 100644
--- a/exporter/exporterhelper/queue_sender_test.go
+++ b/exporter/exporterhelper/queue_sender_test.go
@@ -27,7 +27,7 @@ func TestQueuedRetry_StopWhileWaiting(t *testing.T) {
qCfg := NewDefaultQueueSettings()
qCfg.NumConsumers = 1
rCfg := configretry.NewDefaultBackOffConfig()
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -61,7 +61,7 @@ func TestQueuedRetry_DoNotPreserveCancellation(t *testing.T) {
qCfg := NewDefaultQueueSettings()
qCfg.NumConsumers = 1
rCfg := configretry.NewDefaultBackOffConfig()
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -93,7 +93,7 @@ func TestQueuedRetry_RejectOnFull(t *testing.T) {
set := exportertest.NewNopCreateSettings()
logger, observed := observer.New(zap.ErrorLevel)
set.Logger = zap.New(logger)
- be, err := newBaseExporter(set, defaultType, newNoopObsrepSender,
+ be, err := newBaseExporter(set, defaultDataType, newNoopObsrepSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithQueue(qCfg))
require.NoError(t, err)
@@ -166,7 +166,7 @@ func TestQueuedRetryHappyPath(t *testing.T) {
t.Cleanup(func() { require.NoError(t, tel.Shutdown(context.Background())) })
set := exporter.CreateSettings{ID: defaultID, TelemetrySettings: tel.TelemetrySettings(), BuildInfo: component.NewDefaultBuildInfo()}
- be, err := newBaseExporter(set, defaultType, newObservabilityConsumerSender, tt.queueOptions...)
+ be, err := newBaseExporter(set, defaultDataType, newObservabilityConsumerSender, tt.queueOptions...)
require.NoError(t, err)
ocs := be.obsrepSender.(*observabilityConsumerSender)
@@ -209,7 +209,7 @@ func TestQueuedRetry_QueueMetricsReported(t *testing.T) {
qCfg.NumConsumers = 0 // to make every request go straight to the queue
rCfg := configretry.NewDefaultBackOffConfig()
set := exporter.CreateSettings{ID: defaultID, TelemetrySettings: tt.TelemetrySettings(), BuildInfo: component.NewDefaultBuildInfo()}
- be, err := newBaseExporter(set, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(set, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -338,7 +338,7 @@ func TestQueuedRetryPersistenceEnabled(t *testing.T) {
qCfg.StorageID = &storageID // enable persistence
rCfg := configretry.NewDefaultBackOffConfig()
set := exporter.CreateSettings{ID: defaultID, TelemetrySettings: tt.TelemetrySettings(), BuildInfo: component.NewDefaultBuildInfo()}
- be, err := newBaseExporter(set, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(set, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -364,7 +364,7 @@ func TestQueuedRetryPersistenceEnabledStorageError(t *testing.T) {
qCfg.StorageID = &storageID // enable persistence
rCfg := configretry.NewDefaultBackOffConfig()
set := exporter.CreateSettings{ID: defaultID, TelemetrySettings: tt.TelemetrySettings(), BuildInfo: component.NewDefaultBuildInfo()}
- be, err := newBaseExporter(set, defaultType, newObservabilityConsumerSender, withMarshaler(mockRequestMarshaler),
+ be, err := newBaseExporter(set, defaultDataType, newObservabilityConsumerSender, withMarshaler(mockRequestMarshaler),
withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})), WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -388,7 +388,7 @@ func TestQueuedRetryPersistentEnabled_NoDataLossOnShutdown(t *testing.T) {
rCfg.MaxElapsedTime = 0 // retry infinitely so shutdown can be triggered
mockReq := newErrorRequest()
- be, err := newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender, withMarshaler(mockRequestMarshaler),
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender, withMarshaler(mockRequestMarshaler),
withUnmarshaler(mockRequestUnmarshaler(mockReq)), WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -412,7 +412,7 @@ func TestQueuedRetryPersistentEnabled_NoDataLossOnShutdown(t *testing.T) {
// start the exporter again replacing the preserved mockRequest in the unmarshaler with a new one that doesn't fail.
replacedReq := newMockRequest(1, nil)
- be, err = newBaseExporter(defaultSettings, defaultType, newNoopObsrepSender, withMarshaler(mockRequestMarshaler),
+ be, err = newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender, withMarshaler(mockRequestMarshaler),
withUnmarshaler(mockRequestUnmarshaler(replacedReq)), WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
require.NoError(t, be.Start(context.Background(), host))
diff --git a/exporter/exporterhelper/retry_sender_test.go b/exporter/exporterhelper/retry_sender_test.go
index d3863097326..ef47597c62e 100644
--- a/exporter/exporterhelper/retry_sender_test.go
+++ b/exporter/exporterhelper/retry_sender_test.go
@@ -39,7 +39,7 @@ func TestQueuedRetry_DropOnPermanentError(t *testing.T) {
qCfg := NewDefaultQueueSettings()
rCfg := configretry.NewDefaultBackOffConfig()
mockR := newMockRequest(2, consumererror.NewPermanent(errors.New("bad data")))
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(mockR)), WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
ocs := be.obsrepSender.(*observabilityConsumerSender)
@@ -63,7 +63,7 @@ func TestQueuedRetry_DropOnNoRetry(t *testing.T) {
qCfg := NewDefaultQueueSettings()
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.Enabled = false
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender, withMarshaler(mockRequestMarshaler),
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender, withMarshaler(mockRequestMarshaler),
withUnmarshaler(mockRequestUnmarshaler(newMockRequest(2, errors.New("transient error")))),
WithQueue(qCfg), WithRetry(rCfg))
require.NoError(t, err)
@@ -90,7 +90,7 @@ func TestQueuedRetry_OnError(t *testing.T) {
qCfg.NumConsumers = 1
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.InitialInterval = 0
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -120,7 +120,7 @@ func TestQueuedRetry_MaxElapsedTime(t *testing.T) {
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.InitialInterval = time.Millisecond
rCfg.MaxElapsedTime = 100 * time.Millisecond
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -168,7 +168,7 @@ func TestQueuedRetry_ThrottleError(t *testing.T) {
qCfg.NumConsumers = 1
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.InitialInterval = 10 * time.Millisecond
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
@@ -202,7 +202,7 @@ func TestQueuedRetry_RetryOnError(t *testing.T) {
qCfg.QueueSize = 1
rCfg := configretry.NewDefaultBackOffConfig()
rCfg.InitialInterval = 0
- be, err := newBaseExporter(defaultSettings, defaultType, newObservabilityConsumerSender,
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newObservabilityConsumerSender,
withMarshaler(mockRequestMarshaler), withUnmarshaler(mockRequestUnmarshaler(&mockRequest{})),
WithRetry(rCfg), WithQueue(qCfg))
require.NoError(t, err)
From aff7525af2da8c894930bddd6e5771a66d230d65 Mon Sep 17 00:00:00 2001
From: Ankit Patel <8731662+ankitpatel96@users.noreply.github.com>
Date: Thu, 9 May 2024 16:38:16 -0400
Subject: [PATCH 025/111] MemoryLimiterProcessor - switch to MustNewID instead
of zero value ID (#10128)
#### Description
In an upcoming PR, I change Type to be an interface. This means the zero
value of Type will be nil - which will cause this test to fail.
Initializing ID instead of relying on the zero value fixes this
#### Link to tracking issue
related to
https://github.com/open-telemetry/opentelemetry-collector/issues/9429
In preparation for
https://github.com/open-telemetry/opentelemetry-collector/pull/10069
---
processor/memorylimiterprocessor/memorylimiter_test.go | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/processor/memorylimiterprocessor/memorylimiter_test.go b/processor/memorylimiterprocessor/memorylimiter_test.go
index 10bc8d7911c..0c103157346 100644
--- a/processor/memorylimiterprocessor/memorylimiter_test.go
+++ b/processor/memorylimiterprocessor/memorylimiter_test.go
@@ -56,7 +56,9 @@ func TestNoDataLoss(t *testing.T) {
limiter, err := newMemoryLimiterProcessor(set, cfg)
require.NoError(t, err)
- processor, err := processorhelper.NewLogsProcessor(context.Background(), processor.CreateSettings{}, cfg, exporter,
+ processor, err := processorhelper.NewLogsProcessor(context.Background(), processor.CreateSettings{
+ ID: component.MustNewID("nop"),
+ }, cfg, exporter,
limiter.processLogs,
processorhelper.WithStart(limiter.start),
processorhelper.WithShutdown(limiter.shutdown))
From 74c2cf3a0da9ab50d9f1dc41523706d7e3c79d3b Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Fri, 10 May 2024 02:22:33 -0600
Subject: [PATCH 026/111] [otelcol] Add a custom zapcore.Core for confmap
logging (#10056)
#### Description
Provides a logger to confmap that buffers logs in memory until the
primary logger can be used. Once the primary logger exists, places that
used the original logger are given the updated Core.
If an error occurs that would shut down the collector before the primary
logger could be created, the logs are written to stdout/err using a
fallback logger.
Alternative to
https://github.com/open-telemetry/opentelemetry-collector/pull/10008
I've pushed the testing I did to show how the logger successfully
updates. Before config resolution the debug log in confmap is not
printed, but afterwards it is.
test config:
```yaml
receivers:
nop:
exporters:
otlphttp:
endpoint: http://0.0.0.0:4317
headers:
# Not set
x-test: ${env:TEMP3}
debug:
# set to "detailed"
verbosity: $TEMP
service:
telemetry:
logs:
level: debug
pipelines:
traces:
receivers:
- nop
exporters:
- debug
```
![image](https://github.com/open-telemetry/opentelemetry-collector/assets/12352919/6a17993f-1f97-4c54-9165-5c34dd58d108)
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/9162
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/5615
#### Testing
If we like this approach I'll add tests
#### Documentation
---------
Co-authored-by: Dan Jaglowski
Co-authored-by: Pablo Baeyens
---
.chloggen/confmap-logger-wrapper-idea.yaml | 25 +++++
otelcol/buffered_core.go | 81 ++++++++++++++++
otelcol/buffered_core_test.go | 107 +++++++++++++++++++++
otelcol/collector.go | 59 +++++++++++-
otelcol/collector_core.go | 58 +++++++++++
otelcol/collector_core_test.go | 89 +++++++++++++++++
otelcol/collector_windows.go | 2 +-
7 files changed, 415 insertions(+), 6 deletions(-)
create mode 100644 .chloggen/confmap-logger-wrapper-idea.yaml
create mode 100644 otelcol/buffered_core.go
create mode 100644 otelcol/buffered_core_test.go
create mode 100644 otelcol/collector_core.go
create mode 100644 otelcol/collector_core_test.go
diff --git a/.chloggen/confmap-logger-wrapper-idea.yaml b/.chloggen/confmap-logger-wrapper-idea.yaml
new file mode 100644
index 00000000000..ff35e92c2a3
--- /dev/null
+++ b/.chloggen/confmap-logger-wrapper-idea.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: otelcol
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Enable logging during configuration resolution
+
+# One or more tracking issues or pull requests related to the change
+issues: [10056]
+
+# (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:
+
+# 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/otelcol/buffered_core.go b/otelcol/buffered_core.go
new file mode 100644
index 00000000000..447bf13cb52
--- /dev/null
+++ b/otelcol/buffered_core.go
@@ -0,0 +1,81 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// This logger implements zapcore.Core and is based on zaptest/observer.
+
+package otelcol // import "go.opentelemetry.io/collector/otelcol"
+
+import (
+ "fmt"
+ "sync"
+
+ "go.uber.org/zap/zapcore"
+)
+
+type loggedEntry struct {
+ zapcore.Entry
+ Context []zapcore.Field
+}
+
+func newBufferedCore(enab zapcore.LevelEnabler) *bufferedCore {
+ return &bufferedCore{LevelEnabler: enab}
+}
+
+var _ zapcore.Core = (*bufferedCore)(nil)
+
+type bufferedCore struct {
+ zapcore.LevelEnabler
+ mu sync.RWMutex
+ logs []loggedEntry
+ context []zapcore.Field
+ logsTaken bool
+}
+
+func (bc *bufferedCore) Level() zapcore.Level {
+ return zapcore.LevelOf(bc.LevelEnabler)
+}
+
+func (bc *bufferedCore) Check(ent zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry {
+ if bc.Enabled(ent.Level) {
+ return ce.AddCore(ent, bc)
+ }
+ return ce
+}
+
+func (bc *bufferedCore) With(fields []zapcore.Field) zapcore.Core {
+ return &bufferedCore{
+ LevelEnabler: bc.LevelEnabler,
+ logs: bc.logs,
+ logsTaken: bc.logsTaken,
+ context: append(bc.context, fields...),
+ }
+}
+
+func (bc *bufferedCore) Write(ent zapcore.Entry, fields []zapcore.Field) error {
+ bc.mu.Lock()
+ defer bc.mu.Unlock()
+ if bc.logsTaken {
+ return fmt.Errorf("the buffered logs have already been taken so writing is no longer supported")
+ }
+ all := make([]zapcore.Field, 0, len(fields)+len(bc.context))
+ all = append(all, bc.context...)
+ all = append(all, fields...)
+ bc.logs = append(bc.logs, loggedEntry{ent, all})
+ return nil
+}
+
+func (bc *bufferedCore) Sync() error {
+ return nil
+}
+
+func (bc *bufferedCore) TakeLogs() []loggedEntry {
+ if !bc.logsTaken {
+ bc.mu.Lock()
+ defer bc.mu.Unlock()
+ logs := bc.logs
+ bc.logs = nil
+ bc.logsTaken = true
+ return logs
+ }
+ return nil
+}
diff --git a/otelcol/buffered_core_test.go b/otelcol/buffered_core_test.go
new file mode 100644
index 00000000000..6417b8a1d9d
--- /dev/null
+++ b/otelcol/buffered_core_test.go
@@ -0,0 +1,107 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package otelcol
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.uber.org/zap/zapcore"
+)
+
+func Test_bufferedCore_Level(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ assert.Equal(t, zapcore.InfoLevel, bc.Level())
+}
+
+func Test_bufferedCore_Check(t *testing.T) {
+ t.Run("check passed", func(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ e := zapcore.Entry{
+ Level: zapcore.InfoLevel,
+ }
+ expected := &zapcore.CheckedEntry{}
+ expected = expected.AddCore(e, bc)
+ ce := bc.Check(e, nil)
+ assert.Equal(t, expected, ce)
+ })
+
+ t.Run("check did not pass", func(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ e := zapcore.Entry{
+ Level: zapcore.DebugLevel,
+ }
+ ce := bc.Check(e, nil)
+ assert.Nil(t, ce)
+ })
+}
+
+func Test_bufferedCore_With(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ bc.logsTaken = true
+ bc.context = []zapcore.Field{
+ {Key: "original", String: "context"},
+ }
+ inputs := []zapcore.Field{
+ {Key: "test", String: "passed"},
+ }
+ expected := []zapcore.Field{
+ {Key: "original", String: "context"},
+ {Key: "test", String: "passed"},
+ }
+ newBC := bc.With(inputs)
+ assert.Equal(t, expected, newBC.(*bufferedCore).context)
+ assert.True(t, newBC.(*bufferedCore).logsTaken)
+}
+
+func Test_bufferedCore_Write(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ e := zapcore.Entry{
+ Level: zapcore.DebugLevel,
+ Message: "test",
+ }
+ fields := []zapcore.Field{
+ {Key: "field1", String: "value1"},
+ }
+ err := bc.Write(e, fields)
+ require.NoError(t, err)
+
+ expected := loggedEntry{
+ e,
+ fields,
+ }
+ require.Equal(t, 1, len(bc.logs))
+ require.Equal(t, expected, bc.logs[0])
+}
+
+func Test_bufferedCore_Sync(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ assert.NoError(t, bc.Sync())
+}
+
+func Test_bufferedCore_TakeLogs(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ e := zapcore.Entry{
+ Level: zapcore.DebugLevel,
+ Message: "test",
+ }
+ fields := []zapcore.Field{
+ {Key: "field1", String: "value1"},
+ }
+ err := bc.Write(e, fields)
+ require.NoError(t, err)
+
+ expected := []loggedEntry{
+ {
+ e,
+ fields,
+ },
+ }
+ assert.Equal(t, expected, bc.TakeLogs())
+ assert.Nil(t, bc.logs)
+
+ assert.Error(t, bc.Write(e, fields))
+ assert.Nil(t, bc.TakeLogs())
+}
diff --git a/otelcol/collector.go b/otelcol/collector.go
index bca6e9b86dc..fb36217cb11 100644
--- a/otelcol/collector.go
+++ b/otelcol/collector.go
@@ -7,6 +7,7 @@ package otelcol // import "go.opentelemetry.io/collector/otelcol"
import (
"context"
+ "errors"
"fmt"
"os"
"os/signal"
@@ -15,6 +16,7 @@ import (
"go.uber.org/multierr"
"go.uber.org/zap"
+ "go.uber.org/zap/zapcore"
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap"
@@ -108,7 +110,9 @@ type Collector struct {
// signalsChannel is used to receive termination signals from the OS.
signalsChannel chan os.Signal
// asyncErrorChannel is used to signal a fatal error from any component.
- asyncErrorChannel chan error
+ asyncErrorChannel chan error
+ bc *bufferedCore
+ updateConfigProviderLogger func(core zapcore.Core)
}
// NewCollector creates and returns a new instance of Collector.
@@ -116,7 +120,10 @@ func NewCollector(set CollectorSettings) (*Collector, error) {
var err error
configProvider := set.ConfigProvider
- set.ConfigProviderSettings.ResolverSettings.ProviderSettings = confmap.ProviderSettings{Logger: zap.NewNop()}
+ bc := newBufferedCore(zapcore.DebugLevel)
+ cc := &collectorCore{core: bc}
+ options := append([]zap.Option{zap.WithCaller(true)}, set.LoggingOptions...)
+ set.ConfigProviderSettings.ResolverSettings.ProviderSettings = confmap.ProviderSettings{Logger: zap.New(cc, options...)}
set.ConfigProviderSettings.ResolverSettings.ConverterSettings = confmap.ConverterSettings{}
if configProvider == nil {
@@ -134,9 +141,11 @@ func NewCollector(set CollectorSettings) (*Collector, error) {
shutdownChan: make(chan struct{}),
// Per signal.Notify documentation, a size of the channel equaled with
// the number of signals getting notified on is recommended.
- signalsChannel: make(chan os.Signal, 3),
- asyncErrorChannel: make(chan error),
- configProvider: configProvider,
+ signalsChannel: make(chan os.Signal, 3),
+ asyncErrorChannel: make(chan error),
+ configProvider: configProvider,
+ bc: bc,
+ updateConfigProviderLogger: cc.SetCore,
}, nil
}
@@ -202,6 +211,18 @@ func (col *Collector) setupConfigurationComponents(ctx context.Context) error {
if err != nil {
return err
}
+ if col.updateConfigProviderLogger != nil {
+ col.updateConfigProviderLogger(col.service.Logger().Core())
+ }
+ if col.bc != nil {
+ x := col.bc.TakeLogs()
+ for _, log := range x {
+ ce := col.service.Logger().Core().Check(log.Entry, nil)
+ if ce != nil {
+ ce.Write(log.Context...)
+ }
+ }
+ }
if !col.set.SkipSettingGRPCLogger {
grpclog.SetLogger(col.service.Logger(), cfg.Service.Telemetry.Logs.Level)
@@ -243,12 +264,40 @@ func (col *Collector) DryRun(ctx context.Context) error {
return cfg.Validate()
}
+func newFallbackLogger(options []zap.Option) (*zap.Logger, error) {
+ ec := zap.NewProductionEncoderConfig()
+ ec.EncodeTime = zapcore.ISO8601TimeEncoder
+ zapCfg := &zap.Config{
+ Level: zap.NewAtomicLevelAt(zapcore.DebugLevel),
+ Encoding: "console",
+ EncoderConfig: ec,
+ OutputPaths: []string{"stderr"},
+ ErrorOutputPaths: []string{"stderr"},
+ }
+ return zapCfg.Build(options...)
+}
+
// Run starts the collector according to the given configuration, and waits for it to complete.
// Consecutive calls to Run are not allowed, Run shouldn't be called once a collector is shut down.
// Sets up the control logic for config reloading and shutdown.
func (col *Collector) Run(ctx context.Context) error {
if err := col.setupConfigurationComponents(ctx); err != nil {
col.setCollectorState(StateClosed)
+ logger, loggerErr := newFallbackLogger(col.set.LoggingOptions)
+ if loggerErr != nil {
+ return errors.Join(err, fmt.Errorf("unable to create fallback logger: %w", loggerErr))
+ }
+
+ if col.bc != nil {
+ x := col.bc.TakeLogs()
+ for _, log := range x {
+ ce := logger.Core().Check(log.Entry, nil)
+ if ce != nil {
+ ce.Write(log.Context...)
+ }
+ }
+ }
+
return err
}
diff --git a/otelcol/collector_core.go b/otelcol/collector_core.go
new file mode 100644
index 00000000000..b0a379fedc9
--- /dev/null
+++ b/otelcol/collector_core.go
@@ -0,0 +1,58 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package otelcol // import "go.opentelemetry.io/collector/otelcol"
+
+import (
+ "sync"
+
+ "go.uber.org/zap/zapcore"
+)
+
+var _ zapcore.Core = (*collectorCore)(nil)
+
+type collectorCore struct {
+ core zapcore.Core
+ rw sync.RWMutex
+}
+
+func (c *collectorCore) Enabled(l zapcore.Level) bool {
+ c.rw.RLock()
+ defer c.rw.RUnlock()
+ return c.core.Enabled(l)
+}
+
+func (c *collectorCore) With(f []zapcore.Field) zapcore.Core {
+ c.rw.RLock()
+ defer c.rw.RUnlock()
+ return &collectorCore{
+ core: c.core.With(f),
+ }
+}
+
+func (c *collectorCore) Check(e zapcore.Entry, ce *zapcore.CheckedEntry) *zapcore.CheckedEntry {
+ c.rw.RLock()
+ defer c.rw.RUnlock()
+ if c.core.Enabled(e.Level) {
+ return ce.AddCore(e, c)
+ }
+ return ce
+}
+
+func (c *collectorCore) Write(e zapcore.Entry, f []zapcore.Field) error {
+ c.rw.RLock()
+ defer c.rw.RUnlock()
+ return c.core.Write(e, f)
+}
+
+func (c *collectorCore) Sync() error {
+ c.rw.RLock()
+ defer c.rw.RUnlock()
+ return c.core.Sync()
+}
+
+func (c *collectorCore) SetCore(core zapcore.Core) {
+ c.rw.Lock()
+ defer c.rw.Unlock()
+ c.core = core
+}
diff --git a/otelcol/collector_core_test.go b/otelcol/collector_core_test.go
new file mode 100644
index 00000000000..6b9deb031e6
--- /dev/null
+++ b/otelcol/collector_core_test.go
@@ -0,0 +1,89 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package otelcol
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.uber.org/zap/zapcore"
+)
+
+func Test_collectorCore_Enabled(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ assert.True(t, cc.Enabled(zapcore.ErrorLevel))
+ assert.False(t, cc.Enabled(zapcore.DebugLevel))
+}
+
+func Test_collectorCore_Check(t *testing.T) {
+ t.Run("check passed", func(t *testing.T) {
+ bc := newBufferedCore(zapcore.InfoLevel)
+ cc := collectorCore{core: bc}
+ e := zapcore.Entry{
+ Level: zapcore.InfoLevel,
+ }
+ expected := &zapcore.CheckedEntry{}
+ expected = expected.AddCore(e, &cc)
+ ce := cc.Check(e, nil)
+ assert.Equal(t, expected, ce)
+ })
+
+ t.Run("check did not pass", func(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ e := zapcore.Entry{
+ Level: zapcore.DebugLevel,
+ }
+ ce := cc.Check(e, nil)
+ assert.Nil(t, ce)
+ })
+}
+
+func Test_collectorCore_With(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ cc.core.(*bufferedCore).context = []zapcore.Field{
+ {Key: "original", String: "context"},
+ }
+ inputs := []zapcore.Field{
+ {Key: "test", String: "passed"},
+ }
+ expected := []zapcore.Field{
+ {Key: "original", String: "context"},
+ {Key: "test", String: "passed"},
+ }
+ newCC := cc.With(inputs)
+ assert.Equal(t, expected, newCC.(*collectorCore).core.(*bufferedCore).context)
+}
+
+func Test_collectorCore_Write(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ e := zapcore.Entry{
+ Level: zapcore.DebugLevel,
+ Message: "test",
+ }
+ fields := []zapcore.Field{
+ {Key: "field1", String: "value1"},
+ }
+ err := cc.Write(e, fields)
+ require.NoError(t, err)
+
+ expected := loggedEntry{
+ e,
+ fields,
+ }
+ require.Equal(t, 1, len(cc.core.(*bufferedCore).logs))
+ require.Equal(t, expected, cc.core.(*bufferedCore).logs[0])
+}
+
+func Test_collectorCore_Sync(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ assert.NoError(t, cc.Sync())
+}
+
+func Test_collectorCore_SetCore(t *testing.T) {
+ cc := collectorCore{core: newBufferedCore(zapcore.InfoLevel)}
+ newCore := newBufferedCore(zapcore.DebugLevel)
+ cc.SetCore(newCore)
+ assert.Equal(t, zapcore.DebugLevel, cc.core.(*bufferedCore).LevelEnabler)
+}
diff --git a/otelcol/collector_windows.go b/otelcol/collector_windows.go
index cc0a3611628..3df08386bbf 100644
--- a/otelcol/collector_windows.go
+++ b/otelcol/collector_windows.go
@@ -202,7 +202,7 @@ func (w windowsEventLogCore) Sync() error {
func withWindowsCore(elog *eventlog.Log, serviceConfig **service.Config) func(zapcore.Core) zapcore.Core {
return func(core zapcore.Core) zapcore.Core {
- if serviceConfig != nil {
+ if serviceConfig != nil && *serviceConfig != nil {
for _, output := range (*serviceConfig).Telemetry.Logs.OutputPaths {
if output != "stdout" && output != "stderr" {
// A log file was specified in the configuration, so we should not use the Windows Event Log
From 7dabb335d780ec798b3852f6aa61187a577be060 Mon Sep 17 00:00:00 2001
From: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Date: Fri, 10 May 2024 12:56:02 -0400
Subject: [PATCH 027/111] [confmap] Deprecate `NewWithSettings` and `New`
(#10134)
#### Description
Each of these was deprecated in v0.99.0, so I think removing them in
v0.101.0 is a safe deprecation period for an API that is likely only
used by vendor distros built without ocb.
If we would like to extend the deprecation period or break this change
into PRs for each module, let me know and I'll make the necessary
changes.
---
.chloggen/deprecate-confmap-new.yaml | 25 +++++++++++++++++
confmap/converter/expandconverter/expand.go | 19 +++++--------
confmap/provider/envprovider/provider.go | 18 +++++--------
confmap/provider/envprovider/provider_test.go | 6 ++---
confmap/provider/fileprovider/provider.go | 27 ++++---------------
confmap/provider/httpprovider/provider.go | 17 ++++--------
confmap/provider/httpsprovider/provider.go | 18 ++++---------
confmap/provider/yamlprovider/provider.go | 21 ++++-----------
8 files changed, 61 insertions(+), 90 deletions(-)
create mode 100644 .chloggen/deprecate-confmap-new.yaml
diff --git a/.chloggen/deprecate-confmap-new.yaml b/.chloggen/deprecate-confmap-new.yaml
new file mode 100644
index 00000000000..d10d3a8a89e
--- /dev/null
+++ b/.chloggen/deprecate-confmap-new.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Deprecate `NewWithSettings` for all Providers and `New` for all Converters
+
+# One or more tracking issues or pull requests related to the change
+issues: [10134]
+
+# (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: Use `NewFactory` instead for all affected modules.
+
+# 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: [api]
diff --git a/confmap/converter/expandconverter/expand.go b/confmap/converter/expandconverter/expand.go
index f07617cd3d6..ea6977fda0f 100644
--- a/confmap/converter/expandconverter/expand.go
+++ b/confmap/converter/expandconverter/expand.go
@@ -21,24 +21,19 @@ type converter struct {
loggedDeprecations map[string]struct{}
}
-// New returns a confmap.Converter, that expands all environment variables for a given confmap.Conf.
-//
-// Notice: This API is experimental.
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func New(_ confmap.ConverterSettings) confmap.Converter {
+// NewFactory returns a factory for a confmap.Converter,
+// which expands all environment variables for a given confmap.Conf.
+func NewFactory() confmap.ConverterFactory {
+ return confmap.NewConverterFactory(newConverter)
+}
+
+func newConverter(_ confmap.ConverterSettings) confmap.Converter {
return converter{
loggedDeprecations: make(map[string]struct{}),
logger: zap.NewNop(), // TODO: pass logger in ConverterSettings
}
}
-// NewFactory returns a factory for a confmap.Converter,
-// which expands all environment variables for a given confmap.Conf.
-func NewFactory() confmap.ConverterFactory {
- return confmap.NewConverterFactory(New)
-}
-
func (c converter) Convert(_ context.Context, conf *confmap.Conf) error {
out := make(map[string]any)
for _, k := range conf.AllKeys() {
diff --git a/confmap/provider/envprovider/provider.go b/confmap/provider/envprovider/provider.go
index c153893cb87..9819a9e654a 100644
--- a/confmap/provider/envprovider/provider.go
+++ b/confmap/provider/envprovider/provider.go
@@ -21,26 +21,20 @@ type provider struct {
logger *zap.Logger
}
-// NewWithSettings returns a new confmap.Provider that reads the configuration from the given environment variable.
+// NewFactory returns a factory for a confmap.Provider that reads the configuration from the given environment variable.
//
// This Provider supports "env" scheme, and can be called with a selector:
// `env:NAME_OF_ENVIRONMENT_VARIABLE`
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func NewWithSettings(ps confmap.ProviderSettings) confmap.Provider {
+func NewFactory() confmap.ProviderFactory {
+ return confmap.NewProviderFactory(newProvider)
+}
+
+func newProvider(ps confmap.ProviderSettings) confmap.Provider {
return &provider{
logger: ps.Logger,
}
}
-// NewFactory returns a factory for a confmap.Provider that reads the configuration from the given environment variable.
-//
-// This Provider supports "env" scheme, and can be called with a selector:
-// `env:NAME_OF_ENVIRONMENT_VARIABLE`
-func NewFactory() confmap.ProviderFactory {
- return confmap.NewProviderFactory(NewWithSettings)
-}
-
func (emp *provider) Retrieve(_ context.Context, uri string, _ confmap.WatcherFunc) (*confmap.Retrieved, error) {
if !strings.HasPrefix(uri, schemeName+":") {
return nil, fmt.Errorf("%q uri is not supported by %q provider", uri, schemeName)
diff --git a/confmap/provider/envprovider/provider_test.go b/confmap/provider/envprovider/provider_test.go
index c5fcbd91eee..f1f5931018c 100644
--- a/confmap/provider/envprovider/provider_test.go
+++ b/confmap/provider/envprovider/provider_test.go
@@ -77,7 +77,7 @@ func TestEnvWithLogger(t *testing.T) {
core, ol := observer.New(zap.WarnLevel)
logger := zap.New(core)
- env := NewWithSettings(confmap.ProviderSettings{Logger: logger})
+ env := NewFactory().Create(confmap.ProviderSettings{Logger: logger})
ret, err := env.Retrieve(context.Background(), envSchemePrefix+envName, nil)
require.NoError(t, err)
retMap, err := ret.AsConf()
@@ -97,7 +97,7 @@ func TestUnsetEnvWithLoggerWarn(t *testing.T) {
core, ol := observer.New(zap.WarnLevel)
logger := zap.New(core)
- env := NewWithSettings(confmap.ProviderSettings{Logger: logger})
+ env := NewFactory().Create(confmap.ProviderSettings{Logger: logger})
ret, err := env.Retrieve(context.Background(), envSchemePrefix+envName, nil)
require.NoError(t, err)
retMap, err := ret.AsConf()
@@ -121,7 +121,7 @@ func TestEmptyEnvWithLoggerWarn(t *testing.T) {
core, ol := observer.New(zap.InfoLevel)
logger := zap.New(core)
- env := NewWithSettings(confmap.ProviderSettings{Logger: logger})
+ env := NewFactory().Create(confmap.ProviderSettings{Logger: logger})
ret, err := env.Retrieve(context.Background(), envSchemePrefix+envName, nil)
require.NoError(t, err)
retMap, err := ret.AsConf()
diff --git a/confmap/provider/fileprovider/provider.go b/confmap/provider/fileprovider/provider.go
index b1723ad16c6..fe958280cfb 100644
--- a/confmap/provider/fileprovider/provider.go
+++ b/confmap/provider/fileprovider/provider.go
@@ -18,27 +18,6 @@ const schemeName = "file"
type provider struct{}
-// NewWithSettings returns a new confmap.Provider that reads the configuration from a file.
-//
-// This Provider supports "file" scheme, and can be called with a "uri" that follows:
-//
-// file-uri = "file:" local-path
-// local-path = [ drive-letter ] file-path
-// drive-letter = ALPHA ":"
-//
-// The "file-path" can be relative or absolute, and it can be any OS supported format.
-//
-// Examples:
-// `file:path/to/file` - relative path (unix, windows)
-// `file:/path/to/file` - absolute path (unix, windows)
-// `file:c:/path/to/file` - absolute path including drive-letter (windows)
-// `file:c:\path\to\file` - absolute path including drive-letter (windows)
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func NewWithSettings(confmap.ProviderSettings) confmap.Provider {
- return &provider{}
-}
-
// NewFactory returns a factory for a confmap.Provider that reads the configuration from a file.
//
// This Provider supports "file" scheme, and can be called with a "uri" that follows:
@@ -55,7 +34,11 @@ func NewWithSettings(confmap.ProviderSettings) confmap.Provider {
// `file:c:/path/to/file` - absolute path including drive-letter (windows)
// `file:c:\path\to\file` - absolute path including drive-letter (windows)
func NewFactory() confmap.ProviderFactory {
- return confmap.NewProviderFactory(NewWithSettings)
+ return confmap.NewProviderFactory(newProvider)
+}
+
+func newProvider(confmap.ProviderSettings) confmap.Provider {
+ return &provider{}
}
func (fmp *provider) Retrieve(_ context.Context, uri string, _ confmap.WatcherFunc) (*confmap.Retrieved, error) {
diff --git a/confmap/provider/httpprovider/provider.go b/confmap/provider/httpprovider/provider.go
index 6ed2b6d104c..c47c1df5d99 100644
--- a/confmap/provider/httpprovider/provider.go
+++ b/confmap/provider/httpprovider/provider.go
@@ -8,22 +8,15 @@ import (
"go.opentelemetry.io/collector/confmap/provider/internal/configurablehttpprovider"
)
-// NewWithSettings returns a new confmap.Provider that reads the configuration from a http server.
-//
-// This Provider supports "http" scheme.
-//
-// One example for HTTP URI is: http://localhost:3333/getConfig
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func NewWithSettings(set confmap.ProviderSettings) confmap.Provider {
- return configurablehttpprovider.New(configurablehttpprovider.HTTPScheme, set)
-}
-
// NewFactory returns a factory for a confmap.Provider that reads the configuration from a http server.
//
// This Provider supports "http" scheme.
//
// One example for HTTP URI is: http://localhost:3333/getConfig
func NewFactory() confmap.ProviderFactory {
- return confmap.NewProviderFactory(NewWithSettings)
+ return confmap.NewProviderFactory(newProvider)
+}
+
+func newProvider(set confmap.ProviderSettings) confmap.Provider {
+ return configurablehttpprovider.New(configurablehttpprovider.HTTPScheme, set)
}
diff --git a/confmap/provider/httpsprovider/provider.go b/confmap/provider/httpsprovider/provider.go
index 0ee3672cf86..579c15babf2 100644
--- a/confmap/provider/httpsprovider/provider.go
+++ b/confmap/provider/httpsprovider/provider.go
@@ -8,18 +8,6 @@ import (
"go.opentelemetry.io/collector/confmap/provider/internal/configurablehttpprovider"
)
-// NewWithSettings returns a new confmap.Provider that reads the configuration from a https server.
-//
-// This Provider supports "https" scheme. One example of an HTTPS URI is: https://localhost:3333/getConfig
-//
-// To add extra CA certificates you need to install certificates in the system pool. This procedure is operating system
-// dependent. E.g.: on Linux please refer to the `update-ca-trust` command.
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func NewWithSettings(set confmap.ProviderSettings) confmap.Provider {
- return configurablehttpprovider.New(configurablehttpprovider.HTTPSScheme, set)
-}
-
// NewFactory returns a factory for a confmap.Provider that reads the configuration from a https server.
//
// This Provider supports "https" scheme. One example of an HTTPS URI is: https://localhost:3333/getConfig
@@ -27,5 +15,9 @@ func NewWithSettings(set confmap.ProviderSettings) confmap.Provider {
// To add extra CA certificates you need to install certificates in the system pool. This procedure is operating system
// dependent. E.g.: on Linux please refer to the `update-ca-trust` command.
func NewFactory() confmap.ProviderFactory {
- return confmap.NewProviderFactory(NewWithSettings)
+ return confmap.NewProviderFactory(newProvider)
+}
+
+func newProvider(set confmap.ProviderSettings) confmap.Provider {
+ return configurablehttpprovider.New(configurablehttpprovider.HTTPSScheme, set)
}
diff --git a/confmap/provider/yamlprovider/provider.go b/confmap/provider/yamlprovider/provider.go
index 4f5c327ce4b..949fc71bf7d 100644
--- a/confmap/provider/yamlprovider/provider.go
+++ b/confmap/provider/yamlprovider/provider.go
@@ -16,21 +16,6 @@ const schemeName = "yaml"
type provider struct{}
-// NewWithSettings returns a new confmap.Provider that allows to provide yaml bytes.
-//
-// This Provider supports "yaml" scheme, and can be called with a "uri" that follows:
-//
-// bytes-uri = "yaml:" yaml-bytes
-//
-// Examples:
-// `yaml:processors::batch::timeout: 2s`
-// `yaml:processors::batch/foo::timeout: 3s`
-//
-// Deprecated: [v0.99.0] Use NewFactory instead.
-func NewWithSettings(confmap.ProviderSettings) confmap.Provider {
- return &provider{}
-}
-
// NewFactory returns a factory for a confmap.Provider that allows to provide yaml bytes.
//
// This Provider supports "yaml" scheme, and can be called with a "uri" that follows:
@@ -41,7 +26,11 @@ func NewWithSettings(confmap.ProviderSettings) confmap.Provider {
// `yaml:processors::batch::timeout: 2s`
// `yaml:processors::batch/foo::timeout: 3s`
func NewFactory() confmap.ProviderFactory {
- return confmap.NewProviderFactory(NewWithSettings)
+ return confmap.NewProviderFactory(newProvider)
+}
+
+func newProvider(confmap.ProviderSettings) confmap.Provider {
+ return &provider{}
}
func (s *provider) Retrieve(_ context.Context, uri string, _ confmap.WatcherFunc) (*confmap.Retrieved, error) {
From 43ed5e97fb1336c01cb1c3980965a250695a13eb Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Fri, 10 May 2024 13:48:11 -0600
Subject: [PATCH 028/111] [confmap] Add logger to ConverterSettings (#10135)
#### Description
Adds a Logger to ConverterSettings to enable logging from within
converters. Also update the expand converter to log a warning if the env
var is empty or missing.
#### Link to tracking issue
Closes
https://github.com/open-telemetry/opentelemetry-collector/issues/9162
Closes
https://github.com/open-telemetry/opentelemetry-collector/issues/5615
#### Testing
Unit tests and local testing
![image](https://github.com/open-telemetry/opentelemetry-collector/assets/12352919/af5dd1e2-62f9-4272-97c7-da57166ef07e)
```yaml
receivers:
nop:
exporters:
otlphttp:
endpoint: http://0.0.0.0:4317
headers:
# Not set
x-test: $TEMP3
debug:
# set to "detailed"
verbosity: $TEMP
service:
telemetry:
logs:
level: info
pipelines:
traces:
receivers:
- nop
exporters:
- otlphttp
- debug
```
#### Documentation
Added godoc comments
---
.chloggen/confmap-converter-logger.yaml | 25 +++++++++++++++++++
confmap/converter.go | 10 +++++++-
confmap/converter/expandconverter/expand.go | 12 ++++++---
.../converter/expandconverter/expand_test.go | 2 +-
confmap/resolver.go | 4 +++
confmap/resolver_test.go | 4 +++
otelcol/collector.go | 5 ++--
7 files changed, 55 insertions(+), 7 deletions(-)
create mode 100644 .chloggen/confmap-converter-logger.yaml
diff --git a/.chloggen/confmap-converter-logger.yaml b/.chloggen/confmap-converter-logger.yaml
new file mode 100644
index 00000000000..c93ebb4873d
--- /dev/null
+++ b/.chloggen/confmap-converter-logger.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Allow Converters to write logs during startup
+
+# One or more tracking issues or pull requests related to the change
+issues: [10135]
+
+# (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:
+
+# 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/confmap/converter.go b/confmap/converter.go
index 2dce87e496e..0e3a5c03f2e 100644
--- a/confmap/converter.go
+++ b/confmap/converter.go
@@ -5,10 +5,18 @@ package confmap // import "go.opentelemetry.io/collector/confmap"
import (
"context"
+
+ "go.uber.org/zap"
)
// ConverterSettings are the settings to initialize a Converter.
-type ConverterSettings struct{}
+type ConverterSettings struct {
+ // Logger is a zap.Logger that will be passed to Converters.
+ // Converters should be able to rely on the Logger being non-nil;
+ // when instantiating a Converter with a ConverterFactory,
+ // nil Logger references should be replaced with a no-op Logger.
+ Logger *zap.Logger
+}
// ConverterFactory defines a factory that can be used to instantiate
// new instances of a Converter.
diff --git a/confmap/converter/expandconverter/expand.go b/confmap/converter/expandconverter/expand.go
index ea6977fda0f..98bc455d907 100644
--- a/confmap/converter/expandconverter/expand.go
+++ b/confmap/converter/expandconverter/expand.go
@@ -27,10 +27,10 @@ func NewFactory() confmap.ConverterFactory {
return confmap.NewConverterFactory(newConverter)
}
-func newConverter(_ confmap.ConverterSettings) confmap.Converter {
+func newConverter(set confmap.ConverterSettings) confmap.Converter {
return converter{
loggedDeprecations: make(map[string]struct{}),
- logger: zap.NewNop(), // TODO: pass logger in ConverterSettings
+ logger: set.Logger,
}
}
@@ -80,6 +80,12 @@ func (c converter) expandEnv(s string) string {
if str == "$" {
return "$"
}
- return os.Getenv(str)
+ val, exists := os.LookupEnv(str)
+ if !exists {
+ c.logger.Warn("Configuration references unset environment variable", zap.String("name", str))
+ } else if len(val) == 0 {
+ c.logger.Info("Configuration references empty environment variable", zap.String("name", str))
+ }
+ return val
})
}
diff --git a/confmap/converter/expandconverter/expand_test.go b/confmap/converter/expandconverter/expand_test.go
index 424a8be0319..fbc58a2e1f2 100644
--- a/confmap/converter/expandconverter/expand_test.go
+++ b/confmap/converter/expandconverter/expand_test.go
@@ -254,5 +254,5 @@ func TestDeprecatedWarning(t *testing.T) {
}
func createConverter() confmap.Converter {
- return NewFactory().Create(confmap.ConverterSettings{})
+ return NewFactory().Create(confmap.ConverterSettings{Logger: zap.NewNop()})
}
diff --git a/confmap/resolver.go b/confmap/resolver.go
index 05f7f964d03..c3de276e245 100644
--- a/confmap/resolver.go
+++ b/confmap/resolver.go
@@ -94,6 +94,10 @@ func NewResolver(set ResolverSettings) (*Resolver, error) {
set.ProviderSettings.Logger = zap.NewNop()
}
+ if set.ConverterSettings.Logger == nil {
+ set.ConverterSettings.Logger = zap.NewNop()
+ }
+
var providers map[string]Provider
var converters []Converter
diff --git a/confmap/resolver_test.go b/confmap/resolver_test.go
index 122009d0e0e..d0218d01f3d 100644
--- a/confmap/resolver_test.go
+++ b/confmap/resolver_test.go
@@ -425,6 +425,10 @@ func TestProvidesDefaultLogger(t *testing.T) {
_, err := NewResolver(ResolverSettings{
URIs: []string{filepath.Join("testdata", "config.yaml")},
ProviderFactories: []ProviderFactory{factory},
+ ConverterFactories: []ConverterFactory{NewConverterFactory(func(set ConverterSettings) Converter {
+ assert.NotNil(t, set.Logger)
+ return &mockConverter{}
+ })},
})
require.NoError(t, err)
require.NotNil(t, provider.logger)
diff --git a/otelcol/collector.go b/otelcol/collector.go
index fb36217cb11..3376f3a0c35 100644
--- a/otelcol/collector.go
+++ b/otelcol/collector.go
@@ -123,8 +123,9 @@ func NewCollector(set CollectorSettings) (*Collector, error) {
bc := newBufferedCore(zapcore.DebugLevel)
cc := &collectorCore{core: bc}
options := append([]zap.Option{zap.WithCaller(true)}, set.LoggingOptions...)
- set.ConfigProviderSettings.ResolverSettings.ProviderSettings = confmap.ProviderSettings{Logger: zap.New(cc, options...)}
- set.ConfigProviderSettings.ResolverSettings.ConverterSettings = confmap.ConverterSettings{}
+ logger := zap.New(cc, options...)
+ set.ConfigProviderSettings.ResolverSettings.ProviderSettings = confmap.ProviderSettings{Logger: logger}
+ set.ConfigProviderSettings.ResolverSettings.ConverterSettings = confmap.ConverterSettings{Logger: logger}
if configProvider == nil {
configProvider, err = NewConfigProvider(set.ConfigProviderSettings)
From e23a43964d312a3d557708d3a497989a60a50070 Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Mon, 13 May 2024 13:47:18 -0600
Subject: [PATCH 029/111] [confighttp] Remove deprecated functions (#10138)
Closes
https://github.com/open-telemetry/opentelemetry-collector/issues/9807
---
.../confighttp-remove-deprecated-funcs.yaml | 25 +++++++++++++++++++
config/confighttp/confighttp.go | 15 -----------
2 files changed, 25 insertions(+), 15 deletions(-)
create mode 100644 .chloggen/confighttp-remove-deprecated-funcs.yaml
diff --git a/.chloggen/confighttp-remove-deprecated-funcs.yaml b/.chloggen/confighttp-remove-deprecated-funcs.yaml
new file mode 100644
index 00000000000..796df0362a1
--- /dev/null
+++ b/.chloggen/confighttp-remove-deprecated-funcs.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: confighttp
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Removes deprecated functions `ToClientContext`, `ToListenerContext`, and `ToServerContext`.
+
+# One or more tracking issues or pull requests related to the change
+issues: [10138]
+
+# (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:
+
+# 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: [api]
diff --git a/config/confighttp/confighttp.go b/config/confighttp/confighttp.go
index 067f9d3a0ab..e2b2cab48c8 100644
--- a/config/confighttp/confighttp.go
+++ b/config/confighttp/confighttp.go
@@ -233,11 +233,6 @@ func (hcs *ClientConfig) ToClient(ctx context.Context, host component.Host, sett
}, nil
}
-// Deprecated: [v0.99.0] Use ToClient instead.
-func (hcs *ClientConfig) ToClientContext(ctx context.Context, host component.Host, settings component.TelemetrySettings) (*http.Client, error) {
- return hcs.ToClient(ctx, host, settings)
-}
-
// Custom RoundTripper that adds headers.
type headerRoundTripper struct {
transport http.RoundTripper
@@ -289,11 +284,6 @@ type ServerConfig struct {
ResponseHeaders map[string]configopaque.String `mapstructure:"response_headers"`
}
-// Deprecated: [v0.99.0] Use ToListener instead.
-func (hss *ServerConfig) ToListenerContext(ctx context.Context) (net.Listener, error) {
- return hss.ToListener(ctx)
-}
-
// ToListener creates a net.Listener.
func (hss *ServerConfig) ToListener(ctx context.Context) (net.Listener, error) {
listener, err := net.Listen("tcp", hss.Endpoint)
@@ -344,11 +334,6 @@ func WithDecoder(key string, dec func(body io.ReadCloser) (io.ReadCloser, error)
}
}
-// Deprecated: [v0.99.0] Use ToServer instead.
-func (hss *ServerConfig) ToServerContext(ctx context.Context, host component.Host, settings component.TelemetrySettings, handler http.Handler, opts ...ToServerOption) (*http.Server, error) {
- return hss.ToServer(ctx, host, settings, handler, opts...)
-}
-
// ToServer creates an http.Server from settings object.
func (hss *ServerConfig) ToServer(_ context.Context, host component.Host, settings component.TelemetrySettings, handler http.Handler, opts ...ToServerOption) (*http.Server, error) {
internal.WarnOnUnspecifiedHost(settings.Logger, hss.Endpoint)
From 472ad320be5814b87fd9f5e36ca2c9501fdf383f Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 13:06:25 -0700
Subject: [PATCH 030/111] Update module github.com/prometheus/client_golang to
v1.19.1 (#10147)
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/client_golang](https://togithub.com/prometheus/client_golang)
| `v1.19.0` -> `v1.19.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fprometheus%2fclient_golang/v1.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fprometheus%2fclient_golang/v1.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fprometheus%2fclient_golang/v1.19.0/v1.19.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fprometheus%2fclient_golang/v1.19.0/v1.19.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
prometheus/client_golang
(github.com/prometheus/client_golang)
###
[`v1.19.1`](https://togithub.com/prometheus/client_golang/releases/tag/v1.19.1)
[Compare
Source](https://togithub.com/prometheus/client_golang/compare/v1.19.0...v1.19.1)
#### What's Changed
- Security patches for `golang.org/x/sys` and
`google.golang.org/protobuf`
#### New Contributors
- [@lukasauk](https://togithub.com/lukasauk) made their first
contribution in
[https://github.com/prometheus/client_golang/pull/1494](https://togithub.com/prometheus/client_golang/pull/1494)
**Full Changelog**:
https://github.com/prometheus/client_golang/compare/v1.19.0...v1.19.1
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/mdatagen/go.mod | 2 +-
cmd/mdatagen/go.sum | 4 ++--
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 4 ++--
component/go.mod | 2 +-
component/go.sum | 4 ++--
config/configauth/go.sum | 4 ++--
config/configgrpc/go.mod | 2 +-
config/configgrpc/go.sum | 4 ++--
config/confighttp/go.mod | 2 +-
config/confighttp/go.sum | 4 ++--
connector/forwardconnector/go.mod | 2 +-
connector/forwardconnector/go.sum | 4 ++--
connector/go.mod | 2 +-
connector/go.sum | 4 ++--
exporter/debugexporter/go.mod | 2 +-
exporter/debugexporter/go.sum | 4 ++--
exporter/go.mod | 2 +-
exporter/go.sum | 4 ++--
exporter/loggingexporter/go.mod | 2 +-
exporter/loggingexporter/go.sum | 4 ++--
exporter/nopexporter/go.mod | 2 +-
exporter/nopexporter/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.sum | 4 ++--
extension/auth/go.mod | 2 +-
extension/auth/go.sum | 4 ++--
extension/ballastextension/go.mod | 2 +-
extension/ballastextension/go.sum | 4 ++--
extension/go.mod | 2 +-
extension/go.sum | 4 ++--
extension/memorylimiterextension/go.mod | 2 +-
extension/memorylimiterextension/go.sum | 4 ++--
extension/zpagesextension/go.mod | 2 +-
extension/zpagesextension/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
internal/e2e/go.mod | 2 +-
internal/e2e/go.sum | 4 ++--
otelcol/go.mod | 2 +-
otelcol/go.sum | 4 ++--
processor/batchprocessor/go.mod | 2 +-
processor/batchprocessor/go.sum | 4 ++--
processor/go.mod | 2 +-
processor/go.sum | 4 ++--
processor/memorylimiterprocessor/go.mod | 2 +-
processor/memorylimiterprocessor/go.sum | 4 ++--
receiver/go.mod | 2 +-
receiver/go.sum | 4 ++--
receiver/nopreceiver/go.mod | 2 +-
receiver/nopreceiver/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.sum | 4 ++--
service/go.mod | 2 +-
service/go.sum | 4 ++--
57 files changed, 86 insertions(+), 86 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 980b3e63c16..ca27af41a65 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -38,7 +38,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index caf02f2e84a..a691cad0589 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 5a79a099ad7..139c3447128 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -65,7 +65,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/go-grpc-compression v1.2.2 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index 95c3c1cc1d4..f294f6dc8ae 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -101,8 +101,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
diff --git a/component/go.mod b/component/go.mod
index a47bae43974..fb8cc02680f 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/component
go 1.21
require (
- github.com/prometheus/client_golang v1.19.0
+ github.com/prometheus/client_golang v1.19.1
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
diff --git a/component/go.sum b/component/go.sum
index e7132707b58..063de722ebb 100644
--- a/component/go.sum
+++ b/component/go.sum
@@ -33,8 +33,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/config/configauth/go.sum b/config/configauth/go.sum
index 1b403218c72..8aef26519f9 100644
--- a/config/configauth/go.sum
+++ b/config/configauth/go.sum
@@ -32,8 +32,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index 746e5506ec7..eb1ea60ac7f 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -45,7 +45,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index b2de3b34188..9a485363446 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -52,8 +52,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index c46a29329a9..b7209dd6c6b 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -41,7 +41,7 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index c436376b611..2f9bf5f2b58 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -49,8 +49,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 697903db929..ecb6e480e5f 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -30,7 +30,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/connector/forwardconnector/go.sum b/connector/forwardconnector/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/connector/forwardconnector/go.sum
+++ b/connector/forwardconnector/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/connector/go.mod b/connector/go.mod
index 07d31e2defc..e2a45751ff0 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -32,7 +32,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/connector/go.sum b/connector/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/connector/go.sum
+++ b/connector/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 88a992245bf..4da7bc965cb 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -33,7 +33,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index 391a5180151..338dc1c97f1 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -46,8 +46,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/go.mod b/exporter/go.mod
index 84067e8c098..07a9177eb7e 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -43,7 +43,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/go.sum b/exporter/go.sum
index 391a5180151..338dc1c97f1 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -46,8 +46,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 5bd2c4fa2c6..5ec9c85c1a7 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -33,7 +33,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index 391a5180151..338dc1c97f1 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -46,8 +46,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index ef7aec8de6a..53187488988 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -32,7 +32,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index 391a5180151..338dc1c97f1 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -46,8 +46,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 7d0baa3ec88..8cbe93d66ee 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -49,7 +49,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/go-grpc-compression v1.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 5a006341c03..a52d2cc437c 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -58,8 +58,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 3c6ad2eed69..bef96d2646e 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -47,7 +47,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index 6121c6fafcc..448db028d1a 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -58,8 +58,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index 18b1f10e553..d7ac0aee7cc 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -24,7 +24,7 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/extension/auth/go.sum b/extension/auth/go.sum
index e7132707b58..063de722ebb 100644
--- a/extension/auth/go.sum
+++ b/extension/auth/go.sum
@@ -33,8 +33,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 507175deec4..ff216ef15dd 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -31,7 +31,7 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index ee39ed94185..9672f8f342d 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -44,8 +44,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/extension/go.mod b/extension/go.mod
index 2814c5938ce..e24304c1a90 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -24,7 +24,7 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/extension/go.sum b/extension/go.sum
index 73673bc93aa..05ca92f3199 100644
--- a/extension/go.sum
+++ b/extension/go.sum
@@ -35,8 +35,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 460699be869..597d975fdb0 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -30,7 +30,7 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index ee39ed94185..9672f8f342d 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -44,8 +44,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 96567a57448..54d66554552 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -33,7 +33,7 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/extension/zpagesextension/go.sum b/extension/zpagesextension/go.sum
index 39eec412d10..1b0e8f35304 100644
--- a/extension/zpagesextension/go.sum
+++ b/extension/zpagesextension/go.sum
@@ -39,8 +39,8 @@ github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zx
github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/go.mod b/go.mod
index e50b24b44e4..a463fc6dcf4 100644
--- a/go.mod
+++ b/go.mod
@@ -41,7 +41,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/go.sum b/go.sum
index 01b1a5939b8..952accb6479 100644
--- a/go.sum
+++ b/go.sum
@@ -56,8 +56,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index c501c742ff7..cea381b881b 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -47,7 +47,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/go-grpc-compression v1.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 3fd76525abf..169a44bfbb8 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -60,8 +60,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index c0383919f5b..610abe5cd6b 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -56,7 +56,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/otelcol/go.sum b/otelcol/go.sum
index 37fcb033a3f..710137328b4 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -91,8 +91,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index 3eeca1c2415..d8352ba5388 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/processor/batchprocessor
go 1.21
require (
- github.com/prometheus/client_golang v1.19.0
+ github.com/prometheus/client_golang v1.19.1
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/processor/batchprocessor/go.sum
+++ b/processor/batchprocessor/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/processor/go.mod b/processor/go.mod
index 61d1b2d9f9d..539171d5379 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -35,7 +35,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/processor/go.sum b/processor/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/processor/go.sum
+++ b/processor/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index a084f1a7423..3a270399815 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -34,7 +34,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index 6e25c38fb3e..a9eefd43586 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -52,8 +52,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/receiver/go.mod b/receiver/go.mod
index dfac49db6f2..4db13840ae9 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -36,7 +36,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/receiver/go.sum b/receiver/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/receiver/go.sum
+++ b/receiver/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 324bab4cc7a..c69b145c2ee 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -31,7 +31,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/receiver/nopreceiver/go.sum b/receiver/nopreceiver/go.sum
index b60f3f5be7a..a2c5559e7bd 100644
--- a/receiver/nopreceiver/go.sum
+++ b/receiver/nopreceiver/go.sum
@@ -44,8 +44,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 17d456bc1df..afda3379229 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -48,7 +48,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/mostynb/go-grpc-compression v1.2.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.19.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 3fd76525abf..169a44bfbb8 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -60,8 +60,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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
diff --git a/service/go.mod b/service/go.mod
index 631a062620d..02b89078fb2 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/google/uuid v1.6.0
- github.com/prometheus/client_golang v1.19.0
+ github.com/prometheus/client_golang v1.19.1
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/shirou/gopsutil/v3 v3.24.4
diff --git a/service/go.sum b/service/go.sum
index 83307976ab9..66923c4f117 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -88,8 +88,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
-github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
+github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE=
+github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
From f28725a7911dcdb4d80af66f9d414ee02945c44b Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 13:06:45 -0700
Subject: [PATCH 031/111] Update module github.com/golangci/golangci-lint to
v1.58.1 (#10146)
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/golangci/golangci-lint](https://togithub.com/golangci/golangci-lint)
| `v1.58.0` -> `v1.58.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.58.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint/v1.58.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint/v1.58.0/v1.58.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint/v1.58.0/v1.58.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
golangci/golangci-lint
(github.com/golangci/golangci-lint)
###
[`v1.58.1`](https://togithub.com/golangci/golangci-lint/compare/v1.58.0...v1.58.1)
[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.58.0...v1.58.1)
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
internal/tools/go.mod | 6 +++---
internal/tools/go.sum | 12 ++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 4576faa2cf0..bf52f1b64fe 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/a8m/envsubst v1.4.2
github.com/client9/misspell v0.3.4
- github.com/golangci/golangci-lint v1.58.0
+ github.com/golangci/golangci-lint v1.58.1
github.com/google/addlicense v1.1.1
github.com/jcchavezs/porto v0.6.0
github.com/pavius/impi v0.0.3
@@ -23,7 +23,7 @@ require (
4d63.com/gocheckcompilerdirectives v1.2.1 // indirect
4d63.com/gochecknoglobals v0.2.1 // indirect
dario.cat/mergo v1.0.0 // indirect
- github.com/4meepo/tagalign v1.3.3 // indirect
+ github.com/4meepo/tagalign v1.3.4 // indirect
github.com/Abirdcfly/dupword v0.0.14 // indirect
github.com/Antonboom/errname v0.1.13 // indirect
github.com/Antonboom/nilnil v0.1.8 // indirect
@@ -71,7 +71,7 @@ require (
github.com/firefart/nonamedreturns v1.0.5 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
- github.com/ghostiam/protogetter v0.3.5 // indirect
+ github.com/ghostiam/protogetter v0.3.6 // indirect
github.com/go-critic/go-critic v0.11.3 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index d0c4a6eb958..1fab88ed1e6 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -4,8 +4,8 @@
4d63.com/gochecknoglobals v0.2.1/go.mod h1:KRE8wtJB3CXCsb1xy421JfTHIIbmT3U5ruxw2Qu8fSU=
dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk=
dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
-github.com/4meepo/tagalign v1.3.3 h1:ZsOxcwGD/jP4U/aw7qeWu58i7dwYemfy5Y+IF1ACoNw=
-github.com/4meepo/tagalign v1.3.3/go.mod h1:Q9c1rYMZJc9dPRkbQPpcBNCLEmY2njbAsXhQOZFE2dE=
+github.com/4meepo/tagalign v1.3.4 h1:P51VcvBnf04YkHzjfclN6BbsopfJR5rxs1n+5zHt+w8=
+github.com/4meepo/tagalign v1.3.4/go.mod h1:M+pnkHH2vG8+qhE5bVc/zeP7HS/j910Fwa9TUSyZVI0=
github.com/Abirdcfly/dupword v0.0.14 h1:3U4ulkc8EUo+CaT105/GJ1BQwtgyj6+VaBVbAX11Ba8=
github.com/Abirdcfly/dupword v0.0.14/go.mod h1:VKDAbxdY8YbKUByLGg8EETzYSuC4crm9WwI6Y3S0cLI=
github.com/Antonboom/errname v0.1.13 h1:JHICqsewj/fNckzrfVSe+T33svwQxmjC+1ntDsHOVvM=
@@ -120,8 +120,8 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/fzipp/gocyclo v0.6.0 h1:lsblElZG7d3ALtGMx9fmxeTKZaLLpU8mET09yN4BBLo=
github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
-github.com/ghostiam/protogetter v0.3.5 h1:+f7UiF8XNd4w3a//4DnusQ2SZjPkUjxkMEfjbxOK4Ug=
-github.com/ghostiam/protogetter v0.3.5/go.mod h1:7lpeDnEJ1ZjL/YtyoN99ljO4z0pd3H0d18/t2dPBxHw=
+github.com/ghostiam/protogetter v0.3.6 h1:R7qEWaSgFCsy20yYHNIJsU9ZOb8TziSRRxuAOTVKeOk=
+github.com/ghostiam/protogetter v0.3.6/go.mod h1:7lpeDnEJ1ZjL/YtyoN99ljO4z0pd3H0d18/t2dPBxHw=
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
github.com/go-critic/go-critic v0.11.3 h1:SJbYD/egY1noYjTMNTlhGaYlfQ77rQmrNH7h+gtn0N0=
@@ -171,8 +171,8 @@ github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM=
-github.com/golangci/golangci-lint v1.58.0 h1:r8duFARMJ0VdSM9tDXAdt2+f57dfZQmagvYX6kmkUKQ=
-github.com/golangci/golangci-lint v1.58.0/go.mod h1:WAY3BnSLvTUEv41Q0v3ZFzNybLRF+a7Vd9Da8Jx9Eqo=
+github.com/golangci/golangci-lint v1.58.1 h1:IYKjkt7nofq/mYXiDUyJiBZQi5kxD0jPCjBy6VXxjz8=
+github.com/golangci/golangci-lint v1.58.1/go.mod h1:IX9uSbhwDDOVTcceKZWmshlally+fOQYv1pZhIJCMNw=
github.com/golangci/misspell v0.5.1 h1:/SjR1clj5uDjNLwYzCahHwIOPmQgoH04AyQIiWGbhCM=
github.com/golangci/misspell v0.5.1/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo=
github.com/golangci/modinfo v0.3.4 h1:oU5huX3fbxqQXdfspamej74DFX0kyGLkw1ppvXoJ8GA=
From dae76c48f095fc37cb923130ca475f5278058477 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 13:07:19 -0700
Subject: [PATCH 032/111] Update github-actions deps (#10145)
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 |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
patch | `v4.1.4` -> `v4.1.5` |
| [codecov/codecov-action](https://togithub.com/codecov/codecov-action)
| action | minor | `4.3.1` -> `4.4.0` |
| [github/codeql-action](https://togithub.com/github/codeql-action) |
action | patch | `v3.25.3` -> `v3.25.5` |
|
[goreleaser/goreleaser-action](https://togithub.com/goreleaser/goreleaser-action)
| action | minor | `v5.0.0` -> `v5.1.0` |
| [ossf/scorecard-action](https://togithub.com/ossf/scorecard-action) |
action | patch | `v2.3.1` -> `v2.3.3` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
actions/checkout (actions/checkout)
###
[`v4.1.5`](https://togithub.com/actions/checkout/releases/tag/v4.1.5)
[Compare
Source](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)
#### What's Changed
- Update NPM dependencies by
[@cory-miller](https://togithub.com/cory-miller) in
[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)
- Bump github/codeql-action from 2 to 3 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)
- Bump actions/setup-node from 1 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)
- Bump actions/upload-artifact from 2 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)
- README: Suggest `user.email` to be
`41898282+github-actions[bot]@users.noreply.github.com` by
[@cory-miller](https://togithub.com/cory-miller) in
[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)
**Full Changelog**:
https://github.com/actions/checkout/compare/v4.1.4...v4.1.5
codecov/codecov-action (codecov/codecov-action)
###
[`v4.4.0`](https://togithub.com/codecov/codecov-action/compare/v4.3.1...v4.4.0)
[Compare
Source](https://togithub.com/codecov/codecov-action/compare/v4.3.1...v4.4.0)
github/codeql-action (github/codeql-action)
###
[`v3.25.5`](https://togithub.com/github/codeql-action/compare/v3.25.4...v3.25.5)
[Compare
Source](https://togithub.com/github/codeql-action/compare/v3.25.4...v3.25.5)
###
[`v3.25.4`](https://togithub.com/github/codeql-action/compare/v3.25.3...v3.25.4)
[Compare
Source](https://togithub.com/github/codeql-action/compare/v3.25.3...v3.25.4)
goreleaser/goreleaser-action
(goreleaser/goreleaser-action)
###
[`v5.1.0`](https://togithub.com/goreleaser/goreleaser-action/releases/tag/v5.1.0)
[Compare
Source](https://togithub.com/goreleaser/goreleaser-action/compare/v5.0.0...v5.1.0)
#### Important
This version changes the default behavior of `latest` to `~> v1`.
The next major of this action (v6), will change this to `~> v2`, and
will be launched together with GoReleaser v2.
#### What's Changed
- docs: bump actions to latest major by
[@crazy-max](https://togithub.com/crazy-max) in
[https://github.com/goreleaser/goreleaser-action/pull/435](https://togithub.com/goreleaser/goreleaser-action/pull/435)
- chore(deps): bump docker/bake-action from 3 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/436](https://togithub.com/goreleaser/goreleaser-action/pull/436)
- chore(deps): bump codecov/codecov-action from 3 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/437](https://togithub.com/goreleaser/goreleaser-action/pull/437)
- chore(deps): bump actions/setup-go from 4 to 5 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/443](https://togithub.com/goreleaser/goreleaser-action/pull/443)
- chore(deps): bump actions/upload-artifact from 3 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/444](https://togithub.com/goreleaser/goreleaser-action/pull/444)
- Delete .kodiak.toml by
[@vedantmgoyal9](https://togithub.com/vedantmgoyal9) in
[https://github.com/goreleaser/goreleaser-action/pull/446](https://togithub.com/goreleaser/goreleaser-action/pull/446)
- chore(deps): bump codecov/codecov-action from 3 to 4 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/448](https://togithub.com/goreleaser/goreleaser-action/pull/448)
- chore(deps): bump ip from 2.0.0 to 2.0.1 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/450](https://togithub.com/goreleaser/goreleaser-action/pull/450)
- Upgrade setup-go action version in README by
[@kishaningithub](https://togithub.com/kishaningithub) in
[https://github.com/goreleaser/goreleaser-action/pull/455](https://togithub.com/goreleaser/goreleaser-action/pull/455)
- chore(deps): bump tar from 6.1.14 to 6.2.1 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/456](https://togithub.com/goreleaser/goreleaser-action/pull/456)
- chore: use corepack to install yarn by
[@crazy-max](https://togithub.com/crazy-max) in
[https://github.com/goreleaser/goreleaser-action/pull/458](https://togithub.com/goreleaser/goreleaser-action/pull/458)
- feat: lock this major version of the action to use '~> v1' as 'latest'
by [@caarlos0](https://togithub.com/caarlos0) in
[https://github.com/goreleaser/goreleaser-action/pull/461](https://togithub.com/goreleaser/goreleaser-action/pull/461)
- chore(deps): bump semver from 7.6.0 to 7.6.2 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/462](https://togithub.com/goreleaser/goreleaser-action/pull/462)
- chore(deps): bump
[@actions/http-client](https://togithub.com/actions/http-client)
from 2.2.0 to 2.2.1 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/goreleaser/goreleaser-action/pull/451](https://togithub.com/goreleaser/goreleaser-action/pull/451)
#### New Contributors
- [@vedantmgoyal9](https://togithub.com/vedantmgoyal9) made their
first contribution in
[https://github.com/goreleaser/goreleaser-action/pull/446](https://togithub.com/goreleaser/goreleaser-action/pull/446)
**Full Changelog**:
https://github.com/goreleaser/goreleaser-action/compare/v5.0.0...v5.1.0
ossf/scorecard-action (ossf/scorecard-action)
###
[`v2.3.3`](https://togithub.com/ossf/scorecard-action/compare/v2.3.2...v2.3.3)
[Compare
Source](https://togithub.com/ossf/scorecard-action/compare/v2.3.2...v2.3.3)
###
[`v2.3.2`](https://togithub.com/ossf/scorecard-action/compare/v2.3.1...v2.3.2)
[Compare
Source](https://togithub.com/ossf/scorecard-action/compare/v2.3.1...v2.3.2)
---
### 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/api-compatibility.yml | 4 ++--
.github/workflows/build-and-test-windows.yaml | 4 ++--
.github/workflows/build-and-test.yml | 16 ++++++++--------
.github/workflows/builder-integration-test.yaml | 2 +-
.github/workflows/builder-release.yaml | 4 ++--
.github/workflows/changelog.yml | 2 +-
.github/workflows/check-links.yaml | 4 ++--
.github/workflows/codeql-analysis.yml | 8 ++++----
.github/workflows/contrib-tests.yml | 2 +-
.../generate-semantic-conventions-pr.yaml | 6 +++---
.github/workflows/perf.yml | 2 +-
.github/workflows/prepare-release.yml | 2 +-
.github/workflows/scorecard.yml | 6 +++---
.github/workflows/shellcheck.yml | 2 +-
.github/workflows/tidy-dependencies.yml | 2 +-
15 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/.github/workflows/api-compatibility.yml b/.github/workflows/api-compatibility.yml
index 5dc6e985a6a..8071b6bad0a 100644
--- a/.github/workflows/api-compatibility.yml
+++ b/.github/workflows/api-compatibility.yml
@@ -22,13 +22,13 @@ jobs:
steps:
- name: Checkout-Main
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
ref: ${{ github.base_ref }}
path: ${{ github.base_ref }}
- name: Checkout-HEAD
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
path: ${{ github.head_ref }}
diff --git a/.github/workflows/build-and-test-windows.yaml b/.github/workflows/build-and-test-windows.yaml
index 82d0776e787..4ade4002839 100644
--- a/.github/workflows/build-and-test-windows.yaml
+++ b/.github/workflows/build-and-test-windows.yaml
@@ -18,7 +18,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -40,7 +40,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 4e8cdcbf6e5..ab10a82e35a 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -38,7 +38,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -62,7 +62,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -87,7 +87,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -150,7 +150,7 @@ jobs:
- name: Run vmmeter
uses: self-actuated/vmmeter-action@v1
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -194,7 +194,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -216,7 +216,7 @@ jobs:
- name: Run Unit Tests With Coverage
run: make gotest-with-cover
- name: Upload coverage report
- uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # 4.3.1
+ uses: codecov/codecov-action@6d798873df2b1b8e5846dba6fb86631229fbcb17 # 4.4.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -256,7 +256,7 @@ jobs:
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/builder-integration-test.yaml b/.github/workflows/builder-integration-test.yaml
index cfc63cff3b3..7f0fecef400 100644
--- a/.github/workflows/builder-integration-test.yaml
+++ b/.github/workflows/builder-integration-test.yaml
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/builder-release.yaml b/.github/workflows/builder-release.yaml
index 17f02824d17..31afbe0b808 100644
--- a/.github/workflows/builder-release.yaml
+++ b/.github/workflows/builder-release.yaml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Setup Go
@@ -18,7 +18,7 @@ jobs:
with:
go-version: ~1.21.5
- name: Run GoReleaser
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
+ uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
distribution: goreleaser-pro
version: latest
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 25e6017666b..99e8887ff54 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -26,7 +26,7 @@ jobs:
PR_HEAD: ${{ github.event.pull_request.head.sha }}
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Setup Go
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml
index 93a407948ad..3a903228663 100644
--- a/.github/workflows/check-links.yaml
+++ b/.github/workflows/check-links.yaml
@@ -21,7 +21,7 @@ jobs:
md: ${{ steps.changes.outputs.md }}
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
- name: Get changed files
@@ -34,7 +34,7 @@ jobs:
if: ${{needs.changedfiles.outputs.md}}
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 329af637e4f..fad7705b405 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
@@ -30,12 +30,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
+ uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
with:
languages: go
- name: Autobuild
- uses: github/codeql-action/autobuild@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
+ uses: github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
+ uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml
index e8caa8fe008..fd20d3aeddb 100644
--- a/.github/workflows/contrib-tests.yml
+++ b/.github/workflows/contrib-tests.yml
@@ -38,7 +38,7 @@ jobs:
- other
steps:
- name: Checkout Repo
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/generate-semantic-conventions-pr.yaml b/.github/workflows/generate-semantic-conventions-pr.yaml
index 8bc7c691698..69fa1f4154b 100644
--- a/.github/workflows/generate-semantic-conventions-pr.yaml
+++ b/.github/workflows/generate-semantic-conventions-pr.yaml
@@ -14,7 +14,7 @@ jobs:
already-added: ${{ steps.check-versions.outputs.already-added }}
already-opened: ${{ steps.check-versions.outputs.already-opened }}
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- id: check-versions
name: Check versions
@@ -56,9 +56,9 @@ jobs:
needs:
- check-versions
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Checkout semantic-convention
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
repository: open-telemetry/semantic-convention
path: tmp-semantic-conventions
diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml
index 2f48d0a250c..0a6f8065d89 100644
--- a/.github/workflows/perf.yml
+++ b/.github/workflows/perf.yml
@@ -11,7 +11,7 @@ jobs:
runperf:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index fef28ed2ef7..0dbd4454be8 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -54,7 +54,7 @@ jobs:
- validate-versions
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
fetch-depth: 0
# Make sure that there are no open issues with release:blocker label in Core. The release has to be delayed until they are resolved.
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index 3cfdee49ed5..e2d46811604 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -29,12 +29,12 @@ jobs:
steps:
- name: "Checkout code"
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
persist-credentials: false
- name: "Run analysis"
- uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1
+ uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
with:
results_file: results.sarif
results_format: sarif
@@ -64,6 +64,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
- uses: github/codeql-action/upload-sarif@d39d31e687223d841ef683f52467bd88e9b21c14 # v3.25.3
+ uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
with:
sarif_file: results.sarif
diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml
index aa59846bea5..d98269e4175 100644
--- a/.github/workflows/shellcheck.yml
+++ b/.github/workflows/shellcheck.yml
@@ -13,6 +13,6 @@ jobs:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml
index cd1d495eb7c..ba13e9a58ef 100644
--- a/.github/workflows/tidy-dependencies.yml
+++ b/.github/workflows/tidy-dependencies.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependency-major-update') && (github.actor == 'renovate[bot]' || contains(github.event.pull_request.labels.*.name, 'renovatebot')) }}
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
From 949bc57f0e6b9d4497e0a9a36b2ece94ebef8574 Mon Sep 17 00:00:00 2001
From: petercover
Date: Wed, 15 May 2024 04:09:34 +0800
Subject: [PATCH 033/111] chore: fix function name in comment (#10150)
Signed-off-by: petercover
---
receiver/otlpreceiver/otlp_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/receiver/otlpreceiver/otlp_test.go b/receiver/otlpreceiver/otlp_test.go
index 1920ac8de91..44501536298 100644
--- a/receiver/otlpreceiver/otlp_test.go
+++ b/receiver/otlpreceiver/otlp_test.go
@@ -1147,7 +1147,7 @@ func (esc *errOrSinkConsumer) ConsumeMetrics(ctx context.Context, md pmetric.Met
return esc.MetricsSink.ConsumeMetrics(ctx, md)
}
-// ConsumeMetrics stores metrics to this sink.
+// ConsumeLogs stores metrics to this sink.
func (esc *errOrSinkConsumer) ConsumeLogs(ctx context.Context, ld plog.Logs) error {
esc.mu.Lock()
defer esc.mu.Unlock()
From 0ce58b46ed46cec805c1f198d3b7b5d2b58331fe Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 13:23:11 -0700
Subject: [PATCH 034/111] Update module
google.golang.org/genproto/googleapis/rpc to
v0.0.0-20240506185236-b8a5c65736ae (#10100)
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/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| `v0.0.0-20240401170217-c3f982113cda` ->
`v0.0.0-20240506185236-b8a5c65736ae` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240401170217-c3f982113cda/v0.0.0-20240506185236-b8a5c65736ae?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240401170217-c3f982113cda/v0.0.0-20240506185236-b8a5c65736ae?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).
---------
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
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.sum | 4 ++--
internal/e2e/go.mod | 2 +-
internal/e2e/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.sum | 4 ++--
10 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 139c3447128..8a08511ae0b 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -122,7 +122,7 @@ require (
golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index f294f6dc8ae..59d654fc279 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -258,8 +258,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 8cbe93d66ee..ce84f2b4cc0 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.100.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index a52d2cc437c..65ec14924a1 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -147,8 +147,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index bef96d2646e..03f41a5dc34 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index 448db028d1a..6cc96df3f42 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -149,8 +149,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index cea381b881b..174ea65e699 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -85,7 +85,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 169a44bfbb8..e178c63cf76 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -153,8 +153,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index afda3379229..a318098e347 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 169a44bfbb8..e178c63cf76 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -153,8 +153,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
From dcd668350185db312c64d28bfe213f073111f05c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 14 May 2024 14:22:52 -0700
Subject: [PATCH 035/111] fix(deps): update module
google.golang.org/genproto/googleapis/rpc to
v0.0.0-20240513163218-0867130af1f8 (#10153)
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/genproto/googleapis/rpc](https://togithub.com/googleapis/go-genproto)
| `v0.0.0-20240506185236-b8a5c65736ae` ->
`v0.0.0-20240513163218-0867130af1f8` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240513163218-0867130af1f8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240513163218-0867130af1f8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae/v0.0.0-20240513163218-0867130af1f8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgenproto%2fgoogleapis%2frpc/v0.0.0-20240506185236-b8a5c65736ae/v0.0.0-20240513163218-0867130af1f8?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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.sum | 4 ++--
internal/e2e/go.mod | 2 +-
internal/e2e/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.sum | 4 ++--
10 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 8a08511ae0b..56020b6675d 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -122,7 +122,7 @@ require (
golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index 59d654fc279..f66e4093aa8 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -258,8 +258,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index ce84f2b4cc0..70b9f3ccb69 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.100.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 65ec14924a1..4801a7bf857 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -147,8 +147,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 03f41a5dc34..458d1959bd3 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/collector/pdata v1.7.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index 6cc96df3f42..b5a54e2293a 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -149,8 +149,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 174ea65e699..335dc1fb104 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -85,7 +85,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index e178c63cf76..25ef5d14b30 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -153,8 +153,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index a318098e347..6e388b13354 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
google.golang.org/grpc v1.63.2
google.golang.org/protobuf v1.34.1
)
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index e178c63cf76..25ef5d14b30 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -153,8 +153,8 @@ google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUE
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae h1:c55+MER4zkBS14uJhSZMGGmya0yJx5iHV4x/fpOSNRk=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240506185236-b8a5c65736ae/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
From 02378938c7e7c363e17c51ec8136ba7d80101b1a Mon Sep 17 00:00:00 2001
From: Andrzej Stencel
Date: Wed, 15 May 2024 15:45:27 +0200
Subject: [PATCH 036/111] [chore] update Andrzej's affiliation (#10156)
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0c7ee6fabd4..442e476a81c 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,7 @@ Here is a list of community roles with current and previous members:
- Triagers ([@open-telemetry/collector-triagers](https://github.com/orgs/open-telemetry/teams/collector-triagers)):
- - [Andrzej Stencel](https://github.com/andrzej-stencel), Sumo Logic
+ - [Andrzej Stencel](https://github.com/andrzej-stencel), Elastic
- [Evan Bradley](https://github.com/evan-bradley), Dynatrace
- Actively seeking contributors to triage issues
From 9aa7e156b032035b21546371c071bb84f7abd3b1 Mon Sep 17 00:00:00 2001
From: Damien Mathieu <42@dmathieu.com>
Date: Wed, 15 May 2024 16:41:53 +0200
Subject: [PATCH 037/111] Add origin field name option to base fields (#10149)
#### Description
This adds an `originFieldName` option to `sliceField`,
`messageValueField` and `primitiveField`.
This option already exists for `primitiveTypedField`, `oneOfField`,
`oneOfPrimitiveValue` and `oneOfMessageValue`.
#### Link to tracking issue
This is needed for #10109.
#### Testing
This is unit tested.
cc @mx-psi
---
.../cmd/pdatagen/internal/base_fields.go | 57 ++++++++++++-------
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/pdata/internal/cmd/pdatagen/internal/base_fields.go b/pdata/internal/cmd/pdatagen/internal/base_fields.go
index 7e0f60dd679..523ef352149 100644
--- a/pdata/internal/cmd/pdatagen/internal/base_fields.go
+++ b/pdata/internal/cmd/pdatagen/internal/base_fields.go
@@ -9,10 +9,10 @@ import (
"text/template"
)
-const accessorSliceTemplate = `// {{ .fieldName }} returns the {{ .fieldName }} associated with this {{ .structName }}.
+const accessorSliceTemplate = `// {{ .fieldName }} returns the {{ .originFieldName }} associated with this {{ .structName }}.
func (ms {{ .structName }}) {{ .fieldName }}() {{ .packageName }}{{ .returnType }} {
{{- if .isCommon }}
- return {{ .packageName }}{{ .returnType }}(internal.New{{ .returnType }}(&ms.{{ .origAccessor }}.{{ .fieldName }}
+ return {{ .packageName }}{{ .returnType }}(internal.New{{ .returnType }}(&ms.{{ .origAccessor }}.{{ .originFieldName }}
{{- if .isBaseStructCommon -}}
, internal.Get{{ .structName }}State(internal.{{ .structName }}(ms))
{{- else -}}
@@ -20,7 +20,7 @@ func (ms {{ .structName }}) {{ .fieldName }}() {{ .packageName }}{{ .returnType
{{- end -}}
))
{{- else }}
- return new{{ .returnType }}(&ms.{{ .origAccessor }}.{{ .fieldName }}, ms.state)
+ return new{{ .returnType }}(&ms.{{ .origAccessor }}.{{ .originFieldName }}, ms.state)
{{- end }}
}`
@@ -42,7 +42,7 @@ const setTestValueTemplate = `{{ if .isCommon -}}
{{- else -}}
fillTest{{ .returnType }}(new
{{- end -}}
- {{ .returnType }}(&tv.orig.{{ .fieldName }}, tv.state))`
+ {{ .returnType }}(&tv.orig.{{ .originFieldName }}, tv.state))`
const accessorsMessageValueTemplate = `// {{ .fieldName }} returns the {{ .lowerFieldName }} associated with this {{ .structName }}.
func (ms {{ .structName }}) {{ .fieldName }}() {{ .packageName }}{{ .returnType }} {
@@ -66,13 +66,13 @@ const accessorsMessageValueTestTemplate = `func Test{{ .structName }}_{{ .fieldN
const accessorsPrimitiveTemplate = `// {{ .fieldName }} returns the {{ .lowerFieldName }} associated with this {{ .structName }}.
func (ms {{ .structName }}) {{ .fieldName }}() {{ .packageName }}{{ .returnType }} {
- return ms.{{ .origAccessor }}.{{ .fieldName }}
+ return ms.{{ .origAccessor }}.{{ .originFieldName }}
}
// Set{{ .fieldName }} replaces the {{ .lowerFieldName }} associated with this {{ .structName }}.
func (ms {{ .structName }}) Set{{ .fieldName }}(v {{ .returnType }}) {
ms.{{ .stateAccessor }}.AssertMutable()
- ms.{{ .origAccessor }}.{{ .fieldName }} = v
+ ms.{{ .origAccessor }}.{{ .originFieldName }} = v
}`
const accessorsPrimitiveSliceTemplate = `// {{ .fieldName }} returns the {{ .lowerFieldName }} associated with this {{ .structName }}.
@@ -106,7 +106,7 @@ const oneOfTypeAccessorTestTemplate = `func Test{{ .structName }}_{{ .typeFuncNa
const accessorsOneOfMessageTemplate = `// {{ .fieldName }} returns the {{ .lowerFieldName }} associated with this {{ .structName }}.
//
-// Calling this function when {{ .originOneOfTypeFuncName }}() != {{ .typeName }} returns an invalid
+// Calling this function when {{ .originOneOfTypeFuncName }}() != {{ .typeName }} returns an invalid
// zero-initialized instance of {{ .returnType }}. Note that using such {{ .returnType }} instance can cause panic.
//
// Calling this function on zero-initialized {{ .structName }} will cause a panic.
@@ -254,8 +254,9 @@ type baseField interface {
}
type sliceField struct {
- fieldName string
- returnSlice baseSlice
+ fieldName string
+ originFieldName string
+ returnSlice baseSlice
}
func (sf *sliceField) GenerateAccessors(ms *messageValueStruct) string {
@@ -304,6 +305,12 @@ func (sf *sliceField) templateFields(ms *messageValueStruct) map[string]any {
"stateAccessor": stateAccessor(ms),
"isCommon": usedByOtherDataTypes(sf.returnSlice.getPackageName()),
"isBaseStructCommon": usedByOtherDataTypes(ms.packageName),
+ "originFieldName": func() string {
+ if sf.originFieldName == "" {
+ return sf.fieldName
+ }
+ return sf.originFieldName
+ }(),
}
}
@@ -347,11 +354,12 @@ func (mf *messageValueField) GenerateCopyToValue(*messageValueStruct) string {
func (mf *messageValueField) templateFields(ms *messageValueStruct) map[string]any {
return map[string]any{
- "isCommon": usedByOtherDataTypes(mf.returnMessage.packageName),
- "structName": ms.getName(),
- "fieldName": mf.fieldName,
- "lowerFieldName": strings.ToLower(mf.fieldName),
- "returnType": mf.returnMessage.getName(),
+ "isCommon": usedByOtherDataTypes(mf.returnMessage.packageName),
+ "structName": ms.getName(),
+ "fieldName": mf.fieldName,
+ "originFieldName": mf.fieldName,
+ "lowerFieldName": strings.ToLower(mf.fieldName),
+ "returnType": mf.returnMessage.getName(),
"packageName": func() string {
if mf.returnMessage.packageName != ms.packageName {
return mf.returnMessage.packageName + "."
@@ -366,10 +374,11 @@ func (mf *messageValueField) templateFields(ms *messageValueStruct) map[string]a
var _ baseField = (*messageValueField)(nil)
type primitiveField struct {
- fieldName string
- returnType string
- defaultVal string
- testVal string
+ fieldName string
+ originFieldName string
+ returnType string
+ defaultVal string
+ testVal string
}
func (pf *primitiveField) GenerateAccessors(ms *messageValueStruct) string {
@@ -391,7 +400,11 @@ func (pf *primitiveField) GenerateAccessorsTest(ms *messageValueStruct) string {
}
func (pf *primitiveField) GenerateSetWithTestValue(*messageValueStruct) string {
- return "\ttv.orig." + pf.fieldName + " = " + pf.testVal
+ originFieldName := pf.fieldName
+ if pf.originFieldName != "" {
+ originFieldName = pf.originFieldName
+ }
+ return "\ttv.orig." + originFieldName + " = " + pf.testVal
}
func (pf *primitiveField) GenerateCopyToValue(*messageValueStruct) string {
@@ -410,6 +423,12 @@ func (pf *primitiveField) templateFields(ms *messageValueStruct) map[string]any
"origAccessor": origAccessor(ms),
"stateAccessor": stateAccessor(ms),
"originStructName": ms.originFullName,
+ "originFieldName": func() string {
+ if pf.originFieldName == "" {
+ return pf.fieldName
+ }
+ return pf.originFieldName
+ }(),
}
}
From 04060245bccb5a41d09c1d6e8ba880416c47f7b7 Mon Sep 17 00:00:00 2001
From: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Date: Wed, 15 May 2024 11:24:56 -0400
Subject: [PATCH 038/111] [confmap] Encode string-like map keys (#10137)
#### Description
Our check for determining whether a map key can be encoded as a string
is too restrictive and doesn't into account types which are essentially
aliases for the string type and don't implement `UnmarshalText`.
I encountered this while trying to call
`(confmap.Conf).Marshal(*otelcol.Config)` when the config includes a
Prometheus receiver, which includes the [LabelName
type](https://github.com/prometheus/common/blob/main/model/labels.go#L98)
that does not implement an unmarshaling method. We can't guarantee that
all types will implement this, and [Go's print formatters
check](https://github.com/golang/go/blob/master/src/fmt/print.go#L803)
whether `(reflect.Value).Kind()` equals `reflect.String`, so I think
this will be an overall more robust approach.
#### Testing
I added two test cases to demonstrate when we will hit this case.
---------
Co-authored-by: Pablo Baeyens
---
.chloggen/string-encoding.yaml | 25 +++++++++++++++++++
confmap/internal/mapstructure/encoder.go | 15 ++++++++---
confmap/internal/mapstructure/encoder_test.go | 18 +++++++++++++
3 files changed, 54 insertions(+), 4 deletions(-)
create mode 100644 .chloggen/string-encoding.yaml
diff --git a/.chloggen/string-encoding.yaml b/.chloggen/string-encoding.yaml
new file mode 100644
index 00000000000..1513ae96c93
--- /dev/null
+++ b/.chloggen/string-encoding.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Support string-like types as map keys when marshaling
+
+# One or more tracking issues or pull requests related to the change
+issues: [10137]
+
+# (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:
+
+# 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: [api]
diff --git a/confmap/internal/mapstructure/encoder.go b/confmap/internal/mapstructure/encoder.go
index 408560e2262..d0e222e08b6 100644
--- a/confmap/internal/mapstructure/encoder.go
+++ b/confmap/internal/mapstructure/encoder.go
@@ -168,11 +168,18 @@ func (e *Encoder) encodeMap(value reflect.Value) (any, error) {
if err != nil {
return nil, fmt.Errorf("error encoding key: %w", err)
}
- key, ok := encoded.(string)
- if !ok {
- return nil, fmt.Errorf("%w key %q, kind: %v", errNonStringEncodedKey, iterator.Key().Interface(), iterator.Key().Kind())
+
+ v := reflect.ValueOf(encoded)
+ var key string
+
+ switch v.Kind() {
+ case reflect.String:
+ key = v.String()
+ default:
+ return nil, fmt.Errorf("%w, key: %q, kind: %v, type: %T", errNonStringEncodedKey, iterator.Key().Interface(), iterator.Key().Kind(), encoded)
}
- if _, ok = result[key]; ok {
+
+ if _, ok := result[key]; ok {
return nil, fmt.Errorf("duplicate key %q while encoding", key)
}
if result[key], err = e.encode(iterator.Value()); err != nil {
diff --git a/confmap/internal/mapstructure/encoder_test.go b/confmap/internal/mapstructure/encoder_test.go
index fac12e8a6df..54800e7a740 100644
--- a/confmap/internal/mapstructure/encoder_test.go
+++ b/confmap/internal/mapstructure/encoder_test.go
@@ -47,6 +47,8 @@ func (tID TestID) MarshalText() (text []byte, err error) {
return []byte(out), nil
}
+type TestStringLike string
+
func TestEncode(t *testing.T) {
enc := New(&EncoderConfig{
EncodeHook: TextMarshalerHookFunc(),
@@ -63,6 +65,22 @@ func TestEncode(t *testing.T) {
input: TestID("type"),
want: "type_",
},
+ "MapWithTextMarshalerKey": {
+ input: map[TestID]TestSimpleStruct{
+ TestID("type"): {Value: "value"},
+ },
+ want: map[string]any{
+ "type_": map[string]any{"value": "value"},
+ },
+ },
+ "MapWithoutTextMarshalerKey": {
+ input: map[TestStringLike]TestSimpleStruct{
+ TestStringLike("key"): {Value: "value"},
+ },
+ want: map[string]any{
+ "key": map[string]any{"value": "value"},
+ },
+ },
"WithSlice": {
input: []TestID{
TestID("nop"),
From d5a883731e33a8a57700845ebf4b97cc55c5d04b Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Wed, 15 May 2024 18:22:03 +0200
Subject: [PATCH 039/111] [otelcol] Add mapstructure tags to main Config struct
(#10152)
#### Description
Adds `mapstructure` tags to main `Config` struct.
cc @mackjmr
---
.chloggen/mx-psi_add-mapstructure-labels.yaml | 25 +++++++++++++++++++
otelcol/config.go | 12 ++++-----
2 files changed, 31 insertions(+), 6 deletions(-)
create mode 100644 .chloggen/mx-psi_add-mapstructure-labels.yaml
diff --git a/.chloggen/mx-psi_add-mapstructure-labels.yaml b/.chloggen/mx-psi_add-mapstructure-labels.yaml
new file mode 100644
index 00000000000..cca77ebdd0c
--- /dev/null
+++ b/.chloggen/mx-psi_add-mapstructure-labels.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: otelcol
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Add explicit mapstructure tags to main configuration struct
+
+# One or more tracking issues or pull requests related to the change
+issues: [10152]
+
+# (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:
+
+# 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: [api]
diff --git a/otelcol/config.go b/otelcol/config.go
index 7c27bd40201..e622617721b 100644
--- a/otelcol/config.go
+++ b/otelcol/config.go
@@ -20,21 +20,21 @@ var (
// Config defines the configuration for the various elements of collector or agent.
type Config struct {
// Receivers is a map of ComponentID to Receivers.
- Receivers map[component.ID]component.Config
+ Receivers map[component.ID]component.Config `mapstructure:"receivers"`
// Exporters is a map of ComponentID to Exporters.
- Exporters map[component.ID]component.Config
+ Exporters map[component.ID]component.Config `mapstructure:"exporters"`
// Processors is a map of ComponentID to Processors.
- Processors map[component.ID]component.Config
+ Processors map[component.ID]component.Config `mapstructure:"processors"`
// Connectors is a map of ComponentID to connectors.
- Connectors map[component.ID]component.Config
+ Connectors map[component.ID]component.Config `mapstructure:"connectors"`
// Extensions is a map of ComponentID to extensions.
- Extensions map[component.ID]component.Config
+ Extensions map[component.ID]component.Config `mapstructure:"extensions"`
- Service service.Config
+ Service service.Config `mapstructure:"service"`
}
// Validate returns an error if the config is invalid.
From 66ced7a802edbf25e9b47d973fcbb9591d9c5731 Mon Sep 17 00:00:00 2001
From: Damien Mathieu <42@dmathieu.com>
Date: Wed, 15 May 2024 20:58:02 +0200
Subject: [PATCH 040/111] Upgrade proto and generate profiles (#10155)
#### Description
This upgrades the proto to their latest version, and generates the
profiles.
#### Link to tracking issue
Part of #10109
cc @mx-psi
---
Makefile | 4 +-
.../v1experimental/profiles_service.pb.go | 845 +++
.../v1experimental/pprofextended.pb.go | 4919 +++++++++++++++++
.../profiles/v1experimental/profiles.pb.go | 1482 +++++
proto_patch.sed | 38 +-
5 files changed, 7285 insertions(+), 3 deletions(-)
create mode 100644 pdata/internal/data/protogen/collector/profiles/v1experimental/profiles_service.pb.go
create mode 100644 pdata/internal/data/protogen/profiles/v1experimental/pprofextended.pb.go
create mode 100644 pdata/internal/data/protogen/profiles/v1experimental/profiles.pb.go
diff --git a/Makefile b/Makefile
index 8fb56bfbdc9..e38507fffbb 100644
--- a/Makefile
+++ b/Makefile
@@ -157,10 +157,10 @@ ocb:
OPENTELEMETRY_PROTO_SRC_DIR=pdata/internal/opentelemetry-proto
# The branch matching the current version of the proto to use
-OPENTELEMETRY_PROTO_VERSION=v1.2.0
+OPENTELEMETRY_PROTO_VERSION=v1.3.1
# Find all .proto files.
-OPENTELEMETRY_PROTO_FILES := $(subst $(OPENTELEMETRY_PROTO_SRC_DIR)/,,$(wildcard $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/*/v1/*.proto $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/collector/*/v1/*.proto))
+OPENTELEMETRY_PROTO_FILES := $(subst $(OPENTELEMETRY_PROTO_SRC_DIR)/,,$(wildcard $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/*/v1/*.proto $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/collector/*/v1/*.proto $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/*/v1experimental/*.proto $(OPENTELEMETRY_PROTO_SRC_DIR)/opentelemetry/proto/collector/*/v1experimental/*.proto))
# Target directory to write generated files to.
PROTO_TARGET_GEN_DIR=pdata/internal/data/protogen
diff --git a/pdata/internal/data/protogen/collector/profiles/v1experimental/profiles_service.pb.go b/pdata/internal/data/protogen/collector/profiles/v1experimental/profiles_service.pb.go
new file mode 100644
index 00000000000..f998cd3f8c5
--- /dev/null
+++ b/pdata/internal/data/protogen/collector/profiles/v1experimental/profiles_service.pb.go
@@ -0,0 +1,845 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto
+
+package v1experimental
+
+import (
+ context "context"
+ fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
+ _ "github.com/gogo/protobuf/gogoproto"
+ proto "github.com/gogo/protobuf/proto"
+ grpc "google.golang.org/grpc"
+ codes "google.golang.org/grpc/codes"
+ status "google.golang.org/grpc/status"
+
+ v1experimental "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+type ExportProfilesServiceRequest struct {
+ // An array of ResourceProfiles.
+ // For data coming from a single resource this array will typically contain one
+ // element. Intermediary nodes (such as OpenTelemetry Collector) that receive
+ // data from multiple origins typically batch the data before forwarding further and
+ // in that case this array will contain multiple elements.
+ ResourceProfiles []*v1experimental.ResourceProfiles `protobuf:"bytes,1,rep,name=resource_profiles,json=resourceProfiles,proto3" json:"resource_profiles,omitempty"`
+}
+
+func (m *ExportProfilesServiceRequest) Reset() { *m = ExportProfilesServiceRequest{} }
+func (m *ExportProfilesServiceRequest) String() string { return proto.CompactTextString(m) }
+func (*ExportProfilesServiceRequest) ProtoMessage() {}
+func (*ExportProfilesServiceRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3d903b74e05b443d, []int{0}
+}
+func (m *ExportProfilesServiceRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExportProfilesServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ExportProfilesServiceRequest.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ExportProfilesServiceRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExportProfilesServiceRequest.Merge(m, src)
+}
+func (m *ExportProfilesServiceRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExportProfilesServiceRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExportProfilesServiceRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExportProfilesServiceRequest proto.InternalMessageInfo
+
+func (m *ExportProfilesServiceRequest) GetResourceProfiles() []*v1experimental.ResourceProfiles {
+ if m != nil {
+ return m.ResourceProfiles
+ }
+ return nil
+}
+
+type ExportProfilesServiceResponse struct {
+ // The details of a partially successful export request.
+ //
+ // If the request is only partially accepted
+ // (i.e. when the server accepts only parts of the data and rejects the rest)
+ // the server MUST initialize the `partial_success` field and MUST
+ // set the `rejected_` with the number of items it rejected.
+ //
+ // Servers MAY also make use of the `partial_success` field to convey
+ // warnings/suggestions to senders even when the request was fully accepted.
+ // In such cases, the `rejected_` MUST have a value of `0` and
+ // the `error_message` MUST be non-empty.
+ //
+ // A `partial_success` message with an empty value (rejected_ = 0 and
+ // `error_message` = "") is equivalent to it not being set/present. Senders
+ // SHOULD interpret it the same way as in the full success case.
+ PartialSuccess ExportProfilesPartialSuccess `protobuf:"bytes,1,opt,name=partial_success,json=partialSuccess,proto3" json:"partial_success"`
+}
+
+func (m *ExportProfilesServiceResponse) Reset() { *m = ExportProfilesServiceResponse{} }
+func (m *ExportProfilesServiceResponse) String() string { return proto.CompactTextString(m) }
+func (*ExportProfilesServiceResponse) ProtoMessage() {}
+func (*ExportProfilesServiceResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3d903b74e05b443d, []int{1}
+}
+func (m *ExportProfilesServiceResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExportProfilesServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ExportProfilesServiceResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ExportProfilesServiceResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExportProfilesServiceResponse.Merge(m, src)
+}
+func (m *ExportProfilesServiceResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExportProfilesServiceResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExportProfilesServiceResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExportProfilesServiceResponse proto.InternalMessageInfo
+
+func (m *ExportProfilesServiceResponse) GetPartialSuccess() ExportProfilesPartialSuccess {
+ if m != nil {
+ return m.PartialSuccess
+ }
+ return ExportProfilesPartialSuccess{}
+}
+
+type ExportProfilesPartialSuccess struct {
+ // The number of rejected profiles.
+ //
+ // A `rejected_` field holding a `0` value indicates that the
+ // request was fully accepted.
+ RejectedProfiles int64 `protobuf:"varint,1,opt,name=rejected_profiles,json=rejectedProfiles,proto3" json:"rejected_profiles,omitempty"`
+ // A developer-facing human-readable message in English. It should be used
+ // either to explain why the server rejected parts of the data during a partial
+ // success or to convey warnings/suggestions during a full success. The message
+ // should offer guidance on how users can address such issues.
+ //
+ // error_message is an optional field. An error_message with an empty value
+ // is equivalent to it not being set.
+ ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
+}
+
+func (m *ExportProfilesPartialSuccess) Reset() { *m = ExportProfilesPartialSuccess{} }
+func (m *ExportProfilesPartialSuccess) String() string { return proto.CompactTextString(m) }
+func (*ExportProfilesPartialSuccess) ProtoMessage() {}
+func (*ExportProfilesPartialSuccess) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3d903b74e05b443d, []int{2}
+}
+func (m *ExportProfilesPartialSuccess) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExportProfilesPartialSuccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ExportProfilesPartialSuccess.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ExportProfilesPartialSuccess) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExportProfilesPartialSuccess.Merge(m, src)
+}
+func (m *ExportProfilesPartialSuccess) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExportProfilesPartialSuccess) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExportProfilesPartialSuccess.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExportProfilesPartialSuccess proto.InternalMessageInfo
+
+func (m *ExportProfilesPartialSuccess) GetRejectedProfiles() int64 {
+ if m != nil {
+ return m.RejectedProfiles
+ }
+ return 0
+}
+
+func (m *ExportProfilesPartialSuccess) GetErrorMessage() string {
+ if m != nil {
+ return m.ErrorMessage
+ }
+ return ""
+}
+
+func init() {
+ proto.RegisterType((*ExportProfilesServiceRequest)(nil), "opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceRequest")
+ proto.RegisterType((*ExportProfilesServiceResponse)(nil), "opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesServiceResponse")
+ proto.RegisterType((*ExportProfilesPartialSuccess)(nil), "opentelemetry.proto.collector.profiles.v1experimental.ExportProfilesPartialSuccess")
+}
+
+func init() {
+ proto.RegisterFile("opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto", fileDescriptor_3d903b74e05b443d)
+}
+
+var fileDescriptor_3d903b74e05b443d = []byte{
+ // 437 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x3f, 0xcb, 0xd3, 0x40,
+ 0x18, 0xcf, 0xf5, 0x95, 0x17, 0xbc, 0xaa, 0xd5, 0xd0, 0xa1, 0x14, 0x8d, 0x25, 0x2e, 0x01, 0xe1,
+ 0x42, 0x2b, 0x05, 0x11, 0x5c, 0x2a, 0xdd, 0x14, 0x43, 0x5a, 0x1c, 0x44, 0x08, 0x31, 0x7d, 0x0c,
+ 0x29, 0x69, 0xee, 0xbc, 0xbb, 0x96, 0xba, 0x89, 0xa3, 0x93, 0x1f, 0xc2, 0xc9, 0xdd, 0xef, 0x50,
+ 0xb7, 0x8e, 0x4e, 0x22, 0xed, 0x17, 0x79, 0x49, 0xae, 0x09, 0x4d, 0x68, 0x29, 0x94, 0x6e, 0x77,
+ 0xbf, 0xe3, 0xf7, 0xe7, 0xf9, 0x1d, 0x0f, 0x7e, 0x4d, 0x19, 0x24, 0x12, 0x62, 0x98, 0x81, 0xe4,
+ 0x5f, 0x6c, 0xc6, 0xa9, 0xa4, 0x76, 0x40, 0xe3, 0x18, 0x02, 0x49, 0x79, 0x7a, 0xff, 0x14, 0xc5,
+ 0x20, 0xec, 0x45, 0x17, 0x96, 0x0c, 0x78, 0x34, 0x83, 0x44, 0xfa, 0x71, 0x81, 0x7b, 0x02, 0xf8,
+ 0x22, 0x0a, 0x80, 0x64, 0x44, 0xbd, 0x5f, 0x52, 0x53, 0x20, 0x29, 0xd4, 0x48, 0xce, 0x22, 0x65,
+ 0xb5, 0x76, 0x33, 0xa4, 0x21, 0x55, 0xd6, 0xe9, 0x49, 0xf1, 0xda, 0x2f, 0x0e, 0x45, 0x3b, 0x15,
+ 0x48, 0x71, 0xcd, 0xef, 0x08, 0x3f, 0x1c, 0x2e, 0x19, 0xe5, 0xd2, 0xd9, 0x3d, 0x8c, 0x54, 0x50,
+ 0x17, 0x3e, 0xcf, 0x41, 0x48, 0x7d, 0x8a, 0x1f, 0x70, 0x10, 0x74, 0xce, 0x03, 0xf0, 0x72, 0x6e,
+ 0x0b, 0x75, 0xae, 0xac, 0x7a, 0xef, 0x25, 0x39, 0x34, 0xc5, 0x91, 0xec, 0xc4, 0xdd, 0xa9, 0xe4,
+ 0x3e, 0xee, 0x7d, 0x5e, 0x41, 0xcc, 0x9f, 0x08, 0x3f, 0x3a, 0x12, 0x46, 0x30, 0x9a, 0x08, 0xd0,
+ 0xbf, 0x21, 0xdc, 0x60, 0x3e, 0x97, 0x91, 0x1f, 0x7b, 0x62, 0x1e, 0x04, 0x20, 0xd2, 0x30, 0xc8,
+ 0xaa, 0xf7, 0x46, 0xe4, 0xac, 0x4a, 0x49, 0xd9, 0xcf, 0x51, 0xda, 0x23, 0x25, 0x3d, 0xb8, 0xb5,
+ 0xfa, 0xf7, 0x58, 0x73, 0xef, 0xb1, 0x12, 0x6a, 0xb2, 0x6a, 0x65, 0x65, 0x96, 0xfe, 0x34, 0xad,
+ 0x6c, 0x0a, 0x81, 0x84, 0xc9, 0x7e, 0x65, 0xc8, 0xba, 0x4a, 0x67, 0x56, 0x0f, 0x39, 0x55, 0x7f,
+ 0x82, 0xef, 0x02, 0xe7, 0x94, 0x7b, 0x33, 0x10, 0xc2, 0x0f, 0xa1, 0x55, 0xeb, 0x20, 0xeb, 0xb6,
+ 0x7b, 0x27, 0x03, 0xdf, 0x28, 0xac, 0xf7, 0x07, 0xe1, 0x46, 0xa5, 0x12, 0xfd, 0x37, 0xc2, 0xd7,
+ 0x2a, 0x86, 0x7e, 0x99, 0xd9, 0xcb, 0x1f, 0xdf, 0x1e, 0x5f, 0x56, 0x54, 0x7d, 0xa0, 0xa9, 0x0d,
+ 0xbe, 0xd6, 0x56, 0x1b, 0x03, 0xad, 0x37, 0x06, 0xfa, 0xbf, 0x31, 0xd0, 0x8f, 0xad, 0xa1, 0xad,
+ 0xb7, 0x86, 0xf6, 0x77, 0x6b, 0x68, 0xf8, 0x79, 0x44, 0xcf, 0x33, 0x1d, 0x34, 0x2b, 0x7e, 0x4e,
+ 0xca, 0x73, 0xd0, 0xfb, 0x0f, 0x61, 0x55, 0x31, 0x2a, 0x6d, 0xed, 0xc4, 0x97, 0xbe, 0x1d, 0x25,
+ 0x12, 0x78, 0xe2, 0xc7, 0x76, 0x76, 0xcb, 0x2c, 0x43, 0x48, 0x4e, 0x2f, 0xf7, 0xaf, 0x5a, 0xff,
+ 0x2d, 0x83, 0x64, 0x5c, 0x68, 0x67, 0xae, 0xe4, 0x55, 0x91, 0x36, 0x0f, 0x45, 0xde, 0x75, 0x87,
+ 0x7b, 0xbc, 0x8f, 0xd7, 0x99, 0xc7, 0xb3, 0x9b, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x3d, 0x57,
+ 0xb0, 0x54, 0x04, 0x00, 0x00,
+}
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ context.Context
+var _ grpc.ClientConn
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+const _ = grpc.SupportPackageIsVersion4
+
+// ProfilesServiceClient is the client API for ProfilesService service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
+type ProfilesServiceClient interface {
+ // For performance reasons, it is recommended to keep this RPC
+ // alive for the entire life of the application.
+ Export(ctx context.Context, in *ExportProfilesServiceRequest, opts ...grpc.CallOption) (*ExportProfilesServiceResponse, error)
+}
+
+type profilesServiceClient struct {
+ cc *grpc.ClientConn
+}
+
+func NewProfilesServiceClient(cc *grpc.ClientConn) ProfilesServiceClient {
+ return &profilesServiceClient{cc}
+}
+
+func (c *profilesServiceClient) Export(ctx context.Context, in *ExportProfilesServiceRequest, opts ...grpc.CallOption) (*ExportProfilesServiceResponse, error) {
+ out := new(ExportProfilesServiceResponse)
+ err := c.cc.Invoke(ctx, "/opentelemetry.proto.collector.profiles.v1experimental.ProfilesService/Export", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+// ProfilesServiceServer is the server API for ProfilesService service.
+type ProfilesServiceServer interface {
+ // For performance reasons, it is recommended to keep this RPC
+ // alive for the entire life of the application.
+ Export(context.Context, *ExportProfilesServiceRequest) (*ExportProfilesServiceResponse, error)
+}
+
+// UnimplementedProfilesServiceServer can be embedded to have forward compatible implementations.
+type UnimplementedProfilesServiceServer struct {
+}
+
+func (*UnimplementedProfilesServiceServer) Export(ctx context.Context, req *ExportProfilesServiceRequest) (*ExportProfilesServiceResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method Export not implemented")
+}
+
+func RegisterProfilesServiceServer(s *grpc.Server, srv ProfilesServiceServer) {
+ s.RegisterService(&_ProfilesService_serviceDesc, srv)
+}
+
+func _ProfilesService_Export_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ExportProfilesServiceRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(ProfilesServiceServer).Export(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/opentelemetry.proto.collector.profiles.v1experimental.ProfilesService/Export",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(ProfilesServiceServer).Export(ctx, req.(*ExportProfilesServiceRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+var _ProfilesService_serviceDesc = grpc.ServiceDesc{
+ ServiceName: "opentelemetry.proto.collector.profiles.v1experimental.ProfilesService",
+ HandlerType: (*ProfilesServiceServer)(nil),
+ Methods: []grpc.MethodDesc{
+ {
+ MethodName: "Export",
+ Handler: _ProfilesService_Export_Handler,
+ },
+ },
+ Streams: []grpc.StreamDesc{},
+ Metadata: "opentelemetry/proto/collector/profiles/v1experimental/profiles_service.proto",
+}
+
+func (m *ExportProfilesServiceRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExportProfilesServiceRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExportProfilesServiceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ResourceProfiles) > 0 {
+ for iNdEx := len(m.ResourceProfiles) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ResourceProfiles[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfilesService(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ExportProfilesServiceResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExportProfilesServiceResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExportProfilesServiceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.PartialSuccess.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfilesService(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ExportProfilesPartialSuccess) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExportProfilesPartialSuccess) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExportProfilesPartialSuccess) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ErrorMessage) > 0 {
+ i -= len(m.ErrorMessage)
+ copy(dAtA[i:], m.ErrorMessage)
+ i = encodeVarintProfilesService(dAtA, i, uint64(len(m.ErrorMessage)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.RejectedProfiles != 0 {
+ i = encodeVarintProfilesService(dAtA, i, uint64(m.RejectedProfiles))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintProfilesService(dAtA []byte, offset int, v uint64) int {
+ offset -= sovProfilesService(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *ExportProfilesServiceRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.ResourceProfiles) > 0 {
+ for _, e := range m.ResourceProfiles {
+ l = e.Size()
+ n += 1 + l + sovProfilesService(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ExportProfilesServiceResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.PartialSuccess.Size()
+ n += 1 + l + sovProfilesService(uint64(l))
+ return n
+}
+
+func (m *ExportProfilesPartialSuccess) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.RejectedProfiles != 0 {
+ n += 1 + sovProfilesService(uint64(m.RejectedProfiles))
+ }
+ l = len(m.ErrorMessage)
+ if l > 0 {
+ n += 1 + l + sovProfilesService(uint64(l))
+ }
+ return n
+}
+
+func sovProfilesService(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozProfilesService(x uint64) (n int) {
+ return sovProfilesService(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *ExportProfilesServiceRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExportProfilesServiceRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExportProfilesServiceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceProfiles", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ResourceProfiles = append(m.ResourceProfiles, &v1experimental.ResourceProfiles{})
+ if err := m.ResourceProfiles[len(m.ResourceProfiles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfilesService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExportProfilesServiceResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExportProfilesServiceResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExportProfilesServiceResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PartialSuccess", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.PartialSuccess.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfilesService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExportProfilesPartialSuccess) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExportProfilesPartialSuccess: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExportProfilesPartialSuccess: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RejectedProfiles", wireType)
+ }
+ m.RejectedProfiles = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.RejectedProfiles |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ErrorMessage", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ErrorMessage = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfilesService(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfilesService
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipProfilesService(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfilesService
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthProfilesService
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupProfilesService
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthProfilesService
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthProfilesService = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowProfilesService = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupProfilesService = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/pdata/internal/data/protogen/profiles/v1experimental/pprofextended.pb.go b/pdata/internal/data/protogen/profiles/v1experimental/pprofextended.pb.go
new file mode 100644
index 00000000000..64c91b3221e
--- /dev/null
+++ b/pdata/internal/data/protogen/profiles/v1experimental/pprofextended.pb.go
@@ -0,0 +1,4919 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: opentelemetry/proto/profiles/v1experimental/pprofextended.proto
+
+package v1experimental
+
+import (
+ fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
+ _ "github.com/gogo/protobuf/gogoproto"
+ proto "github.com/gogo/protobuf/proto"
+
+ go_opentelemetry_io_collector_pdata_internal_data "go.opentelemetry.io/collector/pdata/internal/data"
+ v1 "go.opentelemetry.io/collector/pdata/internal/data/protogen/common/v1"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+// Specifies the method of aggregating metric values, either DELTA (change since last report)
+// or CUMULATIVE (total since a fixed start time).
+type AggregationTemporality int32
+
+const (
+ // UNSPECIFIED is the default AggregationTemporality, it MUST not be used.
+ AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED AggregationTemporality = 0
+ //* DELTA is an AggregationTemporality for a profiler which reports
+ //changes since last report time. Successive metrics contain aggregation of
+ //values from continuous and non-overlapping intervals.
+ //
+ //The values for a DELTA metric are based only on the time interval
+ //associated with one measurement cycle. There is no dependency on
+ //previous measurements like is the case for CUMULATIVE metrics.
+ //
+ //For example, consider a system measuring the number of requests that
+ //it receives and reports the sum of these requests every second as a
+ //DELTA metric:
+ //
+ //1. The system starts receiving at time=t_0.
+ //2. A request is received, the system measures 1 request.
+ //3. A request is received, the system measures 1 request.
+ //4. A request is received, the system measures 1 request.
+ //5. The 1 second collection cycle ends. A metric is exported for the
+ //number of requests received over the interval of time t_0 to
+ //t_0+1 with a value of 3.
+ //6. A request is received, the system measures 1 request.
+ //7. A request is received, the system measures 1 request.
+ //8. The 1 second collection cycle ends. A metric is exported for the
+ //number of requests received over the interval of time t_0+1 to
+ //t_0+2 with a value of 2.
+ AggregationTemporality_AGGREGATION_TEMPORALITY_DELTA AggregationTemporality = 1
+ //* CUMULATIVE is an AggregationTemporality for a profiler which
+ //reports changes since a fixed start time. This means that current values
+ //of a CUMULATIVE metric depend on all previous measurements since the
+ //start time. Because of this, the sender is required to retain this state
+ //in some form. If this state is lost or invalidated, the CUMULATIVE metric
+ //values MUST be reset and a new fixed start time following the last
+ //reported measurement time sent MUST be used.
+ //
+ //For example, consider a system measuring the number of requests that
+ //it receives and reports the sum of these requests every second as a
+ //CUMULATIVE metric:
+ //
+ //1. The system starts receiving at time=t_0.
+ //2. A request is received, the system measures 1 request.
+ //3. A request is received, the system measures 1 request.
+ //4. A request is received, the system measures 1 request.
+ //5. The 1 second collection cycle ends. A metric is exported for the
+ //number of requests received over the interval of time t_0 to
+ //t_0+1 with a value of 3.
+ //6. A request is received, the system measures 1 request.
+ //7. A request is received, the system measures 1 request.
+ //8. The 1 second collection cycle ends. A metric is exported for the
+ //number of requests received over the interval of time t_0 to
+ //t_0+2 with a value of 5.
+ //9. The system experiences a fault and loses state.
+ //10. The system recovers and resumes receiving at time=t_1.
+ //11. A request is received, the system measures 1 request.
+ //12. The 1 second collection cycle ends. A metric is exported for the
+ //number of requests received over the interval of time t_1 to
+ //t_0+1 with a value of 1.
+ //
+ //Note: Even though, when reporting changes since last report time, using
+ //CUMULATIVE is valid, it is not recommended.
+ AggregationTemporality_AGGREGATION_TEMPORALITY_CUMULATIVE AggregationTemporality = 2
+)
+
+var AggregationTemporality_name = map[int32]string{
+ 0: "AGGREGATION_TEMPORALITY_UNSPECIFIED",
+ 1: "AGGREGATION_TEMPORALITY_DELTA",
+ 2: "AGGREGATION_TEMPORALITY_CUMULATIVE",
+}
+
+var AggregationTemporality_value = map[string]int32{
+ "AGGREGATION_TEMPORALITY_UNSPECIFIED": 0,
+ "AGGREGATION_TEMPORALITY_DELTA": 1,
+ "AGGREGATION_TEMPORALITY_CUMULATIVE": 2,
+}
+
+func (x AggregationTemporality) String() string {
+ return proto.EnumName(AggregationTemporality_name, int32(x))
+}
+
+func (AggregationTemporality) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{0}
+}
+
+// Indicates the semantics of the build_id field.
+type BuildIdKind int32
+
+const (
+ // Linker-generated build ID, stored in the ELF binary notes.
+ BuildIdKind_BUILD_ID_LINKER BuildIdKind = 0
+ // Build ID based on the content hash of the binary. Currently no particular
+ // hashing approach is standardized, so a given producer needs to define it
+ // themselves and thus unlike BUILD_ID_LINKER this kind of hash is producer-specific.
+ // We may choose to provide a standardized stable hash recommendation later.
+ BuildIdKind_BUILD_ID_BINARY_HASH BuildIdKind = 1
+)
+
+var BuildIdKind_name = map[int32]string{
+ 0: "BUILD_ID_LINKER",
+ 1: "BUILD_ID_BINARY_HASH",
+}
+
+var BuildIdKind_value = map[string]int32{
+ "BUILD_ID_LINKER": 0,
+ "BUILD_ID_BINARY_HASH": 1,
+}
+
+func (x BuildIdKind) String() string {
+ return proto.EnumName(BuildIdKind_name, int32(x))
+}
+
+func (BuildIdKind) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{1}
+}
+
+// Represents a complete profile, including sample types, samples,
+// mappings to binaries, locations, functions, string table, and additional metadata.
+type Profile struct {
+ // A description of the samples associated with each Sample.value.
+ // For a cpu profile this might be:
+ // [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]]
+ // For a heap profile, this might be:
+ // [["allocations","count"], ["space","bytes"]],
+ // If one of the values represents the number of events represented
+ // by the sample, by convention it should be at index 0 and use
+ // sample_type.unit == "count".
+ SampleType []ValueType `protobuf:"bytes,1,rep,name=sample_type,json=sampleType,proto3" json:"sample_type"`
+ // The set of samples recorded in this profile.
+ Sample []Sample `protobuf:"bytes,2,rep,name=sample,proto3" json:"sample"`
+ // Mapping from address ranges to the image/binary/library mapped
+ // into that address range. mapping[0] will be the main binary.
+ Mapping []Mapping `protobuf:"bytes,3,rep,name=mapping,proto3" json:"mapping"`
+ // Locations referenced by samples via location_indices.
+ Location []Location `protobuf:"bytes,4,rep,name=location,proto3" json:"location"`
+ // Array of locations referenced by samples.
+ LocationIndices []int64 `protobuf:"varint,15,rep,packed,name=location_indices,json=locationIndices,proto3" json:"location_indices,omitempty"`
+ // Functions referenced by locations.
+ Function []Function `protobuf:"bytes,5,rep,name=function,proto3" json:"function"`
+ // Lookup table for attributes.
+ AttributeTable []v1.KeyValue `protobuf:"bytes,16,rep,name=attribute_table,json=attributeTable,proto3" json:"attribute_table"`
+ // Represents a mapping between Attribute Keys and Units.
+ AttributeUnits []AttributeUnit `protobuf:"bytes,17,rep,name=attribute_units,json=attributeUnits,proto3" json:"attribute_units"`
+ // Lookup table for links.
+ LinkTable []Link `protobuf:"bytes,18,rep,name=link_table,json=linkTable,proto3" json:"link_table"`
+ // A common table for strings referenced by various messages.
+ // string_table[0] must always be "".
+ StringTable []string `protobuf:"bytes,6,rep,name=string_table,json=stringTable,proto3" json:"string_table,omitempty"`
+ // frames with Function.function_name fully matching the following
+ // regexp will be dropped from the samples, along with their successors.
+ DropFrames int64 `protobuf:"varint,7,opt,name=drop_frames,json=dropFrames,proto3" json:"drop_frames,omitempty"`
+ // frames with Function.function_name fully matching the following
+ // regexp will be kept, even if it matches drop_frames.
+ KeepFrames int64 `protobuf:"varint,8,opt,name=keep_frames,json=keepFrames,proto3" json:"keep_frames,omitempty"`
+ // Time of collection (UTC) represented as nanoseconds past the epoch.
+ TimeNanos int64 `protobuf:"varint,9,opt,name=time_nanos,json=timeNanos,proto3" json:"time_nanos,omitempty"`
+ // Duration of the profile, if a duration makes sense.
+ DurationNanos int64 `protobuf:"varint,10,opt,name=duration_nanos,json=durationNanos,proto3" json:"duration_nanos,omitempty"`
+ // The kind of events between sampled occurrences.
+ // e.g [ "cpu","cycles" ] or [ "heap","bytes" ]
+ PeriodType ValueType `protobuf:"bytes,11,opt,name=period_type,json=periodType,proto3" json:"period_type"`
+ // The number of events between sampled occurrences.
+ Period int64 `protobuf:"varint,12,opt,name=period,proto3" json:"period,omitempty"`
+ // Free-form text associated with the profile. The text is displayed as is
+ // to the user by the tools that read profiles (e.g. by pprof). This field
+ // should not be used to store any machine-readable information, it is only
+ // for human-friendly content. The profile must stay functional if this field
+ // is cleaned.
+ Comment []int64 `protobuf:"varint,13,rep,packed,name=comment,proto3" json:"comment,omitempty"`
+ // Index into the string table of the type of the preferred sample
+ // value. If unset, clients should default to the last sample value.
+ DefaultSampleType int64 `protobuf:"varint,14,opt,name=default_sample_type,json=defaultSampleType,proto3" json:"default_sample_type,omitempty"`
+}
+
+func (m *Profile) Reset() { *m = Profile{} }
+func (m *Profile) String() string { return proto.CompactTextString(m) }
+func (*Profile) ProtoMessage() {}
+func (*Profile) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{0}
+}
+func (m *Profile) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Profile.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Profile) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Profile.Merge(m, src)
+}
+func (m *Profile) XXX_Size() int {
+ return m.Size()
+}
+func (m *Profile) XXX_DiscardUnknown() {
+ xxx_messageInfo_Profile.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Profile proto.InternalMessageInfo
+
+func (m *Profile) GetSampleType() []ValueType {
+ if m != nil {
+ return m.SampleType
+ }
+ return nil
+}
+
+func (m *Profile) GetSample() []Sample {
+ if m != nil {
+ return m.Sample
+ }
+ return nil
+}
+
+func (m *Profile) GetMapping() []Mapping {
+ if m != nil {
+ return m.Mapping
+ }
+ return nil
+}
+
+func (m *Profile) GetLocation() []Location {
+ if m != nil {
+ return m.Location
+ }
+ return nil
+}
+
+func (m *Profile) GetLocationIndices() []int64 {
+ if m != nil {
+ return m.LocationIndices
+ }
+ return nil
+}
+
+func (m *Profile) GetFunction() []Function {
+ if m != nil {
+ return m.Function
+ }
+ return nil
+}
+
+func (m *Profile) GetAttributeTable() []v1.KeyValue {
+ if m != nil {
+ return m.AttributeTable
+ }
+ return nil
+}
+
+func (m *Profile) GetAttributeUnits() []AttributeUnit {
+ if m != nil {
+ return m.AttributeUnits
+ }
+ return nil
+}
+
+func (m *Profile) GetLinkTable() []Link {
+ if m != nil {
+ return m.LinkTable
+ }
+ return nil
+}
+
+func (m *Profile) GetStringTable() []string {
+ if m != nil {
+ return m.StringTable
+ }
+ return nil
+}
+
+func (m *Profile) GetDropFrames() int64 {
+ if m != nil {
+ return m.DropFrames
+ }
+ return 0
+}
+
+func (m *Profile) GetKeepFrames() int64 {
+ if m != nil {
+ return m.KeepFrames
+ }
+ return 0
+}
+
+func (m *Profile) GetTimeNanos() int64 {
+ if m != nil {
+ return m.TimeNanos
+ }
+ return 0
+}
+
+func (m *Profile) GetDurationNanos() int64 {
+ if m != nil {
+ return m.DurationNanos
+ }
+ return 0
+}
+
+func (m *Profile) GetPeriodType() ValueType {
+ if m != nil {
+ return m.PeriodType
+ }
+ return ValueType{}
+}
+
+func (m *Profile) GetPeriod() int64 {
+ if m != nil {
+ return m.Period
+ }
+ return 0
+}
+
+func (m *Profile) GetComment() []int64 {
+ if m != nil {
+ return m.Comment
+ }
+ return nil
+}
+
+func (m *Profile) GetDefaultSampleType() int64 {
+ if m != nil {
+ return m.DefaultSampleType
+ }
+ return 0
+}
+
+// Represents a mapping between Attribute Keys and Units.
+type AttributeUnit struct {
+ // Index into string table.
+ AttributeKey int64 `protobuf:"varint,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
+ // Index into string table.
+ Unit int64 `protobuf:"varint,2,opt,name=unit,proto3" json:"unit,omitempty"`
+}
+
+func (m *AttributeUnit) Reset() { *m = AttributeUnit{} }
+func (m *AttributeUnit) String() string { return proto.CompactTextString(m) }
+func (*AttributeUnit) ProtoMessage() {}
+func (*AttributeUnit) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{1}
+}
+func (m *AttributeUnit) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *AttributeUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_AttributeUnit.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *AttributeUnit) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_AttributeUnit.Merge(m, src)
+}
+func (m *AttributeUnit) XXX_Size() int {
+ return m.Size()
+}
+func (m *AttributeUnit) XXX_DiscardUnknown() {
+ xxx_messageInfo_AttributeUnit.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_AttributeUnit proto.InternalMessageInfo
+
+func (m *AttributeUnit) GetAttributeKey() int64 {
+ if m != nil {
+ return m.AttributeKey
+ }
+ return 0
+}
+
+func (m *AttributeUnit) GetUnit() int64 {
+ if m != nil {
+ return m.Unit
+ }
+ return 0
+}
+
+// A pointer from a profile Sample to a trace Span.
+// Connects a profile sample to a trace span, identified by unique trace and span IDs.
+type Link struct {
+ // A unique identifier of a trace that this linked span is part of. The ID is a
+ // 16-byte array.
+ TraceId go_opentelemetry_io_collector_pdata_internal_data.TraceID `protobuf:"bytes,1,opt,name=trace_id,json=traceId,proto3,customtype=go.opentelemetry.io/collector/pdata/internal/data.TraceID" json:"trace_id"`
+ // A unique identifier for the linked span. The ID is an 8-byte array.
+ SpanId go_opentelemetry_io_collector_pdata_internal_data.SpanID `protobuf:"bytes,2,opt,name=span_id,json=spanId,proto3,customtype=go.opentelemetry.io/collector/pdata/internal/data.SpanID" json:"span_id"`
+}
+
+func (m *Link) Reset() { *m = Link{} }
+func (m *Link) String() string { return proto.CompactTextString(m) }
+func (*Link) ProtoMessage() {}
+func (*Link) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{2}
+}
+func (m *Link) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Link) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Link.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Link) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Link.Merge(m, src)
+}
+func (m *Link) XXX_Size() int {
+ return m.Size()
+}
+func (m *Link) XXX_DiscardUnknown() {
+ xxx_messageInfo_Link.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Link proto.InternalMessageInfo
+
+// ValueType describes the type and units of a value, with an optional aggregation temporality.
+type ValueType struct {
+ Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
+ Unit int64 `protobuf:"varint,2,opt,name=unit,proto3" json:"unit,omitempty"`
+ AggregationTemporality AggregationTemporality `protobuf:"varint,3,opt,name=aggregation_temporality,json=aggregationTemporality,proto3,enum=opentelemetry.proto.profiles.v1experimental.AggregationTemporality" json:"aggregation_temporality,omitempty"`
+}
+
+func (m *ValueType) Reset() { *m = ValueType{} }
+func (m *ValueType) String() string { return proto.CompactTextString(m) }
+func (*ValueType) ProtoMessage() {}
+func (*ValueType) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{3}
+}
+func (m *ValueType) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValueType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ValueType.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ValueType) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValueType.Merge(m, src)
+}
+func (m *ValueType) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValueType) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValueType.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValueType proto.InternalMessageInfo
+
+func (m *ValueType) GetType() int64 {
+ if m != nil {
+ return m.Type
+ }
+ return 0
+}
+
+func (m *ValueType) GetUnit() int64 {
+ if m != nil {
+ return m.Unit
+ }
+ return 0
+}
+
+func (m *ValueType) GetAggregationTemporality() AggregationTemporality {
+ if m != nil {
+ return m.AggregationTemporality
+ }
+ return AggregationTemporality_AGGREGATION_TEMPORALITY_UNSPECIFIED
+}
+
+// Each Sample records values encountered in some program
+// context. The program context is typically a stack trace, perhaps
+// augmented with auxiliary information like the thread-id, some
+// indicator of a higher level request being handled etc.
+type Sample struct {
+ // The indices recorded here correspond to locations in Profile.location.
+ // The leaf is at location_index[0]. [deprecated, superseded by locations_start_index / locations_length]
+ LocationIndex []uint64 `protobuf:"varint,1,rep,packed,name=location_index,json=locationIndex,proto3" json:"location_index,omitempty"`
+ // locations_start_index along with locations_length refers to to a slice of locations in Profile.location.
+ // Supersedes location_index.
+ LocationsStartIndex uint64 `protobuf:"varint,7,opt,name=locations_start_index,json=locationsStartIndex,proto3" json:"locations_start_index,omitempty"`
+ // locations_length along with locations_start_index refers to a slice of locations in Profile.location.
+ // Supersedes location_index.
+ LocationsLength uint64 `protobuf:"varint,8,opt,name=locations_length,json=locationsLength,proto3" json:"locations_length,omitempty"`
+ // A 128bit id that uniquely identifies this stacktrace, globally. Index into string table. [optional]
+ StacktraceIdIndex uint32 `protobuf:"varint,9,opt,name=stacktrace_id_index,json=stacktraceIdIndex,proto3" json:"stacktrace_id_index,omitempty"`
+ // The type and unit of each value is defined by the corresponding
+ // entry in Profile.sample_type. All samples must have the same
+ // number of values, the same as the length of Profile.sample_type.
+ // When aggregating multiple samples into a single sample, the
+ // result has a list of values that is the element-wise sum of the
+ // lists of the originals.
+ Value []int64 `protobuf:"varint,2,rep,packed,name=value,proto3" json:"value,omitempty"`
+ // label includes additional context for this sample. It can include
+ // things like a thread id, allocation size, etc.
+ //
+ // NOTE: While possible, having multiple values for the same label key is
+ // strongly discouraged and should never be used. Most tools (e.g. pprof) do
+ // not have good (or any) support for multi-value labels. And an even more
+ // discouraged case is having a string label and a numeric label of the same
+ // name on a sample. Again, possible to express, but should not be used.
+ // [deprecated, superseded by attributes]
+ Label []Label `protobuf:"bytes,3,rep,name=label,proto3" json:"label"`
+ // References to attributes in Profile.attribute_table. [optional]
+ Attributes []uint64 `protobuf:"varint,10,rep,packed,name=attributes,proto3" json:"attributes,omitempty"`
+ // Reference to link in Profile.link_table. [optional]
+ Link uint64 `protobuf:"varint,12,opt,name=link,proto3" json:"link,omitempty"`
+ // Timestamps associated with Sample represented in nanoseconds. These timestamps are expected
+ // to fall within the Profile's time range. [optional]
+ TimestampsUnixNano []uint64 `protobuf:"varint,13,rep,packed,name=timestamps_unix_nano,json=timestampsUnixNano,proto3" json:"timestamps_unix_nano,omitempty"`
+}
+
+func (m *Sample) Reset() { *m = Sample{} }
+func (m *Sample) String() string { return proto.CompactTextString(m) }
+func (*Sample) ProtoMessage() {}
+func (*Sample) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{4}
+}
+func (m *Sample) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Sample) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Sample.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Sample) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Sample.Merge(m, src)
+}
+func (m *Sample) XXX_Size() int {
+ return m.Size()
+}
+func (m *Sample) XXX_DiscardUnknown() {
+ xxx_messageInfo_Sample.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Sample proto.InternalMessageInfo
+
+func (m *Sample) GetLocationIndex() []uint64 {
+ if m != nil {
+ return m.LocationIndex
+ }
+ return nil
+}
+
+func (m *Sample) GetLocationsStartIndex() uint64 {
+ if m != nil {
+ return m.LocationsStartIndex
+ }
+ return 0
+}
+
+func (m *Sample) GetLocationsLength() uint64 {
+ if m != nil {
+ return m.LocationsLength
+ }
+ return 0
+}
+
+func (m *Sample) GetStacktraceIdIndex() uint32 {
+ if m != nil {
+ return m.StacktraceIdIndex
+ }
+ return 0
+}
+
+func (m *Sample) GetValue() []int64 {
+ if m != nil {
+ return m.Value
+ }
+ return nil
+}
+
+func (m *Sample) GetLabel() []Label {
+ if m != nil {
+ return m.Label
+ }
+ return nil
+}
+
+func (m *Sample) GetAttributes() []uint64 {
+ if m != nil {
+ return m.Attributes
+ }
+ return nil
+}
+
+func (m *Sample) GetLink() uint64 {
+ if m != nil {
+ return m.Link
+ }
+ return 0
+}
+
+func (m *Sample) GetTimestampsUnixNano() []uint64 {
+ if m != nil {
+ return m.TimestampsUnixNano
+ }
+ return nil
+}
+
+// Provides additional context for a sample,
+// such as thread ID or allocation size, with optional units. [deprecated]
+type Label struct {
+ Key int64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,omitempty"`
+ // At most one of the following must be present
+ Str int64 `protobuf:"varint,2,opt,name=str,proto3" json:"str,omitempty"`
+ Num int64 `protobuf:"varint,3,opt,name=num,proto3" json:"num,omitempty"`
+ // Should only be present when num is present.
+ // Specifies the units of num.
+ // Use arbitrary string (for example, "requests") as a custom count unit.
+ // If no unit is specified, consumer may apply heuristic to deduce the unit.
+ // Consumers may also interpret units like "bytes" and "kilobytes" as memory
+ // units and units like "seconds" and "nanoseconds" as time units,
+ // and apply appropriate unit conversions to these.
+ NumUnit int64 `protobuf:"varint,4,opt,name=num_unit,json=numUnit,proto3" json:"num_unit,omitempty"`
+}
+
+func (m *Label) Reset() { *m = Label{} }
+func (m *Label) String() string { return proto.CompactTextString(m) }
+func (*Label) ProtoMessage() {}
+func (*Label) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{5}
+}
+func (m *Label) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Label) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Label.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Label) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Label.Merge(m, src)
+}
+func (m *Label) XXX_Size() int {
+ return m.Size()
+}
+func (m *Label) XXX_DiscardUnknown() {
+ xxx_messageInfo_Label.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Label proto.InternalMessageInfo
+
+func (m *Label) GetKey() int64 {
+ if m != nil {
+ return m.Key
+ }
+ return 0
+}
+
+func (m *Label) GetStr() int64 {
+ if m != nil {
+ return m.Str
+ }
+ return 0
+}
+
+func (m *Label) GetNum() int64 {
+ if m != nil {
+ return m.Num
+ }
+ return 0
+}
+
+func (m *Label) GetNumUnit() int64 {
+ if m != nil {
+ return m.NumUnit
+ }
+ return 0
+}
+
+// Describes the mapping of a binary in memory, including its address range,
+// file offset, and metadata like build ID
+type Mapping struct {
+ // Unique nonzero id for the mapping. [deprecated]
+ Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+ // Address at which the binary (or DLL) is loaded into memory.
+ MemoryStart uint64 `protobuf:"varint,2,opt,name=memory_start,json=memoryStart,proto3" json:"memory_start,omitempty"`
+ // The limit of the address range occupied by this mapping.
+ MemoryLimit uint64 `protobuf:"varint,3,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
+ // Offset in the binary that corresponds to the first mapped address.
+ FileOffset uint64 `protobuf:"varint,4,opt,name=file_offset,json=fileOffset,proto3" json:"file_offset,omitempty"`
+ // The object this entry is loaded from. This can be a filename on
+ // disk for the main binary and shared libraries, or virtual
+ // abstractions like "[vdso]".
+ Filename int64 `protobuf:"varint,5,opt,name=filename,proto3" json:"filename,omitempty"`
+ // A string that uniquely identifies a particular program version
+ // with high probability. E.g., for binaries generated by GNU tools,
+ // it could be the contents of the .note.gnu.build-id field.
+ BuildId int64 `protobuf:"varint,6,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
+ // Specifies the kind of build id. See BuildIdKind enum for more details [optional]
+ BuildIdKind BuildIdKind `protobuf:"varint,11,opt,name=build_id_kind,json=buildIdKind,proto3,enum=opentelemetry.proto.profiles.v1experimental.BuildIdKind" json:"build_id_kind,omitempty"`
+ // References to attributes in Profile.attribute_table. [optional]
+ Attributes []uint64 `protobuf:"varint,12,rep,packed,name=attributes,proto3" json:"attributes,omitempty"`
+ // The following fields indicate the resolution of symbolic info.
+ HasFunctions bool `protobuf:"varint,7,opt,name=has_functions,json=hasFunctions,proto3" json:"has_functions,omitempty"`
+ HasFilenames bool `protobuf:"varint,8,opt,name=has_filenames,json=hasFilenames,proto3" json:"has_filenames,omitempty"`
+ HasLineNumbers bool `protobuf:"varint,9,opt,name=has_line_numbers,json=hasLineNumbers,proto3" json:"has_line_numbers,omitempty"`
+ HasInlineFrames bool `protobuf:"varint,10,opt,name=has_inline_frames,json=hasInlineFrames,proto3" json:"has_inline_frames,omitempty"`
+}
+
+func (m *Mapping) Reset() { *m = Mapping{} }
+func (m *Mapping) String() string { return proto.CompactTextString(m) }
+func (*Mapping) ProtoMessage() {}
+func (*Mapping) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{6}
+}
+func (m *Mapping) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Mapping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Mapping.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Mapping) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Mapping.Merge(m, src)
+}
+func (m *Mapping) XXX_Size() int {
+ return m.Size()
+}
+func (m *Mapping) XXX_DiscardUnknown() {
+ xxx_messageInfo_Mapping.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Mapping proto.InternalMessageInfo
+
+func (m *Mapping) GetId() uint64 {
+ if m != nil {
+ return m.Id
+ }
+ return 0
+}
+
+func (m *Mapping) GetMemoryStart() uint64 {
+ if m != nil {
+ return m.MemoryStart
+ }
+ return 0
+}
+
+func (m *Mapping) GetMemoryLimit() uint64 {
+ if m != nil {
+ return m.MemoryLimit
+ }
+ return 0
+}
+
+func (m *Mapping) GetFileOffset() uint64 {
+ if m != nil {
+ return m.FileOffset
+ }
+ return 0
+}
+
+func (m *Mapping) GetFilename() int64 {
+ if m != nil {
+ return m.Filename
+ }
+ return 0
+}
+
+func (m *Mapping) GetBuildId() int64 {
+ if m != nil {
+ return m.BuildId
+ }
+ return 0
+}
+
+func (m *Mapping) GetBuildIdKind() BuildIdKind {
+ if m != nil {
+ return m.BuildIdKind
+ }
+ return BuildIdKind_BUILD_ID_LINKER
+}
+
+func (m *Mapping) GetAttributes() []uint64 {
+ if m != nil {
+ return m.Attributes
+ }
+ return nil
+}
+
+func (m *Mapping) GetHasFunctions() bool {
+ if m != nil {
+ return m.HasFunctions
+ }
+ return false
+}
+
+func (m *Mapping) GetHasFilenames() bool {
+ if m != nil {
+ return m.HasFilenames
+ }
+ return false
+}
+
+func (m *Mapping) GetHasLineNumbers() bool {
+ if m != nil {
+ return m.HasLineNumbers
+ }
+ return false
+}
+
+func (m *Mapping) GetHasInlineFrames() bool {
+ if m != nil {
+ return m.HasInlineFrames
+ }
+ return false
+}
+
+// Describes function and line table debug information.
+type Location struct {
+ // Unique nonzero id for the location. A profile could use
+ // instruction addresses or any integer sequence as ids. [deprecated]
+ Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+ // The index of the corresponding profile.Mapping for this location.
+ // It can be unset if the mapping is unknown or not applicable for
+ // this profile type.
+ MappingIndex uint64 `protobuf:"varint,2,opt,name=mapping_index,json=mappingIndex,proto3" json:"mapping_index,omitempty"`
+ // The instruction address for this location, if available. It
+ // should be within [Mapping.memory_start...Mapping.memory_limit]
+ // for the corresponding mapping. A non-leaf address may be in the
+ // middle of a call instruction. It is up to display tools to find
+ // the beginning of the instruction if necessary.
+ Address uint64 `protobuf:"varint,3,opt,name=address,proto3" json:"address,omitempty"`
+ // Multiple line indicates this location has inlined functions,
+ // where the last entry represents the caller into which the
+ // preceding entries were inlined.
+ //
+ // E.g., if memcpy() is inlined into printf:
+ // line[0].function_name == "memcpy"
+ // line[1].function_name == "printf"
+ Line []Line `protobuf:"bytes,4,rep,name=line,proto3" json:"line"`
+ // Provides an indication that multiple symbols map to this location's
+ // address, for example due to identical code folding by the linker. In that
+ // case the line information above represents one of the multiple
+ // symbols. This field must be recomputed when the symbolization state of the
+ // profile changes.
+ IsFolded bool `protobuf:"varint,5,opt,name=is_folded,json=isFolded,proto3" json:"is_folded,omitempty"`
+ // Type of frame (e.g. kernel, native, python, hotspot, php). Index into string table.
+ TypeIndex uint32 `protobuf:"varint,6,opt,name=type_index,json=typeIndex,proto3" json:"type_index,omitempty"`
+ // References to attributes in Profile.attribute_table. [optional]
+ Attributes []uint64 `protobuf:"varint,7,rep,packed,name=attributes,proto3" json:"attributes,omitempty"`
+}
+
+func (m *Location) Reset() { *m = Location{} }
+func (m *Location) String() string { return proto.CompactTextString(m) }
+func (*Location) ProtoMessage() {}
+func (*Location) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{7}
+}
+func (m *Location) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Location.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Location) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Location.Merge(m, src)
+}
+func (m *Location) XXX_Size() int {
+ return m.Size()
+}
+func (m *Location) XXX_DiscardUnknown() {
+ xxx_messageInfo_Location.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Location proto.InternalMessageInfo
+
+func (m *Location) GetId() uint64 {
+ if m != nil {
+ return m.Id
+ }
+ return 0
+}
+
+func (m *Location) GetMappingIndex() uint64 {
+ if m != nil {
+ return m.MappingIndex
+ }
+ return 0
+}
+
+func (m *Location) GetAddress() uint64 {
+ if m != nil {
+ return m.Address
+ }
+ return 0
+}
+
+func (m *Location) GetLine() []Line {
+ if m != nil {
+ return m.Line
+ }
+ return nil
+}
+
+func (m *Location) GetIsFolded() bool {
+ if m != nil {
+ return m.IsFolded
+ }
+ return false
+}
+
+func (m *Location) GetTypeIndex() uint32 {
+ if m != nil {
+ return m.TypeIndex
+ }
+ return 0
+}
+
+func (m *Location) GetAttributes() []uint64 {
+ if m != nil {
+ return m.Attributes
+ }
+ return nil
+}
+
+// Details a specific line in a source code, linked to a function.
+type Line struct {
+ // The index of the corresponding profile.Function for this line.
+ FunctionIndex uint64 `protobuf:"varint,1,opt,name=function_index,json=functionIndex,proto3" json:"function_index,omitempty"`
+ // Line number in source code.
+ Line int64 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
+ // Column number in source code.
+ Column int64 `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
+}
+
+func (m *Line) Reset() { *m = Line{} }
+func (m *Line) String() string { return proto.CompactTextString(m) }
+func (*Line) ProtoMessage() {}
+func (*Line) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{8}
+}
+func (m *Line) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Line) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Line.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Line) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Line.Merge(m, src)
+}
+func (m *Line) XXX_Size() int {
+ return m.Size()
+}
+func (m *Line) XXX_DiscardUnknown() {
+ xxx_messageInfo_Line.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Line proto.InternalMessageInfo
+
+func (m *Line) GetFunctionIndex() uint64 {
+ if m != nil {
+ return m.FunctionIndex
+ }
+ return 0
+}
+
+func (m *Line) GetLine() int64 {
+ if m != nil {
+ return m.Line
+ }
+ return 0
+}
+
+func (m *Line) GetColumn() int64 {
+ if m != nil {
+ return m.Column
+ }
+ return 0
+}
+
+// Describes a function, including its human-readable name, system name,
+// source file, and starting line number in the source.
+type Function struct {
+ // Unique nonzero id for the function. [deprecated]
+ Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
+ // Name of the function, in human-readable form if available.
+ Name int64 `protobuf:"varint,2,opt,name=name,proto3" json:"name,omitempty"`
+ // Name of the function, as identified by the system.
+ // For instance, it can be a C++ mangled name.
+ SystemName int64 `protobuf:"varint,3,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"`
+ // Source file containing the function.
+ Filename int64 `protobuf:"varint,4,opt,name=filename,proto3" json:"filename,omitempty"`
+ // Line number in source file.
+ StartLine int64 `protobuf:"varint,5,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
+}
+
+func (m *Function) Reset() { *m = Function{} }
+func (m *Function) String() string { return proto.CompactTextString(m) }
+func (*Function) ProtoMessage() {}
+func (*Function) Descriptor() ([]byte, []int) {
+ return fileDescriptor_05f9ce3fdbeb046f, []int{9}
+}
+func (m *Function) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Function) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Function.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Function) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Function.Merge(m, src)
+}
+func (m *Function) XXX_Size() int {
+ return m.Size()
+}
+func (m *Function) XXX_DiscardUnknown() {
+ xxx_messageInfo_Function.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Function proto.InternalMessageInfo
+
+func (m *Function) GetId() uint64 {
+ if m != nil {
+ return m.Id
+ }
+ return 0
+}
+
+func (m *Function) GetName() int64 {
+ if m != nil {
+ return m.Name
+ }
+ return 0
+}
+
+func (m *Function) GetSystemName() int64 {
+ if m != nil {
+ return m.SystemName
+ }
+ return 0
+}
+
+func (m *Function) GetFilename() int64 {
+ if m != nil {
+ return m.Filename
+ }
+ return 0
+}
+
+func (m *Function) GetStartLine() int64 {
+ if m != nil {
+ return m.StartLine
+ }
+ return 0
+}
+
+func init() {
+ proto.RegisterEnum("opentelemetry.proto.profiles.v1experimental.AggregationTemporality", AggregationTemporality_name, AggregationTemporality_value)
+ proto.RegisterEnum("opentelemetry.proto.profiles.v1experimental.BuildIdKind", BuildIdKind_name, BuildIdKind_value)
+ proto.RegisterType((*Profile)(nil), "opentelemetry.proto.profiles.v1experimental.Profile")
+ proto.RegisterType((*AttributeUnit)(nil), "opentelemetry.proto.profiles.v1experimental.AttributeUnit")
+ proto.RegisterType((*Link)(nil), "opentelemetry.proto.profiles.v1experimental.Link")
+ proto.RegisterType((*ValueType)(nil), "opentelemetry.proto.profiles.v1experimental.ValueType")
+ proto.RegisterType((*Sample)(nil), "opentelemetry.proto.profiles.v1experimental.Sample")
+ proto.RegisterType((*Label)(nil), "opentelemetry.proto.profiles.v1experimental.Label")
+ proto.RegisterType((*Mapping)(nil), "opentelemetry.proto.profiles.v1experimental.Mapping")
+ proto.RegisterType((*Location)(nil), "opentelemetry.proto.profiles.v1experimental.Location")
+ proto.RegisterType((*Line)(nil), "opentelemetry.proto.profiles.v1experimental.Line")
+ proto.RegisterType((*Function)(nil), "opentelemetry.proto.profiles.v1experimental.Function")
+}
+
+func init() {
+ proto.RegisterFile("opentelemetry/proto/profiles/v1experimental/pprofextended.proto", fileDescriptor_05f9ce3fdbeb046f)
+}
+
+var fileDescriptor_05f9ce3fdbeb046f = []byte{
+ // 1483 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0xcd, 0x4f, 0x1b, 0x47,
+ 0x1b, 0xc7, 0x1f, 0xf8, 0xe3, 0x31, 0x06, 0x33, 0xe1, 0xe5, 0xdd, 0x37, 0xaf, 0x02, 0xc4, 0xa8,
+ 0x0d, 0x25, 0x92, 0x29, 0xa4, 0xad, 0xd2, 0xaa, 0x52, 0x6b, 0x82, 0x49, 0x56, 0x38, 0x86, 0x2e,
+ 0x86, 0x96, 0x2a, 0xd1, 0x6a, 0xf1, 0x0e, 0x66, 0xc4, 0xee, 0xec, 0x6a, 0x77, 0x8c, 0xb0, 0xd4,
+ 0x53, 0x8f, 0x51, 0x0f, 0x3d, 0xf7, 0x4f, 0xe8, 0xad, 0x7f, 0x41, 0xaf, 0x39, 0xe6, 0x52, 0xa9,
+ 0xea, 0x21, 0xaa, 0x92, 0xbf, 0xa1, 0xf7, 0x6a, 0x9e, 0x99, 0xb5, 0xcd, 0x47, 0x0e, 0x6e, 0x2f,
+ 0x68, 0x9e, 0xdf, 0xfc, 0xe6, 0x37, 0xcf, 0xec, 0xf3, 0x65, 0xe0, 0x8b, 0x20, 0xa4, 0x5c, 0x50,
+ 0x8f, 0xfa, 0x54, 0x44, 0xfd, 0xb5, 0x30, 0x0a, 0x44, 0x20, 0xff, 0x9e, 0x30, 0x8f, 0xc6, 0x6b,
+ 0xe7, 0xeb, 0xf4, 0x22, 0xa4, 0x11, 0xf3, 0x29, 0x17, 0x8e, 0xb7, 0x16, 0xca, 0x0d, 0x7a, 0x21,
+ 0x28, 0x77, 0xa9, 0x5b, 0x43, 0x2e, 0xb9, 0x7f, 0x49, 0x40, 0x81, 0xb5, 0x44, 0xa0, 0x76, 0x59,
+ 0xe0, 0xf6, 0x5c, 0x37, 0xe8, 0x06, 0xea, 0x0e, 0xb9, 0x52, 0xec, 0xdb, 0xab, 0x37, 0xf9, 0xd0,
+ 0x09, 0x7c, 0x3f, 0xe0, 0x6b, 0xe7, 0xeb, 0x7a, 0xa5, 0xb8, 0xd5, 0xbf, 0x0a, 0x90, 0xdf, 0x53,
+ 0xea, 0xe4, 0x39, 0x94, 0x62, 0xc7, 0x0f, 0x3d, 0x6a, 0x8b, 0x7e, 0x48, 0x8d, 0xd4, 0x52, 0x66,
+ 0xa5, 0xb4, 0xf1, 0x49, 0x6d, 0x0c, 0x87, 0x6a, 0x87, 0x8e, 0xd7, 0xa3, 0xed, 0x7e, 0x48, 0x37,
+ 0xb3, 0x2f, 0x5f, 0x2f, 0x4e, 0x58, 0xa0, 0x04, 0x25, 0x42, 0xbe, 0x82, 0x9c, 0xb2, 0x8c, 0x34,
+ 0x2a, 0x3f, 0x18, 0x4b, 0x79, 0x1f, 0x8f, 0x6a, 0x59, 0x2d, 0x44, 0xda, 0x90, 0xf7, 0x9d, 0x30,
+ 0x64, 0xbc, 0x6b, 0x64, 0x50, 0xf3, 0xa3, 0xb1, 0x34, 0x9f, 0xaa, 0xb3, 0x5a, 0x34, 0x91, 0x22,
+ 0x5f, 0x43, 0xc1, 0x0b, 0x3a, 0x8e, 0x60, 0x01, 0x37, 0xb2, 0x28, 0xfb, 0xf1, 0x58, 0xb2, 0x4d,
+ 0x7d, 0x58, 0xeb, 0x0e, 0xc4, 0xc8, 0x07, 0x50, 0x49, 0xd6, 0x36, 0xe3, 0x2e, 0xeb, 0xd0, 0xd8,
+ 0x98, 0x59, 0xca, 0xac, 0x64, 0xac, 0x99, 0x04, 0x37, 0x15, 0x2c, 0x7d, 0x38, 0xe9, 0xf1, 0x0e,
+ 0xfa, 0x30, 0xf9, 0x0f, 0x7c, 0xd8, 0xd6, 0x87, 0x13, 0x1f, 0x12, 0x31, 0x72, 0x08, 0x33, 0x8e,
+ 0x10, 0x11, 0x3b, 0xee, 0x09, 0x6a, 0x0b, 0xe7, 0xd8, 0xa3, 0x46, 0x05, 0xf5, 0xef, 0xdd, 0xa8,
+ 0xaf, 0x93, 0xe5, 0x7c, 0xbd, 0xb6, 0x43, 0xfb, 0x18, 0x5d, 0xad, 0x38, 0x3d, 0x50, 0x69, 0x4b,
+ 0x11, 0xc2, 0x46, 0x75, 0x7b, 0x9c, 0x89, 0xd8, 0x98, 0x45, 0xdd, 0xcf, 0xc6, 0xf2, 0xbb, 0x9e,
+ 0x68, 0x1c, 0x70, 0x26, 0xae, 0x5d, 0x25, 0xc1, 0x98, 0x1c, 0x02, 0x78, 0x8c, 0x9f, 0x69, 0xef,
+ 0x09, 0xde, 0xb2, 0x3e, 0x5e, 0x84, 0x18, 0x3f, 0xd3, 0xe2, 0x45, 0x29, 0xa5, 0x9e, 0x70, 0x17,
+ 0xa6, 0x62, 0x11, 0x31, 0xde, 0xd5, 0xca, 0xb9, 0xa5, 0xcc, 0x4a, 0xd1, 0x2a, 0x29, 0x4c, 0x51,
+ 0x16, 0xa1, 0xe4, 0x46, 0x41, 0x68, 0x9f, 0x44, 0x8e, 0x4f, 0x63, 0x23, 0xbf, 0x94, 0x5a, 0xc9,
+ 0x58, 0x20, 0xa1, 0x6d, 0x44, 0x24, 0xe1, 0x8c, 0xd2, 0x01, 0xa1, 0xa0, 0x08, 0x12, 0xd2, 0x84,
+ 0x3b, 0x00, 0x82, 0xf9, 0xd4, 0xe6, 0x0e, 0x0f, 0x62, 0xa3, 0x88, 0xfb, 0x45, 0x89, 0xb4, 0x24,
+ 0x40, 0xde, 0x83, 0x69, 0xb7, 0x17, 0xa9, 0x14, 0x51, 0x14, 0x40, 0x4a, 0x39, 0x41, 0x15, 0xed,
+ 0x39, 0x94, 0xe4, 0x73, 0x02, 0x57, 0x95, 0x6a, 0x69, 0x29, 0xf5, 0xef, 0x4b, 0x55, 0x09, 0x62,
+ 0xa9, 0xce, 0x43, 0x4e, 0x59, 0xc6, 0x14, 0xde, 0xae, 0x2d, 0x62, 0x40, 0x5e, 0x26, 0x04, 0xe5,
+ 0xc2, 0x28, 0x63, 0xde, 0x26, 0x26, 0xa9, 0xc1, 0x2d, 0x97, 0x9e, 0x38, 0x3d, 0x4f, 0xd8, 0xa3,
+ 0x3d, 0x64, 0x1a, 0x8f, 0xcf, 0xea, 0xad, 0xfd, 0x41, 0x33, 0xa8, 0x3e, 0x81, 0xf2, 0xa5, 0x50,
+ 0x93, 0x65, 0x28, 0x0f, 0xf3, 0xe7, 0x8c, 0xf6, 0x8d, 0x14, 0x1e, 0x9d, 0x1a, 0x80, 0x3b, 0xb4,
+ 0x4f, 0x08, 0x64, 0x65, 0x6a, 0x19, 0x69, 0xdc, 0xc3, 0x75, 0xf5, 0xd7, 0x14, 0x64, 0x65, 0x3c,
+ 0xc9, 0x33, 0x28, 0x88, 0xc8, 0xe9, 0x50, 0x9b, 0xb9, 0x78, 0x78, 0x6a, 0xb3, 0x2e, 0x1f, 0xf6,
+ 0xc7, 0xeb, 0xc5, 0x4f, 0xbb, 0xc1, 0x95, 0x4f, 0xc3, 0x64, 0x43, 0xf4, 0x3c, 0xda, 0x11, 0x41,
+ 0xb4, 0x16, 0xba, 0x8e, 0x70, 0xd6, 0x18, 0x17, 0x34, 0xe2, 0x8e, 0xb7, 0x26, 0xad, 0x5a, 0x5b,
+ 0x2a, 0x99, 0x5b, 0x56, 0x1e, 0x25, 0x4d, 0x97, 0x1c, 0x41, 0x3e, 0x0e, 0x1d, 0x2e, 0xc5, 0xd3,
+ 0x28, 0xfe, 0xa5, 0x16, 0x7f, 0x38, 0xbe, 0xf8, 0x7e, 0xe8, 0x70, 0x73, 0xcb, 0xca, 0x49, 0x41,
+ 0xd3, 0xad, 0xfe, 0x92, 0x82, 0xe2, 0x20, 0x1a, 0xf2, 0x8d, 0xba, 0xfd, 0xe2, 0x1b, 0x85, 0xc6,
+ 0xae, 0xbe, 0x9b, 0x7c, 0x07, 0xff, 0x75, 0xba, 0xdd, 0x88, 0x76, 0x55, 0xb2, 0x08, 0xea, 0x87,
+ 0x41, 0xe4, 0x78, 0x4c, 0xf4, 0x8d, 0xcc, 0x52, 0x6a, 0x65, 0x7a, 0xe3, 0xd1, 0x78, 0x85, 0x37,
+ 0xd4, 0x6a, 0x0f, 0xa5, 0xac, 0x79, 0xe7, 0x46, 0xbc, 0xfa, 0x22, 0x03, 0x39, 0x15, 0x4e, 0x99,
+ 0xb2, 0xa3, 0x5d, 0x8d, 0x5e, 0xe0, 0xe4, 0xc8, 0x5a, 0xe5, 0x91, 0x9e, 0x46, 0x2f, 0xc8, 0x06,
+ 0xfc, 0x27, 0x01, 0x62, 0x3b, 0x16, 0x4e, 0x24, 0x34, 0x5b, 0x16, 0x51, 0xd6, 0xba, 0x35, 0xd8,
+ 0xdc, 0x97, 0x7b, 0xea, 0xcc, 0x48, 0xc3, 0x8c, 0x6d, 0x8f, 0xf2, 0xae, 0x38, 0xc5, 0x92, 0xca,
+ 0x0e, 0x1b, 0x66, 0xdc, 0x44, 0x58, 0x26, 0x60, 0x2c, 0x9c, 0xce, 0x59, 0x92, 0x02, 0x5a, 0x5c,
+ 0x16, 0x58, 0xd9, 0x9a, 0x1d, 0x6e, 0x99, 0xae, 0x92, 0x9e, 0x83, 0xc9, 0x73, 0xf9, 0xcd, 0x71,
+ 0x18, 0x65, 0x2c, 0x65, 0x90, 0x16, 0x4c, 0x7a, 0xce, 0x31, 0xf5, 0xf4, 0x38, 0xd9, 0x18, 0xaf,
+ 0xab, 0xc8, 0x93, 0xba, 0x9a, 0x94, 0x0c, 0x59, 0x00, 0x18, 0x24, 0xb0, 0x2c, 0x65, 0xf9, 0x5d,
+ 0x46, 0x10, 0x19, 0x58, 0xd9, 0x7f, 0xb0, 0xcc, 0xb2, 0x16, 0xae, 0xc9, 0x87, 0x30, 0x27, 0xfb,
+ 0x41, 0x2c, 0x1c, 0x3f, 0x8c, 0x65, 0x2b, 0xbd, 0xc0, 0x4e, 0x80, 0x15, 0x97, 0xb5, 0xc8, 0x70,
+ 0xef, 0x80, 0xb3, 0x0b, 0xd9, 0x0e, 0xaa, 0xdf, 0xc0, 0x24, 0xde, 0x4d, 0x2a, 0x90, 0x19, 0x96,
+ 0x8e, 0x5c, 0x4a, 0x24, 0x16, 0x91, 0x4e, 0x1c, 0xb9, 0x94, 0x08, 0xef, 0xf9, 0x98, 0x23, 0x19,
+ 0x4b, 0x2e, 0xc9, 0xff, 0xa0, 0xc0, 0x7b, 0x3e, 0x36, 0x6d, 0x23, 0x8b, 0x70, 0x9e, 0xf7, 0x7c,
+ 0x59, 0x95, 0xd5, 0xdf, 0x32, 0x90, 0xd7, 0x53, 0x92, 0x4c, 0x43, 0x5a, 0x57, 0x56, 0xd6, 0x4a,
+ 0x33, 0x57, 0xb6, 0x4b, 0x9f, 0xfa, 0x41, 0xd4, 0x57, 0xd1, 0xc4, 0x3b, 0xb2, 0x56, 0x49, 0x61,
+ 0x18, 0xc4, 0x11, 0x8a, 0xc7, 0x7c, 0x26, 0xf0, 0xd2, 0x01, 0xa5, 0x29, 0x21, 0xd9, 0x30, 0xe5,
+ 0xc7, 0xb4, 0x83, 0x93, 0x93, 0x98, 0xaa, 0xfb, 0xb3, 0x16, 0x48, 0x68, 0x17, 0x11, 0x72, 0x1b,
+ 0x0a, 0xd2, 0xe2, 0x8e, 0x4f, 0x8d, 0x49, 0xf4, 0x6e, 0x60, 0x4b, 0xcf, 0x8f, 0x7b, 0xcc, 0x73,
+ 0x65, 0x55, 0xe6, 0x94, 0xe7, 0x68, 0x9b, 0x2e, 0x79, 0x06, 0xe5, 0x64, 0xcb, 0x3e, 0x63, 0xdc,
+ 0xc5, 0x1e, 0x39, 0xbd, 0xf1, 0x70, 0xac, 0x88, 0x6e, 0x2a, 0xb1, 0x1d, 0xc6, 0x5d, 0xab, 0x74,
+ 0x3c, 0x34, 0xae, 0xc4, 0x75, 0xea, 0x5a, 0x5c, 0x97, 0xa1, 0x7c, 0xea, 0xc4, 0x76, 0x32, 0x75,
+ 0xd5, 0xa4, 0x28, 0x58, 0x53, 0xa7, 0x4e, 0x9c, 0x4c, 0xe6, 0x21, 0x49, 0xbf, 0x46, 0x4d, 0x0b,
+ 0x4d, 0x4a, 0x30, 0xb2, 0x02, 0x15, 0x49, 0xf2, 0x18, 0xa7, 0x36, 0xef, 0xf9, 0xc7, 0x34, 0x52,
+ 0x53, 0xa3, 0x60, 0x4d, 0x9f, 0x3a, 0x71, 0x93, 0x71, 0xda, 0x52, 0x28, 0x59, 0x85, 0x59, 0xc9,
+ 0x64, 0x1c, 0xb9, 0x7a, 0x00, 0x01, 0x52, 0x67, 0x4e, 0x9d, 0xd8, 0x44, 0x5c, 0x4d, 0xa1, 0xea,
+ 0xf7, 0x69, 0x28, 0x24, 0x3f, 0x53, 0xae, 0x05, 0x76, 0x19, 0xca, 0xfa, 0xa7, 0x90, 0x2e, 0x22,
+ 0x15, 0xd9, 0x29, 0x0d, 0xaa, 0xfa, 0x31, 0x20, 0xef, 0xb8, 0x6e, 0x44, 0xe3, 0x58, 0x47, 0x35,
+ 0x31, 0xc9, 0x0e, 0xe6, 0x34, 0xd5, 0x3f, 0x9d, 0xc6, 0x1e, 0xcc, 0xc9, 0x3c, 0x42, 0x11, 0xf2,
+ 0x7f, 0x28, 0xb2, 0xd8, 0x3e, 0x09, 0x3c, 0x97, 0xba, 0x18, 0xfe, 0x82, 0x55, 0x60, 0xf1, 0x36,
+ 0xda, 0x38, 0x4b, 0xfb, 0x21, 0xd5, 0x5e, 0xe6, 0xb0, 0xd4, 0x8b, 0x12, 0x51, 0x2e, 0x5e, 0x0e,
+ 0x52, 0xfe, 0x6a, 0x90, 0xaa, 0x47, 0x38, 0x38, 0xb0, 0x81, 0x25, 0x81, 0x1a, 0x34, 0x30, 0xf9,
+ 0xa2, 0x72, 0x82, 0x2a, 0x39, 0xa2, 0xdf, 0xa5, 0x9b, 0x30, 0xba, 0x37, 0x0f, 0xb9, 0x4e, 0xe0,
+ 0xf5, 0x7c, 0xae, 0xeb, 0x49, 0x5b, 0xd5, 0x17, 0x29, 0x28, 0x24, 0x81, 0xbe, 0xf6, 0x7d, 0x09,
+ 0x64, 0x31, 0x9b, 0xb5, 0x10, 0x66, 0xf2, 0x22, 0x94, 0xe2, 0x7e, 0x2c, 0xa8, 0x6f, 0xe3, 0x96,
+ 0x52, 0x03, 0x05, 0xb5, 0x24, 0x61, 0xb4, 0x0c, 0xb2, 0x57, 0xca, 0xe0, 0x0e, 0x80, 0x6a, 0xa8,
+ 0xe8, 0x9f, 0x2a, 0x92, 0x22, 0x22, 0xf2, 0x7d, 0xab, 0x3f, 0xa4, 0x60, 0xfe, 0xe6, 0xf6, 0x4e,
+ 0xee, 0xc1, 0x72, 0xfd, 0xf1, 0x63, 0xab, 0xf1, 0xb8, 0xde, 0x36, 0x77, 0x5b, 0x76, 0xbb, 0xf1,
+ 0x74, 0x6f, 0xd7, 0xaa, 0x37, 0xcd, 0xf6, 0x91, 0x7d, 0xd0, 0xda, 0xdf, 0x6b, 0x3c, 0x32, 0xb7,
+ 0xcd, 0xc6, 0x56, 0x65, 0x82, 0xdc, 0x85, 0x3b, 0xef, 0x22, 0x6e, 0x35, 0x9a, 0xed, 0x7a, 0x25,
+ 0x45, 0xde, 0x87, 0xea, 0xbb, 0x28, 0x8f, 0x0e, 0x9e, 0x1e, 0x34, 0xeb, 0x6d, 0xf3, 0xb0, 0x51,
+ 0x49, 0xaf, 0x7e, 0x0e, 0xa5, 0x91, 0xba, 0x22, 0xb7, 0x60, 0x66, 0xf3, 0xc0, 0x6c, 0x6e, 0xd9,
+ 0xe6, 0x96, 0xdd, 0x34, 0x5b, 0x3b, 0x0d, 0xab, 0x32, 0x41, 0x0c, 0x98, 0x1b, 0x80, 0x9b, 0x66,
+ 0xab, 0x6e, 0x1d, 0xd9, 0x4f, 0xea, 0xfb, 0x4f, 0x2a, 0xa9, 0xcd, 0x9f, 0x52, 0x2f, 0xdf, 0x2c,
+ 0xa4, 0x5e, 0xbd, 0x59, 0x48, 0xfd, 0xf9, 0x66, 0x21, 0xf5, 0xe3, 0xdb, 0x85, 0x89, 0x57, 0x6f,
+ 0x17, 0x26, 0x7e, 0x7f, 0xbb, 0x30, 0xf1, 0xad, 0x35, 0xf6, 0x24, 0x56, 0xff, 0x1b, 0x75, 0x29,
+ 0x7f, 0xd7, 0xbf, 0x68, 0x3f, 0xa7, 0xef, 0xef, 0x86, 0x94, 0xb7, 0x07, 0x8a, 0x7b, 0x98, 0xbe,
+ 0x7b, 0x49, 0xfa, 0x1e, 0xae, 0x37, 0x46, 0xd8, 0xc7, 0x39, 0xd4, 0x7b, 0xf0, 0x77, 0x00, 0x00,
+ 0x00, 0xff, 0xff, 0xef, 0x03, 0x47, 0x6d, 0x06, 0x0e, 0x00, 0x00,
+}
+
+func (m *Profile) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Profile) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Profile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.LinkTable) > 0 {
+ for iNdEx := len(m.LinkTable) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.LinkTable[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x92
+ }
+ }
+ if len(m.AttributeUnits) > 0 {
+ for iNdEx := len(m.AttributeUnits) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.AttributeUnits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x8a
+ }
+ }
+ if len(m.AttributeTable) > 0 {
+ for iNdEx := len(m.AttributeTable) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.AttributeTable[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x82
+ }
+ }
+ if len(m.LocationIndices) > 0 {
+ dAtA2 := make([]byte, len(m.LocationIndices)*10)
+ var j1 int
+ for _, num1 := range m.LocationIndices {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA2[j1] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j1++
+ }
+ dAtA2[j1] = uint8(num)
+ j1++
+ }
+ i -= j1
+ copy(dAtA[i:], dAtA2[:j1])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j1))
+ i--
+ dAtA[i] = 0x7a
+ }
+ if m.DefaultSampleType != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.DefaultSampleType))
+ i--
+ dAtA[i] = 0x70
+ }
+ if len(m.Comment) > 0 {
+ dAtA4 := make([]byte, len(m.Comment)*10)
+ var j3 int
+ for _, num1 := range m.Comment {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j3++
+ }
+ dAtA4[j3] = uint8(num)
+ j3++
+ }
+ i -= j3
+ copy(dAtA[i:], dAtA4[:j3])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j3))
+ i--
+ dAtA[i] = 0x6a
+ }
+ if m.Period != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Period))
+ i--
+ dAtA[i] = 0x60
+ }
+ {
+ size, err := m.PeriodType.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ if m.DurationNanos != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.DurationNanos))
+ i--
+ dAtA[i] = 0x50
+ }
+ if m.TimeNanos != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.TimeNanos))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.KeepFrames != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.KeepFrames))
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.DropFrames != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.DropFrames))
+ i--
+ dAtA[i] = 0x38
+ }
+ if len(m.StringTable) > 0 {
+ for iNdEx := len(m.StringTable) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.StringTable[iNdEx])
+ copy(dAtA[i:], m.StringTable[iNdEx])
+ i = encodeVarintPprofextended(dAtA, i, uint64(len(m.StringTable[iNdEx])))
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.Function) > 0 {
+ for iNdEx := len(m.Function) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Function[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.Location) > 0 {
+ for iNdEx := len(m.Location) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Location[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.Mapping) > 0 {
+ for iNdEx := len(m.Mapping) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Mapping[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Sample) > 0 {
+ for iNdEx := len(m.Sample) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Sample[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.SampleType) > 0 {
+ for iNdEx := len(m.SampleType) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SampleType[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *AttributeUnit) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *AttributeUnit) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *AttributeUnit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Unit != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Unit))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.AttributeKey != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.AttributeKey))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Link) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Link) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Link) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.SpanId.Size()
+ i -= size
+ if _, err := m.SpanId.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size := m.TraceId.Size()
+ i -= size
+ if _, err := m.TraceId.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValueType) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValueType) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValueType) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.AggregationTemporality != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.AggregationTemporality))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Unit != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Unit))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Type != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Type))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Sample) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Sample) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Sample) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.TimestampsUnixNano) > 0 {
+ dAtA7 := make([]byte, len(m.TimestampsUnixNano)*10)
+ var j6 int
+ for _, num := range m.TimestampsUnixNano {
+ for num >= 1<<7 {
+ dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j6++
+ }
+ dAtA7[j6] = uint8(num)
+ j6++
+ }
+ i -= j6
+ copy(dAtA[i:], dAtA7[:j6])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j6))
+ i--
+ dAtA[i] = 0x6a
+ }
+ if m.Link != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Link))
+ i--
+ dAtA[i] = 0x60
+ }
+ if len(m.Attributes) > 0 {
+ dAtA9 := make([]byte, len(m.Attributes)*10)
+ var j8 int
+ for _, num := range m.Attributes {
+ for num >= 1<<7 {
+ dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j8++
+ }
+ dAtA9[j8] = uint8(num)
+ j8++
+ }
+ i -= j8
+ copy(dAtA[i:], dAtA9[:j8])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j8))
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.StacktraceIdIndex != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.StacktraceIdIndex))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.LocationsLength != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.LocationsLength))
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.LocationsStartIndex != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.LocationsStartIndex))
+ i--
+ dAtA[i] = 0x38
+ }
+ if len(m.Label) > 0 {
+ for iNdEx := len(m.Label) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Label[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Value) > 0 {
+ dAtA11 := make([]byte, len(m.Value)*10)
+ var j10 int
+ for _, num1 := range m.Value {
+ num := uint64(num1)
+ for num >= 1<<7 {
+ dAtA11[j10] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j10++
+ }
+ dAtA11[j10] = uint8(num)
+ j10++
+ }
+ i -= j10
+ copy(dAtA[i:], dAtA11[:j10])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j10))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.LocationIndex) > 0 {
+ dAtA13 := make([]byte, len(m.LocationIndex)*10)
+ var j12 int
+ for _, num := range m.LocationIndex {
+ for num >= 1<<7 {
+ dAtA13[j12] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j12++
+ }
+ dAtA13[j12] = uint8(num)
+ j12++
+ }
+ i -= j12
+ copy(dAtA[i:], dAtA13[:j12])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j12))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Label) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Label) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Label) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.NumUnit != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.NumUnit))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.Num != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Num))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Str != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Str))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Key != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Key))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Mapping) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Mapping) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Mapping) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Attributes) > 0 {
+ dAtA15 := make([]byte, len(m.Attributes)*10)
+ var j14 int
+ for _, num := range m.Attributes {
+ for num >= 1<<7 {
+ dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j14++
+ }
+ dAtA15[j14] = uint8(num)
+ j14++
+ }
+ i -= j14
+ copy(dAtA[i:], dAtA15[:j14])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j14))
+ i--
+ dAtA[i] = 0x62
+ }
+ if m.BuildIdKind != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.BuildIdKind))
+ i--
+ dAtA[i] = 0x58
+ }
+ if m.HasInlineFrames {
+ i--
+ if m.HasInlineFrames {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x50
+ }
+ if m.HasLineNumbers {
+ i--
+ if m.HasLineNumbers {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.HasFilenames {
+ i--
+ if m.HasFilenames {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.HasFunctions {
+ i--
+ if m.HasFunctions {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x38
+ }
+ if m.BuildId != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.BuildId))
+ i--
+ dAtA[i] = 0x30
+ }
+ if m.Filename != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Filename))
+ i--
+ dAtA[i] = 0x28
+ }
+ if m.FileOffset != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.FileOffset))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.MemoryLimit != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.MemoryLimit))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.MemoryStart != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.MemoryStart))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Id != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Id))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Location) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Location) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Attributes) > 0 {
+ dAtA17 := make([]byte, len(m.Attributes)*10)
+ var j16 int
+ for _, num := range m.Attributes {
+ for num >= 1<<7 {
+ dAtA17[j16] = uint8(uint64(num)&0x7f | 0x80)
+ num >>= 7
+ j16++
+ }
+ dAtA17[j16] = uint8(num)
+ j16++
+ }
+ i -= j16
+ copy(dAtA[i:], dAtA17[:j16])
+ i = encodeVarintPprofextended(dAtA, i, uint64(j16))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.TypeIndex != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.TypeIndex))
+ i--
+ dAtA[i] = 0x30
+ }
+ if m.IsFolded {
+ i--
+ if m.IsFolded {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x28
+ }
+ if len(m.Line) > 0 {
+ for iNdEx := len(m.Line) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Line[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintPprofextended(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.Address != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Address))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.MappingIndex != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.MappingIndex))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Id != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Id))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Line) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Line) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Line) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Column != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Column))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Line != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Line))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.FunctionIndex != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.FunctionIndex))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Function) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Function) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Function) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.StartLine != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.StartLine))
+ i--
+ dAtA[i] = 0x28
+ }
+ if m.Filename != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Filename))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.SystemName != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.SystemName))
+ i--
+ dAtA[i] = 0x18
+ }
+ if m.Name != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Name))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.Id != 0 {
+ i = encodeVarintPprofextended(dAtA, i, uint64(m.Id))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintPprofextended(dAtA []byte, offset int, v uint64) int {
+ offset -= sovPprofextended(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *Profile) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.SampleType) > 0 {
+ for _, e := range m.SampleType {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.Sample) > 0 {
+ for _, e := range m.Sample {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.Mapping) > 0 {
+ for _, e := range m.Mapping {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.Location) > 0 {
+ for _, e := range m.Location {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.Function) > 0 {
+ for _, e := range m.Function {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.StringTable) > 0 {
+ for _, s := range m.StringTable {
+ l = len(s)
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if m.DropFrames != 0 {
+ n += 1 + sovPprofextended(uint64(m.DropFrames))
+ }
+ if m.KeepFrames != 0 {
+ n += 1 + sovPprofextended(uint64(m.KeepFrames))
+ }
+ if m.TimeNanos != 0 {
+ n += 1 + sovPprofextended(uint64(m.TimeNanos))
+ }
+ if m.DurationNanos != 0 {
+ n += 1 + sovPprofextended(uint64(m.DurationNanos))
+ }
+ l = m.PeriodType.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ if m.Period != 0 {
+ n += 1 + sovPprofextended(uint64(m.Period))
+ }
+ if len(m.Comment) > 0 {
+ l = 0
+ for _, e := range m.Comment {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ if m.DefaultSampleType != 0 {
+ n += 1 + sovPprofextended(uint64(m.DefaultSampleType))
+ }
+ if len(m.LocationIndices) > 0 {
+ l = 0
+ for _, e := range m.LocationIndices {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ if len(m.AttributeTable) > 0 {
+ for _, e := range m.AttributeTable {
+ l = e.Size()
+ n += 2 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.AttributeUnits) > 0 {
+ for _, e := range m.AttributeUnits {
+ l = e.Size()
+ n += 2 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if len(m.LinkTable) > 0 {
+ for _, e := range m.LinkTable {
+ l = e.Size()
+ n += 2 + l + sovPprofextended(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *AttributeUnit) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.AttributeKey != 0 {
+ n += 1 + sovPprofextended(uint64(m.AttributeKey))
+ }
+ if m.Unit != 0 {
+ n += 1 + sovPprofextended(uint64(m.Unit))
+ }
+ return n
+}
+
+func (m *Link) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.TraceId.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ l = m.SpanId.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ return n
+}
+
+func (m *ValueType) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Type != 0 {
+ n += 1 + sovPprofextended(uint64(m.Type))
+ }
+ if m.Unit != 0 {
+ n += 1 + sovPprofextended(uint64(m.Unit))
+ }
+ if m.AggregationTemporality != 0 {
+ n += 1 + sovPprofextended(uint64(m.AggregationTemporality))
+ }
+ return n
+}
+
+func (m *Sample) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.LocationIndex) > 0 {
+ l = 0
+ for _, e := range m.LocationIndex {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ if len(m.Value) > 0 {
+ l = 0
+ for _, e := range m.Value {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ if len(m.Label) > 0 {
+ for _, e := range m.Label {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if m.LocationsStartIndex != 0 {
+ n += 1 + sovPprofextended(uint64(m.LocationsStartIndex))
+ }
+ if m.LocationsLength != 0 {
+ n += 1 + sovPprofextended(uint64(m.LocationsLength))
+ }
+ if m.StacktraceIdIndex != 0 {
+ n += 1 + sovPprofextended(uint64(m.StacktraceIdIndex))
+ }
+ if len(m.Attributes) > 0 {
+ l = 0
+ for _, e := range m.Attributes {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ if m.Link != 0 {
+ n += 1 + sovPprofextended(uint64(m.Link))
+ }
+ if len(m.TimestampsUnixNano) > 0 {
+ l = 0
+ for _, e := range m.TimestampsUnixNano {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ return n
+}
+
+func (m *Label) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Key != 0 {
+ n += 1 + sovPprofextended(uint64(m.Key))
+ }
+ if m.Str != 0 {
+ n += 1 + sovPprofextended(uint64(m.Str))
+ }
+ if m.Num != 0 {
+ n += 1 + sovPprofextended(uint64(m.Num))
+ }
+ if m.NumUnit != 0 {
+ n += 1 + sovPprofextended(uint64(m.NumUnit))
+ }
+ return n
+}
+
+func (m *Mapping) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Id != 0 {
+ n += 1 + sovPprofextended(uint64(m.Id))
+ }
+ if m.MemoryStart != 0 {
+ n += 1 + sovPprofextended(uint64(m.MemoryStart))
+ }
+ if m.MemoryLimit != 0 {
+ n += 1 + sovPprofextended(uint64(m.MemoryLimit))
+ }
+ if m.FileOffset != 0 {
+ n += 1 + sovPprofextended(uint64(m.FileOffset))
+ }
+ if m.Filename != 0 {
+ n += 1 + sovPprofextended(uint64(m.Filename))
+ }
+ if m.BuildId != 0 {
+ n += 1 + sovPprofextended(uint64(m.BuildId))
+ }
+ if m.HasFunctions {
+ n += 2
+ }
+ if m.HasFilenames {
+ n += 2
+ }
+ if m.HasLineNumbers {
+ n += 2
+ }
+ if m.HasInlineFrames {
+ n += 2
+ }
+ if m.BuildIdKind != 0 {
+ n += 1 + sovPprofextended(uint64(m.BuildIdKind))
+ }
+ if len(m.Attributes) > 0 {
+ l = 0
+ for _, e := range m.Attributes {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ return n
+}
+
+func (m *Location) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Id != 0 {
+ n += 1 + sovPprofextended(uint64(m.Id))
+ }
+ if m.MappingIndex != 0 {
+ n += 1 + sovPprofextended(uint64(m.MappingIndex))
+ }
+ if m.Address != 0 {
+ n += 1 + sovPprofextended(uint64(m.Address))
+ }
+ if len(m.Line) > 0 {
+ for _, e := range m.Line {
+ l = e.Size()
+ n += 1 + l + sovPprofextended(uint64(l))
+ }
+ }
+ if m.IsFolded {
+ n += 2
+ }
+ if m.TypeIndex != 0 {
+ n += 1 + sovPprofextended(uint64(m.TypeIndex))
+ }
+ if len(m.Attributes) > 0 {
+ l = 0
+ for _, e := range m.Attributes {
+ l += sovPprofextended(uint64(e))
+ }
+ n += 1 + sovPprofextended(uint64(l)) + l
+ }
+ return n
+}
+
+func (m *Line) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.FunctionIndex != 0 {
+ n += 1 + sovPprofextended(uint64(m.FunctionIndex))
+ }
+ if m.Line != 0 {
+ n += 1 + sovPprofextended(uint64(m.Line))
+ }
+ if m.Column != 0 {
+ n += 1 + sovPprofextended(uint64(m.Column))
+ }
+ return n
+}
+
+func (m *Function) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Id != 0 {
+ n += 1 + sovPprofextended(uint64(m.Id))
+ }
+ if m.Name != 0 {
+ n += 1 + sovPprofextended(uint64(m.Name))
+ }
+ if m.SystemName != 0 {
+ n += 1 + sovPprofextended(uint64(m.SystemName))
+ }
+ if m.Filename != 0 {
+ n += 1 + sovPprofextended(uint64(m.Filename))
+ }
+ if m.StartLine != 0 {
+ n += 1 + sovPprofextended(uint64(m.StartLine))
+ }
+ return n
+}
+
+func sovPprofextended(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozPprofextended(x uint64) (n int) {
+ return sovPprofextended(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *Profile) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Profile: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Profile: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SampleType", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SampleType = append(m.SampleType, ValueType{})
+ if err := m.SampleType[len(m.SampleType)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sample", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Sample = append(m.Sample, Sample{})
+ if err := m.Sample[len(m.Sample)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Mapping", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Mapping = append(m.Mapping, Mapping{})
+ if err := m.Mapping[len(m.Mapping)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Location", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Location = append(m.Location, Location{})
+ if err := m.Location[len(m.Location)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Function", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Function = append(m.Function, Function{})
+ if err := m.Function[len(m.Function)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StringTable", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.StringTable = append(m.StringTable, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DropFrames", wireType)
+ }
+ m.DropFrames = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.DropFrames |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field KeepFrames", wireType)
+ }
+ m.KeepFrames = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.KeepFrames |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TimeNanos", wireType)
+ }
+ m.TimeNanos = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.TimeNanos |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 10:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DurationNanos", wireType)
+ }
+ m.DurationNanos = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.DurationNanos |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PeriodType", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.PeriodType.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Period", wireType)
+ }
+ m.Period = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Period |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 13:
+ if wireType == 0 {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Comment = append(m.Comment, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Comment) == 0 {
+ m.Comment = make([]int64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Comment = append(m.Comment, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Comment", wireType)
+ }
+ case 14:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DefaultSampleType", wireType)
+ }
+ m.DefaultSampleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.DefaultSampleType |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 15:
+ if wireType == 0 {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.LocationIndices = append(m.LocationIndices, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.LocationIndices) == 0 {
+ m.LocationIndices = make([]int64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.LocationIndices = append(m.LocationIndices, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocationIndices", wireType)
+ }
+ case 16:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AttributeTable", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AttributeTable = append(m.AttributeTable, v1.KeyValue{})
+ if err := m.AttributeTable[len(m.AttributeTable)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 17:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AttributeUnits", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AttributeUnits = append(m.AttributeUnits, AttributeUnit{})
+ if err := m.AttributeUnits[len(m.AttributeUnits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 18:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LinkTable", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.LinkTable = append(m.LinkTable, Link{})
+ if err := m.LinkTable[len(m.LinkTable)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *AttributeUnit) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: AttributeUnit: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: AttributeUnit: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AttributeKey", wireType)
+ }
+ m.AttributeKey = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.AttributeKey |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType)
+ }
+ m.Unit = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Unit |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Link) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Link: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Link: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TraceId", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.TraceId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpanId", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.SpanId.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValueType) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValueType: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValueType: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+ }
+ m.Type = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Type |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Unit", wireType)
+ }
+ m.Unit = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Unit |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AggregationTemporality", wireType)
+ }
+ m.AggregationTemporality = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.AggregationTemporality |= AggregationTemporality(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Sample) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Sample: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Sample: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 0 {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.LocationIndex = append(m.LocationIndex, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.LocationIndex) == 0 {
+ m.LocationIndex = make([]uint64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.LocationIndex = append(m.LocationIndex, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocationIndex", wireType)
+ }
+ case 2:
+ if wireType == 0 {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Value = append(m.Value, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Value) == 0 {
+ m.Value = make([]int64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Value = append(m.Value, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
+ }
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Label", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Label = append(m.Label, Label{})
+ if err := m.Label[len(m.Label)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocationsStartIndex", wireType)
+ }
+ m.LocationsStartIndex = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.LocationsStartIndex |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocationsLength", wireType)
+ }
+ m.LocationsLength = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.LocationsLength |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StacktraceIdIndex", wireType)
+ }
+ m.StacktraceIdIndex = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.StacktraceIdIndex |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 10:
+ if wireType == 0 {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Attributes) == 0 {
+ m.Attributes = make([]uint64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
+ }
+ case 12:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Link", wireType)
+ }
+ m.Link = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Link |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 13:
+ if wireType == 0 {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.TimestampsUnixNano = append(m.TimestampsUnixNano, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.TimestampsUnixNano) == 0 {
+ m.TimestampsUnixNano = make([]uint64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.TimestampsUnixNano = append(m.TimestampsUnixNano, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field TimestampsUnixNano", wireType)
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Label) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Label: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Label: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
+ }
+ m.Key = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Key |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Str", wireType)
+ }
+ m.Str = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Str |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Num", wireType)
+ }
+ m.Num = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Num |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NumUnit", wireType)
+ }
+ m.NumUnit = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.NumUnit |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Mapping) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Mapping: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Mapping: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ m.Id = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Id |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MemoryStart", wireType)
+ }
+ m.MemoryStart = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.MemoryStart |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MemoryLimit", wireType)
+ }
+ m.MemoryLimit = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.MemoryLimit |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FileOffset", wireType)
+ }
+ m.FileOffset = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.FileOffset |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Filename", wireType)
+ }
+ m.Filename = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Filename |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BuildId", wireType)
+ }
+ m.BuildId = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.BuildId |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HasFunctions", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.HasFunctions = bool(v != 0)
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HasFilenames", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.HasFilenames = bool(v != 0)
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HasLineNumbers", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.HasLineNumbers = bool(v != 0)
+ case 10:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HasInlineFrames", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.HasInlineFrames = bool(v != 0)
+ case 11:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BuildIdKind", wireType)
+ }
+ m.BuildIdKind = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.BuildIdKind |= BuildIdKind(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 12:
+ if wireType == 0 {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Attributes) == 0 {
+ m.Attributes = make([]uint64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Location) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Location: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Location: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ m.Id = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Id |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MappingIndex", wireType)
+ }
+ m.MappingIndex = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.MappingIndex |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
+ }
+ m.Address = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Address |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Line", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Line = append(m.Line, Line{})
+ if err := m.Line[len(m.Line)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsFolded", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsFolded = bool(v != 0)
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TypeIndex", wireType)
+ }
+ m.TypeIndex = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.TypeIndex |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 7:
+ if wireType == 0 {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Attributes) == 0 {
+ m.Attributes = make([]uint64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Attributes = append(m.Attributes, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Line) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Line: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Line: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FunctionIndex", wireType)
+ }
+ m.FunctionIndex = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.FunctionIndex |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Line", wireType)
+ }
+ m.Line = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Line |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Column", wireType)
+ }
+ m.Column = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Column |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Function) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Function: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Function: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
+ }
+ m.Id = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Id |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ m.Name = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Name |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SystemName", wireType)
+ }
+ m.SystemName = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.SystemName |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Filename", wireType)
+ }
+ m.Filename = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Filename |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StartLine", wireType)
+ }
+ m.StartLine = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.StartLine |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipPprofextended(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthPprofextended
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipPprofextended(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowPprofextended
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthPprofextended
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupPprofextended
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthPprofextended
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthPprofextended = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowPprofextended = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupPprofextended = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/pdata/internal/data/protogen/profiles/v1experimental/profiles.pb.go b/pdata/internal/data/protogen/profiles/v1experimental/profiles.pb.go
new file mode 100644
index 00000000000..6e4662c248b
--- /dev/null
+++ b/pdata/internal/data/protogen/profiles/v1experimental/profiles.pb.go
@@ -0,0 +1,1482 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: opentelemetry/proto/profiles/v1experimental/profiles.proto
+
+package v1experimental
+
+import (
+ encoding_binary "encoding/binary"
+ fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
+ _ "github.com/gogo/protobuf/gogoproto"
+ proto "github.com/gogo/protobuf/proto"
+
+ v11 "go.opentelemetry.io/collector/pdata/internal/data/protogen/common/v1"
+ v1 "go.opentelemetry.io/collector/pdata/internal/data/protogen/resource/v1"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+// ProfilesData represents the profiles data that can be stored in persistent storage,
+// OR can be embedded by other protocols that transfer OTLP profiles data but do not
+// implement the OTLP protocol.
+//
+// The main difference between this message and collector protocol is that
+// in this message there will not be any "control" or "metadata" specific to
+// OTLP protocol.
+//
+// When new fields are added into this message, the OTLP request MUST be updated
+// as well.
+type ProfilesData struct {
+ // An array of ResourceProfiles.
+ // For data coming from a single resource this array will typically contain
+ // one element. Intermediary nodes that receive data from multiple origins
+ // typically batch the data before forwarding further and in that case this
+ // array will contain multiple elements.
+ ResourceProfiles []*ResourceProfiles `protobuf:"bytes,1,rep,name=resource_profiles,json=resourceProfiles,proto3" json:"resource_profiles,omitempty"`
+}
+
+func (m *ProfilesData) Reset() { *m = ProfilesData{} }
+func (m *ProfilesData) String() string { return proto.CompactTextString(m) }
+func (*ProfilesData) ProtoMessage() {}
+func (*ProfilesData) Descriptor() ([]byte, []int) {
+ return fileDescriptor_394731f2296acea3, []int{0}
+}
+func (m *ProfilesData) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ProfilesData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ProfilesData.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ProfilesData) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ProfilesData.Merge(m, src)
+}
+func (m *ProfilesData) XXX_Size() int {
+ return m.Size()
+}
+func (m *ProfilesData) XXX_DiscardUnknown() {
+ xxx_messageInfo_ProfilesData.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ProfilesData proto.InternalMessageInfo
+
+func (m *ProfilesData) GetResourceProfiles() []*ResourceProfiles {
+ if m != nil {
+ return m.ResourceProfiles
+ }
+ return nil
+}
+
+// A collection of ScopeProfiles from a Resource.
+type ResourceProfiles struct {
+ // The resource for the profiles in this message.
+ // If this field is not set then no resource info is known.
+ Resource v1.Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource"`
+ // A list of ScopeProfiles that originate from a resource.
+ ScopeProfiles []*ScopeProfiles `protobuf:"bytes,2,rep,name=scope_profiles,json=scopeProfiles,proto3" json:"scope_profiles,omitempty"`
+ // The Schema URL, if known. This is the identifier of the Schema that the resource data
+ // is recorded in. To learn more about Schema URL see
+ // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
+ // This schema_url applies to the data in the "resource" field. It does not apply
+ // to the data in the "scope_profiles" field which have their own schema_url field.
+ SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
+}
+
+func (m *ResourceProfiles) Reset() { *m = ResourceProfiles{} }
+func (m *ResourceProfiles) String() string { return proto.CompactTextString(m) }
+func (*ResourceProfiles) ProtoMessage() {}
+func (*ResourceProfiles) Descriptor() ([]byte, []int) {
+ return fileDescriptor_394731f2296acea3, []int{1}
+}
+func (m *ResourceProfiles) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ResourceProfiles.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ResourceProfiles) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceProfiles.Merge(m, src)
+}
+func (m *ResourceProfiles) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceProfiles) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceProfiles.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceProfiles proto.InternalMessageInfo
+
+func (m *ResourceProfiles) GetResource() v1.Resource {
+ if m != nil {
+ return m.Resource
+ }
+ return v1.Resource{}
+}
+
+func (m *ResourceProfiles) GetScopeProfiles() []*ScopeProfiles {
+ if m != nil {
+ return m.ScopeProfiles
+ }
+ return nil
+}
+
+func (m *ResourceProfiles) GetSchemaUrl() string {
+ if m != nil {
+ return m.SchemaUrl
+ }
+ return ""
+}
+
+// A collection of ProfileContainers produced by an InstrumentationScope.
+type ScopeProfiles struct {
+ // The instrumentation scope information for the profiles in this message.
+ // Semantically when InstrumentationScope isn't set, it is equivalent with
+ // an empty instrumentation scope name (unknown).
+ Scope v11.InstrumentationScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"`
+ // A list of ProfileContainers that originate from an instrumentation scope.
+ Profiles []*ProfileContainer `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
+ // The Schema URL, if known. This is the identifier of the Schema that the metric data
+ // is recorded in. To learn more about Schema URL see
+ // https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
+ // This schema_url applies to all profiles in the "profiles" field.
+ SchemaUrl string `protobuf:"bytes,3,opt,name=schema_url,json=schemaUrl,proto3" json:"schema_url,omitempty"`
+}
+
+func (m *ScopeProfiles) Reset() { *m = ScopeProfiles{} }
+func (m *ScopeProfiles) String() string { return proto.CompactTextString(m) }
+func (*ScopeProfiles) ProtoMessage() {}
+func (*ScopeProfiles) Descriptor() ([]byte, []int) {
+ return fileDescriptor_394731f2296acea3, []int{2}
+}
+func (m *ScopeProfiles) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ScopeProfiles) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ScopeProfiles.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ScopeProfiles) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ScopeProfiles.Merge(m, src)
+}
+func (m *ScopeProfiles) XXX_Size() int {
+ return m.Size()
+}
+func (m *ScopeProfiles) XXX_DiscardUnknown() {
+ xxx_messageInfo_ScopeProfiles.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ScopeProfiles proto.InternalMessageInfo
+
+func (m *ScopeProfiles) GetScope() v11.InstrumentationScope {
+ if m != nil {
+ return m.Scope
+ }
+ return v11.InstrumentationScope{}
+}
+
+func (m *ScopeProfiles) GetProfiles() []*ProfileContainer {
+ if m != nil {
+ return m.Profiles
+ }
+ return nil
+}
+
+func (m *ScopeProfiles) GetSchemaUrl() string {
+ if m != nil {
+ return m.SchemaUrl
+ }
+ return ""
+}
+
+// A ProfileContainer represents a single profile. It wraps pprof profile with OpenTelemetry specific metadata.
+type ProfileContainer struct {
+ // A globally unique identifier for a profile. The ID is a 16-byte array. An ID with
+ // all zeroes is considered invalid.
+ //
+ // This field is required.
+ ProfileId []byte `protobuf:"bytes,1,opt,name=profile_id,json=profileId,proto3" json:"profile_id,omitempty"`
+ // start_time_unix_nano is the start time of the profile.
+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ //
+ // This field is semantically required and it is expected that end_time >= start_time.
+ StartTimeUnixNano uint64 `protobuf:"fixed64,2,opt,name=start_time_unix_nano,json=startTimeUnixNano,proto3" json:"start_time_unix_nano,omitempty"`
+ // end_time_unix_nano is the end time of the profile.
+ // Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
+ //
+ // This field is semantically required and it is expected that end_time >= start_time.
+ EndTimeUnixNano uint64 `protobuf:"fixed64,3,opt,name=end_time_unix_nano,json=endTimeUnixNano,proto3" json:"end_time_unix_nano,omitempty"`
+ // attributes is a collection of key/value pairs. Note, global attributes
+ // like server name can be set using the resource API. Examples of attributes:
+ //
+ // "/http/user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
+ // "/http/server_latency": 300
+ // "abc.com/myattribute": true
+ // "abc.com/score": 10.239
+ //
+ // The OpenTelemetry API specification further restricts the allowed value types:
+ // https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/common/README.md#attribute
+ // Attribute keys MUST be unique (it is not allowed to have more than one
+ // attribute with the same key).
+ Attributes []v11.KeyValue `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes"`
+ // dropped_attributes_count is the number of attributes that were discarded. Attributes
+ // can be discarded because their keys are too long or because there are too many
+ // attributes. If this value is 0, then no attributes were dropped.
+ DroppedAttributesCount uint32 `protobuf:"varint,5,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
+ // Specifies format of the original payload. Common values are defined in semantic conventions. [required if original_payload is present]
+ OriginalPayloadFormat string `protobuf:"bytes,6,opt,name=original_payload_format,json=originalPayloadFormat,proto3" json:"original_payload_format,omitempty"`
+ // Original payload can be stored in this field. This can be useful for users who want to get the original payload.
+ // Formats such as JFR are highly extensible and can contain more information than what is defined in this spec.
+ // Inclusion of original payload should be configurable by the user. Default behavior should be to not include the original payload.
+ // If the original payload is in pprof format, it SHOULD not be included in this field.
+ // The field is optional, however if it is present `profile` MUST be present and contain the same profiling information.
+ OriginalPayload []byte `protobuf:"bytes,7,opt,name=original_payload,json=originalPayload,proto3" json:"original_payload,omitempty"`
+ // This is a reference to a pprof profile. Required, even when original_payload is present.
+ Profile Profile `protobuf:"bytes,8,opt,name=profile,proto3" json:"profile"`
+}
+
+func (m *ProfileContainer) Reset() { *m = ProfileContainer{} }
+func (m *ProfileContainer) String() string { return proto.CompactTextString(m) }
+func (*ProfileContainer) ProtoMessage() {}
+func (*ProfileContainer) Descriptor() ([]byte, []int) {
+ return fileDescriptor_394731f2296acea3, []int{3}
+}
+func (m *ProfileContainer) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ProfileContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ProfileContainer.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ProfileContainer) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ProfileContainer.Merge(m, src)
+}
+func (m *ProfileContainer) XXX_Size() int {
+ return m.Size()
+}
+func (m *ProfileContainer) XXX_DiscardUnknown() {
+ xxx_messageInfo_ProfileContainer.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ProfileContainer proto.InternalMessageInfo
+
+func (m *ProfileContainer) GetProfileId() []byte {
+ if m != nil {
+ return m.ProfileId
+ }
+ return nil
+}
+
+func (m *ProfileContainer) GetStartTimeUnixNano() uint64 {
+ if m != nil {
+ return m.StartTimeUnixNano
+ }
+ return 0
+}
+
+func (m *ProfileContainer) GetEndTimeUnixNano() uint64 {
+ if m != nil {
+ return m.EndTimeUnixNano
+ }
+ return 0
+}
+
+func (m *ProfileContainer) GetAttributes() []v11.KeyValue {
+ if m != nil {
+ return m.Attributes
+ }
+ return nil
+}
+
+func (m *ProfileContainer) GetDroppedAttributesCount() uint32 {
+ if m != nil {
+ return m.DroppedAttributesCount
+ }
+ return 0
+}
+
+func (m *ProfileContainer) GetOriginalPayloadFormat() string {
+ if m != nil {
+ return m.OriginalPayloadFormat
+ }
+ return ""
+}
+
+func (m *ProfileContainer) GetOriginalPayload() []byte {
+ if m != nil {
+ return m.OriginalPayload
+ }
+ return nil
+}
+
+func (m *ProfileContainer) GetProfile() Profile {
+ if m != nil {
+ return m.Profile
+ }
+ return Profile{}
+}
+
+func init() {
+ proto.RegisterType((*ProfilesData)(nil), "opentelemetry.proto.profiles.v1experimental.ProfilesData")
+ proto.RegisterType((*ResourceProfiles)(nil), "opentelemetry.proto.profiles.v1experimental.ResourceProfiles")
+ proto.RegisterType((*ScopeProfiles)(nil), "opentelemetry.proto.profiles.v1experimental.ScopeProfiles")
+ proto.RegisterType((*ProfileContainer)(nil), "opentelemetry.proto.profiles.v1experimental.ProfileContainer")
+}
+
+func init() {
+ proto.RegisterFile("opentelemetry/proto/profiles/v1experimental/profiles.proto", fileDescriptor_394731f2296acea3)
+}
+
+var fileDescriptor_394731f2296acea3 = []byte{
+ // 652 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x51, 0x6b, 0xdb, 0x3a,
+ 0x14, 0xc7, 0xe3, 0xa6, 0x4d, 0x52, 0xb5, 0xb9, 0x4d, 0x45, 0xef, 0xbd, 0xa6, 0x70, 0x73, 0x43,
+ 0x5e, 0x96, 0xae, 0x60, 0x93, 0x76, 0x8c, 0x51, 0x18, 0x63, 0xed, 0x36, 0xe8, 0xca, 0xd6, 0xe0,
+ 0xb5, 0x85, 0xed, 0xc5, 0xa8, 0xf1, 0x69, 0xa6, 0x61, 0x4b, 0x46, 0x96, 0x43, 0xba, 0x4f, 0xb1,
+ 0xcf, 0xb1, 0x4f, 0xd2, 0xc7, 0xee, 0x6d, 0x6c, 0x30, 0x46, 0xfb, 0xb2, 0x7e, 0x8b, 0x61, 0x59,
+ 0xf6, 0x12, 0x93, 0x51, 0xb2, 0x17, 0x23, 0x9f, 0xf3, 0x3f, 0xbf, 0xa3, 0xff, 0x91, 0x10, 0xda,
+ 0xe1, 0x21, 0x30, 0x09, 0x3e, 0x04, 0x20, 0xc5, 0xb9, 0x1d, 0x0a, 0x2e, 0x79, 0xf2, 0x3d, 0xa3,
+ 0x3e, 0x44, 0xf6, 0xb0, 0x0b, 0xa3, 0x10, 0x04, 0x0d, 0x80, 0x49, 0xe2, 0xe7, 0x71, 0x4b, 0xc9,
+ 0xf0, 0xe6, 0x44, 0x6d, 0x1a, 0xb4, 0x72, 0xcd, 0x64, 0xed, 0xfa, 0xda, 0x80, 0x0f, 0x78, 0x8a,
+ 0x4f, 0x56, 0xa9, 0x7a, 0xfd, 0xee, 0xb4, 0xf6, 0x7d, 0x1e, 0x04, 0x9c, 0xd9, 0xc3, 0xae, 0x5e,
+ 0x69, 0xad, 0x35, 0x4d, 0x2b, 0x20, 0xe2, 0xb1, 0xe8, 0x43, 0xa2, 0xce, 0xd6, 0x5a, 0xff, 0x68,
+ 0x26, 0x6b, 0x49, 0x02, 0x46, 0x12, 0x98, 0x07, 0x5e, 0x0a, 0x68, 0xbf, 0x47, 0xcb, 0x3d, 0x2d,
+ 0x7f, 0x42, 0x24, 0xc1, 0xef, 0xd0, 0x6a, 0xd6, 0xc2, 0xcd, 0x38, 0xa6, 0xd1, 0x2a, 0x77, 0x96,
+ 0xb6, 0x1e, 0x5a, 0x33, 0xcc, 0xc2, 0x72, 0x34, 0x25, 0xa3, 0x3b, 0x0d, 0x51, 0x88, 0xb4, 0x6f,
+ 0x0c, 0xd4, 0x28, 0xca, 0xf0, 0x01, 0xaa, 0x65, 0x42, 0xd3, 0x68, 0x19, 0x9d, 0xa5, 0xad, 0x8d,
+ 0xa9, 0x7d, 0xf3, 0x41, 0x0c, 0xbb, 0x79, 0xaf, 0xdd, 0xf9, 0x8b, 0x6f, 0xff, 0x97, 0x9c, 0x1c,
+ 0x80, 0x09, 0xfa, 0x2b, 0xea, 0xf3, 0x70, 0xcc, 0xca, 0x9c, 0xb2, 0xb2, 0x33, 0x93, 0x95, 0x57,
+ 0x09, 0x22, 0xf7, 0x51, 0x8f, 0xc6, 0x7f, 0xf1, 0x7f, 0x08, 0x45, 0xfd, 0xb7, 0x10, 0x10, 0x37,
+ 0x16, 0xbe, 0x59, 0x6e, 0x19, 0x9d, 0x45, 0x67, 0x31, 0x8d, 0x1c, 0x0b, 0xff, 0x79, 0xa5, 0xf6,
+ 0xa3, 0xda, 0xb8, 0xa9, 0xb6, 0xbf, 0x18, 0xa8, 0x3e, 0xc1, 0xc1, 0x87, 0x68, 0x41, 0x91, 0xb4,
+ 0xcb, 0xed, 0xa9, 0x5b, 0xd2, 0x97, 0x63, 0xd8, 0xb5, 0xf6, 0x59, 0x24, 0x45, 0xac, 0x76, 0x24,
+ 0x29, 0x67, 0x8a, 0xa5, 0xfd, 0xa6, 0x1c, 0xfc, 0x1a, 0xd5, 0x0a, 0x36, 0x67, 0x3b, 0x31, 0xbd,
+ 0xb3, 0x3d, 0xce, 0x24, 0xa1, 0x0c, 0x84, 0x93, 0xe3, 0x6e, 0x31, 0xd9, 0xfe, 0x54, 0x46, 0x8d,
+ 0x62, 0x75, 0x52, 0xa3, 0xeb, 0x5d, 0xea, 0x29, 0x93, 0xcb, 0xce, 0xa2, 0x8e, 0xec, 0x7b, 0xd8,
+ 0x46, 0x6b, 0x91, 0x24, 0x42, 0xba, 0x92, 0x06, 0xe0, 0xc6, 0x8c, 0x8e, 0x5c, 0x46, 0x18, 0x37,
+ 0xe7, 0x5a, 0x46, 0xa7, 0xe2, 0xac, 0xaa, 0xdc, 0x11, 0x0d, 0xe0, 0x98, 0xd1, 0xd1, 0x4b, 0xc2,
+ 0x38, 0xde, 0x44, 0x18, 0x98, 0x57, 0x94, 0x97, 0x95, 0x7c, 0x05, 0x98, 0x37, 0x21, 0x7e, 0x81,
+ 0x10, 0x91, 0x52, 0xd0, 0xd3, 0x58, 0x42, 0x64, 0xce, 0xab, 0x69, 0xdc, 0xb9, 0x65, 0xc2, 0x07,
+ 0x70, 0x7e, 0x42, 0xfc, 0x38, 0x9b, 0xea, 0x18, 0x00, 0x3f, 0x40, 0xa6, 0x27, 0x78, 0x18, 0x82,
+ 0xe7, 0xfe, 0x8a, 0xba, 0x7d, 0x1e, 0x33, 0x69, 0x2e, 0xb4, 0x8c, 0x4e, 0xdd, 0xf9, 0x47, 0xe7,
+ 0x1f, 0xe7, 0xe9, 0xbd, 0x24, 0x8b, 0xef, 0xa3, 0x7f, 0xb9, 0xa0, 0x03, 0xca, 0x88, 0xef, 0x86,
+ 0xe4, 0xdc, 0xe7, 0xc4, 0x73, 0xcf, 0xb8, 0x08, 0x88, 0x34, 0x2b, 0x6a, 0x8c, 0x7f, 0x67, 0xe9,
+ 0x5e, 0x9a, 0x7d, 0xa6, 0x92, 0x78, 0x03, 0x35, 0x8a, 0x75, 0x66, 0x55, 0xcd, 0x70, 0xa5, 0x50,
+ 0x80, 0x8f, 0x50, 0x55, 0x8f, 0xd5, 0xac, 0xa9, 0xab, 0x74, 0xef, 0x4f, 0x8e, 0x5d, 0xbb, 0xce,
+ 0x50, 0xbb, 0x5f, 0x8d, 0x8b, 0xab, 0xa6, 0x71, 0x79, 0xd5, 0x34, 0xbe, 0x5f, 0x35, 0x8d, 0x0f,
+ 0xd7, 0xcd, 0xd2, 0xe5, 0x75, 0xb3, 0xf4, 0xf9, 0xba, 0x59, 0x42, 0x16, 0xe5, 0xb3, 0x74, 0xd8,
+ 0xad, 0x67, 0x77, 0xbe, 0x97, 0xc8, 0x7a, 0xc6, 0x1b, 0x67, 0x50, 0x04, 0xd0, 0xe4, 0x45, 0xf4,
+ 0x7d, 0xe8, 0x4b, 0x2e, 0xec, 0xd0, 0x23, 0x92, 0xd8, 0x94, 0x49, 0x10, 0x8c, 0xf8, 0xb6, 0xfa,
+ 0x53, 0x1d, 0x06, 0xc0, 0x7e, 0xf7, 0xb8, 0x7d, 0x9c, 0xdb, 0x3c, 0x0c, 0x81, 0x1d, 0xe5, 0x44,
+ 0xd5, 0x2b, 0x33, 0x17, 0x59, 0x27, 0xdd, 0xa7, 0x63, 0xea, 0xd3, 0x8a, 0xe2, 0x6d, 0xff, 0x0c,
+ 0x00, 0x00, 0xff, 0xff, 0xe1, 0x89, 0x49, 0xa4, 0x1b, 0x06, 0x00, 0x00,
+}
+
+func (m *ProfilesData) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ProfilesData) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ProfilesData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ResourceProfiles) > 0 {
+ for iNdEx := len(m.ResourceProfiles) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ResourceProfiles[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceProfiles) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceProfiles) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.SchemaUrl) > 0 {
+ i -= len(m.SchemaUrl)
+ copy(dAtA[i:], m.SchemaUrl)
+ i = encodeVarintProfiles(dAtA, i, uint64(len(m.SchemaUrl)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.ScopeProfiles) > 0 {
+ for iNdEx := len(m.ScopeProfiles) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ScopeProfiles[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ScopeProfiles) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ScopeProfiles) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ScopeProfiles) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.SchemaUrl) > 0 {
+ i -= len(m.SchemaUrl)
+ copy(dAtA[i:], m.SchemaUrl)
+ i = encodeVarintProfiles(dAtA, i, uint64(len(m.SchemaUrl)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Profiles) > 0 {
+ for iNdEx := len(m.Profiles) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Profiles[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.Scope.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ProfileContainer) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ProfileContainer) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ProfileContainer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Profile.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ if len(m.OriginalPayload) > 0 {
+ i -= len(m.OriginalPayload)
+ copy(dAtA[i:], m.OriginalPayload)
+ i = encodeVarintProfiles(dAtA, i, uint64(len(m.OriginalPayload)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.OriginalPayloadFormat) > 0 {
+ i -= len(m.OriginalPayloadFormat)
+ copy(dAtA[i:], m.OriginalPayloadFormat)
+ i = encodeVarintProfiles(dAtA, i, uint64(len(m.OriginalPayloadFormat)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.DroppedAttributesCount != 0 {
+ i = encodeVarintProfiles(dAtA, i, uint64(m.DroppedAttributesCount))
+ i--
+ dAtA[i] = 0x28
+ }
+ if len(m.Attributes) > 0 {
+ for iNdEx := len(m.Attributes) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Attributes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProfiles(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.EndTimeUnixNano != 0 {
+ i -= 8
+ encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.EndTimeUnixNano))
+ i--
+ dAtA[i] = 0x19
+ }
+ if m.StartTimeUnixNano != 0 {
+ i -= 8
+ encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(m.StartTimeUnixNano))
+ i--
+ dAtA[i] = 0x11
+ }
+ if len(m.ProfileId) > 0 {
+ i -= len(m.ProfileId)
+ copy(dAtA[i:], m.ProfileId)
+ i = encodeVarintProfiles(dAtA, i, uint64(len(m.ProfileId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintProfiles(dAtA []byte, offset int, v uint64) int {
+ offset -= sovProfiles(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *ProfilesData) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.ResourceProfiles) > 0 {
+ for _, e := range m.ResourceProfiles {
+ l = e.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ResourceProfiles) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.Resource.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ if len(m.ScopeProfiles) > 0 {
+ for _, e := range m.ScopeProfiles {
+ l = e.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ }
+ l = len(m.SchemaUrl)
+ if l > 0 {
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ return n
+}
+
+func (m *ScopeProfiles) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.Scope.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ if len(m.Profiles) > 0 {
+ for _, e := range m.Profiles {
+ l = e.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ }
+ l = len(m.SchemaUrl)
+ if l > 0 {
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ return n
+}
+
+func (m *ProfileContainer) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ProfileId)
+ if l > 0 {
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ if m.StartTimeUnixNano != 0 {
+ n += 9
+ }
+ if m.EndTimeUnixNano != 0 {
+ n += 9
+ }
+ if len(m.Attributes) > 0 {
+ for _, e := range m.Attributes {
+ l = e.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ }
+ if m.DroppedAttributesCount != 0 {
+ n += 1 + sovProfiles(uint64(m.DroppedAttributesCount))
+ }
+ l = len(m.OriginalPayloadFormat)
+ if l > 0 {
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ l = len(m.OriginalPayload)
+ if l > 0 {
+ n += 1 + l + sovProfiles(uint64(l))
+ }
+ l = m.Profile.Size()
+ n += 1 + l + sovProfiles(uint64(l))
+ return n
+}
+
+func sovProfiles(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozProfiles(x uint64) (n int) {
+ return sovProfiles(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *ProfilesData) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ProfilesData: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ProfilesData: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceProfiles", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ResourceProfiles = append(m.ResourceProfiles, &ResourceProfiles{})
+ if err := m.ResourceProfiles[len(m.ResourceProfiles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfiles(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceProfiles) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceProfiles: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceProfiles: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ScopeProfiles", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ScopeProfiles = append(m.ScopeProfiles, &ScopeProfiles{})
+ if err := m.ScopeProfiles[len(m.ScopeProfiles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SchemaUrl", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SchemaUrl = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfiles(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ScopeProfiles) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ScopeProfiles: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ScopeProfiles: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Scope.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Profiles", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Profiles = append(m.Profiles, &ProfileContainer{})
+ if err := m.Profiles[len(m.Profiles)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SchemaUrl", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SchemaUrl = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfiles(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ProfileContainer) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ProfileContainer: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ProfileContainer: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ProfileId", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ProfileId = append(m.ProfileId[:0], dAtA[iNdEx:postIndex]...)
+ if m.ProfileId == nil {
+ m.ProfileId = []byte{}
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 1 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StartTimeUnixNano", wireType)
+ }
+ m.StartTimeUnixNano = 0
+ if (iNdEx + 8) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.StartTimeUnixNano = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
+ iNdEx += 8
+ case 3:
+ if wireType != 1 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EndTimeUnixNano", wireType)
+ }
+ m.EndTimeUnixNano = 0
+ if (iNdEx + 8) > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.EndTimeUnixNano = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
+ iNdEx += 8
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Attributes = append(m.Attributes, v11.KeyValue{})
+ if err := m.Attributes[len(m.Attributes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DroppedAttributesCount", wireType)
+ }
+ m.DroppedAttributesCount = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.DroppedAttributesCount |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OriginalPayloadFormat", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OriginalPayloadFormat = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OriginalPayload", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OriginalPayload = append(m.OriginalPayload[:0], dAtA[iNdEx:postIndex]...)
+ if m.OriginalPayload == nil {
+ m.OriginalPayload = []byte{}
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Profile", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Profile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProfiles(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProfiles
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipProfiles(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProfiles
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthProfiles
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupProfiles
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthProfiles
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthProfiles = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowProfiles = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupProfiles = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/proto_patch.sed b/proto_patch.sed
index 4130ca2b12b..47dd40af35a 100644
--- a/proto_patch.sed
+++ b/proto_patch.sed
@@ -1,6 +1,6 @@
s+go.opentelemetry.io/proto/otlp/+go.opentelemetry.io/collector/pdata/internal/data/protogen/+g
-s+package opentelemetry.proto.\(.*\).v1;+package opentelemetry.proto.\1.v1;\
+s+package opentelemetry.proto.\(.*\).v\(.*\);+package opentelemetry.proto.\1.v\2;\
\
import "gogoproto/gogo.proto";+g
@@ -47,3 +47,39 @@ s+optional \(.*\) \(.*\) = \(.*\);+ oneof \2_ { \1 \2 = \3;}+g
s+\(.*\)PartialSuccess partial_success = \(.*\);+\1PartialSuccess partial_success = \2\
[ (gogoproto.nullable) = false ];+g
+
+#
+# Profiles replacements
+#
+s+opentelemetry.proto.profiles.v1experimental.Profile \(.*\);+opentelemetry.proto.profiles.v1experimental.Profile \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated ValueType \(.*\);+repeated ValueType \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Sample \(.*\);+repeated Sample \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Mapping \(.*\);+repeated Mapping \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Location \(.*\);+repeated Location \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Label \(.*\);+repeated Label \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Function \(.*\);+repeated Function \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated AttributeUnit \(.*\);+repeated AttributeUnit \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Link link_table \(.*\);+repeated Link link_table \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+repeated Line \(.*\);+repeated Line \1\
+ [ (gogoproto.nullable) = false ];+g
+
+s+ValueType period_type \(.*\);+ValueType period_type \1\
+ [ (gogoproto.nullable) = false ];+g
From afa1988dcf5a8afca374b953b63f6d6b06fac1ca Mon Sep 17 00:00:00 2001
From: Damien Mathieu <42@dmathieu.com>
Date: Thu, 16 May 2024 15:35:13 +0200
Subject: [PATCH 041/111] Upgrade the used otlp version in readme (#10167)
#### Description
We upgraded the proto version, so we need to upgrade it in the readme as
well.
#### Link to tracking issue
*
https://github.com/open-telemetry/opentelemetry-collector/pull/10109#pullrequestreview-2058708683
* https://github.com/open-telemetry/opentelemetry-collector/pull/10155
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 442e476a81c..c5a336384f0 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@
-
+
@@ -61,7 +61,7 @@ Objectives:
## Supported OTLP version
-This code base is currently built against using OTLP protocol v1.1.0,
+This code base is currently built against using OTLP protocol v1.3.1,
considered Stable. [See the OpenTelemetry Protocol Stability
definition
here.](https://github.com/open-telemetry/opentelemetry-proto?tab=readme-ov-file#stability-definition)
From 078f539b5813b03b88846deab66c54c85dbd23db Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 16 May 2024 06:42:56 -0700
Subject: [PATCH 042/111] [chore] appease versioning warnings (#10163)
as per dependabot security recommendations
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.github/workflows/build-and-test-arm.yml | 6 +++---
.github/workflows/build-and-test.yml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
index 74acd25e1e0..06fe7e3ea06 100644
--- a/.github/workflows/build-and-test-arm.yml
+++ b/.github/workflows/build-and-test-arm.yml
@@ -23,15 +23,15 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
runs-on: actuated-arm64-4cpu-4gb
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-go@v5
+ - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "~1.22.3"
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
- uses: actions/cache@v4
+ uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
~/go/bin
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index ab10a82e35a..b6fb861046e 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -143,12 +143,12 @@ jobs:
needs: [setup-environment]
steps:
- name: Set up arkade
- uses: alexellis/setup-arkade@v3
+ uses: alexellis/setup-arkade@b1816384b2260cfd2c023c6798d26075786cfc7f # v3
- name: Install vmmeter
run: |
sudo -E arkade oci install ghcr.io/openfaasltd/vmmeter:latest --path /usr/local/bin/
- name: Run vmmeter
- uses: self-actuated/vmmeter-action@v1
+ uses: self-actuated/vmmeter-action@c7e2162e39294a810cab647cacc215ecd68a44f6 # v1
- name: Checkout Repo
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Setup Go
From a2fa3d700491e7ae6bf71184bbb4c19fc849cd2d Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 16 May 2024 07:45:34 -0700
Subject: [PATCH 043/111] [chore] set permissions to read explicitly (#10164)
This is as recommended by dependabot security warnings.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.github/workflows/build-and-test-arm.yml | 3 +++
.github/workflows/build-and-test.yml | 3 +++
2 files changed, 6 insertions(+)
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
index 06fe7e3ea06..7c89465d473 100644
--- a/.github/workflows/build-and-test-arm.yml
+++ b/.github/workflows/build-and-test-arm.yml
@@ -13,6 +13,9 @@ env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
GOPROXY: https://goproxy1.cncf.selfactuated.dev,direct
+permissions:
+ contents: read
+
# Do not cancel this workflow on main. See https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/16616
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index b6fb861046e..d3c7163c908 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -6,6 +6,9 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+*"
pull_request:
+permissions:
+ contents: read
+
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
From 1c6f28f3304eacffa7efacb4ced03d05f2119d35 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 16 May 2024 13:15:27 -0700
Subject: [PATCH 044/111] [mdatagen] add support for async instruments (#10159)
This PR adds the ability to configure asynchronous (observable)
instruments via mdatagen. This requires providing a mechanism to set
options to pass in the callbacks that will be called at the time of the
observation.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../internal/metadata/generated_telemetry.go | 27 +++++++++++++--
.../metadata/generated_telemetry_test.go | 13 ++++++++
.../internal/samplereceiver/metadata.yaml | 8 +++++
cmd/mdatagen/loader_test.go | 12 +++++++
cmd/mdatagen/metricdata.go | 28 +++++++++++++++-
cmd/mdatagen/metricdata_test.go | 33 +++++++++++++------
cmd/mdatagen/templates/telemetry.go.tmpl | 24 ++++++++++++++
cmd/mdatagen/templates/telemetry_test.go.tmpl | 15 +++++++++
.../internal/metadata/generated_telemetry.go | 3 ++
.../metadata/generated_telemetry_test.go | 13 ++++++++
.../internal/metadata/generated_telemetry.go | 3 ++
.../metadata/generated_telemetry_test.go | 13 ++++++++
.../internal/metadata/generated_telemetry.go | 3 ++
.../metadata/generated_telemetry_test.go | 13 ++++++++
.../internal/metadata/generated_telemetry.go | 3 ++
.../metadata/generated_telemetry_test.go | 13 ++++++++
.../internal/metadata/generated_telemetry.go | 3 ++
.../metadata/generated_telemetry_test.go | 13 ++++++++
18 files changed, 227 insertions(+), 13 deletions(-)
diff --git a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
index d916f8b40bb..86a50251b2d 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
@@ -3,6 +3,7 @@
package metadata
import (
+ "context"
"errors"
"go.opentelemetry.io/otel/metric"
@@ -22,17 +23,29 @@ func Tracer(settings component.TelemetrySettings) trace.Tracer {
// TelemetryBuilder provides an interface for components to report telemetry
// as defined in metadata and user config.
type TelemetryBuilder struct {
- BatchSizeTriggerSend metric.Int64Counter
- RequestDuration metric.Float64Histogram
+ BatchSizeTriggerSend metric.Int64Counter
+ ProcessRuntimeTotalAllocBytes metric.Int64ObservableCounter
+ observeProcessRuntimeTotalAllocBytes func() int64
+ RequestDuration metric.Float64Histogram
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithProcessRuntimeTotalAllocBytesCallback sets callback for observable ProcessRuntimeTotalAllocBytes metric.
+func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessRuntimeTotalAllocBytes = cb
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.BatchSizeTriggerSend, err = meter.Int64Counter(
@@ -41,6 +54,16 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
metric.WithUnit("1"),
)
errs = errors.Join(errs, err)
+ builder.ProcessRuntimeTotalAllocBytes, err = meter.Int64ObservableCounter(
+ "process_runtime_total_alloc_bytes",
+ metric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
+ metric.WithUnit("By"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessRuntimeTotalAllocBytes())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
builder.RequestDuration, err = meter.Float64Histogram(
"request_duration",
metric.WithDescription("Duration of request"),
diff --git a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry_test.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry_test.go
index cfdc5ab89e3..da03a267c62 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry_test.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/cmd/mdatagen/internal/samplereceiver/metadata.yaml b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
index 9394b54fcc8..824b1e0ecae 100644
--- a/cmd/mdatagen/internal/samplereceiver/metadata.yaml
+++ b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
@@ -165,3 +165,11 @@ telemetry:
unit: s
histogram:
value_type: double
+ process_runtime_total_alloc_bytes:
+ enabled: true
+ description: Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
+ unit: By
+ sum:
+ async: true
+ value_type: int
+ monotonic: true
diff --git a/cmd/mdatagen/loader_test.go b/cmd/mdatagen/loader_test.go
index ee720d8ce54..0c32493d283 100644
--- a/cmd/mdatagen/loader_test.go
+++ b/cmd/mdatagen/loader_test.go
@@ -250,6 +250,18 @@ func TestLoadMetadata(t *testing.T) {
MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeDouble},
},
},
+ "process_runtime_total_alloc_bytes": {
+ Enabled: true,
+ Description: "Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')",
+ Unit: strPtr("By"),
+ Sum: &sum{
+ Mono: Mono{true},
+ MetricValueType: MetricValueType{
+ ValueType: pmetric.NumberDataPointValueTypeInt,
+ },
+ Async: true,
+ },
+ },
},
},
ScopeName: "go.opentelemetry.io/collector/internal/receiver/samplereceiver",
diff --git a/cmd/mdatagen/metricdata.go b/cmd/mdatagen/metricdata.go
index c011be6db7a..2acf4b77b3b 100644
--- a/cmd/mdatagen/metricdata.go
+++ b/cmd/mdatagen/metricdata.go
@@ -27,6 +27,7 @@ type MetricData interface {
HasAggregated() bool
HasMetricInputType() bool
Instrument() string
+ IsAsync() bool
}
// AggregationTemporality defines a metric aggregation type.
@@ -123,6 +124,7 @@ func (mvt MetricValueType) BasicType() string {
type gauge struct {
MetricValueType `mapstructure:"value_type"`
MetricInputType `mapstructure:",squash"`
+ Async bool `mapstructure:"async,omitempty"`
}
// Unmarshal is a custom unmarshaler for gauge. Needed mostly to avoid MetricValueType.Unmarshal inheritance.
@@ -146,7 +148,18 @@ func (d gauge) HasAggregated() bool {
}
func (d gauge) Instrument() string {
- return ""
+ instrumentName := cases.Title(language.English).String(d.MetricValueType.BasicType())
+
+ if d.Async {
+ instrumentName += "Observable"
+ }
+
+ instrumentName += "Gauge"
+ return instrumentName
+}
+
+func (d gauge) IsAsync() bool {
+ return d.Async
}
type sum struct {
@@ -154,6 +167,7 @@ type sum struct {
Mono `mapstructure:",squash"`
MetricValueType `mapstructure:"value_type"`
MetricInputType `mapstructure:",squash"`
+ Async bool `mapstructure:"async,omitempty"`
}
// Unmarshal is a custom unmarshaler for sum. Needed mostly to avoid MetricValueType.Unmarshal inheritance.
@@ -190,6 +204,9 @@ func (d sum) HasAggregated() bool {
func (d sum) Instrument() string {
instrumentName := cases.Title(language.English).String(d.MetricValueType.BasicType())
+ if d.Async {
+ instrumentName += "Observable"
+ }
if !d.Monotonic {
instrumentName += "UpDown"
}
@@ -197,11 +214,16 @@ func (d sum) Instrument() string {
return instrumentName
}
+func (d sum) IsAsync() bool {
+ return d.Async
+}
+
type histogram struct {
AggregationTemporality `mapstructure:"aggregation_temporality"`
Mono `mapstructure:",squash"`
MetricValueType `mapstructure:"value_type"`
MetricInputType `mapstructure:",squash"`
+ Async bool `mapstructure:"async,omitempty"`
}
func (d histogram) Type() string {
@@ -228,3 +250,7 @@ func (d *histogram) Unmarshal(parser *confmap.Conf) error {
}
return parser.Unmarshal(d, confmap.WithIgnoreUnused())
}
+
+func (d histogram) IsAsync() bool {
+ return d.Async
+}
diff --git a/cmd/mdatagen/metricdata_test.go b/cmd/mdatagen/metricdata_test.go
index fc67af4e074..1e56afff27c 100644
--- a/cmd/mdatagen/metricdata_test.go
+++ b/cmd/mdatagen/metricdata_test.go
@@ -7,21 +7,34 @@ import (
"testing"
"github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/pmetric"
)
func TestMetricData(t *testing.T) {
for _, arg := range []struct {
- metricData MetricData
- typ string
- hasAggregated bool
- hasMonotonic bool
+ metricData MetricData
+ wantType string
+ wantHasAggregated bool
+ wantHasMonotonic bool
+ wantInstrument string
+ wantAsync bool
}{
- {&gauge{}, "Gauge", false, false},
- {&sum{}, "Sum", true, true},
- {&histogram{}, "Histogram", false, false},
+ {&gauge{}, "Gauge", false, false, "Gauge", false},
+ {&gauge{Async: true}, "Gauge", false, false, "ObservableGauge", true},
+ {&gauge{MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeInt}, Async: true}, "Gauge", false, false, "Int64ObservableGauge", true},
+ {&gauge{MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeDouble}, Async: true}, "Gauge", false, false, "Float64ObservableGauge", true},
+ {&sum{}, "Sum", true, true, "UpDownCounter", false},
+ {&sum{Mono: Mono{true}}, "Sum", true, true, "Counter", false},
+ {&sum{Async: true}, "Sum", true, true, "ObservableUpDownCounter", true},
+ {&sum{MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeInt}, Async: true}, "Sum", true, true, "Int64ObservableUpDownCounter", true},
+ {&sum{MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeDouble}, Async: true}, "Sum", true, true, "Float64ObservableUpDownCounter", true},
+ {&histogram{}, "Histogram", false, false, "Histogram", false},
} {
- assert.Equal(t, arg.typ, arg.metricData.Type())
- assert.Equal(t, arg.hasAggregated, arg.metricData.HasAggregated())
- assert.Equal(t, arg.hasMonotonic, arg.metricData.HasMonotonic())
+ assert.Equal(t, arg.wantType, arg.metricData.Type())
+ assert.Equal(t, arg.wantHasAggregated, arg.metricData.HasAggregated())
+ assert.Equal(t, arg.wantHasMonotonic, arg.metricData.HasMonotonic())
+ assert.Equal(t, arg.wantInstrument, arg.metricData.Instrument())
+ assert.Equal(t, arg.wantAsync, arg.metricData.IsAsync())
}
}
diff --git a/cmd/mdatagen/templates/telemetry.go.tmpl b/cmd/mdatagen/templates/telemetry.go.tmpl
index 5d72cabe316..5643b66967f 100644
--- a/cmd/mdatagen/templates/telemetry.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry.go.tmpl
@@ -4,6 +4,7 @@ package {{ .Package }}
import (
{{- if .Telemetry.Metrics }}
+ "context"
"errors"
{{- end }}
@@ -26,16 +27,33 @@ func Tracer(settings component.TelemetrySettings) trace.Tracer {
type TelemetryBuilder struct {
{{- range $name, $metric := .Telemetry.Metrics }}
{{ $name.Render }} metric.{{ $metric.Data.Instrument }}
+ {{- if $metric.Data.Async }}
+ observe{{ $name.Render }} func() {{ $metric.Data.BasicType }}
+ {{- end }}
{{- end }}
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+{{- range $name, $metric := .Telemetry.Metrics }}
+ {{ if $metric.Data.Async -}}
+// With{{ $name.Render }}Callback sets callback for observable {{ $name.Render }} metric.
+func With{{ $name.Render }}Callback(cb func() {{ $metric.Data.BasicType }}) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observe{{ $name.Render }} = cb
+ }
+}
+ {{- end }}
+{{- end }}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
{{- range $name, $metric := .Telemetry.Metrics }}
@@ -43,6 +61,12 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
"{{ $name }}",
metric.WithDescription("{{ $metric.Description }}"),
metric.WithUnit("{{ $metric.Unit }}"),
+ {{ if $metric.Data.Async -}}
+ metric.With{{ casesTitle $metric.Data.BasicType }}Callback(func(_ context.Context, o metric.{{ casesTitle $metric.Data.BasicType }}Observer) error {
+ o.Observe(builder.observe{{ $name.Render }}())
+ return nil
+ }),
+ {{- end }}
)
errs = errors.Join(errs, err)
{{- end }}
diff --git a/cmd/mdatagen/templates/telemetry_test.go.tmpl b/cmd/mdatagen/templates/telemetry_test.go.tmpl
index 073a53d2aec..ed10dbae08b 100644
--- a/cmd/mdatagen/templates/telemetry_test.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry_test.go.tmpl
@@ -61,3 +61,18 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+{{- if .Telemetry.Metrics }}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
+{{- end }}
diff --git a/exporter/exporterhelper/internal/metadata/generated_telemetry.go b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
index c74090acb7d..d2d0339d776 100644
--- a/exporter/exporterhelper/internal/metadata/generated_telemetry.go
+++ b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
@@ -40,6 +40,9 @@ type telemetryBuilderOption func(*TelemetryBuilder)
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.ExporterEnqueueFailedLogRecords, err = meter.Int64Counter(
diff --git a/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go b/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
index 7fd14058b3a..34ce1d281f5 100644
--- a/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
+++ b/exporter/exporterhelper/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry.go b/processor/batchprocessor/internal/metadata/generated_telemetry.go
index a35d095dd51..b0394550566 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry.go
@@ -35,6 +35,9 @@ type telemetryBuilderOption func(*TelemetryBuilder)
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.ProcessorBatchBatchSendSize, err = meter.Int64Histogram(
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry_test.go b/processor/batchprocessor/internal/metadata/generated_telemetry_test.go
index 22002cbff85..6480073f1dc 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry_test.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/processor/processorhelper/internal/metadata/generated_telemetry.go b/processor/processorhelper/internal/metadata/generated_telemetry.go
index cf496bb3504..e32610d463d 100644
--- a/processor/processorhelper/internal/metadata/generated_telemetry.go
+++ b/processor/processorhelper/internal/metadata/generated_telemetry.go
@@ -40,6 +40,9 @@ type telemetryBuilderOption func(*TelemetryBuilder)
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.ProcessorAcceptedLogRecords, err = meter.Int64Counter(
diff --git a/processor/processorhelper/internal/metadata/generated_telemetry_test.go b/processor/processorhelper/internal/metadata/generated_telemetry_test.go
index 8f0846b7663..1fb64bf6023 100644
--- a/processor/processorhelper/internal/metadata/generated_telemetry_test.go
+++ b/processor/processorhelper/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/receiver/receiverhelper/internal/metadata/generated_telemetry.go b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
index 5226a3d64b4..96b5b5b5fe6 100644
--- a/receiver/receiverhelper/internal/metadata/generated_telemetry.go
+++ b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
@@ -37,6 +37,9 @@ type telemetryBuilderOption func(*TelemetryBuilder)
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.ReceiverAcceptedLogRecords, err = meter.Int64Counter(
diff --git a/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go b/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
index 842c86838aa..65b40921527 100644
--- a/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
+++ b/receiver/receiverhelper/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/receiver/scraperhelper/internal/metadata/generated_telemetry.go b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
index 6c76bccd5f3..4aa060e9c33 100644
--- a/receiver/scraperhelper/internal/metadata/generated_telemetry.go
+++ b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
@@ -33,6 +33,9 @@ type telemetryBuilderOption func(*TelemetryBuilder)
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
var err, errs error
meter := Meter(settings)
builder.ScraperErroredMetricPoints, err = meter.Int64Counter(
diff --git a/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go b/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
index d182ec9776e..4973ec82ec9 100644
--- a/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
+++ b/receiver/scraperhelper/internal/metadata/generated_telemetry_test.go
@@ -61,3 +61,16 @@ func TestProviders(t *testing.T) {
require.Fail(t, "returned Meter not mockTracer")
}
}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
From 8b783f07846d7fbe8402dfd502dcc56b58f1e486 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 16 May 2024 14:49:28 -0700
Subject: [PATCH 045/111] [mdatagen] update mdatagen to document internal
telemetry (#10170)
This allows end users to see what telemetry each component should be
emitting.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
...eboten_mdatagen-docs-internal-metrics.yaml | 25 ++++++
.../internal/samplereceiver/documentation.md | 20 +++++
cmd/mdatagen/main.go | 68 ++++++++--------
cmd/mdatagen/templates/documentation.md.tmpl | 42 ++++++++++
exporter/exporterhelper/documentation.md | 79 +++++++++++++++++++
processor/batchprocessor/documentation.md | 39 +++++++++
processor/processorhelper/documentation.md | 79 +++++++++++++++++++
receiver/receiverhelper/documentation.md | 55 +++++++++++++
receiver/scraperhelper/documentation.md | 23 ++++++
9 files changed, 393 insertions(+), 37 deletions(-)
create mode 100644 .chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
create mode 100644 exporter/exporterhelper/documentation.md
create mode 100644 processor/batchprocessor/documentation.md
create mode 100644 processor/processorhelper/documentation.md
create mode 100644 receiver/receiverhelper/documentation.md
create mode 100644 receiver/scraperhelper/documentation.md
diff --git a/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml b/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
new file mode 100644
index 00000000000..f07222d318f
--- /dev/null
+++ b/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: generate documentation for internal telemetry
+
+# One or more tracking issues or pull requests related to the change
+issues: [10170]
+
+# (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:
+
+# 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/cmd/mdatagen/internal/samplereceiver/documentation.md b/cmd/mdatagen/internal/samplereceiver/documentation.md
index 60a79a7941a..c45c017fc6d 100644
--- a/cmd/mdatagen/internal/samplereceiver/documentation.md
+++ b/cmd/mdatagen/internal/samplereceiver/documentation.md
@@ -112,3 +112,23 @@ metrics:
| string.resource.attr_disable_warning | Resource attribute with any string value. | Any Str | true |
| string.resource.attr_remove_warning | Resource attribute with any string value. | Any Str | false |
| string.resource.attr_to_be_removed | Resource attribute with any string value. | Any Str | true |
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### batch_size_trigger_send
+
+Number of times the batch was sent due to a size trigger
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### request_duration
+
+Duration of request
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| s | Histogram | Double |
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index 963ae695b72..bb588aea8eb 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -85,13 +85,19 @@ func run(ymlPath string) error {
}
}
- if len(md.Telemetry.Metrics) != 0 {
- if err = generateFile(filepath.Join(tmplDir, "telemetry.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "telemetry_test.go.tmpl"),
- filepath.Join(codeDir, "generated_telemetry_test.go"), md, "metadata"); err != nil {
+ toGenerate := map[string]string{}
+
+ if len(md.Telemetry.Metrics) != 0 { // if there are telemetry metrics, generate telemetry specific files
+ toGenerate[filepath.Join(tmplDir, "telemetry.go.tmpl")] = filepath.Join(codeDir, "generated_telemetry.go")
+ toGenerate[filepath.Join(tmplDir, "telemetry_test.go.tmpl")] = filepath.Join(codeDir, "generated_telemetry_test.go")
+ }
+
+ if len(md.Metrics) != 0 || len(md.Telemetry.Metrics) != 0 { // if there's metrics or internal metrics, generate documentation for them
+ toGenerate[filepath.Join(tmplDir, "documentation.md.tmpl")] = filepath.Join(ymlDir, "documentation.md")
+ }
+
+ for tmpl, dst := range toGenerate {
+ if err = generateFile(tmpl, dst, md, "metadata"); err != nil {
return err
}
}
@@ -103,45 +109,30 @@ func run(ymlPath string) error {
if err = os.MkdirAll(filepath.Join(codeDir, "testdata"), 0700); err != nil {
return fmt.Errorf("unable to create output directory %q: %w", filepath.Join(codeDir, "testdata"), err)
}
- if err = generateFile(filepath.Join(tmplDir, "testdata", "config.yaml.tmpl"),
- filepath.Join(codeDir, "testdata", "config.yaml"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "config.go.tmpl"),
- filepath.Join(codeDir, "generated_config.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "config_test.go.tmpl"),
- filepath.Join(codeDir, "generated_config_test.go"), md, "metadata"); err != nil {
- return err
+ toGenerate = map[string]string{
+ filepath.Join(tmplDir, "testdata", "config.yaml.tmpl"): filepath.Join(codeDir, "testdata", "config.yaml"),
+ filepath.Join(tmplDir, "config.go.tmpl"): filepath.Join(codeDir, "generated_config.go"),
+ filepath.Join(tmplDir, "config_test.go.tmpl"): filepath.Join(codeDir, "generated_config_test.go"),
}
- if len(md.ResourceAttributes) > 0 {
- if err = generateFile(filepath.Join(tmplDir, "resource.go.tmpl"),
- filepath.Join(codeDir, "generated_resource.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "resource_test.go.tmpl"),
- filepath.Join(codeDir, "generated_resource_test.go"), md, "metadata"); err != nil {
- return err
- }
+ if len(md.ResourceAttributes) > 0 { // only generate resource files if resource attributes are configured
+ toGenerate[filepath.Join(tmplDir, "resource.go.tmpl")] = filepath.Join(codeDir, "generated_resource.go")
+ toGenerate[filepath.Join(tmplDir, "resource_test.go.tmpl")] = filepath.Join(codeDir, "generated_resource_test.go")
}
- if len(md.Metrics) == 0 {
- return nil
+ if len(md.Metrics) > 0 { // only generate metrics if metrics are present
+ toGenerate[filepath.Join(tmplDir, "metrics.go.tmpl")] = filepath.Join(codeDir, "generated_metrics.go")
+ toGenerate[filepath.Join(tmplDir, "metrics_test.go.tmpl")] = filepath.Join(codeDir, "generated_metrics_test.go")
}
- if err = generateFile(filepath.Join(tmplDir, "metrics.go.tmpl"),
- filepath.Join(codeDir, "generated_metrics.go"), md, "metadata"); err != nil {
- return err
- }
- if err = generateFile(filepath.Join(tmplDir, "metrics_test.go.tmpl"),
- filepath.Join(codeDir, "generated_metrics_test.go"), md, "metadata"); err != nil {
- return err
+ for tmpl, dst := range toGenerate {
+ if err = generateFile(tmpl, dst, md, "metadata"); err != nil {
+ return err
+ }
}
- return generateFile(filepath.Join(tmplDir, "documentation.md.tmpl"), filepath.Join(ymlDir, "documentation.md"), md, "metadata")
+ return nil
}
func templatize(tmplFile string, md metadata) *template.Template {
@@ -159,6 +150,9 @@ func templatize(tmplFile string, md metadata) *template.Template {
"metricInfo": func(mn metricName) metric {
return md.Metrics[mn]
},
+ "telemetryInfo": func(mn metricName) metric {
+ return md.Telemetry.Metrics[mn]
+ },
"parseImportsRequired": func(metrics map[metricName]metric) bool {
for _, m := range metrics {
if m.Data().HasMetricInputType() {
diff --git a/cmd/mdatagen/templates/documentation.md.tmpl b/cmd/mdatagen/templates/documentation.md.tmpl
index eda8dc9fffe..9793bf0e4d0 100644
--- a/cmd/mdatagen/templates/documentation.md.tmpl
+++ b/cmd/mdatagen/templates/documentation.md.tmpl
@@ -32,6 +32,28 @@
{{- end }}
+{{- end -}}
+
+{{- define "telemetry-documentation" -}}
+{{- $metricName := . }}
+{{- $metric := $metricName | telemetryInfo -}}
+
+### {{ $metricName }}
+
+{{ $metric.Description }}
+
+{{- if $metric.ExtendedDocumentation }}
+
+{{ $metric.ExtendedDocumentation }}
+
+{{- end }}
+
+| Unit | Metric Type | Value Type |{{ if $metric.Data.HasMonotonic }} Monotonic |{{ end }}
+| ---- | ----------- | ---------- |{{ if $metric.Data.HasMonotonic }} --------- |{{ end }}
+| {{ $metric.Unit }} | {{ $metric.Data.Type }} | {{ $metric.Data.MetricValueType }} |
+{{- if $metric.Data.HasMonotonic }} {{ $metric.Data.Monotonic }} |{{ end }}
+
+
{{- end -}}
[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
@@ -43,6 +65,8 @@
**Parent Component:** {{ .Parent }}
{{- end }}
+{{- if .Metrics }}
+
## Default Metrics
The following metrics are emitted by default. Each of them can be disabled by applying the following configuration:
@@ -53,6 +77,8 @@ metrics:
enabled: false
```
+{{- end }}
+
{{- range $metricName, $metric := .Metrics }}
{{- if $metric.Enabled }}
@@ -96,3 +122,19 @@ metrics:
{{- end }}
{{- end }}
+
+{{- if .Telemetry.Metrics }}
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+{{- range $metricName, $metric := .Telemetry.Metrics }}
+{{- if $metric.Enabled }}
+
+{{ template "telemetry-documentation" $metricName }}
+
+{{- end }}
+{{- end }}
+
+{{- end }}
diff --git a/exporter/exporterhelper/documentation.md b/exporter/exporterhelper/documentation.md
new file mode 100644
index 00000000000..ac974e01dd2
--- /dev/null
+++ b/exporter/exporterhelper/documentation.md
@@ -0,0 +1,79 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# exporterhelper
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### exporter_enqueue_failed_log_records
+
+Number of log records failed to be added to the sending queue.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_enqueue_failed_metric_points
+
+Number of metric points failed to be added to the sending queue.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_enqueue_failed_spans
+
+Number of spans failed to be added to the sending queue.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_send_failed_log_records
+
+Number of log records in failed attempts to send to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_send_failed_metric_points
+
+Number of metric points in failed attempts to send to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_send_failed_spans
+
+Number of spans in failed attempts to send to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_sent_log_records
+
+Number of log record successfully sent to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_sent_metric_points
+
+Number of metric points successfully sent to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### exporter_sent_spans
+
+Number of spans successfully sent to destination.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
diff --git a/processor/batchprocessor/documentation.md b/processor/batchprocessor/documentation.md
new file mode 100644
index 00000000000..294dc29942f
--- /dev/null
+++ b/processor/batchprocessor/documentation.md
@@ -0,0 +1,39 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# batch
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### processor_batch_batch_send_size
+
+Number of units in the batch
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| 1 | Histogram | Int |
+
+### processor_batch_batch_send_size_bytes
+
+Number of bytes in batch that was sent
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| By | Histogram | Int |
+
+### processor_batch_batch_size_trigger_send
+
+Number of times the batch was sent due to a size trigger
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_batch_timeout_trigger_send
+
+Number of times the batch was sent due to a timeout trigger
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
diff --git a/processor/processorhelper/documentation.md b/processor/processorhelper/documentation.md
new file mode 100644
index 00000000000..073fc9a7219
--- /dev/null
+++ b/processor/processorhelper/documentation.md
@@ -0,0 +1,79 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# processorhelper
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### processor_accepted_log_records
+
+Number of log records successfully pushed into the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_accepted_metric_points
+
+Number of metric points successfully pushed into the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_accepted_spans
+
+Number of spans successfully pushed into the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_dropped_log_records
+
+Number of log records that were dropped.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_dropped_metric_points
+
+Number of metric points that were dropped.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_dropped_spans
+
+Number of spans that were dropped.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_refused_log_records
+
+Number of log records that were rejected by the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_refused_metric_points
+
+Number of metric points that were rejected by the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### processor_refused_spans
+
+Number of spans that were rejected by the next component in the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
diff --git a/receiver/receiverhelper/documentation.md b/receiver/receiverhelper/documentation.md
new file mode 100644
index 00000000000..457a856618e
--- /dev/null
+++ b/receiver/receiverhelper/documentation.md
@@ -0,0 +1,55 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# receiverhelper
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### receiver_accepted_log_records
+
+Number of log records successfully pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### receiver_accepted_metric_points
+
+Number of metric points successfully pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### receiver_accepted_spans
+
+Number of spans successfully pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### receiver_refused_log_records
+
+Number of log records that could not be pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### receiver_refused_metric_points
+
+Number of metric points that could not be pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### receiver_refused_spans
+
+Number of spans that could not be pushed into the pipeline.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
diff --git a/receiver/scraperhelper/documentation.md b/receiver/scraperhelper/documentation.md
new file mode 100644
index 00000000000..b3f2ae00b94
--- /dev/null
+++ b/receiver/scraperhelper/documentation.md
@@ -0,0 +1,23 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# scraperhelper
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### scraper_errored_metric_points
+
+Number of metric points that were unable to be scraped.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
+
+### scraper_scraped_metric_points
+
+Number of metric points successfully scraped.
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | true |
From 1cf436bf7fb03285587daca627cf4b6d0fae24fd Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Fri, 17 May 2024 06:34:16 -0700
Subject: [PATCH 046/111] [chore] make gogenerate (#10171)
documentation needed to be regenerated
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
cmd/mdatagen/internal/samplereceiver/documentation.md | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/cmd/mdatagen/internal/samplereceiver/documentation.md b/cmd/mdatagen/internal/samplereceiver/documentation.md
index c45c017fc6d..bfd994dd1b5 100644
--- a/cmd/mdatagen/internal/samplereceiver/documentation.md
+++ b/cmd/mdatagen/internal/samplereceiver/documentation.md
@@ -125,6 +125,14 @@ Number of times the batch was sent due to a size trigger
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
+### process_runtime_total_alloc_bytes
+
+Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| By | Sum | Int | true |
+
### request_duration
Duration of request
From a0cd9cebaa5d412ffa39d9d6db0445840c9eb547 Mon Sep 17 00:00:00 2001
From: Lavish Pal
Date: Mon, 20 May 2024 15:10:31 +0530
Subject: [PATCH 047/111] [chore]: fix the dead link in mdatagen (#10142)
#### Description
Fixed the deadlink in mdatagen that would cause existing functionality
to not work as expected.
#### Link to tracking issue
Fixes #10071
---
cmd/mdatagen/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/mdatagen/README.md b/cmd/mdatagen/README.md
index b2affa6c780..e4223f1233e 100644
--- a/cmd/mdatagen/README.md
+++ b/cmd/mdatagen/README.md
@@ -11,7 +11,7 @@ Examples of this metadata about a component are:
The metadata generator defines a schema for specifying this information to ensure it is complete and well-formed.
The metadata generator is then able to ingest the metadata, validate it against the schema and produce documentation in a standardized format.
-An example of how this generated documentation looks can be found in [documentation.md](./documentation.md).
+An example of how this generated documentation looks can be found in [documentation.md](https://github.com/open-telemetry/opentelemetry-collector/blob/main/cmd/mdatagen/internal/samplereceiver/documentation.md).
## Using the Metadata Generator
From e90e4bfde2ce60b328abb50e4afb0ed2182a2717 Mon Sep 17 00:00:00 2001
From: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Date: Mon, 20 May 2024 09:10:16 -0400
Subject: [PATCH 048/111] [confmap] Remove deprecated ResolverSettings fields
(#10173)
#### Description
These fields were deprecated in v0.99.0 and aren't used in any upstream
repositories.
These appear to still be used in downstream distributions. If we want to
lengthen the deprecation period for these fields, I'll open a PR to
instead set a timeline for their removal.
---
.chloggen/remove-confmap-instances.yaml | 25 +++++++++++++
confmap/resolver.go | 48 ++++++-------------------
confmap/resolver_test.go | 38 --------------------
3 files changed, 35 insertions(+), 76 deletions(-)
create mode 100644 .chloggen/remove-confmap-instances.yaml
diff --git a/.chloggen/remove-confmap-instances.yaml b/.chloggen/remove-confmap-instances.yaml
new file mode 100644
index 00000000000..5f2528d20cc
--- /dev/null
+++ b/.chloggen/remove-confmap-instances.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Remove deprecated `Providers` and `Converters` from `confmap.ResolverSettings`
+
+# One or more tracking issues or pull requests related to the change
+issues: [10173]
+
+# (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: Use `ProviderSettings` and `ConverterSettings` instead.
+
+# 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: [api]
diff --git a/confmap/resolver.go b/confmap/resolver.go
index c3de276e245..304dc3f71c3 100644
--- a/confmap/resolver.go
+++ b/confmap/resolver.go
@@ -39,12 +39,6 @@ type ResolverSettings struct {
// if a Provider is not given.
ProviderFactories []ProviderFactory
- // Providers is a map of pairs .
- // It is required to have at least one Provider.
- //
- // Deprecated: [v0.99.0] Use ProviderFactories instead
- Providers map[string]Provider
-
// ProviderSettings contains settings that will be passed to Provider
// factories when instantiating Providers.
ProviderSettings ProviderSettings
@@ -52,11 +46,6 @@ type ResolverSettings struct {
// ConverterFactories is a slice of Converter creation functions.
ConverterFactories []ConverterFactory
- // Converters is a slice of Converters.
- //
- // Deprecated: [v0.99.0] Use ConverterFactories instead
- Converters []Converter
-
// ConverterSettings contains settings that will be passed to Converter
// factories when instantiating Converters.
ConverterSettings ConverterSettings
@@ -83,11 +72,11 @@ type ResolverSettings struct {
// (see https://datatracker.ietf.org/doc/html/rfc3986). An empty "" defaults to "file" schema.
func NewResolver(set ResolverSettings) (*Resolver, error) {
if len(set.URIs) == 0 {
- return nil, errors.New("invalid map resolver config: no URIs")
+ return nil, errors.New("invalid 'confmap.ResolverSettings' configuration: no URIs")
}
- if len(set.ProviderFactories) == 0 && len(set.Providers) == 0 {
- return nil, errors.New("invalid map resolver config: no Providers")
+ if len(set.ProviderFactories) == 0 {
+ return nil, errors.New("invalid 'confmap.ResolverSettings' configuration: no Providers")
}
if set.ProviderSettings.Logger == nil {
@@ -98,32 +87,15 @@ func NewResolver(set ResolverSettings) (*Resolver, error) {
set.ConverterSettings.Logger = zap.NewNop()
}
- var providers map[string]Provider
- var converters []Converter
-
- if len(set.Providers) != 0 {
- if len(set.ProviderFactories) != 0 {
- return nil, errors.New("only one of ResolverSettings.Providers and ResolverSettings.ProviderFactories can be used")
- }
- providers = set.Providers
- } else {
- providers = make(map[string]Provider, len(set.ProviderFactories))
- for _, factory := range set.ProviderFactories {
- provider := factory.Create(set.ProviderSettings)
- providers[provider.Scheme()] = provider
- }
+ providers := make(map[string]Provider, len(set.ProviderFactories))
+ for _, factory := range set.ProviderFactories {
+ provider := factory.Create(set.ProviderSettings)
+ providers[provider.Scheme()] = provider
}
- if len(set.Converters) != 0 {
- if len(set.ConverterFactories) != 0 {
- return nil, errors.New("only one of ResolverSettings.Converters and ResolverSettings.ConverterFactories can be used")
- }
- converters = set.Converters
- } else {
- converters = make([]Converter, len(set.ConverterFactories))
- for i, factory := range set.ConverterFactories {
- converters[i] = factory.Create(set.ConverterSettings)
- }
+ converters := make([]Converter, len(set.ConverterFactories))
+ for i, factory := range set.ConverterFactories {
+ converters[i] = factory.Create(set.ConverterSettings)
}
// Safe copy, ensures the slices and maps cannot be changed from the caller.
diff --git a/confmap/resolver_test.go b/confmap/resolver_test.go
index d0218d01f3d..3a162c85247 100644
--- a/confmap/resolver_test.go
+++ b/confmap/resolver_test.go
@@ -382,44 +382,6 @@ func TestResolverShutdownClosesWatch(t *testing.T) {
watcherWG.Wait()
}
-func TestCantConfigureTwoProviderSettings(t *testing.T) {
- _, err := NewResolver(ResolverSettings{
- URIs: []string{filepath.Join("testdata", "config.yaml")},
- ProviderFactories: []ProviderFactory{newFileProvider(t)},
- Providers: map[string]Provider{"mock": &mockProvider{}},
- ConverterFactories: nil,
- })
- require.Error(t, err)
-}
-
-func TestCantConfigureTwoConverterSettings(t *testing.T) {
- _, err := NewResolver(ResolverSettings{
- URIs: []string{filepath.Join("testdata", "config.yaml")},
- ProviderFactories: []ProviderFactory{newFileProvider(t)},
- ConverterFactories: []ConverterFactory{NewConverterFactory(func(_ ConverterSettings) Converter { return &mockConverter{} })},
- Converters: []Converter{&mockConverter{err: errors.New("converter_err")}},
- })
- require.Error(t, err)
-}
-
-func TestTakesInstantiatedProviders(t *testing.T) {
- _, err := NewResolver(ResolverSettings{
- URIs: []string{filepath.Join("testdata", "config.yaml")},
- Providers: map[string]Provider{"mock": &mockProvider{}},
- ConverterFactories: nil,
- })
- require.NoError(t, err)
-}
-
-func TestTakesInstantiatedConverters(t *testing.T) {
- _, err := NewResolver(ResolverSettings{
- URIs: []string{filepath.Join("testdata", "config.yaml")},
- ProviderFactories: []ProviderFactory{newFileProvider(t)},
- Converters: []Converter{&mockConverter{err: errors.New("converter_err")}},
- })
- require.NoError(t, err)
-}
-
func TestProvidesDefaultLogger(t *testing.T) {
factory, provider := newObservableFileProvider(t)
_, err := NewResolver(ResolverSettings{
From b2d5ad187825e0a3d3278ea9ad32d25c7b7b5ece Mon Sep 17 00:00:00 2001
From: Ankit Patel <8731662+ankitpatel96@users.noreply.github.com>
Date: Mon, 20 May 2024 13:33:02 -0700
Subject: [PATCH 049/111] Documentation improvements - Internal Architecture
Doc + Package level comments (#10068)
#### Documentation
Creates an internal architecture file. In it is a diagram of the startup
flow of the collector as well as links to key files / packages. I also
added package level comments to some key packages.
I wrote some other documentation in
https://github.com/open-telemetry/opentelemetry-collector/pull/10029 but
split the PRs up.
---------
Co-authored-by: Pablo Baeyens
---
CONTRIBUTING.md | 2 ++
component/component.go | 2 ++
docs/internal-architecture.md | 53 +++++++++++++++++++++++++++++++++
otelcol/collector.go | 8 +++--
service/internal/graph/graph.go | 9 ++++++
5 files changed, 71 insertions(+), 3 deletions(-)
create mode 100644 docs/internal-architecture.md
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index fb881c33d16..85528d9a6c3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -108,6 +108,8 @@ in advance so that maintainers can decide if the proposal is a good fit for
this repository. This will help avoid situations when you spend significant time
on something that maintainers may decide this repo is not the right place for.
+If you're new to the Collector, the [internal architecture](docs/internal-architecture.md) documentation may be helpful.
+
Follow the instructions below to create your PR.
### Fork
diff --git a/component/component.go b/component/component.go
index c7f6408680a..794fc9235a9 100644
--- a/component/component.go
+++ b/component/component.go
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+// Package component outlines the abstraction of components within the OpenTelemetry Collector. It provides details on the component
+// lifecycle as well as defining the interface that components must fulfill.
package component // import "go.opentelemetry.io/collector/component"
import (
diff --git a/docs/internal-architecture.md b/docs/internal-architecture.md
new file mode 100644
index 00000000000..c3668901017
--- /dev/null
+++ b/docs/internal-architecture.md
@@ -0,0 +1,53 @@
+## Internal architecture
+
+This document describes the Collector internal architecture and startup flow. It can be helpful if you are starting to contribute to the Collector codebase.
+
+For the end-user focused architecture document, please see the [opentelemetry.io's Architecture documentation](https://opentelemetry.io/docs/collector/architecture/). While it is end user focused, it's still a good place to start if you're trying to learn about the Collector codebase.
+
+### Startup Diagram
+```mermaid
+flowchart TD
+ A("`**command.NewCommand**`") -->|1| B("`**updateSettingsUsingFlags**`")
+ A --> |2| C("`**NewCollector**
+ Creates and returns a new instance of Collector`")
+ A --> |3| D("`**Collector.Run**
+ Starts the collector and blocks until it shuts down`")
+ D --> E("`**setupConfigurationComponents**`")
+ E --> |1| F("`**getConfMap**`")
+ E ---> |2| G("`**Service.New**
+ Initializes telemetry, then initializes the pipelines`")
+ E --> |3| Q("`**Service.Start**
+ 1. Start all extensions.
+ 2. Notify extensions about Collector configuration
+ 3. Start all pipelines.
+ 4. Notify extensions that the pipeline is ready.
+ `")
+ Q --> R("`**Graph.StartAll**
+ Calls Start on each component in reverse topological order`")
+ G --> H("`**initExtensionsAndPipeline**
+ Creates extensions and then builds the pipeline graph`")
+ H --> I("`**Graph.Build**
+ Converts the settings to an internal graph representation`")
+ I --> |1| J("`**createNodes**
+ Builds the node objects from pipeline configuration and adds to graph. Also validates connectors`")
+ I --> |2| K("`**createEdges**
+ Iterates through the pipelines and creates edges between components`")
+ I --> |3| L("`**buildComponents**
+ Topological sort the graph, and create each component in reverse order`")
+ L --> M(Receiver Factory) & N(Processor Factory) & O(Exporter Factory) & P(Connector Factory)
+```
+### Where to start to read the code
+Here is a brief list of useful and/or important files and interfaces that you may find valuable to glance through.
+Most of these have package-level documentation and function/struct-level comments that help explain the Collector!
+
+- [collector.go](../otelcol/collector.go)
+- [graph.go](../service/internal/graph/graph.go)
+- [component.go](../component/component.go)
+
+#### Factories
+Each component type contains a `Factory` interface along with its corresponding `NewFactory` function.
+Implementations of new components use this `NewFactory` function in their implementation to register key functions with
+the Collector. An example of this is in [receiver.go](../receiver/receiver.go).
+
+For example, the Collector uses this interface to give receivers a handle to a `nextConsumer` -
+which represents where the receiver will send its data next in its telemetry pipeline.
diff --git a/otelcol/collector.go b/otelcol/collector.go
index 3376f3a0c35..64339a4040d 100644
--- a/otelcol/collector.go
+++ b/otelcol/collector.go
@@ -1,8 +1,9 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
-// Package service handles the command-line, configuration, and runs the
-// OpenTelemetry Collector.
+// Package otelcol handles the command-line, configuration, and runs the OpenTelemetry Collector.
+// It contains the main [Collector] struct and its constructor [NewCollector].
+// [Collector.Run] starts the Collector and then blocks until it shuts down.
package otelcol // import "go.opentelemetry.io/collector/otelcol"
import (
@@ -167,7 +168,7 @@ func (col *Collector) Shutdown() {
}
}
-// setupConfigurationComponents loads the config and starts the components. If all the steps succeeds it
+// setupConfigurationComponents loads the config, creates the graph, and starts the components. If all the steps succeeds it
// sets the col.service with the service currently running.
func (col *Collector) setupConfigurationComponents(ctx context.Context) error {
col.setCollectorState(StateStarting)
@@ -282,6 +283,7 @@ func newFallbackLogger(options []zap.Option) (*zap.Logger, error) {
// Consecutive calls to Run are not allowed, Run shouldn't be called once a collector is shut down.
// Sets up the control logic for config reloading and shutdown.
func (col *Collector) Run(ctx context.Context) error {
+ // setupConfigurationComponents is the "main" function responsible for startup
if err := col.setupConfigurationComponents(ctx); err != nil {
col.setCollectorState(StateClosed)
logger, loggerErr := newFallbackLogger(col.set.LoggingOptions)
diff --git a/service/internal/graph/graph.go b/service/internal/graph/graph.go
index 525c269a6de..c95d1f54b7e 100644
--- a/service/internal/graph/graph.go
+++ b/service/internal/graph/graph.go
@@ -1,6 +1,15 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+// Package graph contains the internal graph representation of the pipelines.
+//
+// [Build] is the constructor for a [Graph] object. The method calls out to helpers that transform the graph from a config
+// to a DAG of components. The configuration undergoes additional validation here as well, and is used to instantiate
+// the components of the pipeline.
+//
+// [Graph.StartAll] starts all components in each pipeline.
+//
+// [Graph.ShutdownAll] stops all components in each pipeline.
package graph // import "go.opentelemetry.io/collector/service/internal/graph"
import (
From 4fe3608fb35c42fa844ffeb7c4cbe9e64fd50b56 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Mon, 20 May 2024 23:05:52 -0700
Subject: [PATCH 050/111] [chore] Remove unused package test file from
otelcorecol (#10178)
---
cmd/otelcorecol/go.mod | 1 -
cmd/otelcorecol/package_test.go | 14 --------------
2 files changed, 15 deletions(-)
delete mode 100644 cmd/otelcorecol/package_test.go
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 56020b6675d..e424eac0584 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -32,7 +32,6 @@ require (
go.opentelemetry.io/collector/receiver v0.100.0
go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0
go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
- go.uber.org/goleak v1.3.0
golang.org/x/sys v0.20.0
)
diff --git a/cmd/otelcorecol/package_test.go b/cmd/otelcorecol/package_test.go
deleted file mode 100644
index 5cd502ca564..00000000000
--- a/cmd/otelcorecol/package_test.go
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
-
-package main
-
-import (
- "testing"
-
- "go.uber.org/goleak"
-)
-
-func TestMain(m *testing.M) {
- goleak.VerifyTestMain(m)
-}
From 3f4724de7f45e96b55ce190cbe2e60c4d0247ec6 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Mon, 20 May 2024 23:06:11 -0700
Subject: [PATCH 051/111] [chore] Remove required toolchain version from
nopexporter (#10179)
---
exporter/nopexporter/go.mod | 2 --
receiver/nopreceiver/go.mod | 2 --
2 files changed, 4 deletions(-)
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 53187488988..5a7b26012ef 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -2,8 +2,6 @@ module go.opentelemetry.io/collector/exporter/nopexporter
go 1.21
-toolchain go1.21.6
-
require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.100.0
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index c69b145c2ee..8d36c320f10 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -2,8 +2,6 @@ module go.opentelemetry.io/collector/receiver/nopreceiver
go 1.21
-toolchain go1.21.6
-
require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.100.0
From 5fee1e1378db7c7bd4f901bc38c8bda849bd6762 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 21 May 2024 11:10:40 +0200
Subject: [PATCH 052/111] fix(deps): update module
github.com/golangci/golangci-lint to v1.58.2 (#10185)
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/golangci/golangci-lint](https://togithub.com/golangci/golangci-lint)
| `v1.58.1` -> `v1.58.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.58.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint/v1.58.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint/v1.58.1/v1.58.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint/v1.58.1/v1.58.2?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
golangci/golangci-lint
(github.com/golangci/golangci-lint)
###
[`v1.58.2`](https://togithub.com/golangci/golangci-lint/compare/v1.58.1...v1.58.2)
[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.58.1...v1.58.2)
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
internal/tools/go.mod | 12 +++++------
internal/tools/go.sum | 48 +++++++++++++++++++++----------------------
2 files changed, 30 insertions(+), 30 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index bf52f1b64fe..5d9559ab33d 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/a8m/envsubst v1.4.2
github.com/client9/misspell v0.3.4
- github.com/golangci/golangci-lint v1.58.1
+ github.com/golangci/golangci-lint v1.58.2
github.com/google/addlicense v1.1.1
github.com/jcchavezs/porto v0.6.0
github.com/pavius/impi v0.0.3
@@ -26,7 +26,7 @@ require (
github.com/4meepo/tagalign v1.3.4 // indirect
github.com/Abirdcfly/dupword v0.0.14 // indirect
github.com/Antonboom/errname v0.1.13 // indirect
- github.com/Antonboom/nilnil v0.1.8 // indirect
+ github.com/Antonboom/nilnil v0.1.9 // indirect
github.com/Antonboom/testifylint v1.2.0 // indirect
github.com/BurntSushi/toml v1.3.2 // indirect
github.com/Crocmagnon/fatcontext v0.2.2 // indirect
@@ -66,7 +66,7 @@ require (
github.com/denis-tingaikin/go-header v0.5.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/ettle/strcase v0.2.0 // indirect
- github.com/fatih/color v1.16.0 // indirect
+ github.com/fatih/color v1.17.0 // indirect
github.com/fatih/structtag v1.2.0 // indirect
github.com/firefart/nonamedreturns v1.0.5 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -119,7 +119,7 @@ require (
github.com/kulti/thelper v0.6.3 // indirect
github.com/kunwardeep/paralleltest v1.0.10 // indirect
github.com/kyoh86/exportloopref v0.1.11 // indirect
- github.com/lasiar/canonicalheader v1.0.6 // indirect
+ github.com/lasiar/canonicalheader v1.1.1 // indirect
github.com/ldez/gomoddirectives v0.2.4 // indirect
github.com/ldez/tagliatelle v0.5.0 // indirect
github.com/leonklingele/grouper v1.1.2 // indirect
@@ -162,7 +162,7 @@ require (
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
github.com/sashamelentyev/usestdlibvars v1.25.0 // indirect
- github.com/securego/gosec/v2 v2.19.0 // indirect
+ github.com/securego/gosec/v2 v2.20.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
@@ -198,7 +198,7 @@ require (
github.com/yeya24/promlinter v0.3.0 // indirect
github.com/ykadowak/zerologlint v0.1.5 // indirect
gitlab.com/bosi/decorder v0.4.2 // indirect
- go-simpler.org/musttag v0.12.1 // indirect
+ go-simpler.org/musttag v0.12.2 // indirect
go-simpler.org/sloglint v0.6.0 // indirect
go.opentelemetry.io/build-tools v0.13.0 // indirect
go.uber.org/automaxprocs v1.5.3 // indirect
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index 1fab88ed1e6..8e55e146050 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -10,8 +10,8 @@ github.com/Abirdcfly/dupword v0.0.14 h1:3U4ulkc8EUo+CaT105/GJ1BQwtgyj6+VaBVbAX11
github.com/Abirdcfly/dupword v0.0.14/go.mod h1:VKDAbxdY8YbKUByLGg8EETzYSuC4crm9WwI6Y3S0cLI=
github.com/Antonboom/errname v0.1.13 h1:JHICqsewj/fNckzrfVSe+T33svwQxmjC+1ntDsHOVvM=
github.com/Antonboom/errname v0.1.13/go.mod h1:uWyefRYRN54lBg6HseYCFhs6Qjcy41Y3Jl/dVhA87Ns=
-github.com/Antonboom/nilnil v0.1.8 h1:97QG7xrLq4TBK2U9aFq/I8Mcgz67pwMIiswnTA9gIn0=
-github.com/Antonboom/nilnil v0.1.8/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ=
+github.com/Antonboom/nilnil v0.1.9 h1:eKFMejSxPSA9eLSensFmjW2XTgTwJMjZ8hUHtV4s/SQ=
+github.com/Antonboom/nilnil v0.1.9/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ=
github.com/Antonboom/testifylint v1.2.0 h1:015bxD8zc5iY8QwTp4+RG9I4kIbqwvGX9TrBbb7jGdM=
github.com/Antonboom/testifylint v1.2.0/go.mod h1:rkmEqjqVnHDRNsinyN6fPSLnoajzFwsCcguJgwADBkw=
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
@@ -108,8 +108,8 @@ github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
github.com/ettle/strcase v0.2.0 h1:fGNiVF21fHXpX1niBgk0aROov1LagYsOwV/xqKDKR/Q=
github.com/ettle/strcase v0.2.0/go.mod h1:DajmHElDSaX76ITe3/VHVyMin4LWSJN5Z909Wp+ED1A=
-github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
-github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
+github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
+github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4=
github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
github.com/firefart/nonamedreturns v1.0.5 h1:tM+Me2ZaXs8tfdDw3X6DOX++wMCOqzYUho6tUTYIdRA=
@@ -134,10 +134,10 @@ github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMj
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.11.0 h1:XIZc1p+8YzypNr34itUfSvYJcv+eYdTnTvOZ2vD3cA4=
github.com/go-git/go-git/v5 v5.11.0/go.mod h1:6GFcX2P3NM7FPBfpePbpLd21XxsgdAt+lKqXmCUiUCY=
-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-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/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
+github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
+github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
+github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/go-toolsmith/astcast v1.1.0 h1:+JN9xZV1A+Re+95pgnMgDboWNVnIMMQXwfBwLRPgSC8=
github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU=
github.com/go-toolsmith/astcopy v1.1.0 h1:YGwBN0WM+ekI/6SS6+52zLDEf8Yvp3n2seZITCUBt5s=
@@ -171,8 +171,8 @@ github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM=
-github.com/golangci/golangci-lint v1.58.1 h1:IYKjkt7nofq/mYXiDUyJiBZQi5kxD0jPCjBy6VXxjz8=
-github.com/golangci/golangci-lint v1.58.1/go.mod h1:IX9uSbhwDDOVTcceKZWmshlally+fOQYv1pZhIJCMNw=
+github.com/golangci/golangci-lint v1.58.2 h1:YHfceEW3CmHmJTPkmVNlqEa4xcjIulYIaVIiB5sNbC4=
+github.com/golangci/golangci-lint v1.58.2/go.mod h1:QH/aRLQIdNuOqEiki+4En6/k2SmeOsRJU/oiYffM1Ow=
github.com/golangci/misspell v0.5.1 h1:/SjR1clj5uDjNLwYzCahHwIOPmQgoH04AyQIiWGbhCM=
github.com/golangci/misspell v0.5.1/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo=
github.com/golangci/modinfo v0.3.4 h1:oU5huX3fbxqQXdfspamej74DFX0kyGLkw1ppvXoJ8GA=
@@ -194,8 +194,8 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/pprof v0.0.0-20210407192527-94a9f03dee38 h1:yAJXTCF9TqKcTiHJAE8dj7HMvPfh66eeA2JYW7eFpSE=
-github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
+github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 h1:k7nVchz72niMH6YLQNvHSdIE7iqsQxK1P41mySCvssg=
+github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw=
github.com/google/renameio v0.1.0 h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/gordonklaus/ineffassign v0.1.0 h1:y2Gd/9I7MdY1oEIt+n+rowjBNDcLQq3RsH5hwJd0f9s=
@@ -258,8 +258,8 @@ github.com/kunwardeep/paralleltest v1.0.10 h1:wrodoaKYzS2mdNVnc4/w31YaXFtsc21PCT
github.com/kunwardeep/paralleltest v1.0.10/go.mod h1:2C7s65hONVqY7Q5Efj5aLzRCNLjw2h4eMc9EcypGjcY=
github.com/kyoh86/exportloopref v0.1.11 h1:1Z0bcmTypkL3Q4k+IDHMWTcnCliEZcaPiIe0/ymEyhQ=
github.com/kyoh86/exportloopref v0.1.11/go.mod h1:qkV4UF1zGl6EkF1ox8L5t9SwyeBAZ3qLMd6up458uqA=
-github.com/lasiar/canonicalheader v1.0.6 h1:LJiiZ/MzkqibXOL2v+J8+WZM21pM0ivrBY/jbm9f5fo=
-github.com/lasiar/canonicalheader v1.0.6/go.mod h1:GfXTLQb3O1qF5qcSTyXTnfNUggUNyzbkOSpzZ0dpUJo=
+github.com/lasiar/canonicalheader v1.1.1 h1:wC+dY9ZfiqiPwAexUApFush/csSPXeIi4QqyxXmng8I=
+github.com/lasiar/canonicalheader v1.1.1/go.mod h1:cXkb3Dlk6XXy+8MVQnF23CYKWlyA7kfQhSw2CcZtZb0=
github.com/ldez/gomoddirectives v0.2.4 h1:j3YjBIjEBbqZ0NKtBNzr8rtMHTOrLPeiwTkfUJZ3alg=
github.com/ldez/gomoddirectives v0.2.4/go.mod h1:oWu9i62VcQDYp9EQ0ONTfqLNh+mDLWWDO+SO0qSQw5g=
github.com/ldez/tagliatelle v0.5.0 h1:epgfuYt9v0CG3fms0pEgIMNPuFf/LpPIfjk4kyqSioo=
@@ -305,10 +305,10 @@ github.com/nunnatsa/ginkgolinter v0.16.2 h1:8iLqHIZvN4fTLDC0Ke9tbSZVcyVHoBs0HIbn
github.com/nunnatsa/ginkgolinter v0.16.2/go.mod h1:4tWRinDN1FeJgU+iJANW/kz7xKN5nYRAOfJDQUS9dOQ=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
-github.com/onsi/ginkgo/v2 v2.15.0 h1:79HwNRBAZHOEwrczrgSOPy+eFTTlIGELKy5as+ClttY=
-github.com/onsi/ginkgo/v2 v2.15.0/go.mod h1:HlxMHtYF57y6Dpf+mc5529KKmSq9h2FpCF+/ZkwUxKM=
-github.com/onsi/gomega v1.31.1 h1:KYppCUK+bUgAZwHOu7EXVBKyQA6ILvOESHkn/tgoqvo=
-github.com/onsi/gomega v1.31.1/go.mod h1:y40C95dwAD1Nz36SsEnxvfFe8FFfNxzI5eJ0EYGyAy0=
+github.com/onsi/ginkgo/v2 v2.17.2 h1:7eMhcy3GimbsA3hEnVKdw/PQM9XN9krpKVXsZdph0/g=
+github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc=
+github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
+github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
github.com/otiai10/copy v1.14.0 h1:dCI/t1iTdYGtkvCuBG2BgR6KZa83PTclw4U5n2wAllU=
github.com/otiai10/copy v1.14.0/go.mod h1:ECfuL02W+/FkTWZWgQqXPWZgW9oeKCSQ5qVfSc4qc4w=
@@ -368,8 +368,8 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM
github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ=
github.com/sashamelentyev/usestdlibvars v1.25.0 h1:IK8SI2QyFzy/2OD2PYnhy84dpfNo9qADrRt6LH8vSzU=
github.com/sashamelentyev/usestdlibvars v1.25.0/go.mod h1:9nl0jgOfHKWNFS43Ojw0i7aRoS4j6EBye3YBhmAIRF8=
-github.com/securego/gosec/v2 v2.19.0 h1:gl5xMkOI0/E6Hxx0XCY2XujA3V7SNSefA8sC+3f1gnk=
-github.com/securego/gosec/v2 v2.19.0/go.mod h1:hOkDcHz9J/XIgIlPDXalxjeVYsHxoWUc5zJSHxcB8YM=
+github.com/securego/gosec/v2 v2.20.0 h1:z/d5qp1niWa2avgFyUIglYTYYuGq2LrJwNj1HRVXsqc=
+github.com/securego/gosec/v2 v2.20.0/go.mod h1:hkiArbBZLwK1cehBcg3oFWUlYPWTBffPwwJVWChu83o=
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/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
@@ -465,10 +465,10 @@ github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
gitlab.com/bosi/decorder v0.4.2 h1:qbQaV3zgwnBZ4zPMhGLW4KZe7A7NwxEhJx39R3shffo=
gitlab.com/bosi/decorder v0.4.2/go.mod h1:muuhHoaJkA9QLcYHq4Mj8FJUwDZ+EirSHRiaTcTf6T8=
-go-simpler.org/assert v0.7.0 h1:OzWWZqfNxt8cLS+MlUp6Tgk1HjPkmgdKBq9qvy8lZsA=
-go-simpler.org/assert v0.7.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28=
-go-simpler.org/musttag v0.12.1 h1:yaMcjl/uyVnd1z6GqIhBiFH/PoqNN9f2IgtU7bp7W/0=
-go-simpler.org/musttag v0.12.1/go.mod h1:46HKu04A3Am9Lne5kKP0ssgwY3AeIlqsDzz3UxKROpY=
+go-simpler.org/assert v0.9.0 h1:PfpmcSvL7yAnWyChSjOz6Sp6m9j5lyK8Ok9pEL31YkQ=
+go-simpler.org/assert v0.9.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28=
+go-simpler.org/musttag v0.12.2 h1:J7lRc2ysXOq7eM8rwaTYnNrHd5JwjppzB6mScysB2Cs=
+go-simpler.org/musttag v0.12.2/go.mod h1:uN1DVIasMTQKk6XSik7yrJoEysGtR2GRqvWnI9S7TYM=
go-simpler.org/sloglint v0.6.0 h1:0YcqSVG7LI9EVBfRPhgPec79BH6X6mwjFuUR5Mr7j1M=
go-simpler.org/sloglint v0.6.0/go.mod h1:+kJJtebtPePWyG5boFwY46COydAggADDOHM22zOvzBk=
go.opentelemetry.io/build-tools v0.13.0 h1:0I3jJQ2zcJU8k4ZjyHNqUBX2Len1UvBIOzVP4b50g9A=
From 83fd2692951dc863bbfbfa746fce19486af2139a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juraci=20Paix=C3=A3o=20Kr=C3=B6hling?=
Date: Wed, 22 May 2024 00:58:35 +1200
Subject: [PATCH 053/111] [chore] Prepare release v1.8.0/v0.101.0 (#10190)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This replaces #10188, by fixing a relatively new test case that blocked
the release.
Signed-off-by: Juraci Paixão Kröhling
---------
Signed-off-by: Juraci Paixão Kröhling
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
...eboten_mdatagen-docs-internal-metrics.yaml | 25 ------
.../codeboten_mdatagen-for-batch-metrics.yaml | 27 ------
.../confighttp-remove-deprecated-funcs.yaml | 25 ------
.chloggen/confmap-converter-logger.yaml | 25 ------
.chloggen/confmap-logger-wrapper-idea.yaml | 25 ------
.chloggen/deprecate-confmap-new.yaml | 25 ------
.chloggen/fix_skip_goleak.yaml | 25 ------
.chloggen/mx-psi_add-mapstructure-labels.yaml | 25 ------
.chloggen/remove-confmap-instances.yaml | 25 ------
.chloggen/string-encoding.yaml | 25 ------
CHANGELOG-API.md | 15 ++++
CHANGELOG.md | 16 ++++
cmd/builder/internal/builder/config.go | 2 +-
cmd/builder/internal/builder/main_test.go | 6 ++
cmd/builder/internal/config/default.yaml | 40 ++++-----
cmd/builder/test/core.builder.yaml | 8 +-
cmd/mdatagen/go.mod | 18 ++--
cmd/otelcorecol/builder-config.yaml | 40 ++++-----
cmd/otelcorecol/go.mod | 88 +++++++++----------
cmd/otelcorecol/main.go | 2 +-
component/go.mod | 6 +-
config/configauth/go.mod | 12 +--
config/configgrpc/go.mod | 30 +++----
config/confighttp/go.mod | 26 +++---
config/configopaque/go.mod | 2 +-
config/configtls/go.mod | 2 +-
config/internal/go.mod | 4 +-
confmap/converter/expandconverter/go.mod | 2 +-
confmap/provider/envprovider/go.mod | 2 +-
confmap/provider/fileprovider/go.mod | 2 +-
confmap/provider/httpprovider/go.mod | 2 +-
confmap/provider/httpsprovider/go.mod | 2 +-
confmap/provider/yamlprovider/go.mod | 2 +-
connector/forwardconnector/go.mod | 14 +--
connector/go.mod | 14 +--
consumer/go.mod | 4 +-
exporter/debugexporter/go.mod | 20 ++---
exporter/go.mod | 20 ++---
exporter/loggingexporter/go.mod | 20 ++---
exporter/nopexporter/go.mod | 14 +--
exporter/otlpexporter/go.mod | 40 ++++-----
exporter/otlphttpexporter/go.mod | 36 ++++----
extension/auth/go.mod | 10 +--
extension/ballastextension/go.mod | 12 +--
extension/go.mod | 8 +-
extension/memorylimiterextension/go.mod | 12 +--
extension/zpagesextension/go.mod | 14 +--
filter/go.mod | 2 +-
go.mod | 14 +--
internal/e2e/go.mod | 42 ++++-----
otelcol/go.mod | 42 ++++-----
pdata/testdata/go.mod | 2 +-
processor/batchprocessor/go.mod | 16 ++--
processor/go.mod | 14 +--
processor/memorylimiterprocessor/go.mod | 16 ++--
receiver/go.mod | 12 +--
receiver/nopreceiver/go.mod | 12 +--
receiver/otlpreceiver/go.mod | 38 ++++----
service/go.mod | 32 +++----
versions.yaml | 4 +-
60 files changed, 425 insertions(+), 640 deletions(-)
delete mode 100644 .chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
delete mode 100644 .chloggen/codeboten_mdatagen-for-batch-metrics.yaml
delete mode 100644 .chloggen/confighttp-remove-deprecated-funcs.yaml
delete mode 100644 .chloggen/confmap-converter-logger.yaml
delete mode 100644 .chloggen/confmap-logger-wrapper-idea.yaml
delete mode 100644 .chloggen/deprecate-confmap-new.yaml
delete mode 100644 .chloggen/fix_skip_goleak.yaml
delete mode 100644 .chloggen/mx-psi_add-mapstructure-labels.yaml
delete mode 100644 .chloggen/remove-confmap-instances.yaml
delete mode 100644 .chloggen/string-encoding.yaml
diff --git a/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml b/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
deleted file mode 100644
index f07222d318f..00000000000
--- a/.chloggen/codeboten_mdatagen-docs-internal-metrics.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: generate documentation for internal telemetry
-
-# One or more tracking issues or pull requests related to the change
-issues: [10170]
-
-# (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:
-
-# 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/.chloggen/codeboten_mdatagen-for-batch-metrics.yaml b/.chloggen/codeboten_mdatagen-for-batch-metrics.yaml
deleted file mode 100644
index 219510dfdbb..00000000000
--- a/.chloggen/codeboten_mdatagen-for-batch-metrics.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: add ability to use metadata.yaml to automatically generate instruments for components
-
-# One or more tracking issues or pull requests related to the change
-issues: [10054]
-
-# (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 `telemetry` section in metadata.yaml is used to generate
- instruments for components to measure telemetry about themselves.
-
-# 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/.chloggen/confighttp-remove-deprecated-funcs.yaml b/.chloggen/confighttp-remove-deprecated-funcs.yaml
deleted file mode 100644
index 796df0362a1..00000000000
--- a/.chloggen/confighttp-remove-deprecated-funcs.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: confighttp
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Removes deprecated functions `ToClientContext`, `ToListenerContext`, and `ToServerContext`.
-
-# One or more tracking issues or pull requests related to the change
-issues: [10138]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/confmap-converter-logger.yaml b/.chloggen/confmap-converter-logger.yaml
deleted file mode 100644
index c93ebb4873d..00000000000
--- a/.chloggen/confmap-converter-logger.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Allow Converters to write logs during startup
-
-# One or more tracking issues or pull requests related to the change
-issues: [10135]
-
-# (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:
-
-# 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/.chloggen/confmap-logger-wrapper-idea.yaml b/.chloggen/confmap-logger-wrapper-idea.yaml
deleted file mode 100644
index ff35e92c2a3..00000000000
--- a/.chloggen/confmap-logger-wrapper-idea.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: otelcol
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Enable logging during configuration resolution
-
-# One or more tracking issues or pull requests related to the change
-issues: [10056]
-
-# (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:
-
-# 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/.chloggen/deprecate-confmap-new.yaml b/.chloggen/deprecate-confmap-new.yaml
deleted file mode 100644
index d10d3a8a89e..00000000000
--- a/.chloggen/deprecate-confmap-new.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Deprecate `NewWithSettings` for all Providers and `New` for all Converters
-
-# One or more tracking issues or pull requests related to the change
-issues: [10134]
-
-# (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: Use `NewFactory` instead for all affected modules.
-
-# 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: [api]
diff --git a/.chloggen/fix_skip_goleak.yaml b/.chloggen/fix_skip_goleak.yaml
deleted file mode 100644
index 7ab790d9c9e..00000000000
--- a/.chloggen/fix_skip_goleak.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Run package tests when goleak is skipped
-
-# One or more tracking issues or pull requests related to the change
-issues: [10125]
-
-# (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:
-
-# 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/.chloggen/mx-psi_add-mapstructure-labels.yaml b/.chloggen/mx-psi_add-mapstructure-labels.yaml
deleted file mode 100644
index cca77ebdd0c..00000000000
--- a/.chloggen/mx-psi_add-mapstructure-labels.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: otelcol
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Add explicit mapstructure tags to main configuration struct
-
-# One or more tracking issues or pull requests related to the change
-issues: [10152]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/remove-confmap-instances.yaml b/.chloggen/remove-confmap-instances.yaml
deleted file mode 100644
index 5f2528d20cc..00000000000
--- a/.chloggen/remove-confmap-instances.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Remove deprecated `Providers` and `Converters` from `confmap.ResolverSettings`
-
-# One or more tracking issues or pull requests related to the change
-issues: [10173]
-
-# (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: Use `ProviderSettings` and `ConverterSettings` instead.
-
-# 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: [api]
diff --git a/.chloggen/string-encoding.yaml b/.chloggen/string-encoding.yaml
deleted file mode 100644
index 1513ae96c93..00000000000
--- a/.chloggen/string-encoding.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Support string-like types as map keys when marshaling
-
-# One or more tracking issues or pull requests related to the change
-issues: [10137]
-
-# (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:
-
-# 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: [api]
diff --git a/CHANGELOG-API.md b/CHANGELOG-API.md
index a727efcbae1..ee00dd4b97c 100644
--- a/CHANGELOG-API.md
+++ b/CHANGELOG-API.md
@@ -7,6 +7,21 @@ If you are looking for user-facing changes, check out [CHANGELOG.md](./CHANGELOG
+## v1.8.0/v0.101.0
+
+### 🛑 Breaking changes 🛑
+
+- `confighttp`: Removes deprecated functions `ToClientContext`, `ToListenerContext`, and `ToServerContext`. (#10138)
+- `confmap`: Deprecate `NewWithSettings` for all Providers and `New` for all Converters (#10134)
+ Use `NewFactory` instead for all affected modules.
+- `confmap`: Remove deprecated `Providers` and `Converters` from `confmap.ResolverSettings` (#10173)
+ Use `ProviderSettings` and `ConverterSettings` instead.
+
+### 🧰 Bug fixes 🧰
+
+- `otelcol`: Add explicit mapstructure tags to main configuration struct (#10152)
+- `confmap`: Support string-like types as map keys when marshaling (#10137)
+
## v1.7.0/v0.100.0
### 💡 Enhancements 💡
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b37709193bf..0f738d7b86e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,22 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./
+## v1.8.0/v0.101.0
+
+### 💡 Enhancements 💡
+
+- `mdatagen`: generate documentation for internal telemetry (#10170)
+- `mdatagen`: add ability to use metadata.yaml to automatically generate instruments for components (#10054)
+ The `telemetry` section in metadata.yaml is used to generate
+ instruments for components to measure telemetry about themselves.
+
+- `confmap`: Allow Converters to write logs during startup (#10135)
+- `otelcol`: Enable logging during configuration resolution (#10056)
+
+### 🧰 Bug fixes 🧰
+
+- `mdatagen`: Run package tests when goleak is skipped (#10125)
+
## v1.7.0/v0.100.0
### 🛑 Breaking changes 🛑
diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go
index 18e5715a3bd..400aba4a095 100644
--- a/cmd/builder/internal/builder/config.go
+++ b/cmd/builder/internal/builder/config.go
@@ -17,7 +17,7 @@ import (
"go.uber.org/zap"
)
-const defaultOtelColVersion = "0.100.0"
+const defaultOtelColVersion = "0.101.0"
// ErrInvalidGoMod indicates an invalid gomod
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")
diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go
index fed30a548ae..79ed8ab2751 100644
--- a/cmd/builder/internal/builder/main_test.go
+++ b/cmd/builder/internal/builder/main_test.go
@@ -77,6 +77,7 @@ var (
"/receiver/otlpreceiver",
"/otelcol",
"/pdata",
+ "/pdata/testdata",
"/semconv",
"/service",
}
@@ -425,6 +426,11 @@ func TestReplaceStatementsAreComplete(t *testing.T) {
replaceMods[req.Mod.Path] = true
}
+ // those are modules that should be part of the replaces, but are not components
+ for _, unused := range []string{"/pdata/testdata"} {
+ replaceMods[modulePrefix+unused] = true
+ }
+
for k, v := range replaceMods {
assert.Truef(t, v, "Module not used: %s", k)
}
diff --git a/cmd/builder/internal/config/default.yaml b/cmd/builder/internal/config/default.yaml
index ac86def33ff..642c47f39fa 100644
--- a/cmd/builder/internal/config/default.yaml
+++ b/cmd/builder/internal/config/default.yaml
@@ -2,32 +2,32 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.100.0-dev
- otelcol_version: 0.100.0
+ version: 0.101.0-dev
+ otelcol_version: 0.101.0
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.100.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.100.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.100.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.100.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.100.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.100.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.100.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
diff --git a/cmd/builder/test/core.builder.yaml b/cmd/builder/test/core.builder.yaml
index 7baedadd974..4b2b8722001 100644
--- a/cmd/builder/test/core.builder.yaml
+++ b/cmd/builder/test/core.builder.yaml
@@ -1,20 +1,20 @@
dist:
module: go.opentelemetry.io/collector/builder/test/core
- otelcol_version: 0.100.0
+ otelcol_version: 0.101.0
extensions:
- import: go.opentelemetry.io/collector/extension/zpagesextension
- gomod: go.opentelemetry.io/collector v0.100.0
+ gomod: go.opentelemetry.io/collector v0.101.0
path: ${WORKSPACE_DIR}
receivers:
- import: go.opentelemetry.io/collector/receiver/otlpreceiver
- gomod: go.opentelemetry.io/collector v0.100.0
+ gomod: go.opentelemetry.io/collector v0.101.0
path: ${WORKSPACE_DIR}
exporters:
- import: go.opentelemetry.io/collector/exporter/debugexporter
- gomod: go.opentelemetry.io/collector v0.100.0
+ gomod: go.opentelemetry.io/collector v0.101.0
path: ${WORKSPACE_DIR}
replaces:
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index ca27af41a65..7ada7cdd188 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -5,14 +5,14 @@ go 1.21
require (
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/filter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/collector/semconv v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/filter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/semconv v0.101.0
go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
go.uber.org/goleak v1.3.0
@@ -42,7 +42,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml
index 8d8f88ad980..5d2c3049764 100644
--- a/cmd/otelcorecol/builder-config.yaml
+++ b/cmd/otelcorecol/builder-config.yaml
@@ -2,34 +2,34 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.100.0-dev
- otelcol_version: 0.100.0
+ version: 0.101.0-dev
+ otelcol_version: 0.101.0
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.100.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.100.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.100.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.100.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.100.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.100.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.100.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.100.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
replaces:
- go.opentelemetry.io/collector => ../../
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index e424eac0584..8ad472be503 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -5,33 +5,33 @@ module go.opentelemetry.io/collector/cmd/otelcorecol
go 1.21
require (
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.100.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.100.0
- go.opentelemetry.io/collector/connector v0.100.0
- go.opentelemetry.io/collector/connector/forwardconnector v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/exporter/debugexporter v0.100.0
- go.opentelemetry.io/collector/exporter/loggingexporter v0.100.0
- go.opentelemetry.io/collector/exporter/nopexporter v0.100.0
- go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
- go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/extension/ballastextension v0.100.0
- go.opentelemetry.io/collector/extension/memorylimiterextension v0.100.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.100.0
- go.opentelemetry.io/collector/otelcol v0.100.0
- go.opentelemetry.io/collector/processor v0.100.0
- go.opentelemetry.io/collector/processor/batchprocessor v0.100.0
- go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/collector/receiver/nopreceiver v0.100.0
- go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
+ go.opentelemetry.io/collector/connector v0.101.0
+ go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
+ go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
+ go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
+ go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
+ go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/extension/ballastextension v0.101.0
+ go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
+ go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
+ go.opentelemetry.io/collector/otelcol v0.101.0
+ go.opentelemetry.io/collector/processor v0.101.0
+ go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
+ go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
+ go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
golang.org/x/sys v0.20.0
)
@@ -77,23 +77,23 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configauth v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.7.0 // indirect
- go.opentelemetry.io/collector/config/configgrpc v0.100.0 // indirect
- go.opentelemetry.io/collector/config/confighttp v0.100.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.7.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configtls v0.100.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.100.0 // indirect
- go.opentelemetry.io/collector/consumer v0.100.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
- go.opentelemetry.io/collector/semconv v0.100.0 // indirect
- go.opentelemetry.io/collector/service v0.100.0 // indirect
+ go.opentelemetry.io/collector v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configgrpc v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/confighttp v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtls v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.101.0 // indirect
+ go.opentelemetry.io/collector/service v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go
index beaeb912ee4..ba149146d71 100644
--- a/cmd/otelcorecol/main.go
+++ b/cmd/otelcorecol/main.go
@@ -21,7 +21,7 @@ func main() {
info := component.BuildInfo{
Command: "otelcorecol",
Description: "Local OpenTelemetry Collector binary, testing only.",
- Version: "0.100.0-dev",
+ Version: "0.101.0-dev",
}
set := otelcol.CollectorSettings{
diff --git a/component/go.mod b/component/go.mod
index fb8cc02680f..26eee72b8a3 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -7,9 +7,9 @@ require (
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/exporters/prometheus v0.48.0
go.opentelemetry.io/otel/metric v1.26.0
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index 85ecf8a73e5..b6e7877e283 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -4,9 +4,9 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/extension/auth v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/extension/auth v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -20,9 +20,9 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/trace v1.26.0 // indirect
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index eb1ea60ac7f..398ebd281df 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -5,18 +5,18 @@ go 1.21
require (
github.com/mostynb/go-grpc-compression v1.2.2
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configauth v0.100.0
- go.opentelemetry.io/collector/config/configcompression v1.7.0
- go.opentelemetry.io/collector/config/confignet v0.100.0
- go.opentelemetry.io/collector/config/configopaque v1.7.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/config/internal v0.100.0
- go.opentelemetry.io/collector/extension/auth v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configauth v0.101.0
+ go.opentelemetry.io/collector/config/configcompression v1.8.0
+ go.opentelemetry.io/collector/config/confignet v0.101.0
+ go.opentelemetry.io/collector/config/configopaque v1.8.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/config/internal v0.101.0
+ go.opentelemetry.io/collector/extension/auth v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0
go.opentelemetry.io/otel v1.26.0
go.uber.org/goleak v1.3.0
@@ -49,9 +49,9 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index b7209dd6c6b..3b4579e27f0 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -7,16 +7,16 @@ require (
github.com/klauspost/compress v1.17.8
github.com/rs/cors v1.10.1
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configauth v0.100.0
- go.opentelemetry.io/collector/config/configcompression v1.7.0
- go.opentelemetry.io/collector/config/configopaque v1.7.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/config/internal v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/extension/auth v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configauth v0.101.0
+ go.opentelemetry.io/collector/config/configcompression v1.8.0
+ go.opentelemetry.io/collector/config/configopaque v1.8.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/config/internal v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/extension/auth v0.101.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0
go.opentelemetry.io/otel v1.26.0
go.uber.org/goleak v1.3.0
@@ -45,9 +45,9 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
diff --git a/config/configopaque/go.mod b/config/configopaque/go.mod
index 1f8b080f2da..f402cd4815c 100644
--- a/config/configopaque/go.mod
+++ b/config/configopaque/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/config/configtls/go.mod b/config/configtls/go.mod
index bad5e7c38f8..3ff44a688b5 100644
--- a/config/configtls/go.mod
+++ b/config/configtls/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/fsnotify/fsnotify v1.7.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/config/configopaque v1.7.0
+ go.opentelemetry.io/collector/config/configopaque v1.8.0
)
require (
diff --git a/config/internal/go.mod b/config/internal/go.mod
index cdadc8016e1..fea6d0b2f1a 100644
--- a/config/internal/go.mod
+++ b/config/internal/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
+ go.opentelemetry.io/collector v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -13,7 +13,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/confmap/converter/expandconverter/go.mod b/confmap/converter/expandconverter/go.mod
index 9e9492973b4..dff5eff8965 100644
--- a/confmap/converter/expandconverter/go.mod
+++ b/confmap/converter/expandconverter/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/envprovider/go.mod b/confmap/provider/envprovider/go.mod
index 9e9fed7326c..0b90dc87b4e 100644
--- a/confmap/provider/envprovider/go.mod
+++ b/confmap/provider/envprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/fileprovider/go.mod b/confmap/provider/fileprovider/go.mod
index 08d0c0393b2..2fd656162a2 100644
--- a/confmap/provider/fileprovider/go.mod
+++ b/confmap/provider/fileprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpprovider/go.mod b/confmap/provider/httpprovider/go.mod
index e1e476ae46c..0e477dcd748 100644
--- a/confmap/provider/httpprovider/go.mod
+++ b/confmap/provider/httpprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpsprovider/go.mod b/confmap/provider/httpsprovider/go.mod
index 7275e193e52..cb6bda5302a 100644
--- a/confmap/provider/httpsprovider/go.mod
+++ b/confmap/provider/httpsprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/yamlprovider/go.mod b/confmap/provider/yamlprovider/go.mod
index a44885cae0d..9a0243b6651 100644
--- a/confmap/provider/yamlprovider/go.mod
+++ b/confmap/provider/yamlprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
)
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index ecb6e480e5f..274eb250a4a 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -4,11 +4,11 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/connector v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/connector v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
+ go.opentelemetry.io/collector v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/connector/go.mod b/connector/go.mod
index e2a45751ff0..ba7b8466e45 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -5,11 +5,11 @@ go 1.21
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -36,8 +36,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/consumer/go.mod b/consumer/go.mod
index d3a26865d6f..230723d8d06 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -4,8 +4,8 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.uber.org/goleak v1.3.0
)
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 4da7bc965cb..b3e3c5fab64 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -4,12 +4,12 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -37,10 +37,10 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/receiver v0.100.0 // indirect
+ go.opentelemetry.io/collector v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/exporter/go.mod b/exporter/go.mod
index 07a9177eb7e..7b3f494439f 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -6,15 +6,15 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configretry v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configretry v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/sdk v1.26.0
@@ -47,7 +47,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 5ec9c85c1a7..ff35e1f9fc3 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -5,11 +5,11 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -37,11 +37,11 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.100.0 // indirect
- go.opentelemetry.io/collector/consumer v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/receiver v0.100.0 // indirect
+ go.opentelemetry.io/collector v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 5a7b26012ef..8dd9411afdc 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -4,11 +4,11 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/receiver v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 70b9f3ccb69..6b1fb2334e0 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -4,19 +4,19 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configauth v0.100.0
- go.opentelemetry.io/collector/config/configcompression v1.7.0
- go.opentelemetry.io/collector/config/configgrpc v0.100.0
- go.opentelemetry.io/collector/config/configopaque v1.7.0
- go.opentelemetry.io/collector/config/configretry v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configauth v0.101.0
+ go.opentelemetry.io/collector/config/configcompression v1.8.0
+ go.opentelemetry.io/collector/config/configgrpc v0.101.0
+ go.opentelemetry.io/collector/config/configopaque v1.8.0
+ go.opentelemetry.io/collector/config/configretry v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
@@ -53,13 +53,13 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
- go.opentelemetry.io/collector/receiver v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 458d1959bd3..a2a780e881c 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -4,17 +4,17 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configcompression v1.7.0
- go.opentelemetry.io/collector/config/confighttp v0.100.0
- go.opentelemetry.io/collector/config/configopaque v1.7.0
- go.opentelemetry.io/collector/config/configretry v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configcompression v1.8.0
+ go.opentelemetry.io/collector/config/confighttp v0.101.0
+ go.opentelemetry.io/collector/config/configopaque v1.8.0
+ go.opentelemetry.io/collector/config/configretry v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
@@ -52,13 +52,13 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
- go.opentelemetry.io/collector/receiver v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index d7ac0aee7cc..d6a19f18556 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -4,8 +4,8 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
go.uber.org/goleak v1.3.0
google.golang.org/grpc v1.63.2
)
@@ -28,9 +28,9 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index ff216ef15dd..3cf2b590012 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -5,10 +5,10 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -39,8 +39,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/extension/go.mod b/extension/go.mod
index e24304c1a90..61b67ec7df1 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -5,8 +5,8 @@ go 1.21
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -28,8 +28,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 597d975fdb0..eba79cb1e64 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -4,10 +4,10 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -38,8 +38,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 54d66554552..87ef393fd7b 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -4,11 +4,11 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/confignet v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/confignet v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
go.opentelemetry.io/contrib/zpages v0.51.0
go.opentelemetry.io/otel/sdk v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
@@ -37,8 +37,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
diff --git a/filter/go.mod b/filter/go.mod
index 16234c14a89..72d668ee603 100644
--- a/filter/go.mod
+++ b/filter/go.mod
@@ -4,7 +4,7 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.100.0
+ go.opentelemetry.io/collector/confmap v0.101.0
)
require (
diff --git a/go.mod b/go.mod
index a463fc6dcf4..acae65098b2 100644
--- a/go.mod
+++ b/go.mod
@@ -5,12 +5,12 @@ go 1.21
require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/featuregate v1.7.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/featuregate v1.8.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/contrib/config v0.6.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
@@ -48,7 +48,7 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 335dc1fb104..8e00f6ca0dd 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -4,19 +4,19 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configgrpc v0.100.0
- go.opentelemetry.io/collector/config/confighttp v0.100.0
- go.opentelemetry.io/collector/config/configretry v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configgrpc v0.101.0
+ go.opentelemetry.io/collector/config/confighttp v0.101.0
+ go.opentelemetry.io/collector/config/configretry v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
go.uber.org/goleak v1.3.0
)
@@ -52,16 +52,16 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.7.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.7.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.100.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
diff --git a/otelcol/go.mod b/otelcol/go.mod
index 610abe5cd6b..d0bfece3764 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -5,22 +5,22 @@ go 1.21
require (
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.100.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.100.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.100.0
- go.opentelemetry.io/collector/connector v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/featuregate v1.7.0
- go.opentelemetry.io/collector/processor v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/collector/service v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
+ go.opentelemetry.io/collector/connector v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/featuregate v1.8.0
+ go.opentelemetry.io/collector/processor v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/service v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -67,11 +67,11 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.100.0 // indirect
- go.opentelemetry.io/collector/consumer v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.100.0 // indirect
- go.opentelemetry.io/collector/semconv v0.100.0 // indirect
+ go.opentelemetry.io/collector v0.101.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.26.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
diff --git a/pdata/testdata/go.mod b/pdata/testdata/go.mod
index f457e7a5b43..77af5a5c7bd 100644
--- a/pdata/testdata/go.mod
+++ b/pdata/testdata/go.mod
@@ -2,7 +2,7 @@ module go.opentelemetry.io/collector/pdata/testdata
go 1.21
-require go.opentelemetry.io/collector/pdata v1.7.0
+require go.opentelemetry.io/collector/pdata v1.8.0
require (
github.com/gogo/protobuf v1.3.2 // indirect
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index d8352ba5388..ffb01ce3618 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -7,14 +7,14 @@ require (
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/collector/processor v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/processor v0.101.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/exporters/prometheus v0.48.0
go.opentelemetry.io/otel/metric v1.26.0
diff --git a/processor/go.mod b/processor/go.mod
index 539171d5379..450e373cacc 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -5,12 +5,12 @@ go 1.21
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/trace v1.26.0
@@ -39,7 +39,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/sdk v1.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index 3a270399815..86643600ffa 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -4,12 +4,12 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/processor v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/processor v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -42,8 +42,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.100.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/receiver/go.mod b/receiver/go.mod
index 4db13840ae9..3c81bb72ec0 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -5,11 +5,11 @@ go 1.21
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/otel v1.26.0
go.opentelemetry.io/otel/metric v1.26.0
go.opentelemetry.io/otel/sdk v1.26.0
@@ -40,7 +40,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/confmap v0.100.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 8d36c320f10..ea03638d75d 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -4,10 +4,10 @@ go 1.21
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -33,8 +33,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/pdata v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/otel v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
go.opentelemetry.io/otel/metric v1.26.0 // indirect
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 6e388b13354..6267070fd31 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -6,17 +6,17 @@ require (
github.com/gogo/protobuf v1.3.2
github.com/klauspost/compress v1.17.8
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/configgrpc v0.100.0
- go.opentelemetry.io/collector/config/confighttp v0.100.0
- go.opentelemetry.io/collector/config/confignet v0.100.0
- go.opentelemetry.io/collector/config/configtls v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configgrpc v0.101.0
+ go.opentelemetry.io/collector/config/confighttp v0.101.0
+ go.opentelemetry.io/collector/config/confignet v0.101.0
+ go.opentelemetry.io/collector/config/configtls v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
@@ -53,14 +53,14 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.100.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.7.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.7.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.100.0 // indirect
- go.opentelemetry.io/collector/extension v0.100.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.100.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.7.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension v0.101.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
diff --git a/service/go.mod b/service/go.mod
index 02b89078fb2..aa15f0ca41e 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -10,22 +10,22 @@ require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
go.opencensus.io v0.24.0
- go.opentelemetry.io/collector v0.100.0
- go.opentelemetry.io/collector/component v0.100.0
- go.opentelemetry.io/collector/config/confignet v0.100.0
- go.opentelemetry.io/collector/config/configtelemetry v0.100.0
- go.opentelemetry.io/collector/confmap v0.100.0
- go.opentelemetry.io/collector/connector v0.100.0
- go.opentelemetry.io/collector/consumer v0.100.0
- go.opentelemetry.io/collector/exporter v0.100.0
- go.opentelemetry.io/collector/extension v0.100.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.100.0
- go.opentelemetry.io/collector/featuregate v1.7.0
- go.opentelemetry.io/collector/pdata v1.7.0
- go.opentelemetry.io/collector/pdata/testdata v0.100.0
- go.opentelemetry.io/collector/processor v0.100.0
- go.opentelemetry.io/collector/receiver v0.100.0
- go.opentelemetry.io/collector/semconv v0.100.0
+ go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/confignet v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
+ go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/connector v0.101.0
+ go.opentelemetry.io/collector/consumer v0.101.0
+ go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
+ go.opentelemetry.io/collector/featuregate v1.8.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/processor v0.101.0
+ go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/semconv v0.101.0
go.opentelemetry.io/contrib/config v0.6.0
go.opentelemetry.io/contrib/propagators/b3 v1.26.0
go.opentelemetry.io/otel v1.26.0
diff --git a/versions.yaml b/versions.yaml
index 0c8cf222c6a..16aea9585ee 100644
--- a/versions.yaml
+++ b/versions.yaml
@@ -3,14 +3,14 @@
module-sets:
stable:
- version: v1.7.0
+ version: v1.8.0
modules:
- go.opentelemetry.io/collector/featuregate
- go.opentelemetry.io/collector/pdata
- go.opentelemetry.io/collector/config/configopaque
- go.opentelemetry.io/collector/config/configcompression
beta:
- version: v0.100.0
+ version: v0.101.0
modules:
- go.opentelemetry.io/collector
- go.opentelemetry.io/collector/cmd/builder
From 3953c8f83b4b5c2fbd231563cd6d1cc97bb5687a Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 21 May 2024 08:19:57 -0700
Subject: [PATCH 054/111] chore(deps): update github-actions deps (#10184)
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 |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
patch | `v4.1.5` -> `v4.1.6` |
| [actions/checkout](https://togithub.com/actions/checkout) | action |
patch | `v4.1.4` -> `v4.1.6` |
| [codecov/codecov-action](https://togithub.com/codecov/codecov-action)
| action | patch | `4.4.0` -> `4.4.1` |
| [github/codeql-action](https://togithub.com/github/codeql-action) |
action | patch | `v3.25.5` -> `v3.25.6` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
actions/checkout (actions/checkout)
###
[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)
[Compare
Source](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)
- Check platform to set archive extension appropriately by
[@cory-miller](https://togithub.com/cory-miller) in
[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)
codecov/codecov-action (codecov/codecov-action)
###
[`v4.4.1`](https://togithub.com/codecov/codecov-action/compare/v4.4.0...v4.4.1)
[Compare
Source](https://togithub.com/codecov/codecov-action/compare/v4.4.0...v4.4.1)
github/codeql-action (github/codeql-action)
###
[`v3.25.6`](https://togithub.com/github/codeql-action/compare/v3.25.5...v3.25.6)
[Compare
Source](https://togithub.com/github/codeql-action/compare/v3.25.5...v3.25.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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Drutu
---
.github/workflows/api-compatibility.yml | 4 ++--
.github/workflows/build-and-test-arm.yml | 2 +-
.github/workflows/build-and-test-windows.yaml | 4 ++--
.github/workflows/build-and-test.yml | 16 ++++++++--------
.github/workflows/builder-integration-test.yaml | 2 +-
.github/workflows/builder-release.yaml | 2 +-
.github/workflows/changelog.yml | 2 +-
.github/workflows/check-links.yaml | 4 ++--
.github/workflows/codeql-analysis.yml | 8 ++++----
.github/workflows/contrib-tests.yml | 2 +-
.../generate-semantic-conventions-pr.yaml | 6 +++---
.github/workflows/perf.yml | 2 +-
.github/workflows/prepare-release.yml | 2 +-
.github/workflows/scorecard.yml | 4 ++--
.github/workflows/shellcheck.yml | 2 +-
.github/workflows/tidy-dependencies.yml | 2 +-
16 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/.github/workflows/api-compatibility.yml b/.github/workflows/api-compatibility.yml
index 8071b6bad0a..3ba06a9f106 100644
--- a/.github/workflows/api-compatibility.yml
+++ b/.github/workflows/api-compatibility.yml
@@ -22,13 +22,13 @@ jobs:
steps:
- name: Checkout-Main
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.base_ref }}
path: ${{ github.base_ref }}
- name: Checkout-HEAD
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
path: ${{ github.head_ref }}
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
index 7c89465d473..1729c3ec69b 100644
--- a/.github/workflows/build-and-test-arm.yml
+++ b/.github/workflows/build-and-test-arm.yml
@@ -26,7 +26,7 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'Run ARM') || github.event_name == 'push' || github.event_name == 'merge_group') }}
runs-on: actuated-arm64-4cpu-4gb
steps:
- - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: "~1.22.3"
diff --git a/.github/workflows/build-and-test-windows.yaml b/.github/workflows/build-and-test-windows.yaml
index 4ade4002839..66ab8b75dec 100644
--- a/.github/workflows/build-and-test-windows.yaml
+++ b/.github/workflows/build-and-test-windows.yaml
@@ -18,7 +18,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -40,7 +40,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index d3c7163c908..9e48709b2ad 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -41,7 +41,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -65,7 +65,7 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -90,7 +90,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -153,7 +153,7 @@ jobs:
- name: Run vmmeter
uses: self-actuated/vmmeter-action@c7e2162e39294a810cab647cacc215ecd68a44f6 # v1
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -197,7 +197,7 @@ jobs:
needs: [setup-environment]
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
@@ -219,7 +219,7 @@ jobs:
- name: Run Unit Tests With Coverage
run: make gotest-with-cover
- name: Upload coverage report
- uses: codecov/codecov-action@6d798873df2b1b8e5846dba6fb86631229fbcb17 # 4.4.0
+ uses: codecov/codecov-action@125fc84a9a348dbcf27191600683ec096ec9021c # 4.4.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -259,7 +259,7 @@ jobs:
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/builder-integration-test.yaml b/.github/workflows/builder-integration-test.yaml
index 7f0fecef400..b95d0040899 100644
--- a/.github/workflows/builder-integration-test.yaml
+++ b/.github/workflows/builder-integration-test.yaml
@@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/builder-release.yaml b/.github/workflows/builder-release.yaml
index 31afbe0b808..e827965c792 100644
--- a/.github/workflows/builder-release.yaml
+++ b/.github/workflows/builder-release.yaml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Setup Go
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 99e8887ff54..0cc1ccbca9c 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -26,7 +26,7 @@ jobs:
PR_HEAD: ${{ github.event.pull_request.head.sha }}
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Setup Go
diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml
index 3a903228663..55f4f466674 100644
--- a/.github/workflows/check-links.yaml
+++ b/.github/workflows/check-links.yaml
@@ -21,7 +21,7 @@ jobs:
md: ${{ steps.changes.outputs.md }}
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- name: Get changed files
@@ -34,7 +34,7 @@ jobs:
if: ${{needs.changedfiles.outputs.md}}
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index fad7705b405..bb456aade19 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
@@ -30,12 +30,12 @@ jobs:
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
+ uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with:
languages: go
- name: Autobuild
- uses: github/codeql-action/autobuild@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
+ uses: github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
+ uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
diff --git a/.github/workflows/contrib-tests.yml b/.github/workflows/contrib-tests.yml
index fd20d3aeddb..e795bed94cb 100644
--- a/.github/workflows/contrib-tests.yml
+++ b/.github/workflows/contrib-tests.yml
@@ -38,7 +38,7 @@ jobs:
- other
steps:
- name: Checkout Repo
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
diff --git a/.github/workflows/generate-semantic-conventions-pr.yaml b/.github/workflows/generate-semantic-conventions-pr.yaml
index 69fa1f4154b..0edf9e4591c 100644
--- a/.github/workflows/generate-semantic-conventions-pr.yaml
+++ b/.github/workflows/generate-semantic-conventions-pr.yaml
@@ -14,7 +14,7 @@ jobs:
already-added: ${{ steps.check-versions.outputs.already-added }}
already-opened: ${{ steps.check-versions.outputs.already-opened }}
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- id: check-versions
name: Check versions
@@ -56,9 +56,9 @@ jobs:
needs:
- check-versions
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Checkout semantic-convention
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
repository: open-telemetry/semantic-convention
path: tmp-semantic-conventions
diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml
index 0a6f8065d89..bf3935baec4 100644
--- a/.github/workflows/perf.yml
+++ b/.github/workflows/perf.yml
@@ -11,7 +11,7 @@ jobs:
runperf:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index 0dbd4454be8..3433d0c539d 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -54,7 +54,7 @@ jobs:
- validate-versions
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
# Make sure that there are no open issues with release:blocker label in Core. The release has to be delayed until they are resolved.
diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml
index e2d46811604..c9c952f5829 100644
--- a/.github/workflows/scorecard.yml
+++ b/.github/workflows/scorecard.yml
@@ -29,7 +29,7 @@ jobs:
steps:
- name: "Checkout code"
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
@@ -64,6 +64,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
- uses: github/codeql-action/upload-sarif@b7cec7526559c32f1616476ff32d17ba4c59b2d6 # v3.25.5
+ uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
with:
sarif_file: results.sarif
diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml
index d98269e4175..1f048e48eb0 100644
--- a/.github/workflows/shellcheck.yml
+++ b/.github/workflows/shellcheck.yml
@@ -13,6 +13,6 @@ jobs:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml
index ba13e9a58ef..1cf7b52e623 100644
--- a/.github/workflows/tidy-dependencies.yml
+++ b/.github/workflows/tidy-dependencies.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependency-major-update') && (github.actor == 'renovate[bot]' || contains(github.event.pull_request.labels.*.name, 'renovatebot')) }}
steps:
- - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
+ - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
From b05c7fe35c02d46419ed210f2f3400a551ff0e66 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Tue, 21 May 2024 17:20:34 +0200
Subject: [PATCH 055/111] [chore] Amend changelog for ResolverSettings (#10192)
Follow up to #9516 and
https://github.com/open-telemetry/opentelemetry-collector/pull/10173#discussion_r1606677594
---
CHANGELOG-API.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CHANGELOG-API.md b/CHANGELOG-API.md
index ee00dd4b97c..75d7a0e72fc 100644
--- a/CHANGELOG-API.md
+++ b/CHANGELOG-API.md
@@ -43,6 +43,8 @@ If you are looking for user-facing changes, check out [CHANGELOG.md](./CHANGELOG
- `confighttp`: deprecate ToClientContext, ToServerContext, ToListenerContext, replaced by ToClient, ToServer, ToListener (#9807)
- `configtls`: Deprecates `ClientConfig.LoadTLSConfigContext` and `ServerConfig.LoadTLSConfigContext`, use `ClientConfig.LoadTLSConfig` and `ServerConfig.LoadTLSConfig` instead. (#9945)
+- `confmap`: Deprecate the `Providers` and `Converters` fields in `confmap.ResolverSettings` (#9516)
+Use the `ProviderFactories` and `ConverterFactories` fields instead.
### 💡 Enhancements 💡
From 6c7b34c3a6cb9f6a8e3796c71242913e304e861f Mon Sep 17 00:00:00 2001
From: Damien Mathieu <42@dmathieu.com>
Date: Tue, 21 May 2024 17:33:43 +0200
Subject: [PATCH 056/111] Add stringSlice and int64Slice to pcommon, and let
tests handle non-number slices (#10148)
#### Description
This adds a string slice to pcommon, that will be used by the profiles
pdata.
#### Link to tracking issue
Part of #10109.
#### Testing
This is unit-tested.
cc @mx-psi
---------
Co-authored-by: Pablo Baeyens
---
.chloggen/pcommon-string-int64-slices.yaml | 25 ++++
.../cmd/pdatagen/internal/pcommon_package.go | 52 +++++++--
.../internal/primitive_slice_structs.go | 73 +++++++-----
pdata/internal/generated_wrapper_byteslice.go | 10 ++
.../generated_wrapper_float64slice.go | 10 ++
.../internal/generated_wrapper_int64slice.go | 34 ++++++
.../internal/generated_wrapper_stringslice.go | 34 ++++++
.../internal/generated_wrapper_uint64slice.go | 10 ++
pdata/pcommon/generated_byteslice_test.go | 2 +-
pdata/pcommon/generated_float64slice_test.go | 2 +-
pdata/pcommon/generated_int64slice.go | 108 ++++++++++++++++++
pdata/pcommon/generated_int64slice_test.go | 83 ++++++++++++++
pdata/pcommon/generated_stringslice.go | 108 ++++++++++++++++++
pdata/pcommon/generated_stringslice_test.go | 83 ++++++++++++++
pdata/pcommon/generated_uint64slice_test.go | 2 +-
15 files changed, 597 insertions(+), 39 deletions(-)
create mode 100644 .chloggen/pcommon-string-int64-slices.yaml
create mode 100644 pdata/internal/generated_wrapper_int64slice.go
create mode 100644 pdata/internal/generated_wrapper_stringslice.go
create mode 100644 pdata/pcommon/generated_int64slice.go
create mode 100644 pdata/pcommon/generated_int64slice_test.go
create mode 100644 pdata/pcommon/generated_stringslice.go
create mode 100644 pdata/pcommon/generated_stringslice_test.go
diff --git a/.chloggen/pcommon-string-int64-slices.yaml b/.chloggen/pcommon-string-int64-slices.yaml
new file mode 100644
index 00000000000..9d3171ab671
--- /dev/null
+++ b/.chloggen/pcommon-string-int64-slices.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: pdata
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Introduce string and int64 slices to pcommon
+
+# One or more tracking issues or pull requests related to the change
+issues: [10148]
+
+# (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:
+
+# 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: [api]
diff --git a/pdata/internal/cmd/pdatagen/internal/pcommon_package.go b/pdata/internal/cmd/pdatagen/internal/pcommon_package.go
index 5926279694d..6491792b4cf 100644
--- a/pdata/internal/cmd/pdatagen/internal/pcommon_package.go
+++ b/pdata/internal/cmd/pdatagen/internal/pcommon_package.go
@@ -24,6 +24,8 @@ var pcommon = &Package{
byteSlice,
float64Slice,
uInt64Slice,
+ int64Slice,
+ stringSlice,
},
}
@@ -164,19 +166,51 @@ var resourceField = &messageValueField{
}
var byteSlice = &primitiveSliceStruct{
- structName: "ByteSlice",
- packageName: "pcommon",
- itemType: "byte",
+ structName: "ByteSlice",
+ packageName: "pcommon",
+ itemType: "byte",
+ testOrigVal: "1, 2, 3",
+ testInterfaceOrigVal: []interface{}{1, 2, 3},
+ testSetVal: "5",
+ testNewVal: "1, 5, 3",
}
var float64Slice = &primitiveSliceStruct{
- structName: "Float64Slice",
- packageName: "pcommon",
- itemType: "float64",
+ structName: "Float64Slice",
+ packageName: "pcommon",
+ itemType: "float64",
+ testOrigVal: "1, 2, 3",
+ testInterfaceOrigVal: []interface{}{1, 2, 3},
+ testSetVal: "5",
+ testNewVal: "1, 5, 3",
}
var uInt64Slice = &primitiveSliceStruct{
- structName: "UInt64Slice",
- packageName: "pcommon",
- itemType: "uint64",
+ structName: "UInt64Slice",
+ packageName: "pcommon",
+ itemType: "uint64",
+ testOrigVal: "1, 2, 3",
+ testInterfaceOrigVal: []interface{}{1, 2, 3},
+ testSetVal: "5",
+ testNewVal: "1, 5, 3",
+}
+
+var int64Slice = &primitiveSliceStruct{
+ structName: "Int64Slice",
+ packageName: "pcommon",
+ itemType: "int64",
+ testOrigVal: "1, 2, 3",
+ testInterfaceOrigVal: []interface{}{1, 2, 3},
+ testSetVal: "5",
+ testNewVal: "1, 5, 3",
+}
+
+var stringSlice = &primitiveSliceStruct{
+ structName: "StringSlice",
+ packageName: "pcommon",
+ itemType: "string",
+ testOrigVal: `"a", "b", "c"`,
+ testInterfaceOrigVal: []interface{}{`"a"`, `"b"`, `"c"`},
+ testSetVal: `"d"`,
+ testNewVal: `"a", "d", "c"`,
}
diff --git a/pdata/internal/cmd/pdatagen/internal/primitive_slice_structs.go b/pdata/internal/cmd/pdatagen/internal/primitive_slice_structs.go
index 6428e545c52..73e5a3a45e9 100644
--- a/pdata/internal/cmd/pdatagen/internal/primitive_slice_structs.go
+++ b/pdata/internal/cmd/pdatagen/internal/primitive_slice_structs.go
@@ -80,13 +80,13 @@ func (ms {{ .structName }}) EnsureCapacity(newCap int) {
}
// Append appends extra elements to {{ .structName }}.
-// Equivalent of {{ .lowerStructName }} = append({{ .lowerStructName }}, elms...)
+// Equivalent of {{ .lowerStructName }} = append({{ .lowerStructName }}, elms...)
func (ms {{ .structName }}) Append(elms ...{{ .itemType }}) {
ms.getState().AssertMutable()
*ms.getOrig() = append(*ms.getOrig(), elms...)
}
-// MoveTo moves all elements from the current slice overriding the destination and
+// MoveTo moves all elements from the current slice overriding the destination and
// resetting the current instance to its zero value.
func (ms {{ .structName }}) MoveTo(dest {{ .structName }}) {
ms.getState().AssertMutable()
@@ -109,42 +109,42 @@ func copy{{ .structName }}(dst, src []{{ .itemType }}) []{{ .itemType }} {
const immutableSliceTestTemplate = `func TestNew{{ .structName }}(t *testing.T) {
ms := New{{ .structName }}()
assert.Equal(t, 0, ms.Len())
- ms.FromRaw([]{{ .itemType }}{1, 2, 3})
+ ms.FromRaw([]{{ .itemType }}{ {{ .testOrigVal }} })
assert.Equal(t, 3, ms.Len())
- assert.Equal(t, []{{ .itemType }}{1, 2, 3}, ms.AsRaw())
- ms.SetAt(1, {{ .itemType }}(5))
- assert.Equal(t, []{{ .itemType }}{1, 5, 3}, ms.AsRaw())
- ms.FromRaw([]{{ .itemType }}{3})
+ assert.Equal(t, []{{ .itemType }}{ {{ .testOrigVal }} }, ms.AsRaw())
+ ms.SetAt(1, {{ .itemType }}( {{ .testSetVal }} ))
+ assert.Equal(t, []{{ .itemType }}{ {{ .testNewVal }} }, ms.AsRaw())
+ ms.FromRaw([]{{ .itemType }}{ {{ index .testInterfaceOrigVal 2 }} })
assert.Equal(t, 1, ms.Len())
- assert.Equal(t, {{ .itemType }}(3), ms.At(0))
-
+ assert.Equal(t, {{ .itemType }}( {{ index .testInterfaceOrigVal 2 }} ), ms.At(0))
+
cp := New{{ .structName }}()
ms.CopyTo(cp)
- ms.SetAt(0, {{ .itemType }}(2))
- assert.Equal(t, {{ .itemType }}(2), ms.At(0))
- assert.Equal(t, {{ .itemType }}(3), cp.At(0))
+ ms.SetAt(0, {{ .itemType }}( {{ index .testInterfaceOrigVal 1 }} ))
+ assert.Equal(t, {{ .itemType }}( {{ index .testInterfaceOrigVal 1 }} ), ms.At(0))
+ assert.Equal(t, {{ .itemType }}({{ index .testInterfaceOrigVal 2 }}), cp.At(0))
ms.CopyTo(cp)
- assert.Equal(t, {{ .itemType }}(2), cp.At(0))
-
+ assert.Equal(t, {{ .itemType }}({{ index .testInterfaceOrigVal 1 }}), cp.At(0))
+
mv := New{{ .structName }}()
ms.MoveTo(mv)
assert.Equal(t, 0, ms.Len())
assert.Equal(t, 1, mv.Len())
- assert.Equal(t, {{ .itemType }}(2), mv.At(0))
- ms.FromRaw([]{{ .itemType }}{1, 2, 3})
+ assert.Equal(t, {{ .itemType }}({{ index .testInterfaceOrigVal 1 }}), mv.At(0))
+ ms.FromRaw([]{{ .itemType }}{ {{ .testOrigVal }} })
ms.MoveTo(mv)
assert.Equal(t, 3, mv.Len())
- assert.Equal(t, {{ .itemType }}(1), mv.At(0))
+ assert.Equal(t, {{ .itemType }}({{ index .testInterfaceOrigVal 0 }}), mv.At(0))
}
func Test{{ .structName }}ReadOnly(t *testing.T) {
- raw := []{{ .itemType }}{1, 2, 3}
+ raw := []{{ .itemType }}{ {{ .testOrigVal }}}
state := internal.StateReadOnly
ms := {{ .structName }}(internal.New{{ .structName }}(&raw, &state))
assert.Equal(t, 3, ms.Len())
- assert.Equal(t, {{ .itemType }}(1), ms.At(0))
- assert.Panics(t, func() { ms.Append(1) })
+ assert.Equal(t, {{ .itemType }}({{ index .testInterfaceOrigVal 0 }}), ms.At(0))
+ assert.Panics(t, func() { ms.Append({{ index .testInterfaceOrigVal 0 }}) })
assert.Panics(t, func() { ms.EnsureCapacity(2) })
assert.Equal(t, raw, ms.AsRaw())
assert.Panics(t, func() { ms.FromRaw(raw) })
@@ -153,17 +153,17 @@ func Test{{ .structName }}ReadOnly(t *testing.T) {
ms.CopyTo(ms2)
assert.Equal(t, ms.AsRaw(), ms2.AsRaw())
assert.Panics(t, func() { ms2.CopyTo(ms) })
-
+
assert.Panics(t, func() { ms.MoveTo(ms2) })
assert.Panics(t, func() { ms2.MoveTo(ms) })
}
func Test{{ .structName }}Append(t *testing.T) {
ms := New{{ .structName }}()
- ms.FromRaw([]{{ .itemType }}{1, 2, 3})
- ms.Append(4, 5)
+ ms.FromRaw([]{{ .itemType }}{ {{ .testOrigVal }} })
+ ms.Append({{ .testSetVal }}, {{ .testSetVal }})
assert.Equal(t, 5, ms.Len())
- assert.Equal(t, {{ .itemType }}(5), ms.At(4))
+ assert.Equal(t, {{ .itemType }}({{ .testSetVal }}), ms.At(4))
}
func Test{{ .structName }}EnsureCapacity(t *testing.T) {
@@ -190,6 +190,16 @@ func Get{{ .structName }}State(ms {{ .structName }}) *State {
func New{{ .structName }}(orig *[]{{ .itemType }}, state *State) {{ .structName }} {
return {{ .structName }}{orig: orig, state: state}
+}
+
+func FillTest{{ .structName }}(tv {{ .structName}}) {
+}
+
+func GenerateTest{{ .structName }}() {{ .structName }} {
+ state := StateMutable
+ var orig []{{ .itemType }} = nil
+
+ return {{ .structName }}{&orig, &state}
}`
// primitiveSliceStruct generates a struct for a slice of primitive value elements. The structs are always generated
@@ -198,6 +208,11 @@ type primitiveSliceStruct struct {
structName string
packageName string
itemType string
+
+ testOrigVal string
+ testInterfaceOrigVal []interface{}
+ testSetVal string
+ testNewVal string
}
func (iss *primitiveSliceStruct) getName() string {
@@ -233,8 +248,12 @@ func (iss *primitiveSliceStruct) generateInternal(sb *bytes.Buffer) {
func (iss *primitiveSliceStruct) templateFields() map[string]any {
return map[string]any{
- "structName": iss.structName,
- "itemType": iss.itemType,
- "lowerStructName": strings.ToLower(iss.structName[:1]) + iss.structName[1:],
+ "structName": iss.structName,
+ "itemType": iss.itemType,
+ "lowerStructName": strings.ToLower(iss.structName[:1]) + iss.structName[1:],
+ "testOrigVal": iss.testOrigVal,
+ "testInterfaceOrigVal": iss.testInterfaceOrigVal,
+ "testSetVal": iss.testSetVal,
+ "testNewVal": iss.testNewVal,
}
}
diff --git a/pdata/internal/generated_wrapper_byteslice.go b/pdata/internal/generated_wrapper_byteslice.go
index ea3a3d95cd1..1f3548b2055 100644
--- a/pdata/internal/generated_wrapper_byteslice.go
+++ b/pdata/internal/generated_wrapper_byteslice.go
@@ -22,3 +22,13 @@ func GetByteSliceState(ms ByteSlice) *State {
func NewByteSlice(orig *[]byte, state *State) ByteSlice {
return ByteSlice{orig: orig, state: state}
}
+
+func FillTestByteSlice(tv ByteSlice) {
+}
+
+func GenerateTestByteSlice() ByteSlice {
+ state := StateMutable
+ var orig []byte = nil
+
+ return ByteSlice{&orig, &state}
+}
diff --git a/pdata/internal/generated_wrapper_float64slice.go b/pdata/internal/generated_wrapper_float64slice.go
index 88d6c33d78e..f13349cded6 100644
--- a/pdata/internal/generated_wrapper_float64slice.go
+++ b/pdata/internal/generated_wrapper_float64slice.go
@@ -22,3 +22,13 @@ func GetFloat64SliceState(ms Float64Slice) *State {
func NewFloat64Slice(orig *[]float64, state *State) Float64Slice {
return Float64Slice{orig: orig, state: state}
}
+
+func FillTestFloat64Slice(tv Float64Slice) {
+}
+
+func GenerateTestFloat64Slice() Float64Slice {
+ state := StateMutable
+ var orig []float64 = nil
+
+ return Float64Slice{&orig, &state}
+}
diff --git a/pdata/internal/generated_wrapper_int64slice.go b/pdata/internal/generated_wrapper_int64slice.go
new file mode 100644
index 00000000000..cd85707b15c
--- /dev/null
+++ b/pdata/internal/generated_wrapper_int64slice.go
@@ -0,0 +1,34 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package internal
+
+type Int64Slice struct {
+ orig *[]int64
+ state *State
+}
+
+func GetOrigInt64Slice(ms Int64Slice) *[]int64 {
+ return ms.orig
+}
+
+func GetInt64SliceState(ms Int64Slice) *State {
+ return ms.state
+}
+
+func NewInt64Slice(orig *[]int64, state *State) Int64Slice {
+ return Int64Slice{orig: orig, state: state}
+}
+
+func FillTestInt64Slice(tv Int64Slice) {
+}
+
+func GenerateTestInt64Slice() Int64Slice {
+ state := StateMutable
+ var orig []int64 = nil
+
+ return Int64Slice{&orig, &state}
+}
diff --git a/pdata/internal/generated_wrapper_stringslice.go b/pdata/internal/generated_wrapper_stringslice.go
new file mode 100644
index 00000000000..508912653f9
--- /dev/null
+++ b/pdata/internal/generated_wrapper_stringslice.go
@@ -0,0 +1,34 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package internal
+
+type StringSlice struct {
+ orig *[]string
+ state *State
+}
+
+func GetOrigStringSlice(ms StringSlice) *[]string {
+ return ms.orig
+}
+
+func GetStringSliceState(ms StringSlice) *State {
+ return ms.state
+}
+
+func NewStringSlice(orig *[]string, state *State) StringSlice {
+ return StringSlice{orig: orig, state: state}
+}
+
+func FillTestStringSlice(tv StringSlice) {
+}
+
+func GenerateTestStringSlice() StringSlice {
+ state := StateMutable
+ var orig []string = nil
+
+ return StringSlice{&orig, &state}
+}
diff --git a/pdata/internal/generated_wrapper_uint64slice.go b/pdata/internal/generated_wrapper_uint64slice.go
index fed633ae260..bbb4a4fafec 100644
--- a/pdata/internal/generated_wrapper_uint64slice.go
+++ b/pdata/internal/generated_wrapper_uint64slice.go
@@ -22,3 +22,13 @@ func GetUInt64SliceState(ms UInt64Slice) *State {
func NewUInt64Slice(orig *[]uint64, state *State) UInt64Slice {
return UInt64Slice{orig: orig, state: state}
}
+
+func FillTestUInt64Slice(tv UInt64Slice) {
+}
+
+func GenerateTestUInt64Slice() UInt64Slice {
+ state := StateMutable
+ var orig []uint64 = nil
+
+ return UInt64Slice{&orig, &state}
+}
diff --git a/pdata/pcommon/generated_byteslice_test.go b/pdata/pcommon/generated_byteslice_test.go
index 9594e0d11d5..1c0dc8219cd 100644
--- a/pdata/pcommon/generated_byteslice_test.go
+++ b/pdata/pcommon/generated_byteslice_test.go
@@ -69,7 +69,7 @@ func TestByteSliceReadOnly(t *testing.T) {
func TestByteSliceAppend(t *testing.T) {
ms := NewByteSlice()
ms.FromRaw([]byte{1, 2, 3})
- ms.Append(4, 5)
+ ms.Append(5, 5)
assert.Equal(t, 5, ms.Len())
assert.Equal(t, byte(5), ms.At(4))
}
diff --git a/pdata/pcommon/generated_float64slice_test.go b/pdata/pcommon/generated_float64slice_test.go
index 7d2dd87bece..d8cbefb212e 100644
--- a/pdata/pcommon/generated_float64slice_test.go
+++ b/pdata/pcommon/generated_float64slice_test.go
@@ -69,7 +69,7 @@ func TestFloat64SliceReadOnly(t *testing.T) {
func TestFloat64SliceAppend(t *testing.T) {
ms := NewFloat64Slice()
ms.FromRaw([]float64{1, 2, 3})
- ms.Append(4, 5)
+ ms.Append(5, 5)
assert.Equal(t, 5, ms.Len())
assert.Equal(t, float64(5), ms.At(4))
}
diff --git a/pdata/pcommon/generated_int64slice.go b/pdata/pcommon/generated_int64slice.go
new file mode 100644
index 00000000000..e50cd3cc3a5
--- /dev/null
+++ b/pdata/pcommon/generated_int64slice.go
@@ -0,0 +1,108 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pcommon
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+)
+
+// Int64Slice represents a []int64 slice.
+// The instance of Int64Slice can be assigned to multiple objects since it's immutable.
+//
+// Must use NewInt64Slice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Int64Slice internal.Int64Slice
+
+func (ms Int64Slice) getOrig() *[]int64 {
+ return internal.GetOrigInt64Slice(internal.Int64Slice(ms))
+}
+
+func (ms Int64Slice) getState() *internal.State {
+ return internal.GetInt64SliceState(internal.Int64Slice(ms))
+}
+
+// NewInt64Slice creates a new empty Int64Slice.
+func NewInt64Slice() Int64Slice {
+ orig := []int64(nil)
+ state := internal.StateMutable
+ return Int64Slice(internal.NewInt64Slice(&orig, &state))
+}
+
+// AsRaw returns a copy of the []int64 slice.
+func (ms Int64Slice) AsRaw() []int64 {
+ return copyInt64Slice(nil, *ms.getOrig())
+}
+
+// FromRaw copies raw []int64 into the slice Int64Slice.
+func (ms Int64Slice) FromRaw(val []int64) {
+ ms.getState().AssertMutable()
+ *ms.getOrig() = copyInt64Slice(*ms.getOrig(), val)
+}
+
+// Len returns length of the []int64 slice value.
+// Equivalent of len(int64Slice).
+func (ms Int64Slice) Len() int {
+ return len(*ms.getOrig())
+}
+
+// At returns an item from particular index.
+// Equivalent of int64Slice[i].
+func (ms Int64Slice) At(i int) int64 {
+ return (*ms.getOrig())[i]
+}
+
+// SetAt sets int64 item at particular index.
+// Equivalent of int64Slice[i] = val
+func (ms Int64Slice) SetAt(i int, val int64) {
+ ms.getState().AssertMutable()
+ (*ms.getOrig())[i] = val
+}
+
+// EnsureCapacity ensures Int64Slice has at least the specified capacity.
+// 1. If the newCap <= cap, then is no change in capacity.
+// 2. If the newCap > cap, then the slice capacity will be expanded to the provided value which will be equivalent of:
+// buf := make([]int64, len(int64Slice), newCap)
+// copy(buf, int64Slice)
+// int64Slice = buf
+func (ms Int64Slice) EnsureCapacity(newCap int) {
+ ms.getState().AssertMutable()
+ oldCap := cap(*ms.getOrig())
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]int64, len(*ms.getOrig()), newCap)
+ copy(newOrig, *ms.getOrig())
+ *ms.getOrig() = newOrig
+}
+
+// Append appends extra elements to Int64Slice.
+// Equivalent of int64Slice = append(int64Slice, elms...)
+func (ms Int64Slice) Append(elms ...int64) {
+ ms.getState().AssertMutable()
+ *ms.getOrig() = append(*ms.getOrig(), elms...)
+}
+
+// MoveTo moves all elements from the current slice overriding the destination and
+// resetting the current instance to its zero value.
+func (ms Int64Slice) MoveTo(dest Int64Slice) {
+ ms.getState().AssertMutable()
+ dest.getState().AssertMutable()
+ *dest.getOrig() = *ms.getOrig()
+ *ms.getOrig() = nil
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (ms Int64Slice) CopyTo(dest Int64Slice) {
+ dest.getState().AssertMutable()
+ *dest.getOrig() = copyInt64Slice(*dest.getOrig(), *ms.getOrig())
+}
+
+func copyInt64Slice(dst, src []int64) []int64 {
+ dst = dst[:0]
+ return append(dst, src...)
+}
diff --git a/pdata/pcommon/generated_int64slice_test.go b/pdata/pcommon/generated_int64slice_test.go
new file mode 100644
index 00000000000..868e2088ca9
--- /dev/null
+++ b/pdata/pcommon/generated_int64slice_test.go
@@ -0,0 +1,83 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pcommon
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+)
+
+func TestNewInt64Slice(t *testing.T) {
+ ms := NewInt64Slice()
+ assert.Equal(t, 0, ms.Len())
+ ms.FromRaw([]int64{1, 2, 3})
+ assert.Equal(t, 3, ms.Len())
+ assert.Equal(t, []int64{1, 2, 3}, ms.AsRaw())
+ ms.SetAt(1, int64(5))
+ assert.Equal(t, []int64{1, 5, 3}, ms.AsRaw())
+ ms.FromRaw([]int64{3})
+ assert.Equal(t, 1, ms.Len())
+ assert.Equal(t, int64(3), ms.At(0))
+
+ cp := NewInt64Slice()
+ ms.CopyTo(cp)
+ ms.SetAt(0, int64(2))
+ assert.Equal(t, int64(2), ms.At(0))
+ assert.Equal(t, int64(3), cp.At(0))
+ ms.CopyTo(cp)
+ assert.Equal(t, int64(2), cp.At(0))
+
+ mv := NewInt64Slice()
+ ms.MoveTo(mv)
+ assert.Equal(t, 0, ms.Len())
+ assert.Equal(t, 1, mv.Len())
+ assert.Equal(t, int64(2), mv.At(0))
+ ms.FromRaw([]int64{1, 2, 3})
+ ms.MoveTo(mv)
+ assert.Equal(t, 3, mv.Len())
+ assert.Equal(t, int64(1), mv.At(0))
+}
+
+func TestInt64SliceReadOnly(t *testing.T) {
+ raw := []int64{1, 2, 3}
+ state := internal.StateReadOnly
+ ms := Int64Slice(internal.NewInt64Slice(&raw, &state))
+
+ assert.Equal(t, 3, ms.Len())
+ assert.Equal(t, int64(1), ms.At(0))
+ assert.Panics(t, func() { ms.Append(1) })
+ assert.Panics(t, func() { ms.EnsureCapacity(2) })
+ assert.Equal(t, raw, ms.AsRaw())
+ assert.Panics(t, func() { ms.FromRaw(raw) })
+
+ ms2 := NewInt64Slice()
+ ms.CopyTo(ms2)
+ assert.Equal(t, ms.AsRaw(), ms2.AsRaw())
+ assert.Panics(t, func() { ms2.CopyTo(ms) })
+
+ assert.Panics(t, func() { ms.MoveTo(ms2) })
+ assert.Panics(t, func() { ms2.MoveTo(ms) })
+}
+
+func TestInt64SliceAppend(t *testing.T) {
+ ms := NewInt64Slice()
+ ms.FromRaw([]int64{1, 2, 3})
+ ms.Append(5, 5)
+ assert.Equal(t, 5, ms.Len())
+ assert.Equal(t, int64(5), ms.At(4))
+}
+
+func TestInt64SliceEnsureCapacity(t *testing.T) {
+ ms := NewInt64Slice()
+ ms.EnsureCapacity(4)
+ assert.Equal(t, 4, cap(*ms.getOrig()))
+ ms.EnsureCapacity(2)
+ assert.Equal(t, 4, cap(*ms.getOrig()))
+}
diff --git a/pdata/pcommon/generated_stringslice.go b/pdata/pcommon/generated_stringslice.go
new file mode 100644
index 00000000000..02a75c7a65c
--- /dev/null
+++ b/pdata/pcommon/generated_stringslice.go
@@ -0,0 +1,108 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pcommon
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+)
+
+// StringSlice represents a []string slice.
+// The instance of StringSlice can be assigned to multiple objects since it's immutable.
+//
+// Must use NewStringSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type StringSlice internal.StringSlice
+
+func (ms StringSlice) getOrig() *[]string {
+ return internal.GetOrigStringSlice(internal.StringSlice(ms))
+}
+
+func (ms StringSlice) getState() *internal.State {
+ return internal.GetStringSliceState(internal.StringSlice(ms))
+}
+
+// NewStringSlice creates a new empty StringSlice.
+func NewStringSlice() StringSlice {
+ orig := []string(nil)
+ state := internal.StateMutable
+ return StringSlice(internal.NewStringSlice(&orig, &state))
+}
+
+// AsRaw returns a copy of the []string slice.
+func (ms StringSlice) AsRaw() []string {
+ return copyStringSlice(nil, *ms.getOrig())
+}
+
+// FromRaw copies raw []string into the slice StringSlice.
+func (ms StringSlice) FromRaw(val []string) {
+ ms.getState().AssertMutable()
+ *ms.getOrig() = copyStringSlice(*ms.getOrig(), val)
+}
+
+// Len returns length of the []string slice value.
+// Equivalent of len(stringSlice).
+func (ms StringSlice) Len() int {
+ return len(*ms.getOrig())
+}
+
+// At returns an item from particular index.
+// Equivalent of stringSlice[i].
+func (ms StringSlice) At(i int) string {
+ return (*ms.getOrig())[i]
+}
+
+// SetAt sets string item at particular index.
+// Equivalent of stringSlice[i] = val
+func (ms StringSlice) SetAt(i int, val string) {
+ ms.getState().AssertMutable()
+ (*ms.getOrig())[i] = val
+}
+
+// EnsureCapacity ensures StringSlice has at least the specified capacity.
+// 1. If the newCap <= cap, then is no change in capacity.
+// 2. If the newCap > cap, then the slice capacity will be expanded to the provided value which will be equivalent of:
+// buf := make([]string, len(stringSlice), newCap)
+// copy(buf, stringSlice)
+// stringSlice = buf
+func (ms StringSlice) EnsureCapacity(newCap int) {
+ ms.getState().AssertMutable()
+ oldCap := cap(*ms.getOrig())
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]string, len(*ms.getOrig()), newCap)
+ copy(newOrig, *ms.getOrig())
+ *ms.getOrig() = newOrig
+}
+
+// Append appends extra elements to StringSlice.
+// Equivalent of stringSlice = append(stringSlice, elms...)
+func (ms StringSlice) Append(elms ...string) {
+ ms.getState().AssertMutable()
+ *ms.getOrig() = append(*ms.getOrig(), elms...)
+}
+
+// MoveTo moves all elements from the current slice overriding the destination and
+// resetting the current instance to its zero value.
+func (ms StringSlice) MoveTo(dest StringSlice) {
+ ms.getState().AssertMutable()
+ dest.getState().AssertMutable()
+ *dest.getOrig() = *ms.getOrig()
+ *ms.getOrig() = nil
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (ms StringSlice) CopyTo(dest StringSlice) {
+ dest.getState().AssertMutable()
+ *dest.getOrig() = copyStringSlice(*dest.getOrig(), *ms.getOrig())
+}
+
+func copyStringSlice(dst, src []string) []string {
+ dst = dst[:0]
+ return append(dst, src...)
+}
diff --git a/pdata/pcommon/generated_stringslice_test.go b/pdata/pcommon/generated_stringslice_test.go
new file mode 100644
index 00000000000..c4a3b6b38a2
--- /dev/null
+++ b/pdata/pcommon/generated_stringslice_test.go
@@ -0,0 +1,83 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pcommon
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+)
+
+func TestNewStringSlice(t *testing.T) {
+ ms := NewStringSlice()
+ assert.Equal(t, 0, ms.Len())
+ ms.FromRaw([]string{"a", "b", "c"})
+ assert.Equal(t, 3, ms.Len())
+ assert.Equal(t, []string{"a", "b", "c"}, ms.AsRaw())
+ ms.SetAt(1, string("d"))
+ assert.Equal(t, []string{"a", "d", "c"}, ms.AsRaw())
+ ms.FromRaw([]string{"c"})
+ assert.Equal(t, 1, ms.Len())
+ assert.Equal(t, string("c"), ms.At(0))
+
+ cp := NewStringSlice()
+ ms.CopyTo(cp)
+ ms.SetAt(0, string("b"))
+ assert.Equal(t, string("b"), ms.At(0))
+ assert.Equal(t, string("c"), cp.At(0))
+ ms.CopyTo(cp)
+ assert.Equal(t, string("b"), cp.At(0))
+
+ mv := NewStringSlice()
+ ms.MoveTo(mv)
+ assert.Equal(t, 0, ms.Len())
+ assert.Equal(t, 1, mv.Len())
+ assert.Equal(t, string("b"), mv.At(0))
+ ms.FromRaw([]string{"a", "b", "c"})
+ ms.MoveTo(mv)
+ assert.Equal(t, 3, mv.Len())
+ assert.Equal(t, string("a"), mv.At(0))
+}
+
+func TestStringSliceReadOnly(t *testing.T) {
+ raw := []string{"a", "b", "c"}
+ state := internal.StateReadOnly
+ ms := StringSlice(internal.NewStringSlice(&raw, &state))
+
+ assert.Equal(t, 3, ms.Len())
+ assert.Equal(t, string("a"), ms.At(0))
+ assert.Panics(t, func() { ms.Append("a") })
+ assert.Panics(t, func() { ms.EnsureCapacity(2) })
+ assert.Equal(t, raw, ms.AsRaw())
+ assert.Panics(t, func() { ms.FromRaw(raw) })
+
+ ms2 := NewStringSlice()
+ ms.CopyTo(ms2)
+ assert.Equal(t, ms.AsRaw(), ms2.AsRaw())
+ assert.Panics(t, func() { ms2.CopyTo(ms) })
+
+ assert.Panics(t, func() { ms.MoveTo(ms2) })
+ assert.Panics(t, func() { ms2.MoveTo(ms) })
+}
+
+func TestStringSliceAppend(t *testing.T) {
+ ms := NewStringSlice()
+ ms.FromRaw([]string{"a", "b", "c"})
+ ms.Append("d", "d")
+ assert.Equal(t, 5, ms.Len())
+ assert.Equal(t, string("d"), ms.At(4))
+}
+
+func TestStringSliceEnsureCapacity(t *testing.T) {
+ ms := NewStringSlice()
+ ms.EnsureCapacity(4)
+ assert.Equal(t, 4, cap(*ms.getOrig()))
+ ms.EnsureCapacity(2)
+ assert.Equal(t, 4, cap(*ms.getOrig()))
+}
diff --git a/pdata/pcommon/generated_uint64slice_test.go b/pdata/pcommon/generated_uint64slice_test.go
index 9120f84b5e2..27013b985b9 100644
--- a/pdata/pcommon/generated_uint64slice_test.go
+++ b/pdata/pcommon/generated_uint64slice_test.go
@@ -69,7 +69,7 @@ func TestUInt64SliceReadOnly(t *testing.T) {
func TestUInt64SliceAppend(t *testing.T) {
ms := NewUInt64Slice()
ms.FromRaw([]uint64{1, 2, 3})
- ms.Append(4, 5)
+ ms.Append(5, 5)
assert.Equal(t, 5, ms.Len())
assert.Equal(t, uint64(5), ms.At(4))
}
From 01cb15b50f02f9b68ea055ed498b61ab0a496be2 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Tue, 21 May 2024 17:36:18 +0200
Subject: [PATCH 057/111] [service/telemetry] Switch to a factory pattern
(#10001)
#### Description
Switches `service/telemetry` to a factory pattern. To avoid adding a lot
of public API in one go:
1. the actual factory builder is in an internal package
2. I have not added the `CreateMeterProvider` method yet
There are two goals with this: one is to make progress on #4970, the
other is to allow initializing telemetry sooner:
#### Link to tracking issue
Updates #4970.
#### Testing
Updates existing tests to use `NewFactory`
---
.chloggen/mx-psi_tel-factory.yaml | 25 +++++
otelcol/unmarshaler.go | 32 +------
service/service.go | 23 +++--
service/telemetry/factory.go | 59 ++++++++++++
service/telemetry/internal/factory.go | 116 ++++++++++++++++++++++
service/telemetry/logger.go | 53 +++++++++++
service/telemetry/telemetry.go | 132 +++-----------------------
service/telemetry/telemetry_test.go | 16 ++--
service/telemetry/tracer.go | 85 +++++++++++++++++
9 files changed, 382 insertions(+), 159 deletions(-)
create mode 100644 .chloggen/mx-psi_tel-factory.yaml
create mode 100644 service/telemetry/factory.go
create mode 100644 service/telemetry/internal/factory.go
create mode 100644 service/telemetry/logger.go
create mode 100644 service/telemetry/tracer.go
diff --git a/.chloggen/mx-psi_tel-factory.yaml b/.chloggen/mx-psi_tel-factory.yaml
new file mode 100644
index 00000000000..2a07ec8b46c
--- /dev/null
+++ b/.chloggen/mx-psi_tel-factory.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: deprecation
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: service/telemetry
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Deprecate telemetry.New in favor of telemetry.NewFactory
+
+# One or more tracking issues or pull requests related to the change
+issues: [4970]
+
+# (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:
+
+# 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: [api]
diff --git a/otelcol/unmarshaler.go b/otelcol/unmarshaler.go
index a522d9fa60d..4967b0a731d 100644
--- a/otelcol/unmarshaler.go
+++ b/otelcol/unmarshaler.go
@@ -4,11 +4,6 @@
package otelcol // import "go.opentelemetry.io/collector/otelcol"
import (
- "time"
-
- "go.uber.org/zap/zapcore"
-
- "go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/connector"
"go.opentelemetry.io/collector/exporter"
@@ -32,6 +27,10 @@ type configSettings struct {
// unmarshal the configSettings from a confmap.Conf.
// After the config is unmarshalled, `Validate()` must be called to validate.
func unmarshal(v *confmap.Conf, factories Factories) (*configSettings, error) {
+
+ telFactory := telemetry.NewFactory()
+ defaultTelConfig := *telFactory.CreateDefaultConfig().(*telemetry.Config)
+
// Unmarshal top level sections and validate.
cfg := &configSettings{
Receivers: configunmarshaler.NewConfigs(factories.Receivers),
@@ -41,28 +40,7 @@ func unmarshal(v *confmap.Conf, factories Factories) (*configSettings, error) {
Extensions: configunmarshaler.NewConfigs(factories.Extensions),
// TODO: Add a component.ServiceFactory to allow this to be defined by the Service.
Service: service.Config{
- Telemetry: telemetry.Config{
- Logs: telemetry.LogsConfig{
- Level: zapcore.InfoLevel,
- Development: false,
- Encoding: "console",
- Sampling: &telemetry.LogsSamplingConfig{
- Enabled: true,
- Tick: 10 * time.Second,
- Initial: 10,
- Thereafter: 100,
- },
- OutputPaths: []string{"stderr"},
- ErrorOutputPaths: []string{"stderr"},
- DisableCaller: false,
- DisableStacktrace: false,
- InitialFields: map[string]any(nil),
- },
- Metrics: telemetry.MetricsConfig{
- Level: configtelemetry.LevelNormal,
- Address: ":8888",
- },
- },
+ Telemetry: defaultTelConfig,
},
}
diff --git a/service/service.go b/service/service.go
index 902454c78f1..53ea3eebe65 100644
--- a/service/service.go
+++ b/service/service.go
@@ -89,16 +89,27 @@ func New(ctx context.Context, set Settings, cfg Config) (*Service, error) {
},
collectorConf: set.CollectorConf,
}
- tel, err := telemetry.New(ctx, telemetry.Settings{BuildInfo: set.BuildInfo, ZapOptions: set.LoggingOptions}, cfg.Telemetry)
- if err != nil {
- return nil, fmt.Errorf("failed to get logger: %w", err)
- }
// Fetch data for internal telemetry like instance id and sdk version to provide for internal telemetry.
res := resource.New(set.BuildInfo, cfg.Telemetry.Resource)
pcommonRes := pdataFromSdk(res)
- logger := tel.Logger()
+ telFactory := telemetry.NewFactory()
+ telset := telemetry.Settings{
+ BuildInfo: set.BuildInfo,
+ ZapOptions: set.LoggingOptions,
+ }
+
+ logger, err := telFactory.CreateLogger(ctx, telset, &cfg.Telemetry)
+ if err != nil {
+ return nil, fmt.Errorf("failed to create logger: %w", err)
+ }
+
+ tracerProvider, err := telFactory.CreateTracerProvider(ctx, telset, &cfg.Telemetry)
+ if err != nil {
+ return nil, fmt.Errorf("failed to create tracer provider: %w", err)
+ }
+
logger.Info("Setting up own telemetry...")
mp, err := newMeterProvider(
meterProviderSettings{
@@ -116,7 +127,7 @@ func New(ctx context.Context, set Settings, cfg Config) (*Service, error) {
srv.telemetrySettings = servicetelemetry.TelemetrySettings{
Logger: logger,
MeterProvider: mp,
- TracerProvider: tel.TracerProvider(),
+ TracerProvider: tracerProvider,
MetricsLevel: cfg.Telemetry.Metrics.Level,
// Construct telemetry attributes from build info and config's resource attributes.
Resource: pcommonRes,
diff --git a/service/telemetry/factory.go b/service/telemetry/factory.go
new file mode 100644
index 00000000000..c236d3c5733
--- /dev/null
+++ b/service/telemetry/factory.go
@@ -0,0 +1,59 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package telemetry // import "go.opentelemetry.io/collector/service/telemetry"
+
+import (
+ "context"
+ "time"
+
+ "go.opentelemetry.io/otel/trace"
+ "go.uber.org/zap"
+ "go.uber.org/zap/zapcore"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
+ "go.opentelemetry.io/collector/service/telemetry/internal"
+)
+
+func createDefaultConfig() component.Config {
+ return &Config{
+ Logs: LogsConfig{
+ Level: zapcore.InfoLevel,
+ Development: false,
+ Encoding: "console",
+ Sampling: &LogsSamplingConfig{
+ Enabled: true,
+ Tick: 10 * time.Second,
+ Initial: 10,
+ Thereafter: 100,
+ },
+ OutputPaths: []string{"stderr"},
+ ErrorOutputPaths: []string{"stderr"},
+ DisableCaller: false,
+ DisableStacktrace: false,
+ InitialFields: map[string]any(nil),
+ },
+ Metrics: MetricsConfig{
+ Level: configtelemetry.LevelNormal,
+ Address: ":8888",
+ },
+ }
+}
+
+// Factory is a telemetry factory.
+type Factory = internal.Factory
+
+// NewFactory creates a new Factory.
+func NewFactory() Factory {
+ return internal.NewFactory(createDefaultConfig,
+ internal.WithLogger(func(_ context.Context, set Settings, cfg component.Config) (*zap.Logger, error) {
+ c := *cfg.(*Config)
+ return newLogger(c.Logs, set.ZapOptions)
+ }),
+ internal.WithTracerProvider(func(ctx context.Context, _ Settings, cfg component.Config) (trace.TracerProvider, error) {
+ c := *cfg.(*Config)
+ return newTracerProvider(ctx, c)
+ }),
+ )
+}
diff --git a/service/telemetry/internal/factory.go b/service/telemetry/internal/factory.go
new file mode 100644
index 00000000000..f1368c9704d
--- /dev/null
+++ b/service/telemetry/internal/factory.go
@@ -0,0 +1,116 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package internal // import "go.opentelemetry.io/collector/service/telemetry/internal"
+
+import (
+ "context"
+
+ "go.opentelemetry.io/otel/trace"
+ tracenoop "go.opentelemetry.io/otel/trace/noop"
+ "go.uber.org/zap"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+// CreateSettings holds configuration for building Telemetry.
+type CreateSettings struct {
+ BuildInfo component.BuildInfo
+ AsyncErrorChannel chan error
+ ZapOptions []zap.Option
+}
+
+// Factory is factory interface for telemetry.
+// This interface cannot be directly implemented. Implementations must
+// use the NewFactory to implement it.
+type Factory interface {
+ // CreateDefaultConfig creates the default configuration for the telemetry.
+ // TODO: Should we just inherit from component.Factory?
+ CreateDefaultConfig() component.Config
+
+ // CreateLogger creates a logger.
+ CreateLogger(ctx context.Context, set CreateSettings, cfg component.Config) (*zap.Logger, error)
+
+ // CreateTracerProvider creates a TracerProvider.
+ CreateTracerProvider(ctx context.Context, set CreateSettings, cfg component.Config) (trace.TracerProvider, error)
+
+ // TODO: Add CreateMeterProvider.
+
+ // unexportedFactoryFunc is used to prevent external implementations of Factory.
+ unexportedFactoryFunc()
+}
+
+// FactoryOption apply changes to Factory.
+type FactoryOption interface {
+ // applyTelemetryFactoryOption applies the option.
+ applyTelemetryFactoryOption(o *factory)
+}
+
+var _ FactoryOption = (*factoryOptionFunc)(nil)
+
+// factoryOptionFunc is an FactoryOption created through a function.
+type factoryOptionFunc func(*factory)
+
+func (f factoryOptionFunc) applyTelemetryFactoryOption(o *factory) {
+ f(o)
+}
+
+var _ Factory = (*factory)(nil)
+
+// factory is the implementation of Factory.
+type factory struct {
+ createDefaultConfig component.CreateDefaultConfigFunc
+ CreateLoggerFunc
+ CreateTracerProviderFunc
+}
+
+func (f *factory) CreateDefaultConfig() component.Config {
+ return f.createDefaultConfig()
+}
+
+// CreateLoggerFunc is the equivalent of Factory.CreateLogger.
+type CreateLoggerFunc func(context.Context, CreateSettings, component.Config) (*zap.Logger, error)
+
+// WithLogger overrides the default no-op logger.
+func WithLogger(createLogger CreateLoggerFunc) FactoryOption {
+ return factoryOptionFunc(func(o *factory) {
+ o.CreateLoggerFunc = createLogger
+ })
+}
+
+func (f *factory) CreateLogger(ctx context.Context, set CreateSettings, cfg component.Config) (*zap.Logger, error) {
+ if f.CreateLoggerFunc == nil {
+ return zap.NewNop(), nil
+ }
+ return f.CreateLoggerFunc(ctx, set, cfg)
+}
+
+// CreateTracerProviderFunc is the equivalent of Factory.CreateTracerProvider.
+type CreateTracerProviderFunc func(context.Context, CreateSettings, component.Config) (trace.TracerProvider, error)
+
+// WithTracerProvider overrides the default no-op tracer provider.
+func WithTracerProvider(createTracerProvider CreateTracerProviderFunc) FactoryOption {
+ return factoryOptionFunc(func(o *factory) {
+ o.CreateTracerProviderFunc = createTracerProvider
+ })
+}
+
+func (f *factory) CreateTracerProvider(ctx context.Context, set CreateSettings, cfg component.Config) (trace.TracerProvider, error) {
+ if f.CreateTracerProviderFunc == nil {
+ return tracenoop.NewTracerProvider(), nil
+ }
+ return f.CreateTracerProviderFunc(ctx, set, cfg)
+}
+
+func (f *factory) unexportedFactoryFunc() {}
+
+// NewFactory returns a new Factory.
+func NewFactory(createDefaultConfig component.CreateDefaultConfigFunc, options ...FactoryOption) Factory {
+ f := &factory{
+ createDefaultConfig: createDefaultConfig,
+ }
+ for _, op := range options {
+ op.applyTelemetryFactoryOption(f)
+ }
+ return f
+}
diff --git a/service/telemetry/logger.go b/service/telemetry/logger.go
new file mode 100644
index 00000000000..eb675bc459f
--- /dev/null
+++ b/service/telemetry/logger.go
@@ -0,0 +1,53 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package telemetry // import "go.opentelemetry.io/collector/service/telemetry"
+
+import (
+ "go.uber.org/zap"
+ "go.uber.org/zap/zapcore"
+)
+
+func newLogger(cfg LogsConfig, options []zap.Option) (*zap.Logger, error) {
+ // Copied from NewProductionConfig.
+ zapCfg := &zap.Config{
+ Level: zap.NewAtomicLevelAt(cfg.Level),
+ Development: cfg.Development,
+ Encoding: cfg.Encoding,
+ EncoderConfig: zap.NewProductionEncoderConfig(),
+ OutputPaths: cfg.OutputPaths,
+ ErrorOutputPaths: cfg.ErrorOutputPaths,
+ DisableCaller: cfg.DisableCaller,
+ DisableStacktrace: cfg.DisableStacktrace,
+ InitialFields: cfg.InitialFields,
+ }
+
+ if zapCfg.Encoding == "console" {
+ // Human-readable timestamps for console format of logs.
+ zapCfg.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder
+ }
+
+ logger, err := zapCfg.Build(options...)
+ if err != nil {
+ return nil, err
+ }
+ if cfg.Sampling != nil && cfg.Sampling.Enabled {
+ logger = newSampledLogger(logger, cfg.Sampling)
+ }
+
+ return logger, nil
+}
+
+func newSampledLogger(logger *zap.Logger, sc *LogsSamplingConfig) *zap.Logger {
+ // Create a logger that samples every Nth message after the first M messages every S seconds
+ // where N = sc.Thereafter, M = sc.Initial, S = sc.Tick.
+ opts := zap.WrapCore(func(core zapcore.Core) zapcore.Core {
+ return zapcore.NewSamplerWithOptions(
+ core,
+ sc.Tick,
+ sc.Initial,
+ sc.Thereafter,
+ )
+ })
+ return logger.WithOptions(opts)
+}
diff --git a/service/telemetry/telemetry.go b/service/telemetry/telemetry.go
index 008a50c07ea..53e36f3c76c 100644
--- a/service/telemetry/telemetry.go
+++ b/service/telemetry/telemetry.go
@@ -5,31 +5,18 @@ package telemetry // import "go.opentelemetry.io/collector/service/telemetry"
import (
"context"
- "errors"
+ "fmt"
- "go.opentelemetry.io/contrib/config"
- "go.opentelemetry.io/contrib/propagators/b3"
- "go.opentelemetry.io/otel"
- "go.opentelemetry.io/otel/propagation"
sdktrace "go.opentelemetry.io/otel/sdk/trace"
"go.opentelemetry.io/otel/trace"
"go.uber.org/multierr"
"go.uber.org/zap"
- "go.uber.org/zap/zapcore"
- "go.opentelemetry.io/collector/component"
-)
-
-const (
- // supported trace propagators
- traceContextPropagator = "tracecontext"
- b3Propagator = "b3"
-)
-
-var (
- errUnsupportedPropagator = errors.New("unsupported trace propagator")
+ "go.opentelemetry.io/collector/service/telemetry/internal"
)
+// Telemetry is the service telemetry.
+// Deprecated: [v0.99.0] Use Factory.
type Telemetry struct {
logger *zap.Logger
tracerProvider trace.TracerProvider
@@ -55,119 +42,24 @@ func (t *Telemetry) Shutdown(ctx context.Context) error {
}
// Settings holds configuration for building Telemetry.
-type Settings struct {
- BuildInfo component.BuildInfo
- ZapOptions []zap.Option
-}
+type Settings = internal.CreateSettings
// New creates a new Telemetry from Config.
+// Deprecated: [v0.99.0] Use NewFactory.
func New(ctx context.Context, set Settings, cfg Config) (*Telemetry, error) {
- logger, err := newLogger(cfg.Logs, set.ZapOptions)
+ f := NewFactory()
+ logger, err := f.CreateLogger(ctx, set, &cfg)
if err != nil {
- return nil, err
+ return nil, fmt.Errorf("failed to created logger: %w", err)
}
- sdk, err := config.NewSDK(
- config.WithContext(ctx),
- config.WithOpenTelemetryConfiguration(
- config.OpenTelemetryConfiguration{
- TracerProvider: &config.TracerProvider{
- Processors: cfg.Traces.Processors,
- // TODO: once https://github.com/open-telemetry/opentelemetry-configuration/issues/83 is resolved,
- // configuration for sampler should be done here via something like the following:
- //
- // Sampler: &config.Sampler{
- // ParentBased: &config.SamplerParentBased{
- // LocalParentSampled: &config.Sampler{
- // AlwaysOn: config.SamplerAlwaysOn{},
- // },
- // LocalParentNotSampled: &config.Sampler{
- // RecordOnly: config.SamplerRecordOnly{},
- // },
- // RemoteParentSampled: &config.Sampler{
- // AlwaysOn: config.SamplerAlwaysOn{},
- // },
- // RemoteParentNotSampled: &config.Sampler{
- // RecordOnly: config.SamplerRecordOnly{},
- // },
- // },
- // },
- },
- },
- ),
- )
-
+ tracerProvider, err := f.CreateTracerProvider(ctx, set, &cfg)
if err != nil {
- return nil, err
- }
-
- if tp, err := textMapPropagatorFromConfig(cfg.Traces.Propagators); err == nil {
- otel.SetTextMapPropagator(tp)
- } else {
- return nil, err
+ return nil, fmt.Errorf("failed to create tracer provider: %w", err)
}
return &Telemetry{
logger: logger,
- tracerProvider: sdk.TracerProvider(),
+ tracerProvider: tracerProvider,
}, nil
}
-
-func textMapPropagatorFromConfig(props []string) (propagation.TextMapPropagator, error) {
- var textMapPropagators []propagation.TextMapPropagator
- for _, prop := range props {
- switch prop {
- case traceContextPropagator:
- textMapPropagators = append(textMapPropagators, propagation.TraceContext{})
- case b3Propagator:
- textMapPropagators = append(textMapPropagators, b3.New())
- default:
- return nil, errUnsupportedPropagator
- }
- }
- return propagation.NewCompositeTextMapPropagator(textMapPropagators...), nil
-}
-
-func newLogger(cfg LogsConfig, options []zap.Option) (*zap.Logger, error) {
- // Copied from NewProductionConfig.
- zapCfg := &zap.Config{
- Level: zap.NewAtomicLevelAt(cfg.Level),
- Development: cfg.Development,
- Encoding: cfg.Encoding,
- EncoderConfig: zap.NewProductionEncoderConfig(),
- OutputPaths: cfg.OutputPaths,
- ErrorOutputPaths: cfg.ErrorOutputPaths,
- DisableCaller: cfg.DisableCaller,
- DisableStacktrace: cfg.DisableStacktrace,
- InitialFields: cfg.InitialFields,
- }
-
- if zapCfg.Encoding == "console" {
- // Human-readable timestamps for console format of logs.
- zapCfg.EncoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder
- }
-
- logger, err := zapCfg.Build(options...)
- if err != nil {
- return nil, err
- }
- if cfg.Sampling != nil && cfg.Sampling.Enabled {
- logger = newSampledLogger(logger, cfg.Sampling)
- }
-
- return logger, nil
-}
-
-func newSampledLogger(logger *zap.Logger, sc *LogsSamplingConfig) *zap.Logger {
- // Create a logger that samples every Nth message after the first M messages every S seconds
- // where N = sc.Thereafter, M = sc.Initial, S = sc.Tick.
- opts := zap.WrapCore(func(core zapcore.Core) zapcore.Core {
- return zapcore.NewSamplerWithOptions(
- core,
- sc.Tick,
- sc.Initial,
- sc.Thereafter,
- )
- })
- return logger.WithOptions(opts)
-}
diff --git a/service/telemetry/telemetry_test.go b/service/telemetry/telemetry_test.go
index c72d8c75e55..3a46c3cd8bc 100644
--- a/service/telemetry/telemetry_test.go
+++ b/service/telemetry/telemetry_test.go
@@ -55,13 +55,15 @@ func TestTelemetryConfiguration(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- telemetry, err := New(context.Background(), Settings{ZapOptions: []zap.Option{}}, *tt.cfg)
+ f := NewFactory()
+ set := Settings{ZapOptions: []zap.Option{}}
+ logger, err := f.CreateLogger(context.Background(), set, tt.cfg)
if tt.success {
assert.NoError(t, err)
- assert.NotNil(t, telemetry)
+ assert.NotNil(t, logger)
} else {
assert.Error(t, err)
- assert.Nil(t, telemetry)
+ assert.Nil(t, logger)
}
})
}
@@ -111,10 +113,12 @@ func TestSampledLogger(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
- telemetry, err := New(context.Background(), Settings{ZapOptions: []zap.Option{}}, *tt.cfg)
+ f := NewFactory()
+ ctx := context.Background()
+ set := Settings{ZapOptions: []zap.Option{}}
+ logger, err := f.CreateLogger(ctx, set, tt.cfg)
assert.NoError(t, err)
- assert.NotNil(t, telemetry)
- assert.NotNil(t, telemetry.Logger())
+ assert.NotNil(t, logger)
})
}
}
diff --git a/service/telemetry/tracer.go b/service/telemetry/tracer.go
new file mode 100644
index 00000000000..d235ca3aaf2
--- /dev/null
+++ b/service/telemetry/tracer.go
@@ -0,0 +1,85 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package telemetry // import "go.opentelemetry.io/collector/service/telemetry"
+
+import (
+ "context"
+ "errors"
+
+ "go.opentelemetry.io/contrib/config"
+ "go.opentelemetry.io/contrib/propagators/b3"
+ "go.opentelemetry.io/otel"
+ "go.opentelemetry.io/otel/propagation"
+ "go.opentelemetry.io/otel/trace"
+)
+
+const (
+ // supported trace propagators
+ traceContextPropagator = "tracecontext"
+ b3Propagator = "b3"
+)
+
+var (
+ errUnsupportedPropagator = errors.New("unsupported trace propagator")
+)
+
+// New creates a new Telemetry from Config.
+func newTracerProvider(ctx context.Context, cfg Config) (trace.TracerProvider, error) {
+ sdk, err := config.NewSDK(
+ config.WithContext(ctx),
+ config.WithOpenTelemetryConfiguration(
+ config.OpenTelemetryConfiguration{
+ TracerProvider: &config.TracerProvider{
+ Processors: cfg.Traces.Processors,
+ // TODO: once https://github.com/open-telemetry/opentelemetry-configuration/issues/83 is resolved,
+ // configuration for sampler should be done here via something like the following:
+ //
+ // Sampler: &config.Sampler{
+ // ParentBased: &config.SamplerParentBased{
+ // LocalParentSampled: &config.Sampler{
+ // AlwaysOn: config.SamplerAlwaysOn{},
+ // },
+ // LocalParentNotSampled: &config.Sampler{
+ // RecordOnly: config.SamplerRecordOnly{},
+ // },
+ // RemoteParentSampled: &config.Sampler{
+ // AlwaysOn: config.SamplerAlwaysOn{},
+ // },
+ // RemoteParentNotSampled: &config.Sampler{
+ // RecordOnly: config.SamplerRecordOnly{},
+ // },
+ // },
+ // },
+ },
+ },
+ ),
+ )
+
+ if err != nil {
+ return nil, err
+ }
+
+ if tp, err := textMapPropagatorFromConfig(cfg.Traces.Propagators); err == nil {
+ otel.SetTextMapPropagator(tp)
+ } else {
+ return nil, err
+ }
+
+ return sdk.TracerProvider(), nil
+}
+
+func textMapPropagatorFromConfig(props []string) (propagation.TextMapPropagator, error) {
+ var textMapPropagators []propagation.TextMapPropagator
+ for _, prop := range props {
+ switch prop {
+ case traceContextPropagator:
+ textMapPropagators = append(textMapPropagators, propagation.TraceContext{})
+ case b3Propagator:
+ textMapPropagators = append(textMapPropagators, b3.New())
+ default:
+ return nil, errUnsupportedPropagator
+ }
+ }
+ return propagation.NewCompositeTextMapPropagator(textMapPropagators...), nil
+}
From fad386409c936b3fb41a616e633b9cdd73e72215 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 21 May 2024 09:41:17 -0700
Subject: [PATCH 058/111] fix(deps): update all go.opentelemetry.io/collector
packages to v0.101.0 (#10193)
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/collector/exporter/otlpexporter](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.100.0` -> `v0.101.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.100.0/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlpexporter/v0.100.0/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/collector/exporter/otlphttpexporter](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.100.0` -> `v0.101.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.100.0/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2fexporter%2fotlphttpexporter/v0.100.0/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/collector/receiver/otlpreceiver](https://togithub.com/open-telemetry/opentelemetry-collector)
| `v0.100.0` -> `v0.101.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.100.0/v0.101.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcollector%2freceiver%2fotlpreceiver/v0.100.0/v0.101.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-collector
(go.opentelemetry.io/collector/exporter/otlpexporter)
###
[`v0.101.0`](https://togithub.com/open-telemetry/opentelemetry-collector/blob/HEAD/CHANGELOG.md#v180v01010)
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector/compare/v0.100.0...v0.101.0)
##### 💡 Enhancements 💡
- `mdatagen`: generate documentation for internal telemetry
([#10170](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10170))
- `mdatagen`: add ability to use metadata.yaml to automatically generate
instruments for components
([#10054](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10054))
The `telemetry` section in metadata.yaml is used to generate
instruments for components to measure telemetry about themselves.
- `confmap`: Allow Converters to write logs during startup
([#10135](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10135))
- `otelcol`: Enable logging during configuration resolution
([#10056](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10056))
##### 🧰 Bug fixes 🧰
- `mdatagen`: Run package tests when goleak is skipped
([#10125](https://togithub.com/open-telemetry/opentelemetry-collector/issues/10125))
---
### 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 these
updates 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
internal/e2e/go.mod | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 8e00f6ca0dd..46964a5bf2b 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -12,12 +12,12 @@ require (
go.opentelemetry.io/collector/config/configtls v0.101.0
go.opentelemetry.io/collector/consumer v0.101.0
go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/exporter/otlpexporter v0.100.0
- go.opentelemetry.io/collector/exporter/otlphttpexporter v0.100.0
+ go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
+ go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/collector/receiver/otlpreceiver v0.100.0
+ go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
go.uber.org/goleak v1.3.0
)
From 4bd4e2b970ba670e9703e86449f12ccca6149831 Mon Sep 17 00:00:00 2001
From: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
Date: Tue, 21 May 2024 14:33:43 -0400
Subject: [PATCH 059/111] [chore][cmd/builder] Improve missing replace
statements test (#10196)
Updates `TestReplaceStatementsAreComplete` to check the modules used in
replace statements to ensure that their dependencies also have replace
statements. This will catch the error that happened in #10188 before a
release is started.
The one caveat here is that the test may need to be run multiple times
if there are modules deep in the dependency tree that haven't been added
to the list of replace statement modules. In essence, the user has to do
a BFS walk of the dependency tree themselves by running the tests until
all missing modules are caught. We could automate this process with
additional code to report all missing modules at once regardless of
depth, but I figure it's not worth the extra complexity in the test for
such a small gain.
#### Testing
I tested this on the #10188 branch by removing the `pdata/testdata`
module from the replace statements list and seeing that the failure is
easier to understand:
```
--- FAIL: TestReplaceStatementsAreComplete (0.60s)
Error: Should be true
Test: TestReplaceStatementsAreComplete
Messages: Module missing from replace statements list: go.opentelemetry.io/collector/pdata/testdata
```
---
cmd/builder/internal/builder/main_test.go | 46 +++++++++++++----------
1 file changed, 27 insertions(+), 19 deletions(-)
diff --git a/cmd/builder/internal/builder/main_test.go b/cmd/builder/internal/builder/main_test.go
index 79ed8ab2751..6c862c70721 100644
--- a/cmd/builder/internal/builder/main_test.go
+++ b/cmd/builder/internal/builder/main_test.go
@@ -341,6 +341,17 @@ func TestGenerateAndCompile(t *testing.T) {
// local copy, `go get` will try to fetch the unreleased
// version remotely and some tests will fail.
func TestReplaceStatementsAreComplete(t *testing.T) {
+ workspaceDir := getWorkspaceDir()
+ replaceMods := map[string]bool{}
+
+ for _, suffix := range replaceModules {
+ replaceMods[modulePrefix+suffix] = false
+ }
+
+ for _, mod := range replaceModules {
+ verifyGoMod(t, workspaceDir+mod, replaceMods)
+ }
+
var err error
dir := t.TempDir()
cfg := NewDefaultConfig()
@@ -401,6 +412,14 @@ func TestReplaceStatementsAreComplete(t *testing.T) {
err = GenerateAndCompile(cfg)
require.NoError(t, err)
+ verifyGoMod(t, dir, replaceMods)
+
+ for k, v := range replaceMods {
+ assert.Truef(t, v, "Module not used: %s", k)
+ }
+}
+
+func verifyGoMod(t *testing.T, dir string, replaceMods map[string]bool) {
gomodpath := path.Join(dir, "go.mod")
// #nosec G304 We control this path and generate the file inside, so we can assume it is safe.
gomod, err := os.ReadFile(gomodpath)
@@ -409,12 +428,6 @@ func TestReplaceStatementsAreComplete(t *testing.T) {
mod, err := modfile.Parse(gomodpath, gomod, nil)
require.NoError(t, err)
- replaceMods := map[string]bool{}
-
- for _, suffix := range replaceModules {
- replaceMods[modulePrefix+suffix] = false
- }
-
for _, req := range mod.Require {
if !strings.HasPrefix(req.Mod.Path, modulePrefix) {
continue
@@ -425,15 +438,6 @@ func TestReplaceStatementsAreComplete(t *testing.T) {
replaceMods[req.Mod.Path] = true
}
-
- // those are modules that should be part of the replaces, but are not components
- for _, unused := range []string{"/pdata/testdata"} {
- replaceMods[modulePrefix+unused] = true
- }
-
- for k, v := range replaceMods {
- assert.Truef(t, v, "Module not used: %s", k)
- }
}
func makeModule(dir string, fileContents []byte) error {
@@ -454,10 +458,7 @@ func makeModule(dir string, fileContents []byte) error {
}
func generateReplaces() []string {
- // This test is dependent on the current file structure.
- // The goal is find the root of the repo so we can replace the root module.
- _, thisFile, _, _ := runtime.Caller(0)
- workspaceDir := filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(thisFile)))))
+ workspaceDir := getWorkspaceDir()
modules := replaceModules
replaces := make([]string, len(modules))
@@ -467,3 +468,10 @@ func generateReplaces() []string {
return replaces
}
+
+func getWorkspaceDir() string {
+ // This is dependent on the current file structure.
+ // The goal is find the root of the repo so we can replace the root module.
+ _, thisFile, _, _ := runtime.Caller(0)
+ return filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(filepath.Dir(thisFile)))))
+}
From d4857b0e8eb7d82bfcb33e560ff0bb8acde59cee Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 21 May 2024 12:15:28 -0700
Subject: [PATCH 060/111] fix(deps): update opentelemetry-go monorepo (#10199)
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/otel](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/bridge/opencensus](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fbridge%2fopencensus/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fbridge%2fopencensus/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fbridge%2fopencensus/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fbridge%2fopencensus/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetricgrpc/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fotlp%2fotlpmetric%2fotlpmetrichttp/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/exporters/prometheus](https://togithub.com/open-telemetry/opentelemetry-go)
| `v0.48.0` -> `v0.49.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fprometheus/v0.48.0/v0.49.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/exporters/stdout/stdoutmetric](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdoutmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdoutmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdoutmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fexporters%2fstdout%2fstdoutmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/metric](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2fmetric/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2fmetric/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/otel/trace](https://togithub.com/open-telemetry/opentelemetry-go)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fotel%2ftrace/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fotel%2ftrace/v1.26.0/v1.27.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
(go.opentelemetry.io/otel)
###
[`v1.27.0`](https://togithub.com/open-telemetry/opentelemetry-go/releases/tag/v1.27.0):
/v0.49.0/v0.3.0
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go/compare/v1.26.0...v1.27.0)
This release includes the first beta release of the OpenTelemetry Logs
Bridge API and SDK for Go.
##### Overview
##### Added
- Add example for `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`.
([#5242](https://togithub.com/open-telemetry/opentelemetry-go/issues/5242))
- Add `RecordFactory` in `go.opentelemetry.io/otel/sdk/log/logtest` to
facilitate testing exporter and processor implementations.
([#5258](https://togithub.com/open-telemetry/opentelemetry-go/issues/5258))
- Add `RecordFactory` in `go.opentelemetry.io/otel/log/logtest` to
facilitate testing bridge implementations.
([#5263](https://togithub.com/open-telemetry/opentelemetry-go/issues/5263))
- The count of dropped records from the `BatchProcessor` in
`go.opentelemetry.io/otel/sdk/log` is logged.
([#5276](https://togithub.com/open-telemetry/opentelemetry-go/issues/5276))
- Add metrics in the `otel-collector` example.
([#5283](https://togithub.com/open-telemetry/opentelemetry-go/issues/5283))
- Add the synchronous gauge instrument to
`go.opentelemetry.io/otel/metric`.
([#5304](https://togithub.com/open-telemetry/opentelemetry-go/issues/5304))
- An `int64` or `float64` synchronous gauge instrument can now be
created from a `Meter`.
- All implementations of the API
(`go.opentelemetry.io/otel/metric/noop`,
`go.opentelemetry.io/otel/sdk/metric`) are updated to support this
instrument.
- Add logs to `go.opentelemetry.io/otel/example/dice`.
([#5349](https://togithub.com/open-telemetry/opentelemetry-go/issues/5349))
##### Changed
- The `Shutdown` method of `Exporter` in
`go.opentelemetry.io/otel/exporters/stdout/stdouttrace` ignores the
context cancellation and always returns `nil`.
([#5189](https://togithub.com/open-telemetry/opentelemetry-go/issues/5189))
- The `ForceFlush` and `Shutdown` methods of the exporter returned by
`New` in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric` ignore
the context cancellation and always return `nil`.
([#5189](https://togithub.com/open-telemetry/opentelemetry-go/issues/5189))
- Apply the value length limits to `Record` attributes in
`go.opentelemetry.io/otel/sdk/log`.
([#5230](https://togithub.com/open-telemetry/opentelemetry-go/issues/5230))
- De-duplicate map attributes added to a `Record` in
`go.opentelemetry.io/otel/sdk/log`.
([#5230](https://togithub.com/open-telemetry/opentelemetry-go/issues/5230))
- `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` won't print
timestamps when `WithoutTimestamps` option is set.
([#5241](https://togithub.com/open-telemetry/opentelemetry-go/issues/5241))
- The `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` exporter
won't print `AttributeValueLengthLimit` and `AttributeCountLimit` fields
now, instead it prints the `DroppedAttributes` field.
([#5272](https://togithub.com/open-telemetry/opentelemetry-go/issues/5272))
- Improved performance in the `Stringer` implementation of
`go.opentelemetry.io/otel/baggage.Member` by reducing the number of
allocations.
([#5286](https://togithub.com/open-telemetry/opentelemetry-go/issues/5286))
- Set the start time for last-value aggregates in
`go.opentelemetry.io/otel/sdk/metric`.
([#5305](https://togithub.com/open-telemetry/opentelemetry-go/issues/5305))
- The `Span` in `go.opentelemetry.io/otel/sdk/trace` will record links
without span context if either non-empty `TraceState` or attributes are
provided.
([#5315](https://togithub.com/open-telemetry/opentelemetry-go/issues/5315))
- Upgrade all dependencies of `go.opentelemetry.io/otel/semconv/v1.24.0`
to `go.opentelemetry.io/otel/semconv/v1.25.0`.
([#5374](https://togithub.com/open-telemetry/opentelemetry-go/issues/5374))
##### Fixed
- Comparison of unordered maps for
`go.opentelemetry.io/otel/log.KeyValue` and
`go.opentelemetry.io/otel/log.Value`.
([#5306](https://togithub.com/open-telemetry/opentelemetry-go/issues/5306))
- Fix the empty output of `go.opentelemetry.io/otel/log.Value` in
`go.opentelemetry.io/otel/exporters/stdout/stdoutlog`.
([#5311](https://togithub.com/open-telemetry/opentelemetry-go/issues/5311))
- Split the behavior of `Recorder` in
`go.opentelemetry.io/otel/log/logtest` so it behaves as a
`LoggerProvider` only.
([#5365](https://togithub.com/open-telemetry/opentelemetry-go/issues/5365))
- Fix wrong package name of the error message when parsing endpoint URL
in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`.
([#5371](https://togithub.com/open-telemetry/opentelemetry-go/issues/5371))
- Identify the `Logger` returned from the global `LoggerProvider` in
`go.opentelemetry.io/otel/log/global` with its schema URL.
([#5375](https://togithub.com/open-telemetry/opentelemetry-go/issues/5375))
##### What's Changed
- sdk/log/logtest: Add RecordFactory by
[@pellared](https://togithub.com/pellared) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5258](https://togithub.com/open-telemetry/opentelemetry-go/pull/5258)
- log/logtest: add Record Factory by
[@dmathieu](https://togithub.com/dmathieu) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5263](https://togithub.com/open-telemetry/opentelemetry-go/pull/5263)
- stdoutlog: Do not print timestamps when WithoutTimestamps is set by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5241](https://togithub.com/open-telemetry/opentelemetry-go/pull/5241)
- Add example for stdoutlog by [@XSAM](https://togithub.com/XSAM)
in
[https://github.com/open-telemetry/opentelemetry-go/pull/5242](https://togithub.com/open-telemetry/opentelemetry-go/pull/5242)
- Remove context check on stdout exporters by
[@prasad-shirodkar](https://togithub.com/prasad-shirodkar) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5189](https://togithub.com/open-telemetry/opentelemetry-go/pull/5189)
- Fix flaky test TestBufferExporter/Shutdown/ContextCancelled by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5261](https://togithub.com/open-telemetry/opentelemetry-go/pull/5261)
- Add `otlploggrpc` exporter skeleton by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5246](https://togithub.com/open-telemetry/opentelemetry-go/pull/5246)
- build(deps): bump lycheeverse/lychee-action from 1.9.3 to 1.10.0 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5266](https://togithub.com/open-telemetry/opentelemetry-go/pull/5266)
- chore: fix function names in comment by
[@dockercui](https://togithub.com/dockercui) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5262](https://togithub.com/open-telemetry/opentelemetry-go/pull/5262)
- build(deps): bump
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from
0.50.0 to 0.51.0 in /example/dice by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5265](https://togithub.com/open-telemetry/opentelemetry-go/pull/5265)
- docs: update variable name in documentation by
[@codeboten](https://togithub.com/codeboten) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5270](https://togithub.com/open-telemetry/opentelemetry-go/pull/5270)
- Use empty resource when `RecordFactory.Resource` is `nil` by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5264](https://togithub.com/open-telemetry/opentelemetry-go/pull/5264)
- Truncate and de-duplicate log attribute values by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5230](https://togithub.com/open-telemetry/opentelemetry-go/pull/5230)
- Add changelog entry for
[#5230](https://togithub.com/open-telemetry/opentelemetry-go/issues/5230)
by [@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5277](https://togithub.com/open-telemetry/opentelemetry-go/pull/5277)
- docs: Add otlploghttp package in exporters README.md by
[@arukiidou](https://togithub.com/arukiidou) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5274](https://togithub.com/open-telemetry/opentelemetry-go/pull/5274)
- The stdoutlog exporter prints `DroppedAttributes` field instead of
`Limit`s fields by [@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5272](https://togithub.com/open-telemetry/opentelemetry-go/pull/5272)
- Test scope and resource transforms in `otlploghttp` by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5278](https://togithub.com/open-telemetry/opentelemetry-go/pull/5278)
- Add README template to semconvkit by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5279](https://togithub.com/open-telemetry/opentelemetry-go/pull/5279)
- Use docker compose in otel collector example by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5244](https://togithub.com/open-telemetry/opentelemetry-go/pull/5244)
- \[chore] dependabot updates Sun May 5 15:58:12 UTC 2024 by
[@opentelemetrybot](https://togithub.com/opentelemetrybot) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5300](https://togithub.com/open-telemetry/opentelemetry-go/pull/5300)
- build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1 by
[@dependabot](https://togithub.com/dependabot) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5296](https://togithub.com/open-telemetry/opentelemetry-go/pull/5296)
- docs: Update Go logs status to alpha in README.md by
[@arukiidou](https://togithub.com/arukiidou) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5299](https://togithub.com/open-telemetry/opentelemetry-go/pull/5299)
- docs: Add logs exporters in README.md by
[@arukiidou](https://togithub.com/arukiidou) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5298](https://togithub.com/open-telemetry/opentelemetry-go/pull/5298)
- Use reflect to construct a Record in `logtest` by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5275](https://togithub.com/open-telemetry/opentelemetry-go/pull/5275)
- Fix type error in float64 instrument documentation by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5302](https://togithub.com/open-telemetry/opentelemetry-go/pull/5302)
- Fix HistogramConfig documentation by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5301](https://togithub.com/open-telemetry/opentelemetry-go/pull/5301)
- feat: opt for concatenation instead of using fmt.Sprintf by
[@moisesvega](https://togithub.com/moisesvega) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5286](https://togithub.com/open-telemetry/opentelemetry-go/pull/5286)
- Emit attributes slices as their json representation by
[@dmathieu](https://togithub.com/dmathieu) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5159](https://togithub.com/open-telemetry/opentelemetry-go/pull/5159)
- Refactor exemplars to not use generic argument by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5285](https://togithub.com/open-telemetry/opentelemetry-go/pull/5285)
- Upgrade default go verison to 1.22.3 by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5314](https://togithub.com/open-telemetry/opentelemetry-go/pull/5314)
- Log records dropped by the BatchProcessor by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5276](https://togithub.com/open-telemetry/opentelemetry-go/pull/5276)
- Rename synchronous instrument names in global test by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5303](https://togithub.com/open-telemetry/opentelemetry-go/pull/5303)
- chore: Configure Renovate by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5309](https://togithub.com/open-telemetry/opentelemetry-go/pull/5309)
- chore(deps): update module github.com/golang/groupcache to
v0.0.0-20210331224755-41bb18bfe9da by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5320](https://togithub.com/open-telemetry/opentelemetry-go/pull/5320)
- chore(deps): update module google.golang.org/genproto/googleapis/api
to v0.0.0-20240506185236-b8a5c65736ae by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5321](https://togithub.com/open-telemetry/opentelemetry-go/pull/5321)
- chore(deps): update module gopkg.in/check.v1 to
v1.0.0-20201130134442-10cb98267c6c by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5326](https://togithub.com/open-telemetry/opentelemetry-go/pull/5326)
- chore(deps): update module google.golang.org/genproto/googleapis/rpc
to v0.0.0-20240506185236-b8a5c65736ae by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5325](https://togithub.com/open-telemetry/opentelemetry-go/pull/5325)
- fix(deps): update module golang.org/x/exp to
v0.0.0-20240506185415-9bf2ced13842 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5327](https://togithub.com/open-telemetry/opentelemetry-go/pull/5327)
- chore(deps): update module github.com/prometheus/common to v0.53.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5332](https://togithub.com/open-telemetry/opentelemetry-go/pull/5332)
- chore(deps): update module golang.org/x/net to v0.25.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5335](https://togithub.com/open-telemetry/opentelemetry-go/pull/5335)
- fix(deps): update module google.golang.org/protobuf to v1.34.1 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5328](https://togithub.com/open-telemetry/opentelemetry-go/pull/5328)
- chore(deps): update module github.com/prometheus/procfs to v0.14.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5333](https://togithub.com/open-telemetry/opentelemetry-go/pull/5333)
- chore(deps): update module github.com/cespare/xxhash/v2 to v2.3.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5330](https://togithub.com/open-telemetry/opentelemetry-go/pull/5330)
- chore(deps): update module github.com/rogpeppe/go-internal to v1.12.0
by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5334](https://togithub.com/open-telemetry/opentelemetry-go/pull/5334)
- fix(deps): update module github.com/golangci/golangci-lint to v1.58.1
by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5340](https://togithub.com/open-telemetry/opentelemetry-go/pull/5340)
- Merge Span.AddLink tests by
[@perhapsmaple](https://togithub.com/perhapsmaple) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5115](https://togithub.com/open-telemetry/opentelemetry-go/pull/5115)
- exporters/otlp/otlptrace: fix incorrect documentation by
[@kevinburkesegment](https://togithub.com/kevinburkesegment) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5098](https://togithub.com/open-telemetry/opentelemetry-go/pull/5098)
- Generate `internal/retry` in `otlploggrpc` by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5313](https://togithub.com/open-telemetry/opentelemetry-go/pull/5313)
- fix(deps): update module github.com/prometheus/client_golang to
v1.19.1 by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5341](https://togithub.com/open-telemetry/opentelemetry-go/pull/5341)
- chore(deps): update jaegertracing/all-in-one docker tag to v1.57 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5329](https://togithub.com/open-telemetry/opentelemetry-go/pull/5329)
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to
v0.100.0 by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5337](https://togithub.com/open-telemetry/opentelemetry-go/pull/5337)
- chore(deps): update prom/prometheus docker tag to v2.52.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5338](https://togithub.com/open-telemetry/opentelemetry-go/pull/5338)
- Move Aneurysm9 to emeritus status by
[@Aneurysm9](https://togithub.com/Aneurysm9) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5319](https://togithub.com/open-telemetry/opentelemetry-go/pull/5319)
- Test metric aggregate times by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5323](https://togithub.com/open-telemetry/opentelemetry-go/pull/5323)
- Fix empty log body printed by stdoutlog exporter by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5311](https://togithub.com/open-telemetry/opentelemetry-go/pull/5311)
- Record links with empty span context by
[@amanakin](https://togithub.com/amanakin) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5315](https://togithub.com/open-telemetry/opentelemetry-go/pull/5315)
- Update `RELEASING.md` to obtain steps to verify the changes for
contrib by [@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5284](https://togithub.com/open-telemetry/opentelemetry-go/pull/5284)
- chore(deps): update module google.golang.org/genproto/googleapis/rpc
to v0.0.0-20240509183442-62759503f434 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5345](https://togithub.com/open-telemetry/opentelemetry-go/pull/5345)
- chore(deps): update module google.golang.org/genproto/googleapis/api
to v0.0.0-20240509183442-62759503f434 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5344](https://togithub.com/open-telemetry/opentelemetry-go/pull/5344)
- Support Delta & Cumulative temporality for LastValue aggregates by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5305](https://togithub.com/open-telemetry/opentelemetry-go/pull/5305)
- sdk/log: Document how Processor and Exporter interfaces can be
extended by [@pellared](https://togithub.com/pellared) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5347](https://togithub.com/open-telemetry/opentelemetry-go/pull/5347)
- Remove dependabot version updates by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5346](https://togithub.com/open-telemetry/opentelemetry-go/pull/5346)
- chore(deps): update module google.golang.org/genproto/googleapis/api
to v0.0.0-20240513163218-0867130af1f8 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5350](https://togithub.com/open-telemetry/opentelemetry-go/pull/5350)
- chore(deps): update module google.golang.org/genproto/googleapis/rpc
to v0.0.0-20240513163218-0867130af1f8 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5351](https://togithub.com/open-telemetry/opentelemetry-go/pull/5351)
- chore(deps): update module github.com/prometheus/procfs to v0.15.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5352](https://togithub.com/open-telemetry/opentelemetry-go/pull/5352)
- chore(deps): update codecov/codecov-action action to v4.4.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5353](https://togithub.com/open-telemetry/opentelemetry-go/pull/5353)
- Add logs to dice example by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5349](https://togithub.com/open-telemetry/opentelemetry-go/pull/5349)
- log: Fix comparison of unordered map values by
[@dmathieu](https://togithub.com/dmathieu) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5306](https://togithub.com/open-telemetry/opentelemetry-go/pull/5306)
- fix(deps): update module google.golang.org/grpc to v1.64.0 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5354](https://togithub.com/open-telemetry/opentelemetry-go/pull/5354)
- Fix logger provider var name in dice example by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5358](https://togithub.com/open-telemetry/opentelemetry-go/pull/5358)
- chore(deps): update module google.golang.org/genproto/googleapis/rpc
to v0.0.0-20240515191416-fc5f0ca64291 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5362](https://togithub.com/open-telemetry/opentelemetry-go/pull/5362)
- chore(deps): update module google.golang.org/genproto/googleapis/api
to v0.0.0-20240515191416-fc5f0ca64291 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5361](https://togithub.com/open-telemetry/opentelemetry-go/pull/5361)
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2
to v2.20.0 by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5363](https://togithub.com/open-telemetry/opentelemetry-go/pull/5363)
- \[chore] Fix 2 places in log design doc by
[@yijiem](https://togithub.com/yijiem) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5364](https://togithub.com/open-telemetry/opentelemetry-go/pull/5364)
- \[chore] Fix wrong type in DESIGN.md by
[@pellared](https://togithub.com/pellared) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5368](https://togithub.com/open-telemetry/opentelemetry-go/pull/5368)
- Add the synchronous gauge to the metric API and SDK by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5304](https://togithub.com/open-telemetry/opentelemetry-go/pull/5304)
- Collector example: add metrics by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5283](https://togithub.com/open-telemetry/opentelemetry-go/pull/5283)
- Fix package prefix of error in otlploghttp by
[@XSAM](https://togithub.com/XSAM) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5371](https://togithub.com/open-telemetry/opentelemetry-go/pull/5371)
- Split log/logtest into a recorder and a logger by
[@dmathieu](https://togithub.com/dmathieu) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5365](https://togithub.com/open-telemetry/opentelemetry-go/pull/5365)
- Identify logger with schemaURL in global logger provider by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5375](https://togithub.com/open-telemetry/opentelemetry-go/pull/5375)
- Update all semconv use to v1.25.0 by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5374](https://togithub.com/open-telemetry/opentelemetry-go/pull/5374)
- fix(deps): update module github.com/golangci/golangci-lint to v1.58.2
by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5382](https://togithub.com/open-telemetry/opentelemetry-go/pull/5382)
- chore(deps): update codecov/codecov-action action to v4.4.1 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5387](https://togithub.com/open-telemetry/opentelemetry-go/pull/5387)
- chore(deps): update module google.golang.org/genproto/googleapis/api
to v0.0.0-20240520151616-dc85e6b867a5 by
[@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5388](https://togithub.com/open-telemetry/opentelemetry-go/pull/5388)
- chore(deps): update benchmark-action/github-action-benchmark action to
v1.20.3 by [@renovate](https://togithub.com/renovate) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5381](https://togithub.com/open-telemetry/opentelemetry-go/pull/5381)
- Fix exported instrument kind const value change by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5385](https://togithub.com/open-telemetry/opentelemetry-go/pull/5385)
- Release v1.27.0/v0.49.0/v0.3.0 by
[@MrAlias](https://togithub.com/MrAlias) in
[https://github.com/open-telemetry/opentelemetry-go/pull/5392](https://togithub.com/open-telemetry/opentelemetry-go/pull/5392)
##### New Contributors
- [@prasad-shirodkar](https://togithub.com/prasad-shirodkar) made
their first contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5189](https://togithub.com/open-telemetry/opentelemetry-go/pull/5189)
- [@dockercui](https://togithub.com/dockercui) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5262](https://togithub.com/open-telemetry/opentelemetry-go/pull/5262)
- [@arukiidou](https://togithub.com/arukiidou) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5274](https://togithub.com/open-telemetry/opentelemetry-go/pull/5274)
- [@moisesvega](https://togithub.com/moisesvega) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5286](https://togithub.com/open-telemetry/opentelemetry-go/pull/5286)
- [@renovate](https://togithub.com/renovate) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5309](https://togithub.com/open-telemetry/opentelemetry-go/pull/5309)
- [@perhapsmaple](https://togithub.com/perhapsmaple) made their
first contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5115](https://togithub.com/open-telemetry/opentelemetry-go/pull/5115)
- [@amanakin](https://togithub.com/amanakin) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5315](https://togithub.com/open-telemetry/opentelemetry-go/pull/5315)
- [@yijiem](https://togithub.com/yijiem) made their first
contribution in
[https://github.com/open-telemetry/opentelemetry-go/pull/5364](https://togithub.com/open-telemetry/opentelemetry-go/pull/5364)
**Full Changelog**:
https://github.com/open-telemetry/opentelemetry-go/compare/v1.26.0...v1.27.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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/mdatagen/go.mod | 18 +++---
cmd/mdatagen/go.sum | 36 ++++++------
cmd/otelcorecol/go.mod | 32 +++++-----
cmd/otelcorecol/go.sum | 70 +++++++++++-----------
component/go.mod | 18 +++---
component/go.sum | 36 ++++++------
config/configauth/go.mod | 8 +--
config/configauth/go.sum | 36 ++++++------
config/configgrpc/go.mod | 18 +++---
config/configgrpc/go.sum | 36 ++++++------
config/confighttp/go.mod | 16 ++---
config/confighttp/go.sum | 32 +++++-----
connector/forwardconnector/go.mod | 18 +++---
connector/forwardconnector/go.sum | 36 ++++++------
connector/go.mod | 18 +++---
connector/go.sum | 36 ++++++------
exporter/debugexporter/go.mod | 16 ++---
exporter/debugexporter/go.sum | 32 +++++-----
exporter/go.mod | 16 ++---
exporter/go.sum | 32 +++++-----
exporter/loggingexporter/go.mod | 16 ++---
exporter/loggingexporter/go.sum | 32 +++++-----
exporter/nopexporter/go.mod | 16 ++---
exporter/nopexporter/go.sum | 32 +++++-----
exporter/otlpexporter/go.mod | 16 ++---
exporter/otlpexporter/go.sum | 32 +++++-----
exporter/otlphttpexporter/go.mod | 16 ++---
exporter/otlphttpexporter/go.sum | 32 +++++-----
extension/auth/go.mod | 18 +++---
extension/auth/go.sum | 36 ++++++------
extension/ballastextension/go.mod | 18 +++---
extension/ballastextension/go.sum | 35 +++++------
extension/go.mod | 18 +++---
extension/go.sum | 36 ++++++------
extension/memorylimiterextension/go.mod | 18 +++---
extension/memorylimiterextension/go.sum | 35 +++++------
extension/zpagesextension/go.mod | 18 +++---
extension/zpagesextension/go.sum | 36 ++++++------
go.mod | 18 +++---
go.sum | 35 +++++------
internal/e2e/go.mod | 16 ++---
internal/e2e/go.sum | 32 +++++-----
otelcol/go.mod | 36 ++++++------
otelcol/go.sum | 78 ++++++++++++-------------
processor/batchprocessor/go.mod | 18 +++---
processor/batchprocessor/go.sum | 36 ++++++------
processor/go.mod | 18 +++---
processor/go.sum | 36 ++++++------
processor/memorylimiterprocessor/go.mod | 18 +++---
processor/memorylimiterprocessor/go.sum | 35 +++++------
receiver/go.mod | 18 +++---
receiver/go.sum | 36 ++++++------
receiver/nopreceiver/go.mod | 18 +++---
receiver/nopreceiver/go.sum | 36 ++++++------
receiver/otlpreceiver/go.mod | 16 ++---
receiver/otlpreceiver/go.sum | 32 +++++-----
service/go.mod | 36 ++++++------
service/go.sum | 78 ++++++++++++-------------
58 files changed, 832 insertions(+), 834 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 7ada7cdd188..52f93b01376 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -13,8 +13,8 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/collector/semconv v0.101.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
golang.org/x/text v0.15.0
@@ -22,7 +22,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -41,15 +41,15 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
google.golang.org/protobuf v1.34.1 // indirect
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index a691cad0589..fc402105fcf 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 8ad472be503..43c84453b75 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -38,7 +38,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
@@ -49,7 +49,7 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
@@ -67,7 +67,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
@@ -99,20 +99,20 @@ require (
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.26.0 // indirect
go.opentelemetry.io/contrib/zpages v0.51.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/bridge/opencensus v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/bridge/opencensus v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
@@ -120,9 +120,9 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index f66e4093aa8..b8b3c700272 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -5,8 +5,8 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -62,8 +62,8 @@ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
@@ -108,10 +108,10 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
+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/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -156,34 +156,34 @@ go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDA
go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0 h1:DZzxj9QjznMVoehskOJnFP2gsTCWtDTFBDvFhPAY7nc=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0/go.mod h1:rJiX0KrF5m8Tm1XE8jLczpAv5zUaDcvhKecFG0ZoFG4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0/go.mod h1:uRvWtAAXzyVOST0WMPX5JHGBaAvBws+2F8PcC5gMnTk=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -254,19 +254,17 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
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=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
diff --git a/component/go.mod b/component/go.mod
index 26eee72b8a3..afd1fb62346 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -10,12 +10,12 @@ require (
go.opentelemetry.io/collector/config/configtelemetry v0.101.0
go.opentelemetry.io/collector/confmap v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/sdk/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -23,7 +23,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -35,9 +35,9 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
golang.org/x/net v0.23.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/component/go.sum b/component/go.sum
index 063de722ebb..a0a3ba052d0 100644
--- a/component/go.sum
+++ b/component/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -39,26 +39,26 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -82,8 +82,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index b6e7877e283..eba8ee0abc4 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -23,13 +23,13 @@ require (
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.23.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/config/configauth/go.sum b/config/configauth/go.sum
index 8aef26519f9..be6a26cdde4 100644
--- a/config/configauth/go.sum
+++ b/config/configauth/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
@@ -38,26 +38,26 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -81,8 +81,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index 398ebd281df..b8aa7324a0a 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -18,7 +18,7 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0
- go.opentelemetry.io/otel v1.26.0
+ go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/grpc v1.63.2
@@ -26,7 +26,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
@@ -48,18 +48,18 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/collector/extension v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/protobuf v1.34.1 // indirect
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index 9a485363446..87c865ee0c9 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -58,8 +58,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -70,18 +70,18 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -105,8 +105,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 3b4579e27f0..12538852e54 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -18,7 +18,7 @@ require (
go.opentelemetry.io/collector/extension v0.101.0
go.opentelemetry.io/collector/extension/auth v0.101.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0
- go.opentelemetry.io/otel v1.26.0
+ go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
golang.org/x/net v0.25.0
@@ -26,7 +26,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -44,15 +44,15 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index 2f9bf5f2b58..ecd75e24091 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
@@ -55,8 +55,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
@@ -67,18 +67,18 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 274eb250a4a..fbe0cccf665 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -14,7 +14,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -33,19 +33,19 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector v0.101.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/connector/forwardconnector/go.sum b/connector/forwardconnector/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/connector/forwardconnector/go.sum
+++ b/connector/forwardconnector/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/connector/go.mod b/connector/go.mod
index ba7b8466e45..31a034c18ae 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -17,7 +17,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -35,17 +35,17 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/connector/go.sum b/connector/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/connector/go.sum
+++ b/connector/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index b3e3c5fab64..876cd12f695 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -17,7 +17,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -36,17 +36,17 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector v0.101.0 // indirect
go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
go.opentelemetry.io/collector/extension v0.101.0 // indirect
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index 338dc1c97f1..d20e501e655 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -52,8 +52,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -62,18 +62,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
diff --git a/exporter/go.mod b/exporter/go.mod
index 7b3f494439f..42bb1b9117e 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -15,10 +15,10 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -28,7 +28,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -46,10 +46,10 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/exporter/go.sum b/exporter/go.sum
index 338dc1c97f1..d20e501e655 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -52,8 +52,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -62,18 +62,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index ff35e1f9fc3..f7f54f8d472 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -17,7 +17,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -36,18 +36,18 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector v0.101.0 // indirect
go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
go.opentelemetry.io/collector/consumer v0.101.0 // indirect
go.opentelemetry.io/collector/extension v0.101.0 // indirect
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index 338dc1c97f1..d20e501e655 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -52,8 +52,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -62,18 +62,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 8dd9411afdc..2823dfaaae5 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -14,7 +14,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -33,15 +33,15 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index 338dc1c97f1..d20e501e655 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -52,8 +52,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -62,18 +62,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 6b1fb2334e0..7f2f76da5fb 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -27,7 +27,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
@@ -52,7 +52,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
@@ -62,19 +62,19 @@ require (
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 4801a7bf857..b01335836f0 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -64,8 +64,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -78,8 +78,8 @@ go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSR
go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -90,20 +90,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index a2a780e881c..7e63f306542 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -25,7 +25,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -50,7 +50,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
@@ -61,19 +61,19 @@ require (
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index b5a54e2293a..9c12d2e254a 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -64,8 +64,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
@@ -80,8 +80,8 @@ go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSR
go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -92,20 +92,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index d6a19f18556..54c7486f6c2 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -12,7 +12,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -27,20 +27,20 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.23.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/protobuf v1.34.1 // indirect
diff --git a/extension/auth/go.sum b/extension/auth/go.sum
index 063de722ebb..a0a3ba052d0 100644
--- a/extension/auth/go.sum
+++ b/extension/auth/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -39,26 +39,26 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -82,8 +82,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 3cf2b590012..6af07ef9970 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -15,7 +15,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -34,22 +34,22 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index 9672f8f342d..beaced3440b 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
@@ -75,18 +75,18 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -114,8 +114,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/extension/go.mod b/extension/go.mod
index 61b67ec7df1..500d52400b2 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -12,7 +12,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -27,19 +27,19 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.23.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/extension/go.sum b/extension/go.sum
index 05ca92f3199..2370967a8e3 100644
--- a/extension/go.sum
+++ b/extension/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -41,26 +41,26 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -84,8 +84,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index eba79cb1e64..6f9c7b8e8be 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -14,7 +14,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -33,22 +33,22 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index 9672f8f342d..beaced3440b 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
@@ -75,18 +75,18 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -114,8 +114,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 87ef393fd7b..9e5ace75e96 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -10,8 +10,8 @@ require (
go.opentelemetry.io/collector/confmap v0.101.0
go.opentelemetry.io/collector/extension v0.101.0
go.opentelemetry.io/contrib/zpages v0.51.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -19,7 +19,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -36,25 +36,25 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/extension/zpagesextension/go.sum b/extension/zpagesextension/go.sum
index 1b0e8f35304..1b8a4c584f8 100644
--- a/extension/zpagesextension/go.sum
+++ b/extension/zpagesextension/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -45,8 +45,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
@@ -57,8 +57,8 @@ go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSR
go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -69,20 +69,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -108,8 +108,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/go.mod b/go.mod
index acae65098b2..db43db76bbe 100644
--- a/go.mod
+++ b/go.mod
@@ -21,7 +21,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -44,27 +44,27 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/go.sum b/go.sum
index 952accb6479..a18ccb55961 100644
--- a/go.sum
+++ b/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -62,8 +62,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
@@ -90,8 +90,8 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -102,20 +102,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -145,8 +145,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 46964a5bf2b..cf581a37edc 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -24,7 +24,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -50,7 +50,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
@@ -65,19 +65,19 @@ require (
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 25ef5d14b30..8cab87e2788 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -66,8 +66,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
@@ -84,8 +84,8 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -96,20 +96,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index d0bfece3764..8b509dec1e4 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -26,14 +26,14 @@ require (
go.uber.org/zap v1.27.0
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
golang.org/x/sys v0.20.0
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
gopkg.in/yaml.v3 v3.0.1
)
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -42,7 +42,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
@@ -59,7 +59,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/spf13/pflag v1.0.5 // indirect
@@ -74,26 +74,26 @@ require (
go.opentelemetry.io/collector/semconv v0.101.0 // indirect
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.26.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/bridge/opencensus v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/bridge/opencensus v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/text v0.14.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
google.golang.org/protobuf v1.34.1 // indirect
)
diff --git a/otelcol/go.sum b/otelcol/go.sum
index 710137328b4..9f34e8b11f8 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -5,8 +5,8 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
@@ -56,8 +56,8 @@ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
@@ -98,10 +98,10 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
+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/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
@@ -140,34 +140,34 @@ go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDA
go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0 h1:DZzxj9QjznMVoehskOJnFP2gsTCWtDTFBDvFhPAY7nc=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0/go.mod h1:rJiX0KrF5m8Tm1XE8jLczpAv5zUaDcvhKecFG0ZoFG4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0/go.mod h1:uRvWtAAXzyVOST0WMPX5JHGBaAvBws+2F8PcC5gMnTk=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -196,8 +196,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-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
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=
@@ -217,8 +217,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
@@ -238,19 +238,17 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
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=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index ffb01ce3618..50c28a09d2a 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -15,12 +15,12 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/collector/processor v0.101.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/sdk/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -28,7 +28,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -44,9 +44,9 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/processor/batchprocessor/go.sum
+++ b/processor/batchprocessor/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/processor/go.mod b/processor/go.mod
index 450e373cacc..00f7e12ba08 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -11,16 +11,16 @@ require (
go.opentelemetry.io/collector/consumer v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -38,14 +38,14 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/processor/go.sum b/processor/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/processor/go.sum
+++ b/processor/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index 86643600ffa..b5b33980aa2 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -15,7 +15,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -37,23 +37,23 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.4 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index a9eefd43586..f06446ae873 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -58,8 +58,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
@@ -84,18 +84,18 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -123,8 +123,9 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/receiver/go.mod b/receiver/go.mod
index 3c81bb72ec0..ae024ebb63a 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -10,10 +10,10 @@ require (
go.opentelemetry.io/collector/config/configtelemetry v0.101.0
go.opentelemetry.io/collector/consumer v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -21,7 +21,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -39,12 +39,12 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/receiver/go.sum b/receiver/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/receiver/go.sum
+++ b/receiver/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index ea03638d75d..6dab147dc20 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -13,7 +13,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -32,19 +32,19 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
- golang.org/x/sys v0.19.0 // indirect
+ golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/grpc v1.63.2 // indirect
diff --git a/receiver/nopreceiver/go.sum b/receiver/nopreceiver/go.sum
index a2c5559e7bd..7b9c4fd6156 100644
--- a/receiver/nopreceiver/go.sum
+++ b/receiver/nopreceiver/go.sum
@@ -1,7 +1,7 @@
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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -50,8 +50,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -60,18 +60,18 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -95,8 +95,8 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
-golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
+golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 6267070fd31..3228792bbb9 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -27,7 +27,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -51,7 +51,7 @@ require (
github.com/prometheus/client_golang v1.19.1 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
@@ -64,19 +64,19 @@ require (
go.opentelemetry.io/contrib/config v0.6.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
- go.opentelemetry.io/otel v1.26.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
- go.opentelemetry.io/otel/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk v1.26.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.26.0 // indirect
- go.opentelemetry.io/otel/trace v1.26.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 25ef5d14b30..8cab87e2788 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -2,8 +2,8 @@ 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.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
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=
@@ -66,8 +66,8 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
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/rs/cors v1.10.1 h1:L0uuZVXIKlI1SShY2nhFfo44TYvDPQ1w4oFkUJNfhyo=
@@ -84,8 +84,8 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
@@ -96,20 +96,20 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9W
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
diff --git a/service/go.mod b/service/go.mod
index aa15f0ca41e..a8b35555821 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -28,16 +28,16 @@ require (
go.opentelemetry.io/collector/semconv v0.101.0
go.opentelemetry.io/contrib/config v0.6.0
go.opentelemetry.io/contrib/propagators/b3 v1.26.0
- go.opentelemetry.io/otel v1.26.0
- go.opentelemetry.io/otel/bridge/opencensus v1.26.0
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0
- go.opentelemetry.io/otel/exporters/prometheus v0.48.0
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0
- go.opentelemetry.io/otel/metric v1.26.0
- go.opentelemetry.io/otel/sdk v1.26.0
- go.opentelemetry.io/otel/sdk/metric v1.26.0
- go.opentelemetry.io/otel/trace v1.26.0
+ go.opentelemetry.io/otel v1.27.0
+ go.opentelemetry.io/otel/bridge/opencensus v1.27.0
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0
+ go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
+ go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -47,7 +47,7 @@ require (
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
@@ -55,7 +55,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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
@@ -68,7 +68,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
+ github.com/prometheus/procfs v0.15.0 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
@@ -79,12 +79,12 @@ require (
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/service/go.sum b/service/go.sum
index 66923c4f117..8a1dabfe3b3 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -5,8 +5,8 @@ github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6r
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-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/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -55,8 +55,8 @@ github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -95,10 +95,10 @@ github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE=
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
-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=
-github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
+github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
+github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
+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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
@@ -132,34 +132,34 @@ go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDA
go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
-go.opentelemetry.io/otel v1.26.0 h1:LQwgL5s/1W7YiiRwxf03QGnWLb2HW4pLiAhaA5cZXBs=
-go.opentelemetry.io/otel v1.26.0/go.mod h1:UmLkJHUAidDval2EICqBMbnAd0/m2vmpf/dAM+fvFs4=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0 h1:DZzxj9QjznMVoehskOJnFP2gsTCWtDTFBDvFhPAY7nc=
-go.opentelemetry.io/otel/bridge/opencensus v1.26.0/go.mod h1:rJiX0KrF5m8Tm1XE8jLczpAv5zUaDcvhKecFG0ZoFG4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
+go.opentelemetry.io/otel/bridge/opencensus v1.27.0/go.mod h1:uRvWtAAXzyVOST0WMPX5JHGBaAvBws+2F8PcC5gMnTk=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0 h1:sBQe3VNGUjY9IKWQC6z2lNqa5iGbDSxhs60ABwK4y0s=
-go.opentelemetry.io/otel/exporters/prometheus v0.48.0/go.mod h1:DtrbMzoZWwQHyrQmCfLam5DZbnmorsGbOtTbYHycU5o=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
+go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
-go.opentelemetry.io/otel/metric v1.26.0 h1:7S39CLuY5Jgg9CrnA9HHiEjGMF/X2VHvoXGgSllRz30=
-go.opentelemetry.io/otel/metric v1.26.0/go.mod h1:SY+rHOI4cEawI9a7N1A4nIg/nTQXe1ccCNWYOJUrpX4=
-go.opentelemetry.io/otel/sdk v1.26.0 h1:Y7bumHf5tAiDlRYFmGqetNcLaVUZmh4iYfmGxtmz7F8=
-go.opentelemetry.io/otel/sdk v1.26.0/go.mod h1:0p8MXpqLeJ0pzcszQQN4F0S5FVjBLgypeGSngLsmirs=
-go.opentelemetry.io/otel/sdk/metric v1.26.0 h1:cWSks5tfriHPdWFnl+qpX3P681aAYqlZHcAyHw5aU9Y=
-go.opentelemetry.io/otel/sdk/metric v1.26.0/go.mod h1:ClMFFknnThJCksebJwz7KIyEDHO+nTB6gK8obLy8RyE=
-go.opentelemetry.io/otel/trace v1.26.0 h1:1ieeAUb4y0TE26jUFrCIXKpTuVK7uJGN9/Z/2LP5sQA=
-go.opentelemetry.io/otel/trace v1.26.0/go.mod h1:4iDxvGDQuUkHve82hJJ8UqrwswHYsZuWCBllGV2U2y0=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
go.opentelemetry.io/proto/otlp v1.2.0 h1:pVeZGk7nXDC9O2hncA6nHldxEjm6LByfA2aN8IOkz94=
go.opentelemetry.io/proto/otlp v1.2.0/go.mod h1:gGpR8txAl5M03pDhMC79G6SdqNV26naRm/KDsgaHD8A=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
@@ -188,8 +188,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-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
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=
@@ -209,8 +209,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
@@ -230,19 +230,17 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
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=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
From f2d9752545bc274f590badf89eb4a25901a48b48 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 21 May 2024 12:15:44 -0700
Subject: [PATCH 061/111] [chore] fix leak in test (#10197)
This will allow enabling of goleak checks for the package.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
service/service_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/service/service_test.go b/service/service_test.go
index c538dc0027e..f8c0ad4dc4f 100644
--- a/service/service_test.go
+++ b/service/service_test.go
@@ -320,9 +320,9 @@ func TestServiceTelemetryRestart(t *testing.T) {
// check telemetry server to ensure we get a response
var resp *http.Response
- // #nosec G107
resp, err = http.Get(telemetryURL)
assert.NoError(t, err)
+ assert.NoError(t, resp.Body.Close())
assert.Equal(t, http.StatusOK, resp.StatusCode)
// Shutdown the service
@@ -338,8 +338,8 @@ func TestServiceTelemetryRestart(t *testing.T) {
// check telemetry server to ensure we get a response
require.Eventually(t,
func() bool {
- // #nosec G107
resp, err = http.Get(telemetryURL)
+ assert.NoError(t, resp.Body.Close())
return err == nil
},
500*time.Millisecond,
From 23da2dd7d61f2d2b33397bdc5873372043aff7bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juraci=20Paix=C3=A3o=20Kr=C3=B6hling?=
Date: Wed, 22 May 2024 17:27:40 +0200
Subject: [PATCH 062/111] [mdatagen] Add basic telemetry test (#10206)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR adds basic tests for the telemetry generation, and fixes the
documentation about value type being required for histograms.
Signed-off-by: Juraci Paixão Kröhling
---
cmd/mdatagen/main_test.go | 42 ++++++++++++++-----
cmd/mdatagen/metadata-schema.yaml | 2 +-
...etry_missing_value_type_for_histogram.yaml | 13 ++++++
cmd/mdatagen/testdata/with_telemetry.yaml | 14 +++++++
4 files changed, 60 insertions(+), 11 deletions(-)
create mode 100644 cmd/mdatagen/testdata/invalid_telemetry_missing_value_type_for_histogram.yaml
create mode 100644 cmd/mdatagen/testdata/with_telemetry.yaml
diff --git a/cmd/mdatagen/main_test.go b/cmd/mdatagen/main_test.go
index bfd197a42fd..c2ece4eb099 100644
--- a/cmd/mdatagen/main_test.go
+++ b/cmd/mdatagen/main_test.go
@@ -19,15 +19,16 @@ import (
func TestRunContents(t *testing.T) {
tests := []struct {
- yml string
- wantMetricsGenerated bool
- wantConfigGenerated bool
- wantStatusGenerated bool
- wantGoleakIgnore bool
- wantGoleakSkip bool
- wantGoleakSetup bool
- wantGoleakTeardown bool
- wantErr bool
+ yml string
+ wantMetricsGenerated bool
+ wantConfigGenerated bool
+ wantTelemetryGenerated bool
+ wantStatusGenerated bool
+ wantGoleakIgnore bool
+ wantGoleakSkip bool
+ wantGoleakSetup bool
+ wantGoleakTeardown bool
+ wantErr bool
}{
{
yml: "invalid.yaml",
@@ -88,6 +89,15 @@ func TestRunContents(t *testing.T) {
wantStatusGenerated: true,
wantGoleakTeardown: true,
},
+ {
+ yml: "with_telemetry.yaml",
+ wantStatusGenerated: true,
+ wantTelemetryGenerated: true,
+ },
+ {
+ yml: "invalid_telemetry_missing_value_type_for_histogram.yaml",
+ wantErr: true,
+ },
}
for _, tt := range tests {
t.Run(tt.yml, func(t *testing.T) {
@@ -117,7 +127,6 @@ foo
} else {
require.NoFileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_metrics.go"))
require.NoFileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_metrics_test.go"))
- require.NoFileExists(t, filepath.Join(tmpdir, "documentation.md"))
}
if tt.wantConfigGenerated {
@@ -128,6 +137,19 @@ foo
require.NoFileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_config_test.go"))
}
+ if tt.wantTelemetryGenerated {
+ require.FileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_telemetry.go"))
+ require.FileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_telemetry_test.go"))
+ require.FileExists(t, filepath.Join(tmpdir, "documentation.md"))
+ } else {
+ require.NoFileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_telemetry.go"))
+ require.NoFileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_telemetry_test.go"))
+ }
+
+ if !tt.wantMetricsGenerated && !tt.wantTelemetryGenerated {
+ require.NoFileExists(t, filepath.Join(tmpdir, "documentation.md"))
+ }
+
var contents []byte
if tt.wantStatusGenerated {
require.FileExists(t, filepath.Join(tmpdir, "internal/metadata/generated_status.go"))
diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml
index b2746b2cc33..c452758465f 100644
--- a/cmd/mdatagen/metadata-schema.yaml
+++ b/cmd/mdatagen/metadata-schema.yaml
@@ -152,7 +152,7 @@ telemetry:
unit:
# Required: metric type with its settings.
:
- # Required for sum and gauge metrics: type of number data point values.
+ # Required: type of number data point values.
value_type:
# Required for sum metric: whether the metric is monotonic (no negative delta values).
monotonic: bool
diff --git a/cmd/mdatagen/testdata/invalid_telemetry_missing_value_type_for_histogram.yaml b/cmd/mdatagen/testdata/invalid_telemetry_missing_value_type_for_histogram.yaml
new file mode 100644
index 00000000000..c121802be40
--- /dev/null
+++ b/cmd/mdatagen/testdata/invalid_telemetry_missing_value_type_for_histogram.yaml
@@ -0,0 +1,13 @@
+type: metric
+
+status:
+ class: receiver
+ stability:
+ beta: [traces, logs, metrics]
+telemetry:
+ metrics:
+ sampling_decision_latency:
+ description: Latency (in microseconds) of a given sampling policy
+ unit: µs
+ enabled: true
+ histogram:
diff --git a/cmd/mdatagen/testdata/with_telemetry.yaml b/cmd/mdatagen/testdata/with_telemetry.yaml
new file mode 100644
index 00000000000..161010df9bf
--- /dev/null
+++ b/cmd/mdatagen/testdata/with_telemetry.yaml
@@ -0,0 +1,14 @@
+type: metric
+
+status:
+ class: receiver
+ stability:
+ beta: [traces, logs, metrics]
+telemetry:
+ metrics:
+ sampling_decision_latency:
+ description: Latency (in microseconds) of a given sampling policy
+ unit: µs
+ enabled: true
+ histogram:
+ value_type: int
From e907e9ee97c332a4cd1362662a2a0f29779238ee Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Wed, 22 May 2024 11:12:49 -0700
Subject: [PATCH 063/111] [chore] update lint configuration (#10209)
This addresses some of the following warnings:
```
WARN [config_reader] The configuration option `run.skip-dirs` is deprecated, please use `issues.exclude-dirs`.
WARN [config_reader] The configuration option `run.skip-dirs-use-default` is deprecated, please use `issues.exclude-dirs-use-default`.
WARN [config_reader] The configuration option `output.format` is deprecated, please use `output.formats`
WARN [config_reader] The configuration option `linters.govet.check-shadowing` is deprecated. Please enable `shadow` instead, if you are not using `enable-all`.
WARN [config_reader] The configuration option `linters.errcheck.ignore` is deprecated, please use `linters.errcheck.exclude-functions`.
```
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.golangci.yml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/.golangci.yml b/.golangci.yml
index 90d7a1b51c2..b106c5d8f23 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -15,13 +15,13 @@ run:
# which dirs to skip: issues from them won't be reported;
# can use regexp here: generated.*, regexp is applied on full path;
# default value is empty list, but default dirs are skipped independently
- # from this option's value (see skip-dirs-use-default).
- skip-dirs:
+ # from this option's value (see exclude-dirs-use-default).
+ exclude-dirs:
- third_party
# default is true. Enables skipping of directories:
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
- skip-dirs-use-default: false
+ exclude-dirs-use-default: false
# which files to skip: they will be analyzed, but issues from them
# won't be reported. Default value is empty list, but there is
@@ -46,7 +46,7 @@ run:
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
- format: colored-line-number
+ formats: colored-line-number
# print lines of code with issue, default is true
print-issued-lines: true
@@ -57,9 +57,6 @@ output:
# all available settings of specific linters
linters-settings:
govet:
- # report about shadowed variables
- check-shadowing: true
-
# settings per analyzer
settings:
printf: # analyzer name, run `go tool vet help` to see all analyzers
From 4f70f4c8368bfb8d6336006da0015622a6986877 Mon Sep 17 00:00:00 2001
From: Dmitrii Anoshin
Date: Wed, 22 May 2024 11:21:34 -0700
Subject: [PATCH 064/111] Update validate command to use the new configuration
options (#10203)
After
https://github.com/open-telemetry/opentelemetry-collector/pull/9516, the
`validate` sum-command works differently from the root command.
If a downstream distribution provides `URIs` as part of the new
`ConfigProviderSettings` without `--config` flag, the `validate` command
fails with
```
2024/05/21 15:53:25 main.go:85: application run finished with error: at least one config flag must be provided
```
---
.chloggen/update-validate-command.yaml | 20 ++++++++++++++++++++
otelcol/command_validate.go | 15 ++-------------
otelcol/command_validate_test.go | 20 ++++++++------------
3 files changed, 30 insertions(+), 25 deletions(-)
create mode 100644 .chloggen/update-validate-command.yaml
diff --git a/.chloggen/update-validate-command.yaml b/.chloggen/update-validate-command.yaml
new file mode 100644
index 00000000000..db7b435fa56
--- /dev/null
+++ b/.chloggen/update-validate-command.yaml
@@ -0,0 +1,20 @@
+# 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. otlpreceiver)
+component: otelcol
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Update validate command to use the new configuration options
+
+# One or more tracking issues or pull requests related to the change
+issues: [10203]
+
+# 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: [api]
diff --git a/otelcol/command_validate.go b/otelcol/command_validate.go
index 72d20d476d8..486bc50e716 100644
--- a/otelcol/command_validate.go
+++ b/otelcol/command_validate.go
@@ -4,7 +4,6 @@
package otelcol // import "go.opentelemetry.io/collector/otelcol"
import (
- "errors"
"flag"
"github.com/spf13/cobra"
@@ -17,18 +16,8 @@ func newValidateSubCommand(set CollectorSettings, flagSet *flag.FlagSet) *cobra.
Short: "Validates the config without running the collector",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, _ []string) error {
- if set.ConfigProvider == nil {
- var err error
-
- configFlags := getConfigFlag(flagSet)
- if len(configFlags) == 0 {
- return errors.New("at least one config flag must be provided")
- }
-
- set.ConfigProvider, err = NewConfigProvider(newDefaultConfigProviderSettings(configFlags))
- if err != nil {
- return err
- }
+ if err := updateSettingsUsingFlags(&set, flagSet); err != nil {
+ return err
}
col, err := NewCollector(set)
if err != nil {
diff --git a/otelcol/command_validate_test.go b/otelcol/command_validate_test.go
index 30d291d4a56..4aa09d7ff13 100644
--- a/otelcol/command_validate_test.go
+++ b/otelcol/command_validate_test.go
@@ -23,18 +23,14 @@ func TestValidateSubCommandNoConfig(t *testing.T) {
}
func TestValidateSubCommandInvalidComponents(t *testing.T) {
- cfgProvider, err := NewConfigProvider(
- ConfigProviderSettings{
- ResolverSettings: confmap.ResolverSettings{
- URIs: []string{filepath.Join("testdata", "otelcol-invalid-components.yaml")},
- ProviderFactories: []confmap.ProviderFactory{fileprovider.NewFactory()},
- ConverterFactories: []confmap.ConverterFactory{expandconverter.NewFactory()},
- },
- })
- require.NoError(t, err)
-
- cmd := newValidateSubCommand(CollectorSettings{Factories: nopFactories, ConfigProvider: cfgProvider}, flags(featuregate.GlobalRegistry()))
- err = cmd.Execute()
+ cmd := newValidateSubCommand(CollectorSettings{Factories: nopFactories, ConfigProviderSettings: ConfigProviderSettings{
+ ResolverSettings: confmap.ResolverSettings{
+ URIs: []string{filepath.Join("testdata", "otelcol-invalid-components.yaml")},
+ ProviderFactories: []confmap.ProviderFactory{fileprovider.NewFactory()},
+ ConverterFactories: []confmap.ConverterFactory{expandconverter.NewFactory()},
+ },
+ }}, flags(featuregate.GlobalRegistry()))
+ err := cmd.Execute()
require.Error(t, err)
require.Contains(t, err.Error(), "unknown type: \"nosuchprocessor\"")
}
From cc7fc06d4f04f6543944daa35b5d7f87c9f52967 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 23 May 2024 01:53:34 -0700
Subject: [PATCH 065/111] [chore] replace deprecated calls (#10211)
Updating grpc.Dial -> grpc.NewClient, removing grpc.WithBlock as it's
not recommended
https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md#the-wrong-way-grpcdial.
We may need to add code in the future to wait for state to be connected,
but in my local tests, there was no flakiness introduced with this
change.
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10194
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
pdata/plog/plogotlp/grpc_test.go | 12 ++++++------
pdata/pmetric/pmetricotlp/grpc_test.go | 12 ++++++------
pdata/ptrace/ptraceotlp/grpc_test.go | 12 ++++++------
receiver/otlpreceiver/internal/logs/otlp_test.go | 2 +-
receiver/otlpreceiver/internal/metrics/otlp_test.go | 2 +-
receiver/otlpreceiver/internal/trace/otlp_test.go | 2 +-
receiver/otlpreceiver/otlp_test.go | 8 ++++----
7 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/pdata/plog/plogotlp/grpc_test.go b/pdata/plog/plogotlp/grpc_test.go
index 9f8722fcefe..95ce393db0e 100644
--- a/pdata/plog/plogotlp/grpc_test.go
+++ b/pdata/plog/plogotlp/grpc_test.go
@@ -15,6 +15,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
+ "google.golang.org/grpc/resolver"
"google.golang.org/grpc/status"
"google.golang.org/grpc/test/bufconn"
@@ -36,12 +37,12 @@ func TestGrpc(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ resolver.SetDefaultScheme("passthrough")
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
@@ -69,12 +70,11 @@ func TestGrpcError(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
diff --git a/pdata/pmetric/pmetricotlp/grpc_test.go b/pdata/pmetric/pmetricotlp/grpc_test.go
index 074d4a5978f..e397f1d3e0c 100644
--- a/pdata/pmetric/pmetricotlp/grpc_test.go
+++ b/pdata/pmetric/pmetricotlp/grpc_test.go
@@ -15,6 +15,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
+ "google.golang.org/grpc/resolver"
"google.golang.org/grpc/status"
"google.golang.org/grpc/test/bufconn"
@@ -36,12 +37,12 @@ func TestGrpc(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ resolver.SetDefaultScheme("passthrough")
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
@@ -69,12 +70,11 @@ func TestGrpcError(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
diff --git a/pdata/ptrace/ptraceotlp/grpc_test.go b/pdata/ptrace/ptraceotlp/grpc_test.go
index e07044f8671..2fee7aa5a05 100644
--- a/pdata/ptrace/ptraceotlp/grpc_test.go
+++ b/pdata/ptrace/ptraceotlp/grpc_test.go
@@ -15,6 +15,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials/insecure"
+ "google.golang.org/grpc/resolver"
"google.golang.org/grpc/status"
"google.golang.org/grpc/test/bufconn"
@@ -36,12 +37,12 @@ func TestGrpc(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ resolver.SetDefaultScheme("passthrough")
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
@@ -69,12 +70,11 @@ func TestGrpcError(t *testing.T) {
wg.Wait()
})
- cc, err := grpc.Dial("bufnet",
+ cc, err := grpc.NewClient("bufnet",
grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
return lis.Dial()
}),
- grpc.WithTransportCredentials(insecure.NewCredentials()),
- grpc.WithBlock())
+ grpc.WithTransportCredentials(insecure.NewCredentials()))
assert.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cc.Close())
diff --git a/receiver/otlpreceiver/internal/logs/otlp_test.go b/receiver/otlpreceiver/internal/logs/otlp_test.go
index cc87f527681..645be7e946e 100644
--- a/receiver/otlpreceiver/internal/logs/otlp_test.go
+++ b/receiver/otlpreceiver/internal/logs/otlp_test.go
@@ -74,7 +74,7 @@ func TestExport_PermanentErrorConsumer(t *testing.T) {
func makeLogsServiceClient(t *testing.T, lc consumer.Logs) plogotlp.GRPCClient {
addr := otlpReceiverOnGRPCServer(t, lc)
- cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err, "Failed to create the TraceServiceClient: %v", err)
t.Cleanup(func() {
require.NoError(t, cc.Close())
diff --git a/receiver/otlpreceiver/internal/metrics/otlp_test.go b/receiver/otlpreceiver/internal/metrics/otlp_test.go
index accd6102e27..3a87b34b724 100644
--- a/receiver/otlpreceiver/internal/metrics/otlp_test.go
+++ b/receiver/otlpreceiver/internal/metrics/otlp_test.go
@@ -75,7 +75,7 @@ func TestExport_PermanentErrorConsumer(t *testing.T) {
func makeMetricsServiceClient(t *testing.T, mc consumer.Metrics) pmetricotlp.GRPCClient {
addr := otlpReceiverOnGRPCServer(t, mc)
- cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err, "Failed to create the MetricsServiceClient: %v", err)
t.Cleanup(func() {
require.NoError(t, cc.Close())
diff --git a/receiver/otlpreceiver/internal/trace/otlp_test.go b/receiver/otlpreceiver/internal/trace/otlp_test.go
index f0dab89069d..ab538923729 100644
--- a/receiver/otlpreceiver/internal/trace/otlp_test.go
+++ b/receiver/otlpreceiver/internal/trace/otlp_test.go
@@ -71,7 +71,7 @@ func TestExport_PermanentErrorConsumer(t *testing.T) {
func makeTraceServiceClient(t *testing.T, tc consumer.Traces) ptraceotlp.GRPCClient {
addr := otlpReceiverOnGRPCServer(t, tc)
- cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err := grpc.NewClient(addr.String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err, "Failed to create the TraceServiceClient: %v", err)
t.Cleanup(func() {
require.NoError(t, cc.Close())
diff --git a/receiver/otlpreceiver/otlp_test.go b/receiver/otlpreceiver/otlp_test.go
index 44501536298..51f99bb4cb8 100644
--- a/receiver/otlpreceiver/otlp_test.go
+++ b/receiver/otlpreceiver/otlp_test.go
@@ -566,7 +566,7 @@ func TestOTLPReceiverGRPCTracesIngestTest(t *testing.T) {
require.NoError(t, recv.Start(context.Background(), componenttest.NewNopHost()))
t.Cleanup(func() { require.NoError(t, recv.Shutdown(context.Background())) })
- cc, err := grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err := grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err)
defer func() {
assert.NoError(t, cc.Close())
@@ -722,7 +722,7 @@ func TestGRPCMaxRecvSize(t *testing.T) {
recv := newReceiver(t, componenttest.NewNopTelemetrySettings(), cfg, otlpReceiverID, sink)
require.NoError(t, recv.Start(context.Background(), componenttest.NewNopHost()))
- cc, err := grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err := grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err)
td := testdata.GenerateTraces(50000)
@@ -735,7 +735,7 @@ func TestGRPCMaxRecvSize(t *testing.T) {
require.NoError(t, recv.Start(context.Background(), componenttest.NewNopHost()))
t.Cleanup(func() { require.NoError(t, recv.Shutdown(context.Background())) })
- cc, err = grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ cc, err = grpc.NewClient(addr, grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err)
defer func() {
assert.NoError(t, cc.Close())
@@ -1008,7 +1008,7 @@ func TestShutdown(t *testing.T) {
require.NotNil(t, r)
require.NoError(t, r.Start(context.Background(), componenttest.NewNopHost()))
- conn, err := grpc.NewClient(endpointGrpc, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock())
+ conn, err := grpc.NewClient(endpointGrpc, grpc.WithTransportCredentials(insecure.NewCredentials()))
require.NoError(t, err)
t.Cleanup(func() {
require.NoError(t, conn.Close())
From 48fc515b2d43f0fc89db2be101c0f3e875a191b2 Mon Sep 17 00:00:00 2001
From: Antoine Toulme
Date: Thu, 23 May 2024 07:14:28 -0700
Subject: [PATCH 066/111] [confmap] Remove top level condition when considering
struct as Unmarshalers. (#9862)
This is a slice of #9750 focusing on removing the top level condition on
unmarshaling structs.
---------
Co-authored-by: Pablo Baeyens
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.chloggen/remove_top_level_block.yaml | 25 ++++++++++++++++++++++
confmap/confmap.go | 30 +++++++++++++++++++--------
confmap/confmap_test.go | 30 ++++++++++++++++++++++++---
confmap/doc_test.go | 30 +++++++++++++++++++++++++++
4 files changed, 103 insertions(+), 12 deletions(-)
create mode 100644 .chloggen/remove_top_level_block.yaml
diff --git a/.chloggen/remove_top_level_block.yaml b/.chloggen/remove_top_level_block.yaml
new file mode 100644
index 00000000000..811554a7e63
--- /dev/null
+++ b/.chloggen/remove_top_level_block.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Remove top level condition when considering struct as Unmarshalers
+
+# One or more tracking issues or pull requests related to the change
+issues: [7101]
+
+# (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:
+
+# 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/confmap/confmap.go b/confmap/confmap.go
index 655ccc07315..8a32216a2df 100644
--- a/confmap/confmap.go
+++ b/confmap/confmap.go
@@ -41,6 +41,11 @@ func NewFromStringMap(data map[string]any) *Conf {
// The confmap.Conf can be unmarshalled into the Collector's config using the "service" package.
type Conf struct {
k *koanf.Koanf
+ // If true, upon unmarshaling do not call the Unmarshal function on the struct
+ // if it implements Unmarshaler and is the top-level struct.
+ // This avoids running into an infinite recursion where Unmarshaler.Unmarshal and
+ // Conf.Unmarshal would call each other.
+ skipTopLevelUnmarshaler bool
}
// AllKeys returns all keys holding a value, regardless of where they are set.
@@ -79,7 +84,7 @@ func (l *Conf) Unmarshal(result any, opts ...UnmarshalOption) error {
for _, opt := range opts {
opt.apply(&set)
}
- return decodeConfig(l, result, !set.ignoreUnused)
+ return decodeConfig(l, result, !set.ignoreUnused, l.skipTopLevelUnmarshaler)
}
type marshalOption struct{}
@@ -146,7 +151,7 @@ func (l *Conf) ToStringMap() map[string]any {
// uniqueness of component IDs (see mapKeyStringToMapKeyTextUnmarshalerHookFunc).
// Decodes time.Duration from strings. Allows custom unmarshaling for structs implementing
// encoding.TextUnmarshaler. Allows custom unmarshaling for structs implementing confmap.Unmarshaler.
-func decodeConfig(m *Conf, result any, errorUnused bool) error {
+func decodeConfig(m *Conf, result any, errorUnused bool, skipTopLevelUnmarshaler bool) error {
dc := &mapstructure.DecoderConfig{
ErrorUnused: errorUnused,
Result: result,
@@ -159,7 +164,7 @@ func decodeConfig(m *Conf, result any, errorUnused bool) error {
mapKeyStringToMapKeyTextUnmarshalerHookFunc(),
mapstructure.StringToTimeDurationHookFunc(),
mapstructure.TextUnmarshallerHookFunc(),
- unmarshalerHookFunc(result),
+ unmarshalerHookFunc(result, skipTopLevelUnmarshaler),
// after the main unmarshaler hook is called,
// we unmarshal the embedded structs if present to merge with the result:
unmarshalerEmbeddedStructsHookFunc(),
@@ -295,7 +300,9 @@ func unmarshalerEmbeddedStructsHookFunc() mapstructure.DecodeHookFuncValue {
f := to.Type().Field(i)
if f.IsExported() && slices.Contains(strings.Split(f.Tag.Get("mapstructure"), ","), "squash") {
if unmarshaler, ok := to.Field(i).Addr().Interface().(Unmarshaler); ok {
- if err := unmarshaler.Unmarshal(NewFromStringMap(fromAsMap)); err != nil {
+ c := NewFromStringMap(fromAsMap)
+ c.skipTopLevelUnmarshaler = true
+ if err := unmarshaler.Unmarshal(c); err != nil {
return nil, err
}
// the struct we receive from this unmarshaling only contains fields related to the embedded struct.
@@ -317,16 +324,18 @@ func unmarshalerEmbeddedStructsHookFunc() mapstructure.DecodeHookFuncValue {
}
// Provides a mechanism for individual structs to define their own unmarshal logic,
-// by implementing the Unmarshaler interface.
-func unmarshalerHookFunc(result any) mapstructure.DecodeHookFuncValue {
+// by implementing the Unmarshaler interface, unless skipTopLevelUnmarshaler is
+// true and the struct matches the top level object being unmarshaled.
+func unmarshalerHookFunc(result any, skipTopLevelUnmarshaler bool) mapstructure.DecodeHookFuncValue {
return func(from reflect.Value, to reflect.Value) (any, error) {
if !to.CanAddr() {
return from.Interface(), nil
}
toPtr := to.Addr().Interface()
- // Need to ignore the top structure to avoid circular dependency.
- if toPtr == result {
+ // Need to ignore the top structure to avoid running into an infinite recursion
+ // where Unmarshaler.Unmarshal and Conf.Unmarshal would call each other.
+ if toPtr == result && skipTopLevelUnmarshaler {
return from.Interface(), nil
}
@@ -344,7 +353,9 @@ func unmarshalerHookFunc(result any) mapstructure.DecodeHookFuncValue {
unmarshaler = reflect.New(to.Type()).Interface().(Unmarshaler)
}
- if err := unmarshaler.Unmarshal(NewFromStringMap(from.Interface().(map[string]any))); err != nil {
+ c := NewFromStringMap(from.Interface().(map[string]any))
+ c.skipTopLevelUnmarshaler = true
+ if err := unmarshaler.Unmarshal(c); err != nil {
return nil, err
}
@@ -381,6 +392,7 @@ func marshalerHookFunc(orig any) mapstructure.DecodeHookFuncValue {
type Unmarshaler interface {
// Unmarshal a Conf into the struct in a custom way.
// The Conf for this specific component may be nil or empty if no config available.
+ // This method should only be called by decoding hooks when calling Conf.Unmarshal.
Unmarshal(component *Conf) error
}
diff --git a/confmap/confmap_test.go b/confmap/confmap_test.go
index a1ea94e1fe4..a8a331a6e1b 100644
--- a/confmap/confmap_test.go
+++ b/confmap/confmap_test.go
@@ -485,7 +485,7 @@ func TestUnmarshaler(t *testing.T) {
tc := &testConfig{}
assert.NoError(t, cfgMap.Unmarshal(tc))
- assert.Equal(t, "make sure this", tc.Another)
+ assert.Equal(t, "make sure this is only called directly", tc.Another)
assert.Equal(t, "make sure this is called", tc.Next.String)
assert.Equal(t, "make sure this is also called", tc.EmbeddedConfig.Some)
assert.Equal(t, "this better be also called2", tc.EmbeddedConfig2.Some2)
@@ -523,6 +523,7 @@ func TestEmbeddedUnmarshalerError(t *testing.T) {
}
func TestEmbeddedMarshalerError(t *testing.T) {
+ t.Skip("This test fails because the main struct calls the embedded struct Unmarshal method, and doesn't execute the embedded struct hook.")
cfgMap := NewFromStringMap(map[string]any{
"next": map[string]any{
"string": "make sure this",
@@ -546,7 +547,7 @@ func TestUnmarshalerKeepAlreadyInitialized(t *testing.T) {
private: "keep already configured members",
}}
assert.NoError(t, cfgMap.Unmarshal(tc))
- assert.Equal(t, "make sure this", tc.Another)
+ assert.Equal(t, "make sure this is only called directly", tc.Another)
assert.Equal(t, "make sure this is called", tc.Next.String)
assert.Equal(t, "keep already configured members", tc.Next.private)
}
@@ -563,7 +564,7 @@ func TestDirectUnmarshaler(t *testing.T) {
private: "keep already configured members",
}}
assert.NoError(t, tc.Unmarshal(cfgMap))
- assert.Equal(t, "make sure this is only called directly", tc.Another)
+ assert.Equal(t, "make sure this is only called directly is only called directly", tc.Another)
assert.Equal(t, "make sure this is called", tc.Next.String)
assert.Equal(t, "keep already configured members", tc.Next.private)
}
@@ -827,3 +828,26 @@ func TestUnmarshalOwnThroughEmbeddedSquashedStruct(t *testing.T) {
require.Equal(t, "success", cfg.Cfg.EmbeddedStructWithUnmarshal.success)
require.Equal(t, "bar", cfg.Cfg.EmbeddedStructWithUnmarshal.Foo)
}
+
+type Recursive struct {
+ Foo string `mapstructure:"foo"`
+}
+
+func (r *Recursive) Unmarshal(conf *Conf) error {
+ newR := &Recursive{}
+ if err := conf.Unmarshal(newR); err != nil {
+ return err
+ }
+ *r = *newR
+ return nil
+}
+
+// Tests that a struct can unmarshal itself by creating a new copy of itself, unmarshaling itself, and setting its value.
+func TestRecursiveUnmarshaling(t *testing.T) {
+ conf := NewFromStringMap(map[string]any{
+ "foo": "something",
+ })
+ r := &Recursive{}
+ require.NoError(t, conf.Unmarshal(r))
+ require.Equal(t, "something", r.Foo)
+}
diff --git a/confmap/doc_test.go b/confmap/doc_test.go
index d026bc2d733..35492d3cae0 100644
--- a/confmap/doc_test.go
+++ b/confmap/doc_test.go
@@ -75,6 +75,21 @@ func (n *NetworkScrape) Unmarshal(c *confmap.Conf) error {
return nil
}
+type ManualScrapeInfo struct {
+ Disk string
+ Scrape time.Duration
+}
+
+func (m *ManualScrapeInfo) Unmarshal(c *confmap.Conf) error {
+ m.Disk = c.Get("disk").(string)
+ if c.Get("vinyl") == "33" {
+ m.Scrape = 10 * time.Second
+ } else {
+ m.Scrape = 2 * time.Second
+ }
+ return nil
+}
+
type RouterScrape struct {
NetworkScrape `mapstructure:",squash"`
}
@@ -95,3 +110,18 @@ func Example_embeddedManualUnmarshaling() {
// Wifi: true
// Enabled: true
}
+
+func Example_manualUnmarshaling() {
+ conf := confmap.NewFromStringMap(map[string]any{
+ "disk": "Beatles",
+ "vinyl": "33",
+ })
+ scrapeInfo := &ManualScrapeInfo{}
+ if err := conf.Unmarshal(scrapeInfo, confmap.WithIgnoreUnused()); err != nil {
+ panic(err)
+ }
+ fmt.Printf("Configuration contains the following:\nDisk: %q\nScrape: %s\n", scrapeInfo.Disk, scrapeInfo.Scrape)
+ //Output: Configuration contains the following:
+ // Disk: "Beatles"
+ // Scrape: 10s
+}
From 0a11ca990beea326a7bed2a478890bf3abc82615 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 23 May 2024 07:30:24 -0700
Subject: [PATCH 067/111] [chore] disable gosec checks that cause performance
issues (#10210)
Same as
https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33192
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.golangci.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.golangci.yml b/.golangci.yml
index b106c5d8f23..103ebae9c18 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -119,6 +119,13 @@ linters-settings:
files:
- "!**/*_test.go"
+ gosec:
+ excludes:
+ # https://github.com/open-telemetry/opentelemetry-collector/issues/10213
+ - G601
+ # https://github.com/open-telemetry/opentelemetry-collector/issues/10213
+ - G113
+
linters:
enable:
- depguard
From 7371ff8f1d825dec25a5b5f536ff554d193311a5 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 23 May 2024 08:50:58 -0700
Subject: [PATCH 068/111] fix(deps): update module google.golang.org/grpc to
v1.64.0 (#10187)
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.63.2` -> `v1.64.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/google.golang.org%2fgrpc/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/google.golang.org%2fgrpc/v1.63.2/v1.64.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.63.2/v1.64.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
grpc/grpc-go (google.golang.org/grpc)
### [`v1.64.0`](https://togithub.com/grpc/grpc-go/releases/tag/v1.64.0):
Release 1.64.0
[Compare
Source](https://togithub.com/grpc/grpc-go/compare/v1.63.2...v1.64.0)
### API Changes
- stats: Deprecate `InPayload.Data` and `OutPayload.Data`; they were
experimental and will be deleted in the next release
([#7121](https://togithub.com/grpc/grpc-go/issues/7121))
### Behavior Changes
- codec: Remove handling of environment variable
`GRPC_GO_ADVERTISE_COMPRESSORS` to suppress setting supported
compressors in `grpc-accept-encoding` header. Compressors will always be
advertised, as they have been by default for some time
([#7203](https://togithub.com/grpc/grpc-go/issues/7203))
### New Features
- resolver/dns: Add `SetMinResolutionInterval` to set the minimum
interval at which DNS re-resolutions may occur
([#6962](https://togithub.com/grpc/grpc-go/issues/6962))
- Special Thanks:
[@HomayoonAlimohammadi](https://togithub.com/HomayoonAlimohammadi)
- peer/peer: Implement the `fmt.Stringer` interface for pretty printing
`Peer`, and
- metadata/metadata: Implement the `fmt.Stringer` interface for pretty
printing `MD`
([#7137](https://togithub.com/grpc/grpc-go/issues/7137))
- Special Thanks: [@AnomalRoil](https://togithub.com/AnomalRoil)
### Performance Improvements
- client: Improve RPC performance by reducing work while holding a lock
([#7132](https://togithub.com/grpc/grpc-go/issues/7132))
### Bug Fixes
- transport/server: Display the proper timeout value when keepalive
pings are not ack'd in time
([#7038](https://togithub.com/grpc/grpc-go/issues/7038))
- Special Thanks: [@BatmanAoD](https://togithub.com/BatmanAoD)
- channelz: Fix bug that was causing the subchannel's target to be unset
([#7189](https://togithub.com/grpc/grpc-go/issues/7189))
- stats: Fix bug where peer was not set in context when calling stats
handler for `OutPayload`, `InPayload`, and `End`
([#7096](https://togithub.com/grpc/grpc-go/issues/7096))
### Dependencies
- deps: Remove dependency on deprecated `github.com/golang/protobuf`
module ([#7122](https://togithub.com/grpc/grpc-go/issues/7122))
### Documentation
- grpc: Deprecate `WithBlock`, `WithReturnConnectionError`,
`FailOnNonTempDialError` which are ignored by `NewClient`
([#7097](https://togithub.com/grpc/grpc-go/issues/7097))
- Special Thanks: [@pellared](https://togithub.com/pellared)
- grpc: Deprecate `Dial` and `DialContext`. These will continue to be
supported throughout 1.x, but are deprecated to direct users to
`NewClient` (See
[#7090](https://togithub.com/grpc/grpc-go/issues/7090) for more
information)
- examples: Add custom lb example
([#6691](https://togithub.com/grpc/grpc-go/issues/6691))
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/mdatagen/go.mod | 2 +-
cmd/mdatagen/go.sum | 4 ++--
component/go.mod | 4 ++--
component/go.sum | 8 ++++----
config/configauth/go.mod | 4 ++--
config/configauth/go.sum | 8 ++++----
config/configgrpc/go.mod | 2 +-
config/configgrpc/go.sum | 4 ++--
config/confighttp/go.mod | 2 +-
config/confighttp/go.sum | 4 ++--
connector/forwardconnector/go.mod | 2 +-
connector/forwardconnector/go.sum | 4 ++--
connector/go.mod | 2 +-
connector/go.sum | 4 ++--
consumer/go.mod | 4 ++--
consumer/go.sum | 8 ++++----
exporter/debugexporter/go.mod | 2 +-
exporter/debugexporter/go.sum | 4 ++--
exporter/go.mod | 2 +-
exporter/go.sum | 4 ++--
exporter/loggingexporter/go.mod | 2 +-
exporter/loggingexporter/go.sum | 4 ++--
exporter/nopexporter/go.mod | 2 +-
exporter/nopexporter/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 4 ++--
exporter/otlpexporter/go.sum | 10 ++++------
exporter/otlphttpexporter/go.mod | 4 ++--
exporter/otlphttpexporter/go.sum | 10 ++++------
extension/auth/go.mod | 4 ++--
extension/auth/go.sum | 8 ++++----
extension/ballastextension/go.mod | 2 +-
extension/ballastextension/go.sum | 4 ++--
extension/go.mod | 4 ++--
extension/go.sum | 8 ++++----
extension/memorylimiterextension/go.mod | 2 +-
extension/memorylimiterextension/go.sum | 4 ++--
extension/zpagesextension/go.mod | 4 ++--
extension/zpagesextension/go.sum | 10 ++++------
go.mod | 4 ++--
go.sum | 10 ++++------
internal/e2e/go.mod | 4 ++--
internal/e2e/go.sum | 10 ++++------
pdata/go.mod | 4 ++--
pdata/go.sum | 8 ++++----
pdata/testdata/go.mod | 4 ++--
pdata/testdata/go.sum | 8 ++++----
processor/batchprocessor/go.mod | 2 +-
processor/batchprocessor/go.sum | 4 ++--
processor/go.mod | 2 +-
processor/go.sum | 4 ++--
processor/memorylimiterprocessor/go.mod | 2 +-
processor/memorylimiterprocessor/go.sum | 4 ++--
receiver/go.mod | 2 +-
receiver/go.sum | 4 ++--
receiver/nopreceiver/go.mod | 2 +-
receiver/nopreceiver/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 4 ++--
receiver/otlpreceiver/go.sum | 10 ++++------
58 files changed, 126 insertions(+), 138 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 52f93b01376..aeb0003bbfb 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -51,7 +51,7 @@ require (
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index fc402105fcf..a46c9844707 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/component/go.mod b/component/go.mod
index afd1fb62346..e8b7f7ecf76 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -39,8 +39,8 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/component/go.sum b/component/go.sum
index a0a3ba052d0..df6137c7eb0 100644
--- a/component/go.sum
+++ b/component/go.sum
@@ -96,10 +96,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index eba8ee0abc4..c56a97a2fcd 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -31,8 +31,8 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/configauth/go.sum b/config/configauth/go.sum
index be6a26cdde4..2ce16fd9245 100644
--- a/config/configauth/go.sum
+++ b/config/configauth/go.sum
@@ -95,10 +95,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index b8aa7324a0a..62f67a529cf 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -21,7 +21,7 @@ require (
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
)
require (
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index 87c865ee0c9..ce25631d0bf 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -121,8 +121,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 12538852e54..92ce5364219 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -57,7 +57,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index ecd75e24091..d1c0a4dfbac 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -118,8 +118,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index fbe0cccf665..0c5e2f019bb 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -48,7 +48,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/connector/forwardconnector/go.sum b/connector/forwardconnector/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/connector/forwardconnector/go.sum
+++ b/connector/forwardconnector/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/connector/go.mod b/connector/go.mod
index 31a034c18ae..78f1c4666d4 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -48,7 +48,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/connector/go.sum b/connector/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/connector/go.sum
+++ b/connector/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/consumer/go.mod b/consumer/go.mod
index 230723d8d06..8eb3bf62fd6 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -21,8 +21,8 @@ require (
golang.org/x/net v0.23.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-20240227224415-6ceb2ff114de // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/consumer/go.sum b/consumer/go.sum
index 01a9a61180c..9fdd717f417 100644
--- a/consumer/go.sum
+++ b/consumer/go.sum
@@ -65,10 +65,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 876cd12f695..bc68fee8681 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -52,7 +52,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index d20e501e655..54792a716b1 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -113,8 +113,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/go.mod b/exporter/go.mod
index 42bb1b9117e..26c67768e41 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -23,7 +23,7 @@ require (
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
golang.org/x/sys v0.20.0
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
)
require (
diff --git a/exporter/go.sum b/exporter/go.sum
index d20e501e655..54792a716b1 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -113,8 +113,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index f7f54f8d472..aac4031bdae 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -53,7 +53,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index d20e501e655..54792a716b1 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -113,8 +113,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 2823dfaaae5..fc6b8d5ba84 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -48,7 +48,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index d20e501e655..54792a716b1 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -113,8 +113,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 7f2f76da5fb..d3c01ce48ce 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -20,7 +20,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -80,7 +80,7 @@ require (
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index b01335836f0..d2807380bf2 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -143,14 +143,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 7e63f306542..b415d0fb8c0 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -18,7 +18,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -79,7 +79,7 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index 9c12d2e254a..bdfa313684b 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -145,14 +145,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index 54c7486f6c2..d58e38db301 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -7,7 +7,7 @@ require (
go.opentelemetry.io/collector/component v0.101.0
go.opentelemetry.io/collector/extension v0.101.0
go.uber.org/goleak v1.3.0
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
)
require (
@@ -42,7 +42,7 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/auth/go.sum b/extension/auth/go.sum
index a0a3ba052d0..df6137c7eb0 100644
--- a/extension/auth/go.sum
+++ b/extension/auth/go.sum
@@ -96,10 +96,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 6af07ef9970..b45e7d1c56b 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -52,7 +52,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index beaced3440b..09697008be1 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -131,8 +131,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/extension/go.mod b/extension/go.mod
index 500d52400b2..77c4aed1281 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -41,8 +41,8 @@ require (
golang.org/x/net v0.23.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/go.sum b/extension/go.sum
index 2370967a8e3..2c9ec8b1a08 100644
--- a/extension/go.sum
+++ b/extension/go.sum
@@ -98,10 +98,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 6f9c7b8e8be..a73c50e5491 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -51,7 +51,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index beaced3440b..09697008be1 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -131,8 +131,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 9e5ace75e96..30ddc195f81 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -56,9 +56,9 @@ require (
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/extension/zpagesextension/go.sum b/extension/zpagesextension/go.sum
index 1b8a4c584f8..cf69f78b0a4 100644
--- a/extension/zpagesextension/go.sum
+++ b/extension/zpagesextension/go.sum
@@ -122,14 +122,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/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 db43db76bbe..2dbf4e16fd4 100644
--- a/go.mod
+++ b/go.mod
@@ -15,7 +15,7 @@ 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/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
)
require (
@@ -66,7 +66,7 @@ require (
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/go.sum b/go.sum
index a18ccb55961..68d38f99675 100644
--- a/go.sum
+++ b/go.sum
@@ -160,14 +160,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index cf581a37edc..4f6823ffb18 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -84,9 +84,9 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 8cab87e2788..f453be1bbcb 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -149,14 +149,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/pdata/go.mod b/pdata/go.mod
index 5700d12536b..ddbb82ae35b 100644
--- a/pdata/go.mod
+++ b/pdata/go.mod
@@ -8,7 +8,7 @@ require (
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -22,7 +22,7 @@ require (
golang.org/x/net v0.23.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-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/pdata/go.sum b/pdata/go.sum
index 423ee3618c5..fb87926ab78 100644
--- a/pdata/go.sum
+++ b/pdata/go.sum
@@ -70,10 +70,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/pdata/testdata/go.mod b/pdata/testdata/go.mod
index 77af5a5c7bd..6a39e1f967f 100644
--- a/pdata/testdata/go.mod
+++ b/pdata/testdata/go.mod
@@ -13,8 +13,8 @@ require (
golang.org/x/net v0.23.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-20240227224415-6ceb2ff114de // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
)
diff --git a/pdata/testdata/go.sum b/pdata/testdata/go.sum
index c8f0ea8a116..3dc378522b4 100644
--- a/pdata/testdata/go.sum
+++ b/pdata/testdata/go.sum
@@ -58,10 +58,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de h1:cZGRis4/ot9uVm639a+rHCUaG0JJHEsdyzSQTMX+suY=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:H4O17MA/PE9BsGx3w+a+W2VOLLD1Qf7oJneAoU6WktY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index 50c28a09d2a..ecd6ce5fc15 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -49,7 +49,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/processor/batchprocessor/go.sum
+++ b/processor/batchprocessor/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/processor/go.mod b/processor/go.mod
index 00f7e12ba08..bed61e5235f 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -48,7 +48,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/go.sum b/processor/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/processor/go.sum
+++ b/processor/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index b5b33980aa2..e057e659b25 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -56,7 +56,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index f06446ae873..0f97a526edb 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -140,8 +140,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/receiver/go.mod b/receiver/go.mod
index ae024ebb63a..57c56d4827c 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -47,7 +47,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/go.sum b/receiver/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/receiver/go.sum
+++ b/receiver/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 6dab147dc20..aab0460f976 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -47,7 +47,7 @@ require (
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
- google.golang.org/grpc v1.63.2 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/nopreceiver/go.sum b/receiver/nopreceiver/go.sum
index 7b9c4fd6156..4d6ccd869a3 100644
--- a/receiver/nopreceiver/go.sum
+++ b/receiver/nopreceiver/go.sum
@@ -111,8 +111,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=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 3228792bbb9..af5566a0995 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -20,7 +20,7 @@ require (
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
- google.golang.org/grpc v1.63.2
+ google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -82,7 +82,7 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 8cab87e2788..f453be1bbcb 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -149,14 +149,12 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de h1:F6qOa9AZTYJXOUEr4jDysRDLrm4PHePlge4v4TGAlxY=
-google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:VUhTRKeHn9wwcdrk73nvdC9gF178Tzhmt/qyaFcPLSo=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de h1:jFNzHPIeuzhdRwVhbZdiym9q0ory/xY3sA+v2wPg8I0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240227224415-6ceb2ff114de/go.mod h1:5iCWqnniDlqZHrd3neWVTOwvh/v6s3232omMecelax8=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
-google.golang.org/grpc v1.63.2 h1:MUeiw1B2maTVZthpU5xvASfTh3LDbxHd6IJ6QQVU+xM=
-google.golang.org/grpc v1.63.2/go.mod h1:WAX/8DgncnokcFUldAxq7GeB5DXHDbMF+lLvDomNkRA=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
From f454ced67c9c952c9260d76b7b4f85459fc55f51 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 23 May 2024 09:38:44 -0700
Subject: [PATCH 069/111] [chore] follow codeql recommendation (#10165)
CodeQL is currently reporting "Invalid Go toolchain version: As of Go
1.21, toolchain versions must use the 1.N.P syntax.". This PR attempts
to fix this.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
Makefile.Common | 2 +-
cmd/builder/go.mod | 2 +-
cmd/mdatagen/go.mod | 2 +-
cmd/otelcorecol/go.mod | 4 +++-
component/go.mod | 2 +-
config/configauth/go.mod | 2 +-
config/configcompression/go.mod | 2 +-
config/configgrpc/go.mod | 2 +-
config/confighttp/go.mod | 2 +-
config/confignet/go.mod | 2 +-
config/configopaque/go.mod | 2 +-
config/configretry/go.mod | 2 +-
config/configtelemetry/go.mod | 2 +-
config/configtls/go.mod | 2 +-
config/internal/go.mod | 2 +-
confmap/converter/expandconverter/go.mod | 2 +-
confmap/go.mod | 2 +-
confmap/provider/envprovider/go.mod | 2 +-
confmap/provider/fileprovider/go.mod | 2 +-
confmap/provider/httpprovider/go.mod | 2 +-
confmap/provider/httpsprovider/go.mod | 2 +-
confmap/provider/yamlprovider/go.mod | 2 +-
connector/forwardconnector/go.mod | 2 +-
connector/go.mod | 2 +-
consumer/go.mod | 2 +-
exporter/debugexporter/go.mod | 2 +-
exporter/go.mod | 2 +-
exporter/loggingexporter/go.mod | 2 +-
exporter/nopexporter/go.mod | 2 +-
exporter/otlpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.mod | 2 +-
extension/auth/go.mod | 2 +-
extension/ballastextension/go.mod | 2 +-
extension/go.mod | 2 +-
extension/memorylimiterextension/go.mod | 2 +-
extension/zpagesextension/go.mod | 2 +-
featuregate/go.mod | 2 +-
filter/go.mod | 2 +-
go.mod | 2 +-
internal/e2e/go.mod | 2 +-
internal/tools/go.mod | 2 +-
otelcol/go.mod | 2 +-
pdata/go.mod | 2 +-
pdata/testdata/go.mod | 2 +-
processor/batchprocessor/go.mod | 2 +-
processor/go.mod | 2 +-
processor/memorylimiterprocessor/go.mod | 2 +-
receiver/go.mod | 2 +-
receiver/nopreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.mod | 2 +-
semconv/go.mod | 2 +-
service/go.mod | 2 +-
52 files changed, 54 insertions(+), 52 deletions(-)
diff --git a/Makefile.Common b/Makefile.Common
index ca9b17c56df..31f5a80d156 100644
--- a/Makefile.Common
+++ b/Makefile.Common
@@ -67,7 +67,7 @@ fmt: $(GOIMPORTS)
.PHONY: tidy
tidy:
rm -fr go.sum
- $(GOCMD) mod tidy -compat=1.21
+ $(GOCMD) mod tidy -compat=1.21.0
.PHONY: lint
lint: $(LINT)
diff --git a/cmd/builder/go.mod b/cmd/builder/go.mod
index 1a3fb86740c..8d647f78189 100644
--- a/cmd/builder/go.mod
+++ b/cmd/builder/go.mod
@@ -3,7 +3,7 @@
module go.opentelemetry.io/collector/cmd/builder
-go 1.21
+go 1.21.0
require (
github.com/hashicorp/go-version v1.6.0
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index aeb0003bbfb..dd467ae3614 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/cmd/mdatagen
-go 1.21
+go 1.21.0
require (
github.com/google/go-cmp v0.6.0
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 43c84453b75..ed22c3eabb0 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -2,7 +2,9 @@
module go.opentelemetry.io/collector/cmd/otelcorecol
-go 1.21
+go 1.21.0
+
+toolchain go1.21.10
require (
go.opentelemetry.io/collector/component v0.101.0
diff --git a/component/go.mod b/component/go.mod
index e8b7f7ecf76..cc94d24633c 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/component
-go 1.21
+go 1.21.0
require (
github.com/prometheus/client_golang v1.19.1
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index c56a97a2fcd..c74f72787cc 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configauth
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/config/configcompression/go.mod b/config/configcompression/go.mod
index a79f2d91f3d..159d320056b 100644
--- a/config/configcompression/go.mod
+++ b/config/configcompression/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configcompression
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index 62f67a529cf..36bd8a900f3 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configgrpc
-go 1.21
+go 1.21.0
require (
github.com/mostynb/go-grpc-compression v1.2.2
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 92ce5364219..2f7b1b9d974 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/confighttp
-go 1.21
+go 1.21.0
require (
github.com/golang/snappy v0.0.4
diff --git a/config/confignet/go.mod b/config/confignet/go.mod
index 4d1f2b4813a..f1f33364d78 100644
--- a/config/confignet/go.mod
+++ b/config/confignet/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/confignet
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/config/configopaque/go.mod b/config/configopaque/go.mod
index f402cd4815c..de449cf9f9a 100644
--- a/config/configopaque/go.mod
+++ b/config/configopaque/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configopaque
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/config/configretry/go.mod b/config/configretry/go.mod
index 9458227d2ca..fa25d5627f9 100644
--- a/config/configretry/go.mod
+++ b/config/configretry/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configretry
-go 1.21
+go 1.21.0
require (
github.com/cenkalti/backoff/v4 v4.3.0
diff --git a/config/configtelemetry/go.mod b/config/configtelemetry/go.mod
index 49af6aa800f..e3a49a0bdca 100644
--- a/config/configtelemetry/go.mod
+++ b/config/configtelemetry/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configtelemetry
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/config/configtls/go.mod b/config/configtls/go.mod
index 3ff44a688b5..f5e97331737 100644
--- a/config/configtls/go.mod
+++ b/config/configtls/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/configtls
-go 1.21
+go 1.21.0
require (
github.com/fsnotify/fsnotify v1.7.0
diff --git a/config/internal/go.mod b/config/internal/go.mod
index fea6d0b2f1a..03c2e239e9a 100644
--- a/config/internal/go.mod
+++ b/config/internal/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/config/internal
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/converter/expandconverter/go.mod b/confmap/converter/expandconverter/go.mod
index dff5eff8965..0e772edf1ea 100644
--- a/confmap/converter/expandconverter/go.mod
+++ b/confmap/converter/expandconverter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/converter/expandconverter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/go.mod b/confmap/go.mod
index 10e84cb18b5..6a0cbf641ea 100644
--- a/confmap/go.mod
+++ b/confmap/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap
-go 1.21
+go 1.21.0
require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1
diff --git a/confmap/provider/envprovider/go.mod b/confmap/provider/envprovider/go.mod
index 0b90dc87b4e..1b2d7a39ca1 100644
--- a/confmap/provider/envprovider/go.mod
+++ b/confmap/provider/envprovider/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/provider/envprovider
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/provider/fileprovider/go.mod b/confmap/provider/fileprovider/go.mod
index 2fd656162a2..1d71b8fc838 100644
--- a/confmap/provider/fileprovider/go.mod
+++ b/confmap/provider/fileprovider/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/provider/fileprovider
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/provider/httpprovider/go.mod b/confmap/provider/httpprovider/go.mod
index 0e477dcd748..00ee22ac3ab 100644
--- a/confmap/provider/httpprovider/go.mod
+++ b/confmap/provider/httpprovider/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/provider/httpprovider
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/provider/httpsprovider/go.mod b/confmap/provider/httpsprovider/go.mod
index cb6bda5302a..1ae5ccca81a 100644
--- a/confmap/provider/httpsprovider/go.mod
+++ b/confmap/provider/httpsprovider/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/provider/httpsprovider
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/confmap/provider/yamlprovider/go.mod b/confmap/provider/yamlprovider/go.mod
index 9a0243b6651..cfbf67c2e5f 100644
--- a/confmap/provider/yamlprovider/go.mod
+++ b/confmap/provider/yamlprovider/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/confmap/provider/yamlprovider
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 0c5e2f019bb..cc24d640a1c 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/connector/forwardconnector
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/connector/go.mod b/connector/go.mod
index 78f1c4666d4..2ab3a3fc105 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/connector
-go 1.21
+go 1.21.0
require (
github.com/google/uuid v1.6.0
diff --git a/consumer/go.mod b/consumer/go.mod
index 8eb3bf62fd6..5cef78aa64f 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/consumer
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index bc68fee8681..2e16862bbe9 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/exporter/debugexporter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/exporter/go.mod b/exporter/go.mod
index 26c67768e41..a1bcf9c6b22 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/exporter
-go 1.21
+go 1.21.0
require (
github.com/cenkalti/backoff/v4 v4.3.0
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index aac4031bdae..4cd8c9e9320 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -1,7 +1,7 @@
// Deprecated: loggingexporter is deprecated in favour of the debugexporter. It will be removed in September 2024.
module go.opentelemetry.io/collector/exporter/loggingexporter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index fc6b8d5ba84..d71cc8cd56f 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/exporter/nopexporter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index d3c01ce48ce..a87e337d99d 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/exporter/otlpexporter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index b415d0fb8c0..dbd41010de1 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/exporter/otlphttpexporter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index d58e38db301..1696b175848 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/extension/auth
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index b45e7d1c56b..1fa62b9b97a 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -1,7 +1,7 @@
// Deprecated: Use the GOMEMLIMIT environment variable instead.
module go.opentelemetry.io/collector/extension/ballastextension
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/extension/go.mod b/extension/go.mod
index 77c4aed1281..325ec326913 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/extension
-go 1.21
+go 1.21.0
require (
github.com/google/uuid v1.6.0
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index a73c50e5491..6690b2e40a0 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/extension/memorylimiterextension
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 30ddc195f81..8b568c397d3 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/extension/zpagesextension
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/featuregate/go.mod b/featuregate/go.mod
index 8f955c5df51..b47f02148e2 100644
--- a/featuregate/go.mod
+++ b/featuregate/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/featuregate
-go 1.21
+go 1.21.0
require (
github.com/hashicorp/go-version v1.6.0
diff --git a/filter/go.mod b/filter/go.mod
index 72d668ee603..67969dc0f6c 100644
--- a/filter/go.mod
+++ b/filter/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/filter
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/go.mod b/go.mod
index 2dbf4e16fd4..c8beaae1065 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector
-go 1.21
+go 1.21.0
require (
github.com/shirou/gopsutil/v3 v3.24.4
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 4f6823ffb18..1a9126b1759 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/internal/e2e
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 5d9559ab33d..4b115254264 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/internal/tools
-go 1.21
+go 1.21.0
require (
github.com/a8m/envsubst v1.4.2
diff --git a/otelcol/go.mod b/otelcol/go.mod
index 8b509dec1e4..e8172eb6ad5 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/otelcol
-go 1.21
+go 1.21.0
require (
github.com/spf13/cobra v1.8.0
diff --git a/pdata/go.mod b/pdata/go.mod
index ddbb82ae35b..72b6b3821cb 100644
--- a/pdata/go.mod
+++ b/pdata/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/pdata
-go 1.21
+go 1.21.0
require (
github.com/gogo/protobuf v1.3.2
diff --git a/pdata/testdata/go.mod b/pdata/testdata/go.mod
index 6a39e1f967f..b381445e434 100644
--- a/pdata/testdata/go.mod
+++ b/pdata/testdata/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/pdata/testdata
-go 1.21
+go 1.21.0
require go.opentelemetry.io/collector/pdata v1.8.0
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index ecd6ce5fc15..73699ac4175 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/processor/batchprocessor
-go 1.21
+go 1.21.0
require (
github.com/prometheus/client_golang v1.19.1
diff --git a/processor/go.mod b/processor/go.mod
index bed61e5235f..7972d7c2146 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/processor
-go 1.21
+go 1.21.0
require (
github.com/google/uuid v1.6.0
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index e057e659b25..fb03c9d9adf 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/processor/memorylimiterprocessor
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/receiver/go.mod b/receiver/go.mod
index 57c56d4827c..d7d689c09d1 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/receiver
-go 1.21
+go 1.21.0
require (
github.com/google/uuid v1.6.0
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index aab0460f976..33084d56ee5 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/receiver/nopreceiver
-go 1.21
+go 1.21.0
require (
github.com/stretchr/testify v1.9.0
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index af5566a0995..e6caee5342d 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/receiver/otlpreceiver
-go 1.21
+go 1.21.0
require (
github.com/gogo/protobuf v1.3.2
diff --git a/semconv/go.mod b/semconv/go.mod
index ca3f2b7da1a..e6be1d23269 100644
--- a/semconv/go.mod
+++ b/semconv/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/semconv
-go 1.21
+go 1.21.0
require (
github.com/hashicorp/go-version v1.6.0
diff --git a/service/go.mod b/service/go.mod
index a8b35555821..177a2adb0e5 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -1,6 +1,6 @@
module go.opentelemetry.io/collector/service
-go 1.21
+go 1.21.0
require (
github.com/google/uuid v1.6.0
From 2d50bbd60cc9e03a069c8bdeb2f12436212208a2 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Thu, 23 May 2024 22:43:51 +0300
Subject: [PATCH 070/111] [chore] Remove unused ocRegistry, no longer used
(#10215)
---
service/telemetry.go | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/service/telemetry.go b/service/telemetry.go
index 365ea3d23c5..c2a67c7f16f 100644
--- a/service/telemetry.go
+++ b/service/telemetry.go
@@ -9,11 +9,9 @@ import (
"net/http"
"strconv"
- ocmetric "go.opencensus.io/metric"
- "go.opencensus.io/metric/metricproducer"
"go.opentelemetry.io/contrib/config"
"go.opentelemetry.io/otel/metric"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/metric/noop"
sdkmetric "go.opentelemetry.io/otel/sdk/metric"
"go.opentelemetry.io/otel/sdk/resource"
"go.uber.org/multierr"
@@ -31,8 +29,7 @@ const (
type meterProvider struct {
*sdkmetric.MeterProvider
- ocRegistry *ocmetric.Registry
- servers []*http.Server
+ servers []*http.Server
}
type meterProviderSettings struct {
@@ -43,7 +40,7 @@ type meterProviderSettings struct {
func newMeterProvider(set meterProviderSettings, disableHighCardinality bool) (metric.MeterProvider, error) {
if set.cfg.Level == configtelemetry.LevelNone || (set.cfg.Address == "" && len(set.cfg.Readers) == 0) {
- return noopmetric.NewMeterProvider(), nil
+ return noop.NewMeterProvider(), nil
}
if len(set.cfg.Address) != 0 {
@@ -70,12 +67,8 @@ func newMeterProvider(set meterProviderSettings, disableHighCardinality bool) (m
})
}
- mp := &meterProvider{
- // Initialize the ocRegistry, still used by the process metrics.
- ocRegistry: ocmetric.NewRegistry(),
- }
- metricproducer.GlobalManager().AddProducer(mp.ocRegistry)
- opts := []sdkmetric.Option{}
+ mp := &meterProvider{}
+ var opts []sdkmetric.Option
for _, reader := range set.cfg.Readers {
// https://github.com/open-telemetry/opentelemetry-collector/issues/8045
r, server, err := proctelemetry.InitMetricReader(context.Background(), reader, set.asyncErrorChannel)
@@ -111,8 +104,6 @@ func (mp *meterProvider) LogAboutServers(logger *zap.Logger, cfg telemetry.Metri
// Shutdown the meter provider and all the associated resources.
// The type signature of this method matches that of the sdkmetric.MeterProvider.
func (mp *meterProvider) Shutdown(ctx context.Context) error {
- metricproducer.GlobalManager().DeleteProducer(mp.ocRegistry)
-
var errs error
for _, server := range mp.servers {
if server != nil {
From 7c59865c6e8fc8905a0470cf200f6108e040aa57 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Fri, 24 May 2024 00:40:05 +0300
Subject: [PATCH 071/111] [chore] test that implementation implements interface
without allocation (#10214)
---
otelcol/configprovider.go | 4 ++--
service/internal/graph/graph_test.go | 2 +-
service/internal/graph/nodes.go | 10 +++++-----
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/otelcol/configprovider.go b/otelcol/configprovider.go
index 477541fd4bd..6360b536509 100644
--- a/otelcol/configprovider.go
+++ b/otelcol/configprovider.go
@@ -67,8 +67,8 @@ type configProvider struct {
mapResolver *confmap.Resolver
}
-var _ ConfigProvider = &configProvider{}
-var _ ConfmapProvider = &configProvider{}
+var _ ConfigProvider = (*configProvider)(nil)
+var _ ConfmapProvider = (*configProvider)(nil)
// ConfigProviderSettings are the settings to configure the behavior of the ConfigProvider.
type ConfigProviderSettings struct {
diff --git a/service/internal/graph/graph_test.go b/service/internal/graph/graph_test.go
index eddd3098153..343f752b888 100644
--- a/service/internal/graph/graph_test.go
+++ b/service/internal/graph/graph_test.go
@@ -34,7 +34,7 @@ import (
"go.opentelemetry.io/collector/service/pipelines"
)
-var _ component.Component = &testNode{}
+var _ component.Component = (*testNode)(nil)
type testNode struct {
id component.ID
diff --git a/service/internal/graph/nodes.go b/service/internal/graph/nodes.go
index 13726d1c760..238bbf3b287 100644
--- a/service/internal/graph/nodes.go
+++ b/service/internal/graph/nodes.go
@@ -104,7 +104,7 @@ func (n *receiverNode) buildComponent(ctx context.Context,
return nil
}
-var _ consumerNode = &processorNode{}
+var _ consumerNode = (*processorNode)(nil)
// Every processor instance is unique to one pipeline.
// Therefore, nodeID is derived from "pipeline ID" and "component ID".
@@ -152,7 +152,7 @@ func (n *processorNode) buildComponent(ctx context.Context,
return nil
}
-var _ consumerNode = &exporterNode{}
+var _ consumerNode = (*exporterNode)(nil)
// An exporter instance can be shared by multiple pipelines of the same type.
// Therefore, nodeID is derived from "pipeline type" and "component ID".
@@ -200,7 +200,7 @@ func (n *exporterNode) buildComponent(
return nil
}
-var _ consumerNode = &connectorNode{}
+var _ consumerNode = (*connectorNode)(nil)
// A connector instance connects one pipeline type to one other pipeline type.
// Therefore, nodeID is derived from "exporter pipeline type", "receiver pipeline type", and "component ID".
@@ -347,7 +347,7 @@ func (n *connectorNode) buildComponent(
return nil
}
-var _ consumerNode = &capabilitiesNode{}
+var _ consumerNode = (*capabilitiesNode)(nil)
// Every pipeline has a "virtual" capabilities node immediately after the receiver(s).
// There are two purposes for this node:
@@ -374,7 +374,7 @@ func (n *capabilitiesNode) getConsumer() baseConsumer {
return n
}
-var _ consumerNode = &fanOutNode{}
+var _ consumerNode = (*fanOutNode)(nil)
// Each pipeline has one fan-out node before exporters.
// Therefore, nodeID is derived from "pipeline ID".
From fbfc11081e301b2a219e65bfb85cf7bcd5df7495 Mon Sep 17 00:00:00 2001
From: Ankit Patel <8731662+ankitpatel96@users.noreply.github.com>
Date: Fri, 24 May 2024 02:13:56 -0700
Subject: [PATCH 072/111] Restrict characters in environment variable names
(#10183)
#### Description
Restricts Environment Variable names according to the
[restrictions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/file-configuration.md#environment-variable-substitution)
published by the OpenTelemetry Configuration Working Group. Changes both
the expand converter and the env provider. Defines one regex to be used
for both of these.
#### Link to tracking issue
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/9531
#### Testing
Unit tests
---------
Co-authored-by: Pablo Baeyens
---
.chloggen/env-var-name-verify.yaml | 25 ++++++
confmap/converter/expandconverter/expand.go | 41 +++++++--
.../converter/expandconverter/expand_test.go | 87 +++++++++++++++++--
.../testdata/errors/expand-list-error.yaml | 4 +
.../errors/expand-list-map-error.yaml | 3 +
.../testdata/errors/expand-map-error.yaml | 2 +
confmap/internal/envvar/pattern.go | 10 +++
confmap/provider/envprovider/provider.go | 9 +-
confmap/provider/envprovider/provider_test.go | 21 ++++-
9 files changed, 183 insertions(+), 19 deletions(-)
create mode 100644 .chloggen/env-var-name-verify.yaml
create mode 100644 confmap/converter/expandconverter/testdata/errors/expand-list-error.yaml
create mode 100644 confmap/converter/expandconverter/testdata/errors/expand-list-map-error.yaml
create mode 100644 confmap/converter/expandconverter/testdata/errors/expand-map-error.yaml
create mode 100644 confmap/internal/envvar/pattern.go
diff --git a/.chloggen/env-var-name-verify.yaml b/.chloggen/env-var-name-verify.yaml
new file mode 100644
index 00000000000..b0264aee6bd
--- /dev/null
+++ b/.chloggen/env-var-name-verify.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: envprovider
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers.
+
+# One or more tracking issues or pull requests related to the change
+issues: [9531]
+
+# (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:
+
+# 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/confmap/converter/expandconverter/expand.go b/confmap/converter/expandconverter/expand.go
index 98bc455d907..029b48eaf17 100644
--- a/confmap/converter/expandconverter/expand.go
+++ b/confmap/converter/expandconverter/expand.go
@@ -12,6 +12,7 @@ import (
"go.uber.org/zap"
"go.opentelemetry.io/collector/confmap"
+ "go.opentelemetry.io/collector/confmap/internal/envvar"
)
type converter struct {
@@ -35,36 +36,50 @@ func newConverter(set confmap.ConverterSettings) confmap.Converter {
}
func (c converter) Convert(_ context.Context, conf *confmap.Conf) error {
+ var err error
out := make(map[string]any)
for _, k := range conf.AllKeys() {
- out[k] = c.expandStringValues(conf.Get(k))
+ out[k], err = c.expandStringValues(conf.Get(k))
+ if err != nil {
+ return err
+ }
}
return conf.Merge(confmap.NewFromStringMap(out))
}
-func (c converter) expandStringValues(value any) any {
+func (c converter) expandStringValues(value any) (any, error) {
+ var err error
switch v := value.(type) {
case string:
return c.expandEnv(v)
case []any:
nslice := make([]any, 0, len(v))
for _, vint := range v {
- nslice = append(nslice, c.expandStringValues(vint))
+ var nv any
+ nv, err = c.expandStringValues(vint)
+ if err != nil {
+ return nil, err
+ }
+ nslice = append(nslice, nv)
}
- return nslice
+ return nslice, nil
case map[string]any:
nmap := map[string]any{}
for mk, mv := range v {
- nmap[mk] = c.expandStringValues(mv)
+ nmap[mk], err = c.expandStringValues(mv)
+ if err != nil {
+ return nil, err
+ }
}
- return nmap
+ return nmap, nil
default:
- return v
+ return v, nil
}
}
-func (c converter) expandEnv(s string) string {
- return os.Expand(s, func(str string) string {
+func (c converter) expandEnv(s string) (string, error) {
+ var err error
+ res := os.Expand(s, func(str string) string {
// Matches on $VAR style environment variables
// in order to make sure we don't log a warning for ${VAR}
var regex = regexp.MustCompile(fmt.Sprintf(`\$%s`, regexp.QuoteMeta(str)))
@@ -80,6 +95,13 @@ func (c converter) expandEnv(s string) string {
if str == "$" {
return "$"
}
+ // For $ENV style environment variables os.Expand returns once it hits a character that isn't an underscore or
+ // an alphanumeric character - so we cannot detect those malformed environment variables.
+ // For ${ENV} style variables we can detect those kinds of env var names!
+ if !envvar.ValidationRegexp.MatchString(str) {
+ err = fmt.Errorf("environment variable %q has invalid name: must match regex %s", str, envvar.ValidationPattern)
+ return ""
+ }
val, exists := os.LookupEnv(str)
if !exists {
c.logger.Warn("Configuration references unset environment variable", zap.String("name", str))
@@ -88,4 +110,5 @@ func (c converter) expandEnv(s string) string {
}
return val
})
+ return res, err
}
diff --git a/confmap/converter/expandconverter/expand_test.go b/confmap/converter/expandconverter/expand_test.go
index fbc58a2e1f2..45e10f8536a 100644
--- a/confmap/converter/expandconverter/expand_test.go
+++ b/confmap/converter/expandconverter/expand_test.go
@@ -17,6 +17,7 @@ import (
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
+ "go.opentelemetry.io/collector/confmap/internal/envvar"
)
func TestNewExpandConverter(t *testing.T) {
@@ -176,13 +177,16 @@ func TestDeprecatedWarning(t *testing.T) {
t.Setenv("PORT", "4317")
t.Setenv("HOST_NAME", "127.0.0.2")
- t.Setenv("HOST.NAME", "127.0.0.3")
+ t.Setenv("HOSTNAME", "127.0.0.3")
+
+ t.Setenv("BAD!HOST", "127.0.0.2")
var testCases = []struct {
name string
input map[string]any
expectedOutput map[string]any
expectedWarnings []string
+ expectedError error
}{
{
name: "no warning",
@@ -193,6 +197,7 @@ func TestDeprecatedWarning(t *testing.T) {
"test": "127.0.0.1:4317",
},
expectedWarnings: []string{},
+ expectedError: nil,
},
{
name: "one deprecated var",
@@ -203,6 +208,7 @@ func TestDeprecatedWarning(t *testing.T) {
"test": "127.0.0.1:4317",
},
expectedWarnings: []string{"PORT"},
+ expectedError: nil,
},
{
name: "two deprecated vars",
@@ -213,6 +219,7 @@ func TestDeprecatedWarning(t *testing.T) {
"test": "127.0.0.1:4317",
},
expectedWarnings: []string{"HOST", "PORT"},
+ expectedError: nil,
},
{
name: "one depracated serveral times",
@@ -225,25 +232,63 @@ func TestDeprecatedWarning(t *testing.T) {
"test2": "127.0.0.1",
},
expectedWarnings: []string{"HOST"},
+ expectedError: nil,
},
{
name: "one warning",
input: map[string]any{
- "test": "$HOST_NAME,${HOST.NAME}",
+ "test": "$HOST_NAME,${HOSTNAME}",
},
expectedOutput: map[string]any{
"test": "127.0.0.2,127.0.0.3",
},
expectedWarnings: []string{"HOST_NAME"},
+ expectedError: nil,
+ },
+ {
+ name: "malformed environment variable",
+ input: map[string]any{
+ "test": "${BAD!HOST}",
+ },
+ expectedOutput: map[string]any{
+ "test": "blah",
+ },
+ expectedWarnings: []string{},
+ expectedError: fmt.Errorf("environment variable \"BAD!HOST\" has invalid name: must match regex %s", envvar.ValidationRegexp),
+ },
+ {
+ name: "malformed environment variable number",
+ input: map[string]any{
+ "test": "${2BADHOST}",
+ },
+ expectedOutput: map[string]any{
+ "test": "blah",
+ },
+ expectedWarnings: []string{},
+ expectedError: fmt.Errorf("environment variable \"2BADHOST\" has invalid name: must match regex %s", envvar.ValidationRegexp),
+ },
+ {
+ name: "malformed environment variable unicode",
+ input: map[string]any{
+ "test": "${😊BADHOST}",
+ },
+ expectedOutput: map[string]any{
+ "test": "blah",
+ },
+ expectedWarnings: []string{},
+ expectedError: fmt.Errorf("environment variable \"😊BADHOST\" has invalid name: must match regex %s", envvar.ValidationRegexp),
},
}
+
for _, tt := range testCases {
t.Run(tt.name, func(t *testing.T) {
conf := confmap.NewFromStringMap(tt.input)
conv, logs := NewTestConverter()
- require.NoError(t, conv.Convert(context.Background(), conf))
-
- assert.Equal(t, tt.expectedOutput, conf.ToStringMap())
+ err := conv.Convert(context.Background(), conf)
+ assert.Equal(t, tt.expectedError, err)
+ if tt.expectedError == nil {
+ assert.Equal(t, tt.expectedOutput, conf.ToStringMap())
+ }
assert.Equal(t, len(tt.expectedWarnings), len(logs.All()))
for i, variable := range tt.expectedWarnings {
errorMsg := fmt.Sprintf(msgTemplate, variable)
@@ -253,6 +298,38 @@ func TestDeprecatedWarning(t *testing.T) {
}
}
+func TestNewExpandConverterWithErrors(t *testing.T) {
+ var testCases = []struct {
+ name string // test case name (also file name containing config yaml)
+ expectedError error
+ }{
+ {
+ name: "expand-list-error.yaml",
+ expectedError: fmt.Errorf("environment variable \"EXTRA_LIST_^VALUE_2\" has invalid name: must match regex %s", envvar.ValidationRegexp),
+ },
+ {
+ name: "expand-list-map-error.yaml",
+ expectedError: fmt.Errorf("environment variable \"EXTRA_LIST_MAP_V#ALUE_2\" has invalid name: must match regex %s", envvar.ValidationRegexp),
+ },
+ {
+ name: "expand-map-error.yaml",
+ expectedError: fmt.Errorf("environment variable \"EX#TRA\" has invalid name: must match regex %s", envvar.ValidationRegexp),
+ },
+ }
+
+ for _, test := range testCases {
+ t.Run(test.name, func(t *testing.T) {
+ conf, err := confmaptest.LoadConf(filepath.Join("testdata", "errors", test.name))
+ require.NoError(t, err, "Unable to get config")
+
+ // Test that expanded configs are the same with the simple config with no env vars.
+ err = createConverter().Convert(context.Background(), conf)
+
+ assert.Equal(t, test.expectedError, err)
+ })
+ }
+}
+
func createConverter() confmap.Converter {
return NewFactory().Create(confmap.ConverterSettings{Logger: zap.NewNop()})
}
diff --git a/confmap/converter/expandconverter/testdata/errors/expand-list-error.yaml b/confmap/converter/expandconverter/testdata/errors/expand-list-error.yaml
new file mode 100644
index 00000000000..a5cc8ee4b72
--- /dev/null
+++ b/confmap/converter/expandconverter/testdata/errors/expand-list-error.yaml
@@ -0,0 +1,4 @@
+test_map:
+ extra_list:
+ - "some list value_1"
+ - "${EXTRA_LIST_^VALUE_2}"
diff --git a/confmap/converter/expandconverter/testdata/errors/expand-list-map-error.yaml b/confmap/converter/expandconverter/testdata/errors/expand-list-map-error.yaml
new file mode 100644
index 00000000000..1933594bd8a
--- /dev/null
+++ b/confmap/converter/expandconverter/testdata/errors/expand-list-map-error.yaml
@@ -0,0 +1,3 @@
+test_map:
+ extra_list_map:
+ - { recv.1: "some list map value_1",recv.2: "${EXTRA_LIST_MAP_V#ALUE_2}" }
diff --git a/confmap/converter/expandconverter/testdata/errors/expand-map-error.yaml b/confmap/converter/expandconverter/testdata/errors/expand-map-error.yaml
new file mode 100644
index 00000000000..67577789d1b
--- /dev/null
+++ b/confmap/converter/expandconverter/testdata/errors/expand-map-error.yaml
@@ -0,0 +1,2 @@
+test_map:
+ extra: "${EX#TRA}"
diff --git a/confmap/internal/envvar/pattern.go b/confmap/internal/envvar/pattern.go
new file mode 100644
index 00000000000..6ce639ec275
--- /dev/null
+++ b/confmap/internal/envvar/pattern.go
@@ -0,0 +1,10 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package envvar // import "go.opentelemetry.io/collector/confmap/internal/envvar"
+
+import "regexp"
+
+const ValidationPattern = `^[a-zA-Z_][a-zA-Z0-9_]*$`
+
+var ValidationRegexp = regexp.MustCompile(ValidationPattern)
diff --git a/confmap/provider/envprovider/provider.go b/confmap/provider/envprovider/provider.go
index 9819a9e654a..50192b5d994 100644
--- a/confmap/provider/envprovider/provider.go
+++ b/confmap/provider/envprovider/provider.go
@@ -12,10 +12,13 @@ import (
"go.uber.org/zap"
"go.opentelemetry.io/collector/confmap"
+ "go.opentelemetry.io/collector/confmap/internal/envvar"
"go.opentelemetry.io/collector/confmap/provider/internal"
)
-const schemeName = "env"
+const (
+ schemeName = "env"
+)
type provider struct {
logger *zap.Logger
@@ -40,6 +43,10 @@ func (emp *provider) Retrieve(_ context.Context, uri string, _ confmap.WatcherFu
return nil, fmt.Errorf("%q uri is not supported by %q provider", uri, schemeName)
}
envVarName := uri[len(schemeName)+1:]
+ if !envvar.ValidationRegexp.MatchString(envVarName) {
+ return nil, fmt.Errorf("environment variable %q has invalid name: must match regex %s", envVarName, envvar.ValidationPattern)
+
+ }
val, exists := os.LookupEnv(envVarName)
if !exists {
emp.logger.Warn("Configuration references unset environment variable", zap.String("name", envVarName))
diff --git a/confmap/provider/envprovider/provider_test.go b/confmap/provider/envprovider/provider_test.go
index f1f5931018c..1e89d542618 100644
--- a/confmap/provider/envprovider/provider_test.go
+++ b/confmap/provider/envprovider/provider_test.go
@@ -5,6 +5,7 @@ package envprovider
import (
"context"
+ "fmt"
"testing"
"github.com/stretchr/testify/assert"
@@ -14,6 +15,7 @@ import (
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
+ "go.opentelemetry.io/collector/confmap/internal/envvar"
)
const envSchemePrefix = schemeName + ":"
@@ -54,7 +56,7 @@ func TestInvalidYAML(t *testing.T) {
}
func TestEnv(t *testing.T) {
- const envName = "default-config"
+ const envName = "default_config"
t.Setenv(envName, validYAML)
env := createProvider()
@@ -72,7 +74,7 @@ func TestEnv(t *testing.T) {
}
func TestEnvWithLogger(t *testing.T) {
- const envName = "default-config"
+ const envName = "default_config"
t.Setenv(envName, validYAML)
core, ol := observer.New(zap.WarnLevel)
logger := zap.New(core)
@@ -93,7 +95,7 @@ func TestEnvWithLogger(t *testing.T) {
}
func TestUnsetEnvWithLoggerWarn(t *testing.T) {
- const envName = "default-config"
+ const envName = "default_config"
core, ol := observer.New(zap.WarnLevel)
logger := zap.New(core)
@@ -114,8 +116,19 @@ func TestUnsetEnvWithLoggerWarn(t *testing.T) {
assert.Equal(t, envName, logLine.Context[0].String)
}
+func TestEnvVarNameRestriction(t *testing.T) {
+ const envName = "default%config"
+ t.Setenv(envName, validYAML)
+
+ env := createProvider()
+ ret, err := env.Retrieve(context.Background(), envSchemePrefix+envName, nil)
+ assert.Equal(t, err, fmt.Errorf("environment variable \"default%%config\" has invalid name: must match regex %s", envvar.ValidationRegexp))
+ assert.NoError(t, env.Shutdown(context.Background()))
+ assert.Nil(t, ret)
+}
+
func TestEmptyEnvWithLoggerWarn(t *testing.T) {
- const envName = "default-config"
+ const envName = "default_config"
t.Setenv(envName, "")
core, ol := observer.New(zap.InfoLevel)
From 93addd3dd1f2639cf7da34c4b8b1fa21e805ffa2 Mon Sep 17 00:00:00 2001
From: Damien Mathieu <42@dmathieu.com>
Date: Fri, 24 May 2024 16:11:11 +0200
Subject: [PATCH 073/111] Generate profiling pdata (#10195)
#### Description
This generates the pdata for profiles.
#### Link to tracking issue
Last step of #10109.
#### Testing
The generated code is unit-tested by generated tests.
cc @mx-psi
---------
Co-authored-by: Pablo Baeyens
Co-authored-by: Pablo Baeyens
---
.chloggen/profiles-pdata.yaml | 25 +
.../cmd/pdatagen/internal/packages.go | 2 +
.../internal/pprofile_otlp_package.go | 43 ++
.../cmd/pdatagen/internal/pprofile_package.go | 603 ++++++++++++++++++
pdata/pprofile/Makefile | 1 +
pdata/pprofile/generated_attributeunit.go | 75 +++
.../pprofile/generated_attributeunit_test.go | 68 ++
.../pprofile/generated_attributeunitslice.go | 136 ++++
.../generated_attributeunitslice_test.go | 137 ++++
pdata/pprofile/generated_function.go | 111 ++++
pdata/pprofile/generated_function_test.go | 98 +++
pdata/pprofile/generated_functionslice.go | 136 ++++
.../pprofile/generated_functionslice_test.go | 137 ++++
pdata/pprofile/generated_label.go | 99 +++
pdata/pprofile/generated_label_test.go | 88 +++
pdata/pprofile/generated_labelslice.go | 136 ++++
pdata/pprofile/generated_labelslice_test.go | 137 ++++
pdata/pprofile/generated_line.go | 87 +++
pdata/pprofile/generated_line_test.go | 78 +++
pdata/pprofile/generated_lineslice.go | 136 ++++
pdata/pprofile/generated_lineslice_test.go | 137 ++++
pdata/pprofile/generated_link.go | 77 +++
pdata/pprofile/generated_link_test.go | 68 ++
pdata/pprofile/generated_linkslice.go | 136 ++++
pdata/pprofile/generated_linkslice_test.go | 137 ++++
pdata/pprofile/generated_location.go | 124 ++++
pdata/pprofile/generated_location_test.go | 115 ++++
pdata/pprofile/generated_locationslice.go | 136 ++++
.../pprofile/generated_locationslice_test.go | 137 ++++
pdata/pprofile/generated_mapping.go | 190 ++++++
pdata/pprofile/generated_mapping_test.go | 167 +++++
pdata/pprofile/generated_mappingslice.go | 136 ++++
pdata/pprofile/generated_mappingslice_test.go | 137 ++++
pdata/pprofile/generated_profile.go | 196 ++++++
pdata/pprofile/generated_profile_test.go | 202 ++++++
pdata/pprofile/generated_profilecontainer.go | 106 +++
.../generated_profilecontainer_test.go | 102 +++
.../generated_profilescontainersslice.go | 152 +++++
.../generated_profilescontainersslice_test.go | 154 +++++
pdata/pprofile/generated_resourceprofiles.go | 76 +++
.../generated_resourceprofiles_test.go | 76 +++
.../generated_resourceprofilesslice.go | 152 +++++
.../generated_resourceprofilesslice_test.go | 154 +++++
pdata/pprofile/generated_sample.go | 130 ++++
pdata/pprofile/generated_sample_test.go | 129 ++++
pdata/pprofile/generated_sampleslice.go | 136 ++++
pdata/pprofile/generated_sampleslice_test.go | 137 ++++
pdata/pprofile/generated_scopeprofiles.go | 76 +++
.../pprofile/generated_scopeprofiles_test.go | 76 +++
.../pprofile/generated_scopeprofilesslice.go | 152 +++++
.../generated_scopeprofilesslice_test.go | 154 +++++
pdata/pprofile/generated_valuetype.go | 87 +++
pdata/pprofile/generated_valuetype_test.go | 80 +++
pdata/pprofile/generated_valuetypeslice.go | 136 ++++
.../pprofile/generated_valuetypeslice_test.go | 137 ++++
pdata/pprofile/go.mod | 27 +
pdata/pprofile/go.sum | 67 ++
.../generated_exportpartialsuccess.go | 75 +++
.../generated_exportpartialsuccess_test.go | 78 +++
versions.yaml | 1 +
60 files changed, 7078 insertions(+)
create mode 100644 .chloggen/profiles-pdata.yaml
create mode 100644 pdata/internal/cmd/pdatagen/internal/pprofile_otlp_package.go
create mode 100644 pdata/internal/cmd/pdatagen/internal/pprofile_package.go
create mode 100644 pdata/pprofile/Makefile
create mode 100644 pdata/pprofile/generated_attributeunit.go
create mode 100644 pdata/pprofile/generated_attributeunit_test.go
create mode 100644 pdata/pprofile/generated_attributeunitslice.go
create mode 100644 pdata/pprofile/generated_attributeunitslice_test.go
create mode 100644 pdata/pprofile/generated_function.go
create mode 100644 pdata/pprofile/generated_function_test.go
create mode 100644 pdata/pprofile/generated_functionslice.go
create mode 100644 pdata/pprofile/generated_functionslice_test.go
create mode 100644 pdata/pprofile/generated_label.go
create mode 100644 pdata/pprofile/generated_label_test.go
create mode 100644 pdata/pprofile/generated_labelslice.go
create mode 100644 pdata/pprofile/generated_labelslice_test.go
create mode 100644 pdata/pprofile/generated_line.go
create mode 100644 pdata/pprofile/generated_line_test.go
create mode 100644 pdata/pprofile/generated_lineslice.go
create mode 100644 pdata/pprofile/generated_lineslice_test.go
create mode 100644 pdata/pprofile/generated_link.go
create mode 100644 pdata/pprofile/generated_link_test.go
create mode 100644 pdata/pprofile/generated_linkslice.go
create mode 100644 pdata/pprofile/generated_linkslice_test.go
create mode 100644 pdata/pprofile/generated_location.go
create mode 100644 pdata/pprofile/generated_location_test.go
create mode 100644 pdata/pprofile/generated_locationslice.go
create mode 100644 pdata/pprofile/generated_locationslice_test.go
create mode 100644 pdata/pprofile/generated_mapping.go
create mode 100644 pdata/pprofile/generated_mapping_test.go
create mode 100644 pdata/pprofile/generated_mappingslice.go
create mode 100644 pdata/pprofile/generated_mappingslice_test.go
create mode 100644 pdata/pprofile/generated_profile.go
create mode 100644 pdata/pprofile/generated_profile_test.go
create mode 100644 pdata/pprofile/generated_profilecontainer.go
create mode 100644 pdata/pprofile/generated_profilecontainer_test.go
create mode 100644 pdata/pprofile/generated_profilescontainersslice.go
create mode 100644 pdata/pprofile/generated_profilescontainersslice_test.go
create mode 100644 pdata/pprofile/generated_resourceprofiles.go
create mode 100644 pdata/pprofile/generated_resourceprofiles_test.go
create mode 100644 pdata/pprofile/generated_resourceprofilesslice.go
create mode 100644 pdata/pprofile/generated_resourceprofilesslice_test.go
create mode 100644 pdata/pprofile/generated_sample.go
create mode 100644 pdata/pprofile/generated_sample_test.go
create mode 100644 pdata/pprofile/generated_sampleslice.go
create mode 100644 pdata/pprofile/generated_sampleslice_test.go
create mode 100644 pdata/pprofile/generated_scopeprofiles.go
create mode 100644 pdata/pprofile/generated_scopeprofiles_test.go
create mode 100644 pdata/pprofile/generated_scopeprofilesslice.go
create mode 100644 pdata/pprofile/generated_scopeprofilesslice_test.go
create mode 100644 pdata/pprofile/generated_valuetype.go
create mode 100644 pdata/pprofile/generated_valuetype_test.go
create mode 100644 pdata/pprofile/generated_valuetypeslice.go
create mode 100644 pdata/pprofile/generated_valuetypeslice_test.go
create mode 100644 pdata/pprofile/go.mod
create mode 100644 pdata/pprofile/go.sum
create mode 100644 pdata/pprofile/pprofileotlp/generated_exportpartialsuccess.go
create mode 100644 pdata/pprofile/pprofileotlp/generated_exportpartialsuccess_test.go
diff --git a/.chloggen/profiles-pdata.yaml b/.chloggen/profiles-pdata.yaml
new file mode 100644
index 00000000000..bd8bf13065d
--- /dev/null
+++ b/.chloggen/profiles-pdata.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: pdata
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Introduce generated experimental pdata for profiling signal.
+
+# One or more tracking issues or pull requests related to the change
+issues: [10195]
+
+# (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:
+
+# 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: [api]
diff --git a/pdata/internal/cmd/pdatagen/internal/packages.go b/pdata/internal/cmd/pdatagen/internal/packages.go
index f44b597708a..340912dbc01 100644
--- a/pdata/internal/cmd/pdatagen/internal/packages.go
+++ b/pdata/internal/cmd/pdatagen/internal/packages.go
@@ -25,6 +25,8 @@ var AllPackages = []*Package{
pmetricotlp,
ptrace,
ptraceotlp,
+ pprofile,
+ pprofileotlp,
}
// Package is a struct used to generate files.
diff --git a/pdata/internal/cmd/pdatagen/internal/pprofile_otlp_package.go b/pdata/internal/cmd/pdatagen/internal/pprofile_otlp_package.go
new file mode 100644
index 00000000000..ddd3a5df437
--- /dev/null
+++ b/pdata/internal/cmd/pdatagen/internal/pprofile_otlp_package.go
@@ -0,0 +1,43 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package internal // import "go.opentelemetry.io/collector/pdata/internal/cmd/pdatagen/internal"
+import (
+ "path/filepath"
+)
+
+var pprofileotlp = &Package{
+ name: "pprofileotlp",
+ path: filepath.Join("pprofile", "pprofileotlp"),
+ imports: []string{
+ `otlpcollectorprofile "go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/profiles/v1experimental"`,
+ },
+ testImports: []string{
+ `"testing"`,
+ ``,
+ `"github.com/stretchr/testify/assert"`,
+ },
+ structs: []baseStruct{
+ exportProfilesPartialSuccess,
+ },
+}
+
+var exportProfilesPartialSuccess = &messageValueStruct{
+ structName: "ExportPartialSuccess",
+ description: "// ExportPartialSuccess represents the details of a partially successful export request.",
+ originFullName: "otlpcollectorprofile.ExportProfilesPartialSuccess",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "RejectedProfiles",
+ returnType: "int64",
+ defaultVal: `int64(0)`,
+ testVal: `int64(13)`,
+ },
+ &primitiveField{
+ fieldName: "ErrorMessage",
+ returnType: "string",
+ defaultVal: `""`,
+ testVal: `"error message"`,
+ },
+ },
+}
diff --git a/pdata/internal/cmd/pdatagen/internal/pprofile_package.go b/pdata/internal/cmd/pdatagen/internal/pprofile_package.go
new file mode 100644
index 00000000000..bd300eae607
--- /dev/null
+++ b/pdata/internal/cmd/pdatagen/internal/pprofile_package.go
@@ -0,0 +1,603 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package internal // import "go.opentelemetry.io/collector/pdata/internal/cmd/pdatagen/internal"
+
+var pprofile = &Package{
+ name: "pprofile",
+ path: "pprofile",
+ imports: []string{
+ `"go.opentelemetry.io/collector/pdata/internal"`,
+ `"go.opentelemetry.io/collector/pdata/internal/data"`,
+ `otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"`,
+ `"go.opentelemetry.io/collector/pdata/pcommon"`,
+ },
+ testImports: []string{
+ `"testing"`,
+ `"unsafe"`,
+ ``,
+ `"github.com/stretchr/testify/assert"`,
+ ``,
+ `"go.opentelemetry.io/collector/pdata/internal"`,
+ `otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"`,
+ `"go.opentelemetry.io/collector/pdata/pcommon"`,
+ },
+ structs: []baseStruct{
+ resourceProfilesSlice,
+ resourceProfiles,
+ scopeProfilesSlice,
+ scopeProfiles,
+ profilesContainersSlice,
+ profileContainer,
+ profile,
+ valueTypeSlice,
+ valueType,
+ sampleSlice,
+ sample,
+ labelSlice,
+ label,
+ mappingSlice,
+ mapping,
+ locationSlice,
+ location,
+ lineSlice,
+ line,
+ functionSlice,
+ function,
+ attributeUnitSlice,
+ attributeUnit,
+ linkSlice,
+ link,
+ },
+}
+
+var resourceProfilesSlice = &sliceOfPtrs{
+ structName: "ResourceProfilesSlice",
+ element: resourceProfiles,
+}
+
+var resourceProfiles = &messageValueStruct{
+ structName: "ResourceProfiles",
+ description: "// ResourceProfiles is a collection of profiles from a Resource.",
+ originFullName: "otlpprofiles.ResourceProfiles",
+ fields: []baseField{
+ resourceField,
+ schemaURLField,
+ &sliceField{
+ fieldName: "ScopeProfiles",
+ returnSlice: scopeProfilesSlice,
+ },
+ },
+}
+
+var scopeProfilesSlice = &sliceOfPtrs{
+ structName: "ScopeProfilesSlice",
+ element: scopeProfiles,
+}
+
+var scopeProfiles = &messageValueStruct{
+ structName: "ScopeProfiles",
+ description: "// ScopeProfiles is a collection of profiles from a LibraryInstrumentation.",
+ originFullName: "otlpprofiles.ScopeProfiles",
+ fields: []baseField{
+ scopeField,
+ schemaURLField,
+ &sliceField{
+ fieldName: "Profiles",
+ returnSlice: profilesContainersSlice,
+ },
+ },
+}
+
+var profilesContainersSlice = &sliceOfPtrs{
+ structName: "ProfilesContainersSlice",
+ element: profileContainer,
+}
+
+var profileContainer = &messageValueStruct{
+ structName: "ProfileContainer",
+ description: "// ProfileContainer are an experimental implementation of the OpenTelemetry Profiles Data Model.\n",
+ originFullName: "otlpprofiles.ProfileContainer",
+ fields: []baseField{
+ &sliceField{
+ fieldName: "ProfileID",
+ originFieldName: "ProfileId",
+ returnSlice: byteSlice,
+ },
+ &primitiveTypedField{
+ fieldName: "StartTime",
+ originFieldName: "StartTimeUnixNano",
+ returnType: timestampType,
+ },
+ &primitiveTypedField{
+ fieldName: "EndTime",
+ originFieldName: "EndTimeUnixNano",
+ returnType: timestampType,
+ },
+ attributes,
+ droppedAttributesCount,
+ &messageValueField{
+ fieldName: "Profile",
+ returnMessage: profile,
+ },
+ },
+}
+
+var profile = &messageValueStruct{
+ structName: "Profile",
+ description: "// Profile are an implementation of the pprofextended data model.\n",
+ originFullName: "otlpprofiles.Profile",
+ fields: []baseField{
+ &sliceField{
+ fieldName: "SampleType",
+ returnSlice: valueTypeSlice,
+ },
+ &sliceField{
+ fieldName: "Sample",
+ returnSlice: sampleSlice,
+ },
+ &sliceField{
+ fieldName: "Mapping",
+ returnSlice: mappingSlice,
+ },
+ &sliceField{
+ fieldName: "Location",
+ returnSlice: locationSlice,
+ },
+ &sliceField{
+ fieldName: "LocationIndices",
+ returnSlice: int64Slice,
+ },
+ &sliceField{
+ fieldName: "Function",
+ returnSlice: functionSlice,
+ },
+ &sliceField{
+ fieldName: "AttributeTable",
+ returnSlice: mapStruct,
+ },
+ &sliceField{
+ fieldName: "AttributeUnits",
+ returnSlice: attributeUnitSlice,
+ },
+ &sliceField{
+ fieldName: "LinkTable",
+ returnSlice: linkSlice,
+ },
+ &sliceField{
+ fieldName: "StringTable",
+ returnSlice: stringSlice,
+ },
+ &primitiveField{
+ fieldName: "DropFrames",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "KeepFrames",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveTypedField{
+ fieldName: "StartTime",
+ originFieldName: "TimeNanos",
+ returnType: &primitiveType{
+ structName: "Timestamp",
+ packageName: "pcommon",
+ rawType: "int64",
+ defaultVal: "0",
+ testVal: "1234567890",
+ },
+ },
+ &primitiveTypedField{
+ fieldName: "Duration",
+ originFieldName: "DurationNanos",
+ returnType: &primitiveType{
+ structName: "Timestamp",
+ packageName: "pcommon",
+ rawType: "int64",
+ defaultVal: "0",
+ testVal: "1234567890",
+ },
+ },
+ &messageValueField{
+ fieldName: "PeriodType",
+ returnMessage: valueType,
+ },
+ &primitiveField{
+ fieldName: "Period",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &sliceField{
+ fieldName: "Comment",
+ returnSlice: int64Slice,
+ },
+ &primitiveField{
+ fieldName: "DefaultSampleType",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ },
+}
+
+var valueTypeSlice = &sliceOfValues{
+ structName: "ValueTypeSlice",
+ element: valueType,
+}
+
+var valueType = &messageValueStruct{
+ structName: "ValueType",
+ description: "// ValueType describes the type and units of a value, with an optional aggregation temporality.",
+ originFullName: "otlpprofiles.ValueType",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "Type",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Unit",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "AggregationTemporality",
+ returnType: "otlpprofiles.AggregationTemporality",
+ defaultVal: "otlpprofiles.AggregationTemporality(0)",
+ testVal: "otlpprofiles.AggregationTemporality(1)",
+ },
+ },
+}
+
+var sampleSlice = &sliceOfValues{
+ structName: "SampleSlice",
+ element: sample,
+}
+
+var sample = &messageValueStruct{
+ structName: "Sample",
+ description: "// Sample represents each record value encountered within a profiled program.",
+ originFullName: "otlpprofiles.Sample",
+ fields: []baseField{
+ &sliceField{
+ fieldName: "LocationIndex",
+ returnSlice: uInt64Slice,
+ },
+ &primitiveField{
+ fieldName: "LocationsStartIndex",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "LocationsLength",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "StacktraceIdIndex",
+ returnType: "uint32",
+ defaultVal: "uint32(0)",
+ testVal: "uint32(1)",
+ },
+ &sliceField{
+ fieldName: "Value",
+ returnSlice: int64Slice,
+ },
+ &sliceField{
+ fieldName: "Label",
+ returnSlice: labelSlice,
+ },
+ &sliceField{
+ fieldName: "Attributes",
+ returnSlice: uInt64Slice,
+ },
+ &primitiveField{
+ fieldName: "Link",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &sliceField{
+ fieldName: "TimestampsUnixNano",
+ returnSlice: uInt64Slice,
+ },
+ },
+}
+
+var labelSlice = &sliceOfValues{
+ structName: "LabelSlice",
+ element: label,
+}
+
+var label = &messageValueStruct{
+ structName: "Label",
+ description: "// Label provided additional context for a sample",
+ originFullName: "otlpprofiles.Label",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "Key",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Str",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Num",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "NumUnit",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ },
+}
+
+var mappingSlice = &sliceOfValues{
+ structName: "MappingSlice",
+ element: mapping,
+}
+
+var mapping = &messageValueStruct{
+ structName: "Mapping",
+ description: "// Mapping describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID",
+ originFullName: "otlpprofiles.Mapping",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "ID",
+ originFieldName: "Id",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "MemoryStart",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "MemoryLimit",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "FileOffset",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "Filename",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "BuildID",
+ originFieldName: "BuildId",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "BuildIDKind",
+ originFieldName: "BuildIdKind",
+ returnType: "otlpprofiles.BuildIdKind",
+ defaultVal: "otlpprofiles.BuildIdKind(0)",
+ testVal: "otlpprofiles.BuildIdKind(1)",
+ },
+ &sliceField{
+ fieldName: "Attributes",
+ returnSlice: uInt64Slice,
+ },
+ &primitiveField{
+ fieldName: "HasFunctions",
+ returnType: "bool",
+ defaultVal: "false",
+ testVal: "true",
+ },
+ &primitiveField{
+ fieldName: "HasFilenames",
+ returnType: "bool",
+ defaultVal: "false",
+ testVal: "true",
+ },
+ &primitiveField{
+ fieldName: "HasLineNumbers",
+ returnType: "bool",
+ defaultVal: "false",
+ testVal: "true",
+ },
+ &primitiveField{
+ fieldName: "HasInlineFrames",
+ returnType: "bool",
+ defaultVal: "false",
+ testVal: "true",
+ },
+ },
+}
+
+var locationSlice = &sliceOfValues{
+ structName: "LocationSlice",
+ element: location,
+}
+var location = &messageValueStruct{
+ structName: "Location",
+ description: "// Location describes function and line table debug information.",
+ originFullName: "otlpprofiles.Location",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "ID",
+ originFieldName: "Id",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "MappingIndex",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "Address",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &sliceField{
+ fieldName: "Line",
+ returnSlice: lineSlice,
+ },
+ &primitiveField{
+ fieldName: "IsFolded",
+ returnType: "bool",
+ defaultVal: "false",
+ testVal: "true",
+ },
+ &primitiveField{
+ fieldName: "TypeIndex",
+ returnType: "uint32",
+ defaultVal: "uint32(0)",
+ testVal: "uint32(1)",
+ },
+ &sliceField{
+ fieldName: "Attributes",
+ returnSlice: uInt64Slice,
+ },
+ },
+}
+
+var lineSlice = &sliceOfValues{
+ structName: "LineSlice",
+ element: line,
+}
+
+var line = &messageValueStruct{
+ structName: "Line",
+ description: "// Line details a specific line in a source code, linked to a function.",
+ originFullName: "otlpprofiles.Line",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "FunctionIndex",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "Line",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Column",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ },
+}
+
+var functionSlice = &sliceOfValues{
+ structName: "FunctionSlice",
+ element: function,
+}
+
+var function = &messageValueStruct{
+ structName: "Function",
+ description: "// Function describes a function, including its human-readable name, system name, source file, and starting line number in the source.",
+ originFullName: "otlpprofiles.Function",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "ID",
+ originFieldName: "Id",
+ returnType: "uint64",
+ defaultVal: "uint64(0)",
+ testVal: "uint64(1)",
+ },
+ &primitiveField{
+ fieldName: "Name",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "SystemName",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Filename",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "StartLine",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ },
+}
+
+var attributeUnitSlice = &sliceOfValues{
+ structName: "AttributeUnitSlice",
+ element: attributeUnit,
+}
+
+var attributeUnit = &messageValueStruct{
+ structName: "AttributeUnit",
+ description: "// AttributeUnit Represents a mapping between Attribute Keys and Units.",
+ originFullName: "otlpprofiles.AttributeUnit",
+ fields: []baseField{
+ &primitiveField{
+ fieldName: "AttributeKey",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ &primitiveField{
+ fieldName: "Unit",
+ returnType: "int64",
+ defaultVal: "int64(0)",
+ testVal: "int64(1)",
+ },
+ },
+}
+
+var linkSlice = &sliceOfValues{
+ structName: "LinkSlice",
+ element: link,
+}
+
+var link = &messageValueStruct{
+ structName: "Link",
+ description: "// Link represents a pointer from a profile Sample to a trace Span.",
+ originFullName: "otlpprofiles.Link",
+ fields: []baseField{
+ traceIDField,
+ spanIDField,
+ },
+}
diff --git a/pdata/pprofile/Makefile b/pdata/pprofile/Makefile
new file mode 100644
index 00000000000..ded7a36092d
--- /dev/null
+++ b/pdata/pprofile/Makefile
@@ -0,0 +1 @@
+include ../../Makefile.Common
diff --git a/pdata/pprofile/generated_attributeunit.go b/pdata/pprofile/generated_attributeunit.go
new file mode 100644
index 00000000000..bb6f5e4d0dd
--- /dev/null
+++ b/pdata/pprofile/generated_attributeunit.go
@@ -0,0 +1,75 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// AttributeUnit Represents a mapping between Attribute Keys and Units.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewAttributeUnit function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type AttributeUnit struct {
+ orig *otlpprofiles.AttributeUnit
+ state *internal.State
+}
+
+func newAttributeUnit(orig *otlpprofiles.AttributeUnit, state *internal.State) AttributeUnit {
+ return AttributeUnit{orig: orig, state: state}
+}
+
+// NewAttributeUnit creates a new empty AttributeUnit.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewAttributeUnit() AttributeUnit {
+ state := internal.StateMutable
+ return newAttributeUnit(&otlpprofiles.AttributeUnit{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms AttributeUnit) MoveTo(dest AttributeUnit) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.AttributeUnit{}
+}
+
+// AttributeKey returns the attributekey associated with this AttributeUnit.
+func (ms AttributeUnit) AttributeKey() int64 {
+ return ms.orig.AttributeKey
+}
+
+// SetAttributeKey replaces the attributekey associated with this AttributeUnit.
+func (ms AttributeUnit) SetAttributeKey(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.AttributeKey = v
+}
+
+// Unit returns the unit associated with this AttributeUnit.
+func (ms AttributeUnit) Unit() int64 {
+ return ms.orig.Unit
+}
+
+// SetUnit replaces the unit associated with this AttributeUnit.
+func (ms AttributeUnit) SetUnit(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Unit = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms AttributeUnit) CopyTo(dest AttributeUnit) {
+ dest.state.AssertMutable()
+ dest.SetAttributeKey(ms.AttributeKey())
+ dest.SetUnit(ms.Unit())
+}
diff --git a/pdata/pprofile/generated_attributeunit_test.go b/pdata/pprofile/generated_attributeunit_test.go
new file mode 100644
index 00000000000..e4a54c99b12
--- /dev/null
+++ b/pdata/pprofile/generated_attributeunit_test.go
@@ -0,0 +1,68 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestAttributeUnit_MoveTo(t *testing.T) {
+ ms := generateTestAttributeUnit()
+ dest := NewAttributeUnit()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewAttributeUnit(), ms)
+ assert.Equal(t, generateTestAttributeUnit(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newAttributeUnit(&otlpprofiles.AttributeUnit{}, &sharedState)) })
+ assert.Panics(t, func() { newAttributeUnit(&otlpprofiles.AttributeUnit{}, &sharedState).MoveTo(dest) })
+}
+
+func TestAttributeUnit_CopyTo(t *testing.T) {
+ ms := NewAttributeUnit()
+ orig := NewAttributeUnit()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestAttributeUnit()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newAttributeUnit(&otlpprofiles.AttributeUnit{}, &sharedState)) })
+}
+
+func TestAttributeUnit_AttributeKey(t *testing.T) {
+ ms := NewAttributeUnit()
+ assert.Equal(t, int64(0), ms.AttributeKey())
+ ms.SetAttributeKey(int64(1))
+ assert.Equal(t, int64(1), ms.AttributeKey())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newAttributeUnit(&otlpprofiles.AttributeUnit{}, &sharedState).SetAttributeKey(int64(1)) })
+}
+
+func TestAttributeUnit_Unit(t *testing.T) {
+ ms := NewAttributeUnit()
+ assert.Equal(t, int64(0), ms.Unit())
+ ms.SetUnit(int64(1))
+ assert.Equal(t, int64(1), ms.Unit())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newAttributeUnit(&otlpprofiles.AttributeUnit{}, &sharedState).SetUnit(int64(1)) })
+}
+
+func generateTestAttributeUnit() AttributeUnit {
+ tv := NewAttributeUnit()
+ fillTestAttributeUnit(tv)
+ return tv
+}
+
+func fillTestAttributeUnit(tv AttributeUnit) {
+ tv.orig.AttributeKey = int64(1)
+ tv.orig.Unit = int64(1)
+}
diff --git a/pdata/pprofile/generated_attributeunitslice.go b/pdata/pprofile/generated_attributeunitslice.go
new file mode 100644
index 00000000000..95274cfe446
--- /dev/null
+++ b/pdata/pprofile/generated_attributeunitslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// AttributeUnitSlice logically represents a slice of AttributeUnit.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewAttributeUnitSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type AttributeUnitSlice struct {
+ orig *[]otlpprofiles.AttributeUnit
+ state *internal.State
+}
+
+func newAttributeUnitSlice(orig *[]otlpprofiles.AttributeUnit, state *internal.State) AttributeUnitSlice {
+ return AttributeUnitSlice{orig: orig, state: state}
+}
+
+// NewAttributeUnitSlice creates a AttributeUnitSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewAttributeUnitSlice() AttributeUnitSlice {
+ orig := []otlpprofiles.AttributeUnit(nil)
+ state := internal.StateMutable
+ return newAttributeUnitSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewAttributeUnitSlice()".
+func (es AttributeUnitSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es AttributeUnitSlice) At(i int) AttributeUnit {
+ return newAttributeUnit(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new AttributeUnitSlice can be initialized:
+//
+// es := NewAttributeUnitSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es AttributeUnitSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.AttributeUnit, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty AttributeUnit.
+// It returns the newly added AttributeUnit.
+func (es AttributeUnitSlice) AppendEmpty() AttributeUnit {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.AttributeUnit{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es AttributeUnitSlice) MoveAndAppendTo(dest AttributeUnitSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es AttributeUnitSlice) RemoveIf(f func(AttributeUnit) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es AttributeUnitSlice) CopyTo(dest AttributeUnitSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.AttributeUnit, srcLen)
+ }
+ for i := range *es.orig {
+ newAttributeUnit(&(*es.orig)[i], es.state).CopyTo(newAttributeUnit(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_attributeunitslice_test.go b/pdata/pprofile/generated_attributeunitslice_test.go
new file mode 100644
index 00000000000..0dd3420015a
--- /dev/null
+++ b/pdata/pprofile/generated_attributeunitslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestAttributeUnitSlice(t *testing.T) {
+ es := NewAttributeUnitSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newAttributeUnitSlice(&[]otlpprofiles.AttributeUnit{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewAttributeUnit()
+ testVal := generateTestAttributeUnit()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestAttributeUnit(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestAttributeUnitSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newAttributeUnitSlice(&[]otlpprofiles.AttributeUnit{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewAttributeUnitSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestAttributeUnitSlice_CopyTo(t *testing.T) {
+ dest := NewAttributeUnitSlice()
+ // Test CopyTo to empty
+ NewAttributeUnitSlice().CopyTo(dest)
+ assert.Equal(t, NewAttributeUnitSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestAttributeUnitSlice().CopyTo(dest)
+ assert.Equal(t, generateTestAttributeUnitSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestAttributeUnitSlice().CopyTo(dest)
+ assert.Equal(t, generateTestAttributeUnitSlice(), dest)
+}
+
+func TestAttributeUnitSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestAttributeUnitSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestAttributeUnitSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestAttributeUnitSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestAttributeUnitSlice(), es)
+}
+
+func TestAttributeUnitSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestAttributeUnitSlice()
+ dest := NewAttributeUnitSlice()
+ src := generateTestAttributeUnitSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestAttributeUnitSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestAttributeUnitSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestAttributeUnitSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestAttributeUnitSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewAttributeUnitSlice()
+ emptySlice.RemoveIf(func(el AttributeUnit) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestAttributeUnitSlice()
+ pos := 0
+ filtered.RemoveIf(func(el AttributeUnit) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestAttributeUnitSlice() AttributeUnitSlice {
+ es := NewAttributeUnitSlice()
+ fillTestAttributeUnitSlice(es)
+ return es
+}
+
+func fillTestAttributeUnitSlice(es AttributeUnitSlice) {
+ *es.orig = make([]otlpprofiles.AttributeUnit, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.AttributeUnit{}
+ fillTestAttributeUnit(newAttributeUnit(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_function.go b/pdata/pprofile/generated_function.go
new file mode 100644
index 00000000000..324b8c7b109
--- /dev/null
+++ b/pdata/pprofile/generated_function.go
@@ -0,0 +1,111 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// Function describes a function, including its human-readable name, system name, source file, and starting line number in the source.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewFunction function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Function struct {
+ orig *otlpprofiles.Function
+ state *internal.State
+}
+
+func newFunction(orig *otlpprofiles.Function, state *internal.State) Function {
+ return Function{orig: orig, state: state}
+}
+
+// NewFunction creates a new empty Function.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewFunction() Function {
+ state := internal.StateMutable
+ return newFunction(&otlpprofiles.Function{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Function) MoveTo(dest Function) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Function{}
+}
+
+// ID returns the id associated with this Function.
+func (ms Function) ID() uint64 {
+ return ms.orig.Id
+}
+
+// SetID replaces the id associated with this Function.
+func (ms Function) SetID(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.Id = v
+}
+
+// Name returns the name associated with this Function.
+func (ms Function) Name() int64 {
+ return ms.orig.Name
+}
+
+// SetName replaces the name associated with this Function.
+func (ms Function) SetName(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Name = v
+}
+
+// SystemName returns the systemname associated with this Function.
+func (ms Function) SystemName() int64 {
+ return ms.orig.SystemName
+}
+
+// SetSystemName replaces the systemname associated with this Function.
+func (ms Function) SetSystemName(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.SystemName = v
+}
+
+// Filename returns the filename associated with this Function.
+func (ms Function) Filename() int64 {
+ return ms.orig.Filename
+}
+
+// SetFilename replaces the filename associated with this Function.
+func (ms Function) SetFilename(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Filename = v
+}
+
+// StartLine returns the startline associated with this Function.
+func (ms Function) StartLine() int64 {
+ return ms.orig.StartLine
+}
+
+// SetStartLine replaces the startline associated with this Function.
+func (ms Function) SetStartLine(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.StartLine = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Function) CopyTo(dest Function) {
+ dest.state.AssertMutable()
+ dest.SetID(ms.ID())
+ dest.SetName(ms.Name())
+ dest.SetSystemName(ms.SystemName())
+ dest.SetFilename(ms.Filename())
+ dest.SetStartLine(ms.StartLine())
+}
diff --git a/pdata/pprofile/generated_function_test.go b/pdata/pprofile/generated_function_test.go
new file mode 100644
index 00000000000..83f0ace5d10
--- /dev/null
+++ b/pdata/pprofile/generated_function_test.go
@@ -0,0 +1,98 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestFunction_MoveTo(t *testing.T) {
+ ms := generateTestFunction()
+ dest := NewFunction()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewFunction(), ms)
+ assert.Equal(t, generateTestFunction(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newFunction(&otlpprofiles.Function{}, &sharedState)) })
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).MoveTo(dest) })
+}
+
+func TestFunction_CopyTo(t *testing.T) {
+ ms := NewFunction()
+ orig := NewFunction()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestFunction()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newFunction(&otlpprofiles.Function{}, &sharedState)) })
+}
+
+func TestFunction_ID(t *testing.T) {
+ ms := NewFunction()
+ assert.Equal(t, uint64(0), ms.ID())
+ ms.SetID(uint64(1))
+ assert.Equal(t, uint64(1), ms.ID())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).SetID(uint64(1)) })
+}
+
+func TestFunction_Name(t *testing.T) {
+ ms := NewFunction()
+ assert.Equal(t, int64(0), ms.Name())
+ ms.SetName(int64(1))
+ assert.Equal(t, int64(1), ms.Name())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).SetName(int64(1)) })
+}
+
+func TestFunction_SystemName(t *testing.T) {
+ ms := NewFunction()
+ assert.Equal(t, int64(0), ms.SystemName())
+ ms.SetSystemName(int64(1))
+ assert.Equal(t, int64(1), ms.SystemName())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).SetSystemName(int64(1)) })
+}
+
+func TestFunction_Filename(t *testing.T) {
+ ms := NewFunction()
+ assert.Equal(t, int64(0), ms.Filename())
+ ms.SetFilename(int64(1))
+ assert.Equal(t, int64(1), ms.Filename())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).SetFilename(int64(1)) })
+}
+
+func TestFunction_StartLine(t *testing.T) {
+ ms := NewFunction()
+ assert.Equal(t, int64(0), ms.StartLine())
+ ms.SetStartLine(int64(1))
+ assert.Equal(t, int64(1), ms.StartLine())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newFunction(&otlpprofiles.Function{}, &sharedState).SetStartLine(int64(1)) })
+}
+
+func generateTestFunction() Function {
+ tv := NewFunction()
+ fillTestFunction(tv)
+ return tv
+}
+
+func fillTestFunction(tv Function) {
+ tv.orig.Id = uint64(1)
+ tv.orig.Name = int64(1)
+ tv.orig.SystemName = int64(1)
+ tv.orig.Filename = int64(1)
+ tv.orig.StartLine = int64(1)
+}
diff --git a/pdata/pprofile/generated_functionslice.go b/pdata/pprofile/generated_functionslice.go
new file mode 100644
index 00000000000..171ba345b01
--- /dev/null
+++ b/pdata/pprofile/generated_functionslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// FunctionSlice logically represents a slice of Function.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewFunctionSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type FunctionSlice struct {
+ orig *[]otlpprofiles.Function
+ state *internal.State
+}
+
+func newFunctionSlice(orig *[]otlpprofiles.Function, state *internal.State) FunctionSlice {
+ return FunctionSlice{orig: orig, state: state}
+}
+
+// NewFunctionSlice creates a FunctionSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewFunctionSlice() FunctionSlice {
+ orig := []otlpprofiles.Function(nil)
+ state := internal.StateMutable
+ return newFunctionSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewFunctionSlice()".
+func (es FunctionSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es FunctionSlice) At(i int) Function {
+ return newFunction(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new FunctionSlice can be initialized:
+//
+// es := NewFunctionSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es FunctionSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Function, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Function.
+// It returns the newly added Function.
+func (es FunctionSlice) AppendEmpty() Function {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Function{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es FunctionSlice) MoveAndAppendTo(dest FunctionSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es FunctionSlice) RemoveIf(f func(Function) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es FunctionSlice) CopyTo(dest FunctionSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Function, srcLen)
+ }
+ for i := range *es.orig {
+ newFunction(&(*es.orig)[i], es.state).CopyTo(newFunction(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_functionslice_test.go b/pdata/pprofile/generated_functionslice_test.go
new file mode 100644
index 00000000000..c4311bf52d9
--- /dev/null
+++ b/pdata/pprofile/generated_functionslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestFunctionSlice(t *testing.T) {
+ es := NewFunctionSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newFunctionSlice(&[]otlpprofiles.Function{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewFunction()
+ testVal := generateTestFunction()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestFunction(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestFunctionSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newFunctionSlice(&[]otlpprofiles.Function{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewFunctionSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestFunctionSlice_CopyTo(t *testing.T) {
+ dest := NewFunctionSlice()
+ // Test CopyTo to empty
+ NewFunctionSlice().CopyTo(dest)
+ assert.Equal(t, NewFunctionSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestFunctionSlice().CopyTo(dest)
+ assert.Equal(t, generateTestFunctionSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestFunctionSlice().CopyTo(dest)
+ assert.Equal(t, generateTestFunctionSlice(), dest)
+}
+
+func TestFunctionSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestFunctionSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestFunctionSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestFunctionSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestFunctionSlice(), es)
+}
+
+func TestFunctionSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestFunctionSlice()
+ dest := NewFunctionSlice()
+ src := generateTestFunctionSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestFunctionSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestFunctionSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestFunctionSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestFunctionSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewFunctionSlice()
+ emptySlice.RemoveIf(func(el Function) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestFunctionSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Function) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestFunctionSlice() FunctionSlice {
+ es := NewFunctionSlice()
+ fillTestFunctionSlice(es)
+ return es
+}
+
+func fillTestFunctionSlice(es FunctionSlice) {
+ *es.orig = make([]otlpprofiles.Function, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Function{}
+ fillTestFunction(newFunction(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_label.go b/pdata/pprofile/generated_label.go
new file mode 100644
index 00000000000..fc93d13b390
--- /dev/null
+++ b/pdata/pprofile/generated_label.go
@@ -0,0 +1,99 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// Label provided additional context for a sample
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewLabel function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Label struct {
+ orig *otlpprofiles.Label
+ state *internal.State
+}
+
+func newLabel(orig *otlpprofiles.Label, state *internal.State) Label {
+ return Label{orig: orig, state: state}
+}
+
+// NewLabel creates a new empty Label.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewLabel() Label {
+ state := internal.StateMutable
+ return newLabel(&otlpprofiles.Label{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Label) MoveTo(dest Label) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Label{}
+}
+
+// Key returns the key associated with this Label.
+func (ms Label) Key() int64 {
+ return ms.orig.Key
+}
+
+// SetKey replaces the key associated with this Label.
+func (ms Label) SetKey(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Key = v
+}
+
+// Str returns the str associated with this Label.
+func (ms Label) Str() int64 {
+ return ms.orig.Str
+}
+
+// SetStr replaces the str associated with this Label.
+func (ms Label) SetStr(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Str = v
+}
+
+// Num returns the num associated with this Label.
+func (ms Label) Num() int64 {
+ return ms.orig.Num
+}
+
+// SetNum replaces the num associated with this Label.
+func (ms Label) SetNum(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Num = v
+}
+
+// NumUnit returns the numunit associated with this Label.
+func (ms Label) NumUnit() int64 {
+ return ms.orig.NumUnit
+}
+
+// SetNumUnit replaces the numunit associated with this Label.
+func (ms Label) SetNumUnit(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.NumUnit = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Label) CopyTo(dest Label) {
+ dest.state.AssertMutable()
+ dest.SetKey(ms.Key())
+ dest.SetStr(ms.Str())
+ dest.SetNum(ms.Num())
+ dest.SetNumUnit(ms.NumUnit())
+}
diff --git a/pdata/pprofile/generated_label_test.go b/pdata/pprofile/generated_label_test.go
new file mode 100644
index 00000000000..c4ed6722376
--- /dev/null
+++ b/pdata/pprofile/generated_label_test.go
@@ -0,0 +1,88 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLabel_MoveTo(t *testing.T) {
+ ms := generateTestLabel()
+ dest := NewLabel()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewLabel(), ms)
+ assert.Equal(t, generateTestLabel(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newLabel(&otlpprofiles.Label{}, &sharedState)) })
+ assert.Panics(t, func() { newLabel(&otlpprofiles.Label{}, &sharedState).MoveTo(dest) })
+}
+
+func TestLabel_CopyTo(t *testing.T) {
+ ms := NewLabel()
+ orig := NewLabel()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestLabel()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newLabel(&otlpprofiles.Label{}, &sharedState)) })
+}
+
+func TestLabel_Key(t *testing.T) {
+ ms := NewLabel()
+ assert.Equal(t, int64(0), ms.Key())
+ ms.SetKey(int64(1))
+ assert.Equal(t, int64(1), ms.Key())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLabel(&otlpprofiles.Label{}, &sharedState).SetKey(int64(1)) })
+}
+
+func TestLabel_Str(t *testing.T) {
+ ms := NewLabel()
+ assert.Equal(t, int64(0), ms.Str())
+ ms.SetStr(int64(1))
+ assert.Equal(t, int64(1), ms.Str())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLabel(&otlpprofiles.Label{}, &sharedState).SetStr(int64(1)) })
+}
+
+func TestLabel_Num(t *testing.T) {
+ ms := NewLabel()
+ assert.Equal(t, int64(0), ms.Num())
+ ms.SetNum(int64(1))
+ assert.Equal(t, int64(1), ms.Num())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLabel(&otlpprofiles.Label{}, &sharedState).SetNum(int64(1)) })
+}
+
+func TestLabel_NumUnit(t *testing.T) {
+ ms := NewLabel()
+ assert.Equal(t, int64(0), ms.NumUnit())
+ ms.SetNumUnit(int64(1))
+ assert.Equal(t, int64(1), ms.NumUnit())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLabel(&otlpprofiles.Label{}, &sharedState).SetNumUnit(int64(1)) })
+}
+
+func generateTestLabel() Label {
+ tv := NewLabel()
+ fillTestLabel(tv)
+ return tv
+}
+
+func fillTestLabel(tv Label) {
+ tv.orig.Key = int64(1)
+ tv.orig.Str = int64(1)
+ tv.orig.Num = int64(1)
+ tv.orig.NumUnit = int64(1)
+}
diff --git a/pdata/pprofile/generated_labelslice.go b/pdata/pprofile/generated_labelslice.go
new file mode 100644
index 00000000000..5f865bfcbae
--- /dev/null
+++ b/pdata/pprofile/generated_labelslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// LabelSlice logically represents a slice of Label.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewLabelSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type LabelSlice struct {
+ orig *[]otlpprofiles.Label
+ state *internal.State
+}
+
+func newLabelSlice(orig *[]otlpprofiles.Label, state *internal.State) LabelSlice {
+ return LabelSlice{orig: orig, state: state}
+}
+
+// NewLabelSlice creates a LabelSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewLabelSlice() LabelSlice {
+ orig := []otlpprofiles.Label(nil)
+ state := internal.StateMutable
+ return newLabelSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewLabelSlice()".
+func (es LabelSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es LabelSlice) At(i int) Label {
+ return newLabel(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new LabelSlice can be initialized:
+//
+// es := NewLabelSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es LabelSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Label, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Label.
+// It returns the newly added Label.
+func (es LabelSlice) AppendEmpty() Label {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Label{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es LabelSlice) MoveAndAppendTo(dest LabelSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es LabelSlice) RemoveIf(f func(Label) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es LabelSlice) CopyTo(dest LabelSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Label, srcLen)
+ }
+ for i := range *es.orig {
+ newLabel(&(*es.orig)[i], es.state).CopyTo(newLabel(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_labelslice_test.go b/pdata/pprofile/generated_labelslice_test.go
new file mode 100644
index 00000000000..c399046f92e
--- /dev/null
+++ b/pdata/pprofile/generated_labelslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLabelSlice(t *testing.T) {
+ es := NewLabelSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newLabelSlice(&[]otlpprofiles.Label{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewLabel()
+ testVal := generateTestLabel()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestLabel(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestLabelSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newLabelSlice(&[]otlpprofiles.Label{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewLabelSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestLabelSlice_CopyTo(t *testing.T) {
+ dest := NewLabelSlice()
+ // Test CopyTo to empty
+ NewLabelSlice().CopyTo(dest)
+ assert.Equal(t, NewLabelSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestLabelSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLabelSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestLabelSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLabelSlice(), dest)
+}
+
+func TestLabelSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestLabelSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestLabelSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestLabelSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestLabelSlice(), es)
+}
+
+func TestLabelSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestLabelSlice()
+ dest := NewLabelSlice()
+ src := generateTestLabelSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLabelSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLabelSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestLabelSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestLabelSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewLabelSlice()
+ emptySlice.RemoveIf(func(el Label) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestLabelSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Label) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestLabelSlice() LabelSlice {
+ es := NewLabelSlice()
+ fillTestLabelSlice(es)
+ return es
+}
+
+func fillTestLabelSlice(es LabelSlice) {
+ *es.orig = make([]otlpprofiles.Label, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Label{}
+ fillTestLabel(newLabel(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_line.go b/pdata/pprofile/generated_line.go
new file mode 100644
index 00000000000..80147d393a5
--- /dev/null
+++ b/pdata/pprofile/generated_line.go
@@ -0,0 +1,87 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// Line details a specific line in a source code, linked to a function.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewLine function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Line struct {
+ orig *otlpprofiles.Line
+ state *internal.State
+}
+
+func newLine(orig *otlpprofiles.Line, state *internal.State) Line {
+ return Line{orig: orig, state: state}
+}
+
+// NewLine creates a new empty Line.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewLine() Line {
+ state := internal.StateMutable
+ return newLine(&otlpprofiles.Line{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Line) MoveTo(dest Line) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Line{}
+}
+
+// FunctionIndex returns the functionindex associated with this Line.
+func (ms Line) FunctionIndex() uint64 {
+ return ms.orig.FunctionIndex
+}
+
+// SetFunctionIndex replaces the functionindex associated with this Line.
+func (ms Line) SetFunctionIndex(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.FunctionIndex = v
+}
+
+// Line returns the line associated with this Line.
+func (ms Line) Line() int64 {
+ return ms.orig.Line
+}
+
+// SetLine replaces the line associated with this Line.
+func (ms Line) SetLine(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Line = v
+}
+
+// Column returns the column associated with this Line.
+func (ms Line) Column() int64 {
+ return ms.orig.Column
+}
+
+// SetColumn replaces the column associated with this Line.
+func (ms Line) SetColumn(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Column = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Line) CopyTo(dest Line) {
+ dest.state.AssertMutable()
+ dest.SetFunctionIndex(ms.FunctionIndex())
+ dest.SetLine(ms.Line())
+ dest.SetColumn(ms.Column())
+}
diff --git a/pdata/pprofile/generated_line_test.go b/pdata/pprofile/generated_line_test.go
new file mode 100644
index 00000000000..aef0f583145
--- /dev/null
+++ b/pdata/pprofile/generated_line_test.go
@@ -0,0 +1,78 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLine_MoveTo(t *testing.T) {
+ ms := generateTestLine()
+ dest := NewLine()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewLine(), ms)
+ assert.Equal(t, generateTestLine(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newLine(&otlpprofiles.Line{}, &sharedState)) })
+ assert.Panics(t, func() { newLine(&otlpprofiles.Line{}, &sharedState).MoveTo(dest) })
+}
+
+func TestLine_CopyTo(t *testing.T) {
+ ms := NewLine()
+ orig := NewLine()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestLine()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newLine(&otlpprofiles.Line{}, &sharedState)) })
+}
+
+func TestLine_FunctionIndex(t *testing.T) {
+ ms := NewLine()
+ assert.Equal(t, uint64(0), ms.FunctionIndex())
+ ms.SetFunctionIndex(uint64(1))
+ assert.Equal(t, uint64(1), ms.FunctionIndex())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLine(&otlpprofiles.Line{}, &sharedState).SetFunctionIndex(uint64(1)) })
+}
+
+func TestLine_Line(t *testing.T) {
+ ms := NewLine()
+ assert.Equal(t, int64(0), ms.Line())
+ ms.SetLine(int64(1))
+ assert.Equal(t, int64(1), ms.Line())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLine(&otlpprofiles.Line{}, &sharedState).SetLine(int64(1)) })
+}
+
+func TestLine_Column(t *testing.T) {
+ ms := NewLine()
+ assert.Equal(t, int64(0), ms.Column())
+ ms.SetColumn(int64(1))
+ assert.Equal(t, int64(1), ms.Column())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLine(&otlpprofiles.Line{}, &sharedState).SetColumn(int64(1)) })
+}
+
+func generateTestLine() Line {
+ tv := NewLine()
+ fillTestLine(tv)
+ return tv
+}
+
+func fillTestLine(tv Line) {
+ tv.orig.FunctionIndex = uint64(1)
+ tv.orig.Line = int64(1)
+ tv.orig.Column = int64(1)
+}
diff --git a/pdata/pprofile/generated_lineslice.go b/pdata/pprofile/generated_lineslice.go
new file mode 100644
index 00000000000..b354560d090
--- /dev/null
+++ b/pdata/pprofile/generated_lineslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// LineSlice logically represents a slice of Line.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewLineSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type LineSlice struct {
+ orig *[]otlpprofiles.Line
+ state *internal.State
+}
+
+func newLineSlice(orig *[]otlpprofiles.Line, state *internal.State) LineSlice {
+ return LineSlice{orig: orig, state: state}
+}
+
+// NewLineSlice creates a LineSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewLineSlice() LineSlice {
+ orig := []otlpprofiles.Line(nil)
+ state := internal.StateMutable
+ return newLineSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewLineSlice()".
+func (es LineSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es LineSlice) At(i int) Line {
+ return newLine(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new LineSlice can be initialized:
+//
+// es := NewLineSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es LineSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Line, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Line.
+// It returns the newly added Line.
+func (es LineSlice) AppendEmpty() Line {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Line{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es LineSlice) MoveAndAppendTo(dest LineSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es LineSlice) RemoveIf(f func(Line) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es LineSlice) CopyTo(dest LineSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Line, srcLen)
+ }
+ for i := range *es.orig {
+ newLine(&(*es.orig)[i], es.state).CopyTo(newLine(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_lineslice_test.go b/pdata/pprofile/generated_lineslice_test.go
new file mode 100644
index 00000000000..1f5a69ca3f4
--- /dev/null
+++ b/pdata/pprofile/generated_lineslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLineSlice(t *testing.T) {
+ es := NewLineSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newLineSlice(&[]otlpprofiles.Line{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewLine()
+ testVal := generateTestLine()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestLine(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestLineSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newLineSlice(&[]otlpprofiles.Line{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewLineSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestLineSlice_CopyTo(t *testing.T) {
+ dest := NewLineSlice()
+ // Test CopyTo to empty
+ NewLineSlice().CopyTo(dest)
+ assert.Equal(t, NewLineSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestLineSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLineSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestLineSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLineSlice(), dest)
+}
+
+func TestLineSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestLineSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestLineSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestLineSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestLineSlice(), es)
+}
+
+func TestLineSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestLineSlice()
+ dest := NewLineSlice()
+ src := generateTestLineSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLineSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLineSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestLineSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestLineSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewLineSlice()
+ emptySlice.RemoveIf(func(el Line) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestLineSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Line) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestLineSlice() LineSlice {
+ es := NewLineSlice()
+ fillTestLineSlice(es)
+ return es
+}
+
+func fillTestLineSlice(es LineSlice) {
+ *es.orig = make([]otlpprofiles.Line, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Line{}
+ fillTestLine(newLine(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_link.go b/pdata/pprofile/generated_link.go
new file mode 100644
index 00000000000..70af00112b0
--- /dev/null
+++ b/pdata/pprofile/generated_link.go
@@ -0,0 +1,77 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ "go.opentelemetry.io/collector/pdata/internal/data"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// Link represents a pointer from a profile Sample to a trace Span.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewLink function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Link struct {
+ orig *otlpprofiles.Link
+ state *internal.State
+}
+
+func newLink(orig *otlpprofiles.Link, state *internal.State) Link {
+ return Link{orig: orig, state: state}
+}
+
+// NewLink creates a new empty Link.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewLink() Link {
+ state := internal.StateMutable
+ return newLink(&otlpprofiles.Link{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Link) MoveTo(dest Link) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Link{}
+}
+
+// TraceID returns the traceid associated with this Link.
+func (ms Link) TraceID() pcommon.TraceID {
+ return pcommon.TraceID(ms.orig.TraceId)
+}
+
+// SetTraceID replaces the traceid associated with this Link.
+func (ms Link) SetTraceID(v pcommon.TraceID) {
+ ms.state.AssertMutable()
+ ms.orig.TraceId = data.TraceID(v)
+}
+
+// SpanID returns the spanid associated with this Link.
+func (ms Link) SpanID() pcommon.SpanID {
+ return pcommon.SpanID(ms.orig.SpanId)
+}
+
+// SetSpanID replaces the spanid associated with this Link.
+func (ms Link) SetSpanID(v pcommon.SpanID) {
+ ms.state.AssertMutable()
+ ms.orig.SpanId = data.SpanID(v)
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Link) CopyTo(dest Link) {
+ dest.state.AssertMutable()
+ dest.SetTraceID(ms.TraceID())
+ dest.SetSpanID(ms.SpanID())
+}
diff --git a/pdata/pprofile/generated_link_test.go b/pdata/pprofile/generated_link_test.go
new file mode 100644
index 00000000000..8e10072d2dd
--- /dev/null
+++ b/pdata/pprofile/generated_link_test.go
@@ -0,0 +1,68 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ "go.opentelemetry.io/collector/pdata/internal/data"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestLink_MoveTo(t *testing.T) {
+ ms := generateTestLink()
+ dest := NewLink()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewLink(), ms)
+ assert.Equal(t, generateTestLink(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newLink(&otlpprofiles.Link{}, &sharedState)) })
+ assert.Panics(t, func() { newLink(&otlpprofiles.Link{}, &sharedState).MoveTo(dest) })
+}
+
+func TestLink_CopyTo(t *testing.T) {
+ ms := NewLink()
+ orig := NewLink()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestLink()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newLink(&otlpprofiles.Link{}, &sharedState)) })
+}
+
+func TestLink_TraceID(t *testing.T) {
+ ms := NewLink()
+ assert.Equal(t, pcommon.TraceID(data.TraceID([16]byte{})), ms.TraceID())
+ testValTraceID := pcommon.TraceID(data.TraceID([16]byte{1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1}))
+ ms.SetTraceID(testValTraceID)
+ assert.Equal(t, testValTraceID, ms.TraceID())
+}
+
+func TestLink_SpanID(t *testing.T) {
+ ms := NewLink()
+ assert.Equal(t, pcommon.SpanID(data.SpanID([8]byte{})), ms.SpanID())
+ testValSpanID := pcommon.SpanID(data.SpanID([8]byte{8, 7, 6, 5, 4, 3, 2, 1}))
+ ms.SetSpanID(testValSpanID)
+ assert.Equal(t, testValSpanID, ms.SpanID())
+}
+
+func generateTestLink() Link {
+ tv := NewLink()
+ fillTestLink(tv)
+ return tv
+}
+
+func fillTestLink(tv Link) {
+ tv.orig.TraceId = data.TraceID([16]byte{1, 2, 3, 4, 5, 6, 7, 8, 8, 7, 6, 5, 4, 3, 2, 1})
+ tv.orig.SpanId = data.SpanID([8]byte{8, 7, 6, 5, 4, 3, 2, 1})
+}
diff --git a/pdata/pprofile/generated_linkslice.go b/pdata/pprofile/generated_linkslice.go
new file mode 100644
index 00000000000..3ae925ac09c
--- /dev/null
+++ b/pdata/pprofile/generated_linkslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// LinkSlice logically represents a slice of Link.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewLinkSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type LinkSlice struct {
+ orig *[]otlpprofiles.Link
+ state *internal.State
+}
+
+func newLinkSlice(orig *[]otlpprofiles.Link, state *internal.State) LinkSlice {
+ return LinkSlice{orig: orig, state: state}
+}
+
+// NewLinkSlice creates a LinkSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewLinkSlice() LinkSlice {
+ orig := []otlpprofiles.Link(nil)
+ state := internal.StateMutable
+ return newLinkSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewLinkSlice()".
+func (es LinkSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es LinkSlice) At(i int) Link {
+ return newLink(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new LinkSlice can be initialized:
+//
+// es := NewLinkSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es LinkSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Link, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Link.
+// It returns the newly added Link.
+func (es LinkSlice) AppendEmpty() Link {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Link{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es LinkSlice) MoveAndAppendTo(dest LinkSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es LinkSlice) RemoveIf(f func(Link) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es LinkSlice) CopyTo(dest LinkSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Link, srcLen)
+ }
+ for i := range *es.orig {
+ newLink(&(*es.orig)[i], es.state).CopyTo(newLink(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_linkslice_test.go b/pdata/pprofile/generated_linkslice_test.go
new file mode 100644
index 00000000000..5d22fcd69ca
--- /dev/null
+++ b/pdata/pprofile/generated_linkslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLinkSlice(t *testing.T) {
+ es := NewLinkSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newLinkSlice(&[]otlpprofiles.Link{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewLink()
+ testVal := generateTestLink()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestLink(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestLinkSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newLinkSlice(&[]otlpprofiles.Link{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewLinkSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestLinkSlice_CopyTo(t *testing.T) {
+ dest := NewLinkSlice()
+ // Test CopyTo to empty
+ NewLinkSlice().CopyTo(dest)
+ assert.Equal(t, NewLinkSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestLinkSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLinkSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestLinkSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLinkSlice(), dest)
+}
+
+func TestLinkSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestLinkSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestLinkSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestLinkSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestLinkSlice(), es)
+}
+
+func TestLinkSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestLinkSlice()
+ dest := NewLinkSlice()
+ src := generateTestLinkSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLinkSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLinkSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestLinkSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestLinkSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewLinkSlice()
+ emptySlice.RemoveIf(func(el Link) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestLinkSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Link) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestLinkSlice() LinkSlice {
+ es := NewLinkSlice()
+ fillTestLinkSlice(es)
+ return es
+}
+
+func fillTestLinkSlice(es LinkSlice) {
+ *es.orig = make([]otlpprofiles.Link, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Link{}
+ fillTestLink(newLink(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_location.go b/pdata/pprofile/generated_location.go
new file mode 100644
index 00000000000..5ed030f6d6d
--- /dev/null
+++ b/pdata/pprofile/generated_location.go
@@ -0,0 +1,124 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// Location describes function and line table debug information.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewLocation function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Location struct {
+ orig *otlpprofiles.Location
+ state *internal.State
+}
+
+func newLocation(orig *otlpprofiles.Location, state *internal.State) Location {
+ return Location{orig: orig, state: state}
+}
+
+// NewLocation creates a new empty Location.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewLocation() Location {
+ state := internal.StateMutable
+ return newLocation(&otlpprofiles.Location{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Location) MoveTo(dest Location) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Location{}
+}
+
+// ID returns the id associated with this Location.
+func (ms Location) ID() uint64 {
+ return ms.orig.Id
+}
+
+// SetID replaces the id associated with this Location.
+func (ms Location) SetID(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.Id = v
+}
+
+// MappingIndex returns the mappingindex associated with this Location.
+func (ms Location) MappingIndex() uint64 {
+ return ms.orig.MappingIndex
+}
+
+// SetMappingIndex replaces the mappingindex associated with this Location.
+func (ms Location) SetMappingIndex(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.MappingIndex = v
+}
+
+// Address returns the address associated with this Location.
+func (ms Location) Address() uint64 {
+ return ms.orig.Address
+}
+
+// SetAddress replaces the address associated with this Location.
+func (ms Location) SetAddress(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.Address = v
+}
+
+// Line returns the Line associated with this Location.
+func (ms Location) Line() LineSlice {
+ return newLineSlice(&ms.orig.Line, ms.state)
+}
+
+// IsFolded returns the isfolded associated with this Location.
+func (ms Location) IsFolded() bool {
+ return ms.orig.IsFolded
+}
+
+// SetIsFolded replaces the isfolded associated with this Location.
+func (ms Location) SetIsFolded(v bool) {
+ ms.state.AssertMutable()
+ ms.orig.IsFolded = v
+}
+
+// TypeIndex returns the typeindex associated with this Location.
+func (ms Location) TypeIndex() uint32 {
+ return ms.orig.TypeIndex
+}
+
+// SetTypeIndex replaces the typeindex associated with this Location.
+func (ms Location) SetTypeIndex(v uint32) {
+ ms.state.AssertMutable()
+ ms.orig.TypeIndex = v
+}
+
+// Attributes returns the Attributes associated with this Location.
+func (ms Location) Attributes() pcommon.UInt64Slice {
+ return pcommon.UInt64Slice(internal.NewUInt64Slice(&ms.orig.Attributes, ms.state))
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Location) CopyTo(dest Location) {
+ dest.state.AssertMutable()
+ dest.SetID(ms.ID())
+ dest.SetMappingIndex(ms.MappingIndex())
+ dest.SetAddress(ms.Address())
+ ms.Line().CopyTo(dest.Line())
+ dest.SetIsFolded(ms.IsFolded())
+ dest.SetTypeIndex(ms.TypeIndex())
+ ms.Attributes().CopyTo(dest.Attributes())
+}
diff --git a/pdata/pprofile/generated_location_test.go b/pdata/pprofile/generated_location_test.go
new file mode 100644
index 00000000000..60f6d553bb6
--- /dev/null
+++ b/pdata/pprofile/generated_location_test.go
@@ -0,0 +1,115 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestLocation_MoveTo(t *testing.T) {
+ ms := generateTestLocation()
+ dest := NewLocation()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewLocation(), ms)
+ assert.Equal(t, generateTestLocation(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newLocation(&otlpprofiles.Location{}, &sharedState)) })
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).MoveTo(dest) })
+}
+
+func TestLocation_CopyTo(t *testing.T) {
+ ms := NewLocation()
+ orig := NewLocation()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestLocation()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newLocation(&otlpprofiles.Location{}, &sharedState)) })
+}
+
+func TestLocation_ID(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, uint64(0), ms.ID())
+ ms.SetID(uint64(1))
+ assert.Equal(t, uint64(1), ms.ID())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).SetID(uint64(1)) })
+}
+
+func TestLocation_MappingIndex(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, uint64(0), ms.MappingIndex())
+ ms.SetMappingIndex(uint64(1))
+ assert.Equal(t, uint64(1), ms.MappingIndex())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).SetMappingIndex(uint64(1)) })
+}
+
+func TestLocation_Address(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, uint64(0), ms.Address())
+ ms.SetAddress(uint64(1))
+ assert.Equal(t, uint64(1), ms.Address())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).SetAddress(uint64(1)) })
+}
+
+func TestLocation_Line(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, NewLineSlice(), ms.Line())
+ fillTestLineSlice(ms.Line())
+ assert.Equal(t, generateTestLineSlice(), ms.Line())
+}
+
+func TestLocation_IsFolded(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, false, ms.IsFolded())
+ ms.SetIsFolded(true)
+ assert.Equal(t, true, ms.IsFolded())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).SetIsFolded(true) })
+}
+
+func TestLocation_TypeIndex(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, uint32(0), ms.TypeIndex())
+ ms.SetTypeIndex(uint32(1))
+ assert.Equal(t, uint32(1), ms.TypeIndex())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newLocation(&otlpprofiles.Location{}, &sharedState).SetTypeIndex(uint32(1)) })
+}
+
+func TestLocation_Attributes(t *testing.T) {
+ ms := NewLocation()
+ assert.Equal(t, pcommon.NewUInt64Slice(), ms.Attributes())
+ internal.FillTestUInt64Slice(internal.UInt64Slice(ms.Attributes()))
+ assert.Equal(t, pcommon.UInt64Slice(internal.GenerateTestUInt64Slice()), ms.Attributes())
+}
+
+func generateTestLocation() Location {
+ tv := NewLocation()
+ fillTestLocation(tv)
+ return tv
+}
+
+func fillTestLocation(tv Location) {
+ tv.orig.Id = uint64(1)
+ tv.orig.MappingIndex = uint64(1)
+ tv.orig.Address = uint64(1)
+ fillTestLineSlice(newLineSlice(&tv.orig.Line, tv.state))
+ tv.orig.IsFolded = true
+ tv.orig.TypeIndex = uint32(1)
+ internal.FillTestUInt64Slice(internal.NewUInt64Slice(&tv.orig.Attributes, tv.state))
+}
diff --git a/pdata/pprofile/generated_locationslice.go b/pdata/pprofile/generated_locationslice.go
new file mode 100644
index 00000000000..e5751c4dcb6
--- /dev/null
+++ b/pdata/pprofile/generated_locationslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// LocationSlice logically represents a slice of Location.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewLocationSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type LocationSlice struct {
+ orig *[]otlpprofiles.Location
+ state *internal.State
+}
+
+func newLocationSlice(orig *[]otlpprofiles.Location, state *internal.State) LocationSlice {
+ return LocationSlice{orig: orig, state: state}
+}
+
+// NewLocationSlice creates a LocationSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewLocationSlice() LocationSlice {
+ orig := []otlpprofiles.Location(nil)
+ state := internal.StateMutable
+ return newLocationSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewLocationSlice()".
+func (es LocationSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es LocationSlice) At(i int) Location {
+ return newLocation(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new LocationSlice can be initialized:
+//
+// es := NewLocationSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es LocationSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Location, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Location.
+// It returns the newly added Location.
+func (es LocationSlice) AppendEmpty() Location {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Location{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es LocationSlice) MoveAndAppendTo(dest LocationSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es LocationSlice) RemoveIf(f func(Location) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es LocationSlice) CopyTo(dest LocationSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Location, srcLen)
+ }
+ for i := range *es.orig {
+ newLocation(&(*es.orig)[i], es.state).CopyTo(newLocation(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_locationslice_test.go b/pdata/pprofile/generated_locationslice_test.go
new file mode 100644
index 00000000000..06d6946279f
--- /dev/null
+++ b/pdata/pprofile/generated_locationslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestLocationSlice(t *testing.T) {
+ es := NewLocationSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newLocationSlice(&[]otlpprofiles.Location{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewLocation()
+ testVal := generateTestLocation()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestLocation(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestLocationSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newLocationSlice(&[]otlpprofiles.Location{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewLocationSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestLocationSlice_CopyTo(t *testing.T) {
+ dest := NewLocationSlice()
+ // Test CopyTo to empty
+ NewLocationSlice().CopyTo(dest)
+ assert.Equal(t, NewLocationSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestLocationSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLocationSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestLocationSlice().CopyTo(dest)
+ assert.Equal(t, generateTestLocationSlice(), dest)
+}
+
+func TestLocationSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestLocationSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestLocationSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestLocationSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestLocationSlice(), es)
+}
+
+func TestLocationSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestLocationSlice()
+ dest := NewLocationSlice()
+ src := generateTestLocationSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLocationSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestLocationSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestLocationSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestLocationSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewLocationSlice()
+ emptySlice.RemoveIf(func(el Location) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestLocationSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Location) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestLocationSlice() LocationSlice {
+ es := NewLocationSlice()
+ fillTestLocationSlice(es)
+ return es
+}
+
+func fillTestLocationSlice(es LocationSlice) {
+ *es.orig = make([]otlpprofiles.Location, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Location{}
+ fillTestLocation(newLocation(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_mapping.go b/pdata/pprofile/generated_mapping.go
new file mode 100644
index 00000000000..66c7cd165df
--- /dev/null
+++ b/pdata/pprofile/generated_mapping.go
@@ -0,0 +1,190 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// Mapping describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewMapping function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Mapping struct {
+ orig *otlpprofiles.Mapping
+ state *internal.State
+}
+
+func newMapping(orig *otlpprofiles.Mapping, state *internal.State) Mapping {
+ return Mapping{orig: orig, state: state}
+}
+
+// NewMapping creates a new empty Mapping.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewMapping() Mapping {
+ state := internal.StateMutable
+ return newMapping(&otlpprofiles.Mapping{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Mapping) MoveTo(dest Mapping) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Mapping{}
+}
+
+// ID returns the id associated with this Mapping.
+func (ms Mapping) ID() uint64 {
+ return ms.orig.Id
+}
+
+// SetID replaces the id associated with this Mapping.
+func (ms Mapping) SetID(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.Id = v
+}
+
+// MemoryStart returns the memorystart associated with this Mapping.
+func (ms Mapping) MemoryStart() uint64 {
+ return ms.orig.MemoryStart
+}
+
+// SetMemoryStart replaces the memorystart associated with this Mapping.
+func (ms Mapping) SetMemoryStart(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.MemoryStart = v
+}
+
+// MemoryLimit returns the memorylimit associated with this Mapping.
+func (ms Mapping) MemoryLimit() uint64 {
+ return ms.orig.MemoryLimit
+}
+
+// SetMemoryLimit replaces the memorylimit associated with this Mapping.
+func (ms Mapping) SetMemoryLimit(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.MemoryLimit = v
+}
+
+// FileOffset returns the fileoffset associated with this Mapping.
+func (ms Mapping) FileOffset() uint64 {
+ return ms.orig.FileOffset
+}
+
+// SetFileOffset replaces the fileoffset associated with this Mapping.
+func (ms Mapping) SetFileOffset(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.FileOffset = v
+}
+
+// Filename returns the filename associated with this Mapping.
+func (ms Mapping) Filename() int64 {
+ return ms.orig.Filename
+}
+
+// SetFilename replaces the filename associated with this Mapping.
+func (ms Mapping) SetFilename(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Filename = v
+}
+
+// BuildID returns the buildid associated with this Mapping.
+func (ms Mapping) BuildID() int64 {
+ return ms.orig.BuildId
+}
+
+// SetBuildID replaces the buildid associated with this Mapping.
+func (ms Mapping) SetBuildID(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.BuildId = v
+}
+
+// BuildIDKind returns the buildidkind associated with this Mapping.
+func (ms Mapping) BuildIDKind() otlpprofiles.BuildIdKind {
+ return ms.orig.BuildIdKind
+}
+
+// SetBuildIDKind replaces the buildidkind associated with this Mapping.
+func (ms Mapping) SetBuildIDKind(v otlpprofiles.BuildIdKind) {
+ ms.state.AssertMutable()
+ ms.orig.BuildIdKind = v
+}
+
+// Attributes returns the Attributes associated with this Mapping.
+func (ms Mapping) Attributes() pcommon.UInt64Slice {
+ return pcommon.UInt64Slice(internal.NewUInt64Slice(&ms.orig.Attributes, ms.state))
+}
+
+// HasFunctions returns the hasfunctions associated with this Mapping.
+func (ms Mapping) HasFunctions() bool {
+ return ms.orig.HasFunctions
+}
+
+// SetHasFunctions replaces the hasfunctions associated with this Mapping.
+func (ms Mapping) SetHasFunctions(v bool) {
+ ms.state.AssertMutable()
+ ms.orig.HasFunctions = v
+}
+
+// HasFilenames returns the hasfilenames associated with this Mapping.
+func (ms Mapping) HasFilenames() bool {
+ return ms.orig.HasFilenames
+}
+
+// SetHasFilenames replaces the hasfilenames associated with this Mapping.
+func (ms Mapping) SetHasFilenames(v bool) {
+ ms.state.AssertMutable()
+ ms.orig.HasFilenames = v
+}
+
+// HasLineNumbers returns the haslinenumbers associated with this Mapping.
+func (ms Mapping) HasLineNumbers() bool {
+ return ms.orig.HasLineNumbers
+}
+
+// SetHasLineNumbers replaces the haslinenumbers associated with this Mapping.
+func (ms Mapping) SetHasLineNumbers(v bool) {
+ ms.state.AssertMutable()
+ ms.orig.HasLineNumbers = v
+}
+
+// HasInlineFrames returns the hasinlineframes associated with this Mapping.
+func (ms Mapping) HasInlineFrames() bool {
+ return ms.orig.HasInlineFrames
+}
+
+// SetHasInlineFrames replaces the hasinlineframes associated with this Mapping.
+func (ms Mapping) SetHasInlineFrames(v bool) {
+ ms.state.AssertMutable()
+ ms.orig.HasInlineFrames = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Mapping) CopyTo(dest Mapping) {
+ dest.state.AssertMutable()
+ dest.SetID(ms.ID())
+ dest.SetMemoryStart(ms.MemoryStart())
+ dest.SetMemoryLimit(ms.MemoryLimit())
+ dest.SetFileOffset(ms.FileOffset())
+ dest.SetFilename(ms.Filename())
+ dest.SetBuildID(ms.BuildID())
+ dest.SetBuildIDKind(ms.BuildIDKind())
+ ms.Attributes().CopyTo(dest.Attributes())
+ dest.SetHasFunctions(ms.HasFunctions())
+ dest.SetHasFilenames(ms.HasFilenames())
+ dest.SetHasLineNumbers(ms.HasLineNumbers())
+ dest.SetHasInlineFrames(ms.HasInlineFrames())
+}
diff --git a/pdata/pprofile/generated_mapping_test.go b/pdata/pprofile/generated_mapping_test.go
new file mode 100644
index 00000000000..6a50c205084
--- /dev/null
+++ b/pdata/pprofile/generated_mapping_test.go
@@ -0,0 +1,167 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestMapping_MoveTo(t *testing.T) {
+ ms := generateTestMapping()
+ dest := NewMapping()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewMapping(), ms)
+ assert.Equal(t, generateTestMapping(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newMapping(&otlpprofiles.Mapping{}, &sharedState)) })
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).MoveTo(dest) })
+}
+
+func TestMapping_CopyTo(t *testing.T) {
+ ms := NewMapping()
+ orig := NewMapping()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestMapping()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newMapping(&otlpprofiles.Mapping{}, &sharedState)) })
+}
+
+func TestMapping_ID(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, uint64(0), ms.ID())
+ ms.SetID(uint64(1))
+ assert.Equal(t, uint64(1), ms.ID())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetID(uint64(1)) })
+}
+
+func TestMapping_MemoryStart(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, uint64(0), ms.MemoryStart())
+ ms.SetMemoryStart(uint64(1))
+ assert.Equal(t, uint64(1), ms.MemoryStart())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetMemoryStart(uint64(1)) })
+}
+
+func TestMapping_MemoryLimit(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, uint64(0), ms.MemoryLimit())
+ ms.SetMemoryLimit(uint64(1))
+ assert.Equal(t, uint64(1), ms.MemoryLimit())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetMemoryLimit(uint64(1)) })
+}
+
+func TestMapping_FileOffset(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, uint64(0), ms.FileOffset())
+ ms.SetFileOffset(uint64(1))
+ assert.Equal(t, uint64(1), ms.FileOffset())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetFileOffset(uint64(1)) })
+}
+
+func TestMapping_Filename(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, int64(0), ms.Filename())
+ ms.SetFilename(int64(1))
+ assert.Equal(t, int64(1), ms.Filename())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetFilename(int64(1)) })
+}
+
+func TestMapping_BuildID(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, int64(0), ms.BuildID())
+ ms.SetBuildID(int64(1))
+ assert.Equal(t, int64(1), ms.BuildID())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetBuildID(int64(1)) })
+}
+
+func TestMapping_BuildIDKind(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, otlpprofiles.BuildIdKind(0), ms.BuildIDKind())
+ ms.SetBuildIDKind(otlpprofiles.BuildIdKind(1))
+ assert.Equal(t, otlpprofiles.BuildIdKind(1), ms.BuildIDKind())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetBuildIDKind(otlpprofiles.BuildIdKind(1)) })
+}
+
+func TestMapping_Attributes(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, pcommon.NewUInt64Slice(), ms.Attributes())
+ internal.FillTestUInt64Slice(internal.UInt64Slice(ms.Attributes()))
+ assert.Equal(t, pcommon.UInt64Slice(internal.GenerateTestUInt64Slice()), ms.Attributes())
+}
+
+func TestMapping_HasFunctions(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, false, ms.HasFunctions())
+ ms.SetHasFunctions(true)
+ assert.Equal(t, true, ms.HasFunctions())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetHasFunctions(true) })
+}
+
+func TestMapping_HasFilenames(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, false, ms.HasFilenames())
+ ms.SetHasFilenames(true)
+ assert.Equal(t, true, ms.HasFilenames())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetHasFilenames(true) })
+}
+
+func TestMapping_HasLineNumbers(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, false, ms.HasLineNumbers())
+ ms.SetHasLineNumbers(true)
+ assert.Equal(t, true, ms.HasLineNumbers())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetHasLineNumbers(true) })
+}
+
+func TestMapping_HasInlineFrames(t *testing.T) {
+ ms := NewMapping()
+ assert.Equal(t, false, ms.HasInlineFrames())
+ ms.SetHasInlineFrames(true)
+ assert.Equal(t, true, ms.HasInlineFrames())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newMapping(&otlpprofiles.Mapping{}, &sharedState).SetHasInlineFrames(true) })
+}
+
+func generateTestMapping() Mapping {
+ tv := NewMapping()
+ fillTestMapping(tv)
+ return tv
+}
+
+func fillTestMapping(tv Mapping) {
+ tv.orig.Id = uint64(1)
+ tv.orig.MemoryStart = uint64(1)
+ tv.orig.MemoryLimit = uint64(1)
+ tv.orig.FileOffset = uint64(1)
+ tv.orig.Filename = int64(1)
+ tv.orig.BuildId = int64(1)
+ tv.orig.BuildIdKind = otlpprofiles.BuildIdKind(1)
+ internal.FillTestUInt64Slice(internal.NewUInt64Slice(&tv.orig.Attributes, tv.state))
+ tv.orig.HasFunctions = true
+ tv.orig.HasFilenames = true
+ tv.orig.HasLineNumbers = true
+ tv.orig.HasInlineFrames = true
+}
diff --git a/pdata/pprofile/generated_mappingslice.go b/pdata/pprofile/generated_mappingslice.go
new file mode 100644
index 00000000000..cf0f1361483
--- /dev/null
+++ b/pdata/pprofile/generated_mappingslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// MappingSlice logically represents a slice of Mapping.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewMappingSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type MappingSlice struct {
+ orig *[]otlpprofiles.Mapping
+ state *internal.State
+}
+
+func newMappingSlice(orig *[]otlpprofiles.Mapping, state *internal.State) MappingSlice {
+ return MappingSlice{orig: orig, state: state}
+}
+
+// NewMappingSlice creates a MappingSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewMappingSlice() MappingSlice {
+ orig := []otlpprofiles.Mapping(nil)
+ state := internal.StateMutable
+ return newMappingSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewMappingSlice()".
+func (es MappingSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es MappingSlice) At(i int) Mapping {
+ return newMapping(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new MappingSlice can be initialized:
+//
+// es := NewMappingSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es MappingSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Mapping, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Mapping.
+// It returns the newly added Mapping.
+func (es MappingSlice) AppendEmpty() Mapping {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Mapping{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es MappingSlice) MoveAndAppendTo(dest MappingSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es MappingSlice) RemoveIf(f func(Mapping) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es MappingSlice) CopyTo(dest MappingSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Mapping, srcLen)
+ }
+ for i := range *es.orig {
+ newMapping(&(*es.orig)[i], es.state).CopyTo(newMapping(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_mappingslice_test.go b/pdata/pprofile/generated_mappingslice_test.go
new file mode 100644
index 00000000000..b25cb952ce1
--- /dev/null
+++ b/pdata/pprofile/generated_mappingslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestMappingSlice(t *testing.T) {
+ es := NewMappingSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newMappingSlice(&[]otlpprofiles.Mapping{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewMapping()
+ testVal := generateTestMapping()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestMapping(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestMappingSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newMappingSlice(&[]otlpprofiles.Mapping{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewMappingSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestMappingSlice_CopyTo(t *testing.T) {
+ dest := NewMappingSlice()
+ // Test CopyTo to empty
+ NewMappingSlice().CopyTo(dest)
+ assert.Equal(t, NewMappingSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestMappingSlice().CopyTo(dest)
+ assert.Equal(t, generateTestMappingSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestMappingSlice().CopyTo(dest)
+ assert.Equal(t, generateTestMappingSlice(), dest)
+}
+
+func TestMappingSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestMappingSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestMappingSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestMappingSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestMappingSlice(), es)
+}
+
+func TestMappingSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestMappingSlice()
+ dest := NewMappingSlice()
+ src := generateTestMappingSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestMappingSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestMappingSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestMappingSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestMappingSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewMappingSlice()
+ emptySlice.RemoveIf(func(el Mapping) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestMappingSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Mapping) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestMappingSlice() MappingSlice {
+ es := NewMappingSlice()
+ fillTestMappingSlice(es)
+ return es
+}
+
+func fillTestMappingSlice(es MappingSlice) {
+ *es.orig = make([]otlpprofiles.Mapping, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Mapping{}
+ fillTestMapping(newMapping(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_profile.go b/pdata/pprofile/generated_profile.go
new file mode 100644
index 00000000000..38f1cf3f0f3
--- /dev/null
+++ b/pdata/pprofile/generated_profile.go
@@ -0,0 +1,196 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// Profile are an implementation of the pprofextended data model.
+
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewProfile function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Profile struct {
+ orig *otlpprofiles.Profile
+ state *internal.State
+}
+
+func newProfile(orig *otlpprofiles.Profile, state *internal.State) Profile {
+ return Profile{orig: orig, state: state}
+}
+
+// NewProfile creates a new empty Profile.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewProfile() Profile {
+ state := internal.StateMutable
+ return newProfile(&otlpprofiles.Profile{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Profile) MoveTo(dest Profile) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Profile{}
+}
+
+// SampleType returns the SampleType associated with this Profile.
+func (ms Profile) SampleType() ValueTypeSlice {
+ return newValueTypeSlice(&ms.orig.SampleType, ms.state)
+}
+
+// Sample returns the Sample associated with this Profile.
+func (ms Profile) Sample() SampleSlice {
+ return newSampleSlice(&ms.orig.Sample, ms.state)
+}
+
+// Mapping returns the Mapping associated with this Profile.
+func (ms Profile) Mapping() MappingSlice {
+ return newMappingSlice(&ms.orig.Mapping, ms.state)
+}
+
+// Location returns the Location associated with this Profile.
+func (ms Profile) Location() LocationSlice {
+ return newLocationSlice(&ms.orig.Location, ms.state)
+}
+
+// LocationIndices returns the LocationIndices associated with this Profile.
+func (ms Profile) LocationIndices() pcommon.Int64Slice {
+ return pcommon.Int64Slice(internal.NewInt64Slice(&ms.orig.LocationIndices, ms.state))
+}
+
+// Function returns the Function associated with this Profile.
+func (ms Profile) Function() FunctionSlice {
+ return newFunctionSlice(&ms.orig.Function, ms.state)
+}
+
+// AttributeTable returns the AttributeTable associated with this Profile.
+func (ms Profile) AttributeTable() pcommon.Map {
+ return pcommon.Map(internal.NewMap(&ms.orig.AttributeTable, ms.state))
+}
+
+// AttributeUnits returns the AttributeUnits associated with this Profile.
+func (ms Profile) AttributeUnits() AttributeUnitSlice {
+ return newAttributeUnitSlice(&ms.orig.AttributeUnits, ms.state)
+}
+
+// LinkTable returns the LinkTable associated with this Profile.
+func (ms Profile) LinkTable() LinkSlice {
+ return newLinkSlice(&ms.orig.LinkTable, ms.state)
+}
+
+// StringTable returns the StringTable associated with this Profile.
+func (ms Profile) StringTable() pcommon.StringSlice {
+ return pcommon.StringSlice(internal.NewStringSlice(&ms.orig.StringTable, ms.state))
+}
+
+// DropFrames returns the dropframes associated with this Profile.
+func (ms Profile) DropFrames() int64 {
+ return ms.orig.DropFrames
+}
+
+// SetDropFrames replaces the dropframes associated with this Profile.
+func (ms Profile) SetDropFrames(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.DropFrames = v
+}
+
+// KeepFrames returns the keepframes associated with this Profile.
+func (ms Profile) KeepFrames() int64 {
+ return ms.orig.KeepFrames
+}
+
+// SetKeepFrames replaces the keepframes associated with this Profile.
+func (ms Profile) SetKeepFrames(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.KeepFrames = v
+}
+
+// StartTime returns the starttime associated with this Profile.
+func (ms Profile) StartTime() pcommon.Timestamp {
+ return pcommon.Timestamp(ms.orig.TimeNanos)
+}
+
+// SetStartTime replaces the starttime associated with this Profile.
+func (ms Profile) SetStartTime(v pcommon.Timestamp) {
+ ms.state.AssertMutable()
+ ms.orig.TimeNanos = int64(v)
+}
+
+// Duration returns the duration associated with this Profile.
+func (ms Profile) Duration() pcommon.Timestamp {
+ return pcommon.Timestamp(ms.orig.DurationNanos)
+}
+
+// SetDuration replaces the duration associated with this Profile.
+func (ms Profile) SetDuration(v pcommon.Timestamp) {
+ ms.state.AssertMutable()
+ ms.orig.DurationNanos = int64(v)
+}
+
+// PeriodType returns the periodtype associated with this Profile.
+func (ms Profile) PeriodType() ValueType {
+ return newValueType(&ms.orig.PeriodType, ms.state)
+}
+
+// Period returns the period associated with this Profile.
+func (ms Profile) Period() int64 {
+ return ms.orig.Period
+}
+
+// SetPeriod replaces the period associated with this Profile.
+func (ms Profile) SetPeriod(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Period = v
+}
+
+// Comment returns the Comment associated with this Profile.
+func (ms Profile) Comment() pcommon.Int64Slice {
+ return pcommon.Int64Slice(internal.NewInt64Slice(&ms.orig.Comment, ms.state))
+}
+
+// DefaultSampleType returns the defaultsampletype associated with this Profile.
+func (ms Profile) DefaultSampleType() int64 {
+ return ms.orig.DefaultSampleType
+}
+
+// SetDefaultSampleType replaces the defaultsampletype associated with this Profile.
+func (ms Profile) SetDefaultSampleType(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.DefaultSampleType = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Profile) CopyTo(dest Profile) {
+ dest.state.AssertMutable()
+ ms.SampleType().CopyTo(dest.SampleType())
+ ms.Sample().CopyTo(dest.Sample())
+ ms.Mapping().CopyTo(dest.Mapping())
+ ms.Location().CopyTo(dest.Location())
+ ms.LocationIndices().CopyTo(dest.LocationIndices())
+ ms.Function().CopyTo(dest.Function())
+ ms.AttributeTable().CopyTo(dest.AttributeTable())
+ ms.AttributeUnits().CopyTo(dest.AttributeUnits())
+ ms.LinkTable().CopyTo(dest.LinkTable())
+ ms.StringTable().CopyTo(dest.StringTable())
+ dest.SetDropFrames(ms.DropFrames())
+ dest.SetKeepFrames(ms.KeepFrames())
+ dest.SetStartTime(ms.StartTime())
+ dest.SetDuration(ms.Duration())
+ ms.PeriodType().CopyTo(dest.PeriodType())
+ dest.SetPeriod(ms.Period())
+ ms.Comment().CopyTo(dest.Comment())
+ dest.SetDefaultSampleType(ms.DefaultSampleType())
+}
diff --git a/pdata/pprofile/generated_profile_test.go b/pdata/pprofile/generated_profile_test.go
new file mode 100644
index 00000000000..e040f2c0dc4
--- /dev/null
+++ b/pdata/pprofile/generated_profile_test.go
@@ -0,0 +1,202 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestProfile_MoveTo(t *testing.T) {
+ ms := generateTestProfile()
+ dest := NewProfile()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewProfile(), ms)
+ assert.Equal(t, generateTestProfile(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newProfile(&otlpprofiles.Profile{}, &sharedState)) })
+ assert.Panics(t, func() { newProfile(&otlpprofiles.Profile{}, &sharedState).MoveTo(dest) })
+}
+
+func TestProfile_CopyTo(t *testing.T) {
+ ms := NewProfile()
+ orig := NewProfile()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestProfile()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newProfile(&otlpprofiles.Profile{}, &sharedState)) })
+}
+
+func TestProfile_SampleType(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewValueTypeSlice(), ms.SampleType())
+ fillTestValueTypeSlice(ms.SampleType())
+ assert.Equal(t, generateTestValueTypeSlice(), ms.SampleType())
+}
+
+func TestProfile_Sample(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewSampleSlice(), ms.Sample())
+ fillTestSampleSlice(ms.Sample())
+ assert.Equal(t, generateTestSampleSlice(), ms.Sample())
+}
+
+func TestProfile_Mapping(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewMappingSlice(), ms.Mapping())
+ fillTestMappingSlice(ms.Mapping())
+ assert.Equal(t, generateTestMappingSlice(), ms.Mapping())
+}
+
+func TestProfile_Location(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewLocationSlice(), ms.Location())
+ fillTestLocationSlice(ms.Location())
+ assert.Equal(t, generateTestLocationSlice(), ms.Location())
+}
+
+func TestProfile_LocationIndices(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.NewInt64Slice(), ms.LocationIndices())
+ internal.FillTestInt64Slice(internal.Int64Slice(ms.LocationIndices()))
+ assert.Equal(t, pcommon.Int64Slice(internal.GenerateTestInt64Slice()), ms.LocationIndices())
+}
+
+func TestProfile_Function(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewFunctionSlice(), ms.Function())
+ fillTestFunctionSlice(ms.Function())
+ assert.Equal(t, generateTestFunctionSlice(), ms.Function())
+}
+
+func TestProfile_AttributeTable(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.NewMap(), ms.AttributeTable())
+ internal.FillTestMap(internal.Map(ms.AttributeTable()))
+ assert.Equal(t, pcommon.Map(internal.GenerateTestMap()), ms.AttributeTable())
+}
+
+func TestProfile_AttributeUnits(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewAttributeUnitSlice(), ms.AttributeUnits())
+ fillTestAttributeUnitSlice(ms.AttributeUnits())
+ assert.Equal(t, generateTestAttributeUnitSlice(), ms.AttributeUnits())
+}
+
+func TestProfile_LinkTable(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, NewLinkSlice(), ms.LinkTable())
+ fillTestLinkSlice(ms.LinkTable())
+ assert.Equal(t, generateTestLinkSlice(), ms.LinkTable())
+}
+
+func TestProfile_StringTable(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.NewStringSlice(), ms.StringTable())
+ internal.FillTestStringSlice(internal.StringSlice(ms.StringTable()))
+ assert.Equal(t, pcommon.StringSlice(internal.GenerateTestStringSlice()), ms.StringTable())
+}
+
+func TestProfile_DropFrames(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, int64(0), ms.DropFrames())
+ ms.SetDropFrames(int64(1))
+ assert.Equal(t, int64(1), ms.DropFrames())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newProfile(&otlpprofiles.Profile{}, &sharedState).SetDropFrames(int64(1)) })
+}
+
+func TestProfile_KeepFrames(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, int64(0), ms.KeepFrames())
+ ms.SetKeepFrames(int64(1))
+ assert.Equal(t, int64(1), ms.KeepFrames())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newProfile(&otlpprofiles.Profile{}, &sharedState).SetKeepFrames(int64(1)) })
+}
+
+func TestProfile_StartTime(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.Timestamp(0), ms.StartTime())
+ testValStartTime := pcommon.Timestamp(1234567890)
+ ms.SetStartTime(testValStartTime)
+ assert.Equal(t, testValStartTime, ms.StartTime())
+}
+
+func TestProfile_Duration(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.Timestamp(0), ms.Duration())
+ testValDuration := pcommon.Timestamp(1234567890)
+ ms.SetDuration(testValDuration)
+ assert.Equal(t, testValDuration, ms.Duration())
+}
+
+func TestProfile_PeriodType(t *testing.T) {
+ ms := NewProfile()
+ fillTestValueType(ms.PeriodType())
+ assert.Equal(t, generateTestValueType(), ms.PeriodType())
+}
+
+func TestProfile_Period(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, int64(0), ms.Period())
+ ms.SetPeriod(int64(1))
+ assert.Equal(t, int64(1), ms.Period())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newProfile(&otlpprofiles.Profile{}, &sharedState).SetPeriod(int64(1)) })
+}
+
+func TestProfile_Comment(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, pcommon.NewInt64Slice(), ms.Comment())
+ internal.FillTestInt64Slice(internal.Int64Slice(ms.Comment()))
+ assert.Equal(t, pcommon.Int64Slice(internal.GenerateTestInt64Slice()), ms.Comment())
+}
+
+func TestProfile_DefaultSampleType(t *testing.T) {
+ ms := NewProfile()
+ assert.Equal(t, int64(0), ms.DefaultSampleType())
+ ms.SetDefaultSampleType(int64(1))
+ assert.Equal(t, int64(1), ms.DefaultSampleType())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newProfile(&otlpprofiles.Profile{}, &sharedState).SetDefaultSampleType(int64(1)) })
+}
+
+func generateTestProfile() Profile {
+ tv := NewProfile()
+ fillTestProfile(tv)
+ return tv
+}
+
+func fillTestProfile(tv Profile) {
+ fillTestValueTypeSlice(newValueTypeSlice(&tv.orig.SampleType, tv.state))
+ fillTestSampleSlice(newSampleSlice(&tv.orig.Sample, tv.state))
+ fillTestMappingSlice(newMappingSlice(&tv.orig.Mapping, tv.state))
+ fillTestLocationSlice(newLocationSlice(&tv.orig.Location, tv.state))
+ internal.FillTestInt64Slice(internal.NewInt64Slice(&tv.orig.LocationIndices, tv.state))
+ fillTestFunctionSlice(newFunctionSlice(&tv.orig.Function, tv.state))
+ internal.FillTestMap(internal.NewMap(&tv.orig.AttributeTable, tv.state))
+ fillTestAttributeUnitSlice(newAttributeUnitSlice(&tv.orig.AttributeUnits, tv.state))
+ fillTestLinkSlice(newLinkSlice(&tv.orig.LinkTable, tv.state))
+ internal.FillTestStringSlice(internal.NewStringSlice(&tv.orig.StringTable, tv.state))
+ tv.orig.DropFrames = int64(1)
+ tv.orig.KeepFrames = int64(1)
+ tv.orig.TimeNanos = 1234567890
+ tv.orig.DurationNanos = 1234567890
+ fillTestValueType(newValueType(&tv.orig.PeriodType, tv.state))
+ tv.orig.Period = int64(1)
+ internal.FillTestInt64Slice(internal.NewInt64Slice(&tv.orig.Comment, tv.state))
+ tv.orig.DefaultSampleType = int64(1)
+}
diff --git a/pdata/pprofile/generated_profilecontainer.go b/pdata/pprofile/generated_profilecontainer.go
new file mode 100644
index 00000000000..6bf15a98b45
--- /dev/null
+++ b/pdata/pprofile/generated_profilecontainer.go
@@ -0,0 +1,106 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// ProfileContainer are an experimental implementation of the OpenTelemetry Profiles Data Model.
+
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewProfileContainer function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ProfileContainer struct {
+ orig *otlpprofiles.ProfileContainer
+ state *internal.State
+}
+
+func newProfileContainer(orig *otlpprofiles.ProfileContainer, state *internal.State) ProfileContainer {
+ return ProfileContainer{orig: orig, state: state}
+}
+
+// NewProfileContainer creates a new empty ProfileContainer.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewProfileContainer() ProfileContainer {
+ state := internal.StateMutable
+ return newProfileContainer(&otlpprofiles.ProfileContainer{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms ProfileContainer) MoveTo(dest ProfileContainer) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.ProfileContainer{}
+}
+
+// ProfileID returns the ProfileId associated with this ProfileContainer.
+func (ms ProfileContainer) ProfileID() pcommon.ByteSlice {
+ return pcommon.ByteSlice(internal.NewByteSlice(&ms.orig.ProfileId, ms.state))
+}
+
+// StartTime returns the starttime associated with this ProfileContainer.
+func (ms ProfileContainer) StartTime() pcommon.Timestamp {
+ return pcommon.Timestamp(ms.orig.StartTimeUnixNano)
+}
+
+// SetStartTime replaces the starttime associated with this ProfileContainer.
+func (ms ProfileContainer) SetStartTime(v pcommon.Timestamp) {
+ ms.state.AssertMutable()
+ ms.orig.StartTimeUnixNano = uint64(v)
+}
+
+// EndTime returns the endtime associated with this ProfileContainer.
+func (ms ProfileContainer) EndTime() pcommon.Timestamp {
+ return pcommon.Timestamp(ms.orig.EndTimeUnixNano)
+}
+
+// SetEndTime replaces the endtime associated with this ProfileContainer.
+func (ms ProfileContainer) SetEndTime(v pcommon.Timestamp) {
+ ms.state.AssertMutable()
+ ms.orig.EndTimeUnixNano = uint64(v)
+}
+
+// Attributes returns the Attributes associated with this ProfileContainer.
+func (ms ProfileContainer) Attributes() pcommon.Map {
+ return pcommon.Map(internal.NewMap(&ms.orig.Attributes, ms.state))
+}
+
+// DroppedAttributesCount returns the droppedattributescount associated with this ProfileContainer.
+func (ms ProfileContainer) DroppedAttributesCount() uint32 {
+ return ms.orig.DroppedAttributesCount
+}
+
+// SetDroppedAttributesCount replaces the droppedattributescount associated with this ProfileContainer.
+func (ms ProfileContainer) SetDroppedAttributesCount(v uint32) {
+ ms.state.AssertMutable()
+ ms.orig.DroppedAttributesCount = v
+}
+
+// Profile returns the profile associated with this ProfileContainer.
+func (ms ProfileContainer) Profile() Profile {
+ return newProfile(&ms.orig.Profile, ms.state)
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms ProfileContainer) CopyTo(dest ProfileContainer) {
+ dest.state.AssertMutable()
+ ms.ProfileID().CopyTo(dest.ProfileID())
+ dest.SetStartTime(ms.StartTime())
+ dest.SetEndTime(ms.EndTime())
+ ms.Attributes().CopyTo(dest.Attributes())
+ dest.SetDroppedAttributesCount(ms.DroppedAttributesCount())
+ ms.Profile().CopyTo(dest.Profile())
+}
diff --git a/pdata/pprofile/generated_profilecontainer_test.go b/pdata/pprofile/generated_profilecontainer_test.go
new file mode 100644
index 00000000000..72a922a457d
--- /dev/null
+++ b/pdata/pprofile/generated_profilecontainer_test.go
@@ -0,0 +1,102 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestProfileContainer_MoveTo(t *testing.T) {
+ ms := generateTestProfileContainer()
+ dest := NewProfileContainer()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewProfileContainer(), ms)
+ assert.Equal(t, generateTestProfileContainer(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newProfileContainer(&otlpprofiles.ProfileContainer{}, &sharedState)) })
+ assert.Panics(t, func() { newProfileContainer(&otlpprofiles.ProfileContainer{}, &sharedState).MoveTo(dest) })
+}
+
+func TestProfileContainer_CopyTo(t *testing.T) {
+ ms := NewProfileContainer()
+ orig := NewProfileContainer()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestProfileContainer()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newProfileContainer(&otlpprofiles.ProfileContainer{}, &sharedState)) })
+}
+
+func TestProfileContainer_ProfileID(t *testing.T) {
+ ms := NewProfileContainer()
+ assert.Equal(t, pcommon.NewByteSlice(), ms.ProfileID())
+ internal.FillTestByteSlice(internal.ByteSlice(ms.ProfileID()))
+ assert.Equal(t, pcommon.ByteSlice(internal.GenerateTestByteSlice()), ms.ProfileID())
+}
+
+func TestProfileContainer_StartTime(t *testing.T) {
+ ms := NewProfileContainer()
+ assert.Equal(t, pcommon.Timestamp(0), ms.StartTime())
+ testValStartTime := pcommon.Timestamp(1234567890)
+ ms.SetStartTime(testValStartTime)
+ assert.Equal(t, testValStartTime, ms.StartTime())
+}
+
+func TestProfileContainer_EndTime(t *testing.T) {
+ ms := NewProfileContainer()
+ assert.Equal(t, pcommon.Timestamp(0), ms.EndTime())
+ testValEndTime := pcommon.Timestamp(1234567890)
+ ms.SetEndTime(testValEndTime)
+ assert.Equal(t, testValEndTime, ms.EndTime())
+}
+
+func TestProfileContainer_Attributes(t *testing.T) {
+ ms := NewProfileContainer()
+ assert.Equal(t, pcommon.NewMap(), ms.Attributes())
+ internal.FillTestMap(internal.Map(ms.Attributes()))
+ assert.Equal(t, pcommon.Map(internal.GenerateTestMap()), ms.Attributes())
+}
+
+func TestProfileContainer_DroppedAttributesCount(t *testing.T) {
+ ms := NewProfileContainer()
+ assert.Equal(t, uint32(0), ms.DroppedAttributesCount())
+ ms.SetDroppedAttributesCount(uint32(17))
+ assert.Equal(t, uint32(17), ms.DroppedAttributesCount())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newProfileContainer(&otlpprofiles.ProfileContainer{}, &sharedState).SetDroppedAttributesCount(uint32(17))
+ })
+}
+
+func TestProfileContainer_Profile(t *testing.T) {
+ ms := NewProfileContainer()
+ fillTestProfile(ms.Profile())
+ assert.Equal(t, generateTestProfile(), ms.Profile())
+}
+
+func generateTestProfileContainer() ProfileContainer {
+ tv := NewProfileContainer()
+ fillTestProfileContainer(tv)
+ return tv
+}
+
+func fillTestProfileContainer(tv ProfileContainer) {
+ internal.FillTestByteSlice(internal.NewByteSlice(&tv.orig.ProfileId, tv.state))
+ tv.orig.StartTimeUnixNano = 1234567890
+ tv.orig.EndTimeUnixNano = 1234567890
+ internal.FillTestMap(internal.NewMap(&tv.orig.Attributes, tv.state))
+ tv.orig.DroppedAttributesCount = uint32(17)
+ fillTestProfile(newProfile(&tv.orig.Profile, tv.state))
+}
diff --git a/pdata/pprofile/generated_profilescontainersslice.go b/pdata/pprofile/generated_profilescontainersslice.go
new file mode 100644
index 00000000000..74ac2cc4578
--- /dev/null
+++ b/pdata/pprofile/generated_profilescontainersslice.go
@@ -0,0 +1,152 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "sort"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// ProfilesContainersSlice logically represents a slice of ProfileContainer.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewProfilesContainersSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ProfilesContainersSlice struct {
+ orig *[]*otlpprofiles.ProfileContainer
+ state *internal.State
+}
+
+func newProfilesContainersSlice(orig *[]*otlpprofiles.ProfileContainer, state *internal.State) ProfilesContainersSlice {
+ return ProfilesContainersSlice{orig: orig, state: state}
+}
+
+// NewProfilesContainersSlice creates a ProfilesContainersSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewProfilesContainersSlice() ProfilesContainersSlice {
+ orig := []*otlpprofiles.ProfileContainer(nil)
+ state := internal.StateMutable
+ return newProfilesContainersSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewProfilesContainersSlice()".
+func (es ProfilesContainersSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es ProfilesContainersSlice) At(i int) ProfileContainer {
+ return newProfileContainer((*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new ProfilesContainersSlice can be initialized:
+//
+// es := NewProfilesContainersSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es ProfilesContainersSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]*otlpprofiles.ProfileContainer, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty ProfileContainer.
+// It returns the newly added ProfileContainer.
+func (es ProfilesContainersSlice) AppendEmpty() ProfileContainer {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, &otlpprofiles.ProfileContainer{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es ProfilesContainersSlice) MoveAndAppendTo(dest ProfilesContainersSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es ProfilesContainersSlice) RemoveIf(f func(ProfileContainer) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es ProfilesContainersSlice) CopyTo(dest ProfilesContainersSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ for i := range *es.orig {
+ newProfileContainer((*es.orig)[i], es.state).CopyTo(newProfileContainer((*dest.orig)[i], dest.state))
+ }
+ return
+ }
+ origs := make([]otlpprofiles.ProfileContainer, srcLen)
+ wrappers := make([]*otlpprofiles.ProfileContainer, srcLen)
+ for i := range *es.orig {
+ wrappers[i] = &origs[i]
+ newProfileContainer((*es.orig)[i], es.state).CopyTo(newProfileContainer(wrappers[i], dest.state))
+ }
+ *dest.orig = wrappers
+}
+
+// Sort sorts the ProfileContainer elements within ProfilesContainersSlice given the
+// provided less function so that two instances of ProfilesContainersSlice
+// can be compared.
+func (es ProfilesContainersSlice) Sort(less func(a, b ProfileContainer) bool) {
+ es.state.AssertMutable()
+ sort.SliceStable(*es.orig, func(i, j int) bool { return less(es.At(i), es.At(j)) })
+}
diff --git a/pdata/pprofile/generated_profilescontainersslice_test.go b/pdata/pprofile/generated_profilescontainersslice_test.go
new file mode 100644
index 00000000000..428fd677c3a
--- /dev/null
+++ b/pdata/pprofile/generated_profilescontainersslice_test.go
@@ -0,0 +1,154 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+ "unsafe"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestProfilesContainersSlice(t *testing.T) {
+ es := NewProfilesContainersSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newProfilesContainersSlice(&[]*otlpprofiles.ProfileContainer{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewProfileContainer()
+ testVal := generateTestProfileContainer()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestProfileContainer(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestProfilesContainersSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newProfilesContainersSlice(&[]*otlpprofiles.ProfileContainer{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewProfilesContainersSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestProfilesContainersSlice_CopyTo(t *testing.T) {
+ dest := NewProfilesContainersSlice()
+ // Test CopyTo to empty
+ NewProfilesContainersSlice().CopyTo(dest)
+ assert.Equal(t, NewProfilesContainersSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestProfilesContainersSlice().CopyTo(dest)
+ assert.Equal(t, generateTestProfilesContainersSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestProfilesContainersSlice().CopyTo(dest)
+ assert.Equal(t, generateTestProfilesContainersSlice(), dest)
+}
+
+func TestProfilesContainersSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestProfilesContainersSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestProfilesContainersSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestProfilesContainersSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestProfilesContainersSlice(), es)
+}
+
+func TestProfilesContainersSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestProfilesContainersSlice()
+ dest := NewProfilesContainersSlice()
+ src := generateTestProfilesContainersSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestProfilesContainersSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestProfilesContainersSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestProfilesContainersSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestProfilesContainersSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewProfilesContainersSlice()
+ emptySlice.RemoveIf(func(el ProfileContainer) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestProfilesContainersSlice()
+ pos := 0
+ filtered.RemoveIf(func(el ProfileContainer) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func TestProfilesContainersSlice_Sort(t *testing.T) {
+ es := generateTestProfilesContainersSlice()
+ es.Sort(func(a, b ProfileContainer) bool {
+ return uintptr(unsafe.Pointer(a.orig)) < uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) < uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+ es.Sort(func(a, b ProfileContainer) bool {
+ return uintptr(unsafe.Pointer(a.orig)) > uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) > uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+}
+
+func generateTestProfilesContainersSlice() ProfilesContainersSlice {
+ es := NewProfilesContainersSlice()
+ fillTestProfilesContainersSlice(es)
+ return es
+}
+
+func fillTestProfilesContainersSlice(es ProfilesContainersSlice) {
+ *es.orig = make([]*otlpprofiles.ProfileContainer, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = &otlpprofiles.ProfileContainer{}
+ fillTestProfileContainer(newProfileContainer((*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_resourceprofiles.go b/pdata/pprofile/generated_resourceprofiles.go
new file mode 100644
index 00000000000..35c0161d7d7
--- /dev/null
+++ b/pdata/pprofile/generated_resourceprofiles.go
@@ -0,0 +1,76 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// ResourceProfiles is a collection of profiles from a Resource.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewResourceProfiles function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ResourceProfiles struct {
+ orig *otlpprofiles.ResourceProfiles
+ state *internal.State
+}
+
+func newResourceProfiles(orig *otlpprofiles.ResourceProfiles, state *internal.State) ResourceProfiles {
+ return ResourceProfiles{orig: orig, state: state}
+}
+
+// NewResourceProfiles creates a new empty ResourceProfiles.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewResourceProfiles() ResourceProfiles {
+ state := internal.StateMutable
+ return newResourceProfiles(&otlpprofiles.ResourceProfiles{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms ResourceProfiles) MoveTo(dest ResourceProfiles) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.ResourceProfiles{}
+}
+
+// Resource returns the resource associated with this ResourceProfiles.
+func (ms ResourceProfiles) Resource() pcommon.Resource {
+ return pcommon.Resource(internal.NewResource(&ms.orig.Resource, ms.state))
+}
+
+// SchemaUrl returns the schemaurl associated with this ResourceProfiles.
+func (ms ResourceProfiles) SchemaUrl() string {
+ return ms.orig.SchemaUrl
+}
+
+// SetSchemaUrl replaces the schemaurl associated with this ResourceProfiles.
+func (ms ResourceProfiles) SetSchemaUrl(v string) {
+ ms.state.AssertMutable()
+ ms.orig.SchemaUrl = v
+}
+
+// ScopeProfiles returns the ScopeProfiles associated with this ResourceProfiles.
+func (ms ResourceProfiles) ScopeProfiles() ScopeProfilesSlice {
+ return newScopeProfilesSlice(&ms.orig.ScopeProfiles, ms.state)
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms ResourceProfiles) CopyTo(dest ResourceProfiles) {
+ dest.state.AssertMutable()
+ ms.Resource().CopyTo(dest.Resource())
+ dest.SetSchemaUrl(ms.SchemaUrl())
+ ms.ScopeProfiles().CopyTo(dest.ScopeProfiles())
+}
diff --git a/pdata/pprofile/generated_resourceprofiles_test.go b/pdata/pprofile/generated_resourceprofiles_test.go
new file mode 100644
index 00000000000..b4da47c3a8c
--- /dev/null
+++ b/pdata/pprofile/generated_resourceprofiles_test.go
@@ -0,0 +1,76 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestResourceProfiles_MoveTo(t *testing.T) {
+ ms := generateTestResourceProfiles()
+ dest := NewResourceProfiles()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewResourceProfiles(), ms)
+ assert.Equal(t, generateTestResourceProfiles(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newResourceProfiles(&otlpprofiles.ResourceProfiles{}, &sharedState)) })
+ assert.Panics(t, func() { newResourceProfiles(&otlpprofiles.ResourceProfiles{}, &sharedState).MoveTo(dest) })
+}
+
+func TestResourceProfiles_CopyTo(t *testing.T) {
+ ms := NewResourceProfiles()
+ orig := NewResourceProfiles()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestResourceProfiles()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newResourceProfiles(&otlpprofiles.ResourceProfiles{}, &sharedState)) })
+}
+
+func TestResourceProfiles_Resource(t *testing.T) {
+ ms := NewResourceProfiles()
+ internal.FillTestResource(internal.Resource(ms.Resource()))
+ assert.Equal(t, pcommon.Resource(internal.GenerateTestResource()), ms.Resource())
+}
+
+func TestResourceProfiles_SchemaUrl(t *testing.T) {
+ ms := NewResourceProfiles()
+ assert.Equal(t, "", ms.SchemaUrl())
+ ms.SetSchemaUrl("https://opentelemetry.io/schemas/1.5.0")
+ assert.Equal(t, "https://opentelemetry.io/schemas/1.5.0", ms.SchemaUrl())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newResourceProfiles(&otlpprofiles.ResourceProfiles{}, &sharedState).SetSchemaUrl("https://opentelemetry.io/schemas/1.5.0")
+ })
+}
+
+func TestResourceProfiles_ScopeProfiles(t *testing.T) {
+ ms := NewResourceProfiles()
+ assert.Equal(t, NewScopeProfilesSlice(), ms.ScopeProfiles())
+ fillTestScopeProfilesSlice(ms.ScopeProfiles())
+ assert.Equal(t, generateTestScopeProfilesSlice(), ms.ScopeProfiles())
+}
+
+func generateTestResourceProfiles() ResourceProfiles {
+ tv := NewResourceProfiles()
+ fillTestResourceProfiles(tv)
+ return tv
+}
+
+func fillTestResourceProfiles(tv ResourceProfiles) {
+ internal.FillTestResource(internal.NewResource(&tv.orig.Resource, tv.state))
+ tv.orig.SchemaUrl = "https://opentelemetry.io/schemas/1.5.0"
+ fillTestScopeProfilesSlice(newScopeProfilesSlice(&tv.orig.ScopeProfiles, tv.state))
+}
diff --git a/pdata/pprofile/generated_resourceprofilesslice.go b/pdata/pprofile/generated_resourceprofilesslice.go
new file mode 100644
index 00000000000..b8ea2a71ba1
--- /dev/null
+++ b/pdata/pprofile/generated_resourceprofilesslice.go
@@ -0,0 +1,152 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "sort"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// ResourceProfilesSlice logically represents a slice of ResourceProfiles.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewResourceProfilesSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ResourceProfilesSlice struct {
+ orig *[]*otlpprofiles.ResourceProfiles
+ state *internal.State
+}
+
+func newResourceProfilesSlice(orig *[]*otlpprofiles.ResourceProfiles, state *internal.State) ResourceProfilesSlice {
+ return ResourceProfilesSlice{orig: orig, state: state}
+}
+
+// NewResourceProfilesSlice creates a ResourceProfilesSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewResourceProfilesSlice() ResourceProfilesSlice {
+ orig := []*otlpprofiles.ResourceProfiles(nil)
+ state := internal.StateMutable
+ return newResourceProfilesSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewResourceProfilesSlice()".
+func (es ResourceProfilesSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es ResourceProfilesSlice) At(i int) ResourceProfiles {
+ return newResourceProfiles((*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new ResourceProfilesSlice can be initialized:
+//
+// es := NewResourceProfilesSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es ResourceProfilesSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]*otlpprofiles.ResourceProfiles, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty ResourceProfiles.
+// It returns the newly added ResourceProfiles.
+func (es ResourceProfilesSlice) AppendEmpty() ResourceProfiles {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, &otlpprofiles.ResourceProfiles{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es ResourceProfilesSlice) MoveAndAppendTo(dest ResourceProfilesSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es ResourceProfilesSlice) RemoveIf(f func(ResourceProfiles) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es ResourceProfilesSlice) CopyTo(dest ResourceProfilesSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ for i := range *es.orig {
+ newResourceProfiles((*es.orig)[i], es.state).CopyTo(newResourceProfiles((*dest.orig)[i], dest.state))
+ }
+ return
+ }
+ origs := make([]otlpprofiles.ResourceProfiles, srcLen)
+ wrappers := make([]*otlpprofiles.ResourceProfiles, srcLen)
+ for i := range *es.orig {
+ wrappers[i] = &origs[i]
+ newResourceProfiles((*es.orig)[i], es.state).CopyTo(newResourceProfiles(wrappers[i], dest.state))
+ }
+ *dest.orig = wrappers
+}
+
+// Sort sorts the ResourceProfiles elements within ResourceProfilesSlice given the
+// provided less function so that two instances of ResourceProfilesSlice
+// can be compared.
+func (es ResourceProfilesSlice) Sort(less func(a, b ResourceProfiles) bool) {
+ es.state.AssertMutable()
+ sort.SliceStable(*es.orig, func(i, j int) bool { return less(es.At(i), es.At(j)) })
+}
diff --git a/pdata/pprofile/generated_resourceprofilesslice_test.go b/pdata/pprofile/generated_resourceprofilesslice_test.go
new file mode 100644
index 00000000000..3d319fc8b16
--- /dev/null
+++ b/pdata/pprofile/generated_resourceprofilesslice_test.go
@@ -0,0 +1,154 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+ "unsafe"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestResourceProfilesSlice(t *testing.T) {
+ es := NewResourceProfilesSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newResourceProfilesSlice(&[]*otlpprofiles.ResourceProfiles{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewResourceProfiles()
+ testVal := generateTestResourceProfiles()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestResourceProfiles(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestResourceProfilesSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newResourceProfilesSlice(&[]*otlpprofiles.ResourceProfiles{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewResourceProfilesSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestResourceProfilesSlice_CopyTo(t *testing.T) {
+ dest := NewResourceProfilesSlice()
+ // Test CopyTo to empty
+ NewResourceProfilesSlice().CopyTo(dest)
+ assert.Equal(t, NewResourceProfilesSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestResourceProfilesSlice().CopyTo(dest)
+ assert.Equal(t, generateTestResourceProfilesSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestResourceProfilesSlice().CopyTo(dest)
+ assert.Equal(t, generateTestResourceProfilesSlice(), dest)
+}
+
+func TestResourceProfilesSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestResourceProfilesSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestResourceProfilesSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestResourceProfilesSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestResourceProfilesSlice(), es)
+}
+
+func TestResourceProfilesSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestResourceProfilesSlice()
+ dest := NewResourceProfilesSlice()
+ src := generateTestResourceProfilesSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestResourceProfilesSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestResourceProfilesSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestResourceProfilesSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestResourceProfilesSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewResourceProfilesSlice()
+ emptySlice.RemoveIf(func(el ResourceProfiles) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestResourceProfilesSlice()
+ pos := 0
+ filtered.RemoveIf(func(el ResourceProfiles) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func TestResourceProfilesSlice_Sort(t *testing.T) {
+ es := generateTestResourceProfilesSlice()
+ es.Sort(func(a, b ResourceProfiles) bool {
+ return uintptr(unsafe.Pointer(a.orig)) < uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) < uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+ es.Sort(func(a, b ResourceProfiles) bool {
+ return uintptr(unsafe.Pointer(a.orig)) > uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) > uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+}
+
+func generateTestResourceProfilesSlice() ResourceProfilesSlice {
+ es := NewResourceProfilesSlice()
+ fillTestResourceProfilesSlice(es)
+ return es
+}
+
+func fillTestResourceProfilesSlice(es ResourceProfilesSlice) {
+ *es.orig = make([]*otlpprofiles.ResourceProfiles, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = &otlpprofiles.ResourceProfiles{}
+ fillTestResourceProfiles(newResourceProfiles((*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_sample.go b/pdata/pprofile/generated_sample.go
new file mode 100644
index 00000000000..3627b60f7e2
--- /dev/null
+++ b/pdata/pprofile/generated_sample.go
@@ -0,0 +1,130 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// Sample represents each record value encountered within a profiled program.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewSample function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type Sample struct {
+ orig *otlpprofiles.Sample
+ state *internal.State
+}
+
+func newSample(orig *otlpprofiles.Sample, state *internal.State) Sample {
+ return Sample{orig: orig, state: state}
+}
+
+// NewSample creates a new empty Sample.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewSample() Sample {
+ state := internal.StateMutable
+ return newSample(&otlpprofiles.Sample{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms Sample) MoveTo(dest Sample) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.Sample{}
+}
+
+// LocationIndex returns the LocationIndex associated with this Sample.
+func (ms Sample) LocationIndex() pcommon.UInt64Slice {
+ return pcommon.UInt64Slice(internal.NewUInt64Slice(&ms.orig.LocationIndex, ms.state))
+}
+
+// LocationsStartIndex returns the locationsstartindex associated with this Sample.
+func (ms Sample) LocationsStartIndex() uint64 {
+ return ms.orig.LocationsStartIndex
+}
+
+// SetLocationsStartIndex replaces the locationsstartindex associated with this Sample.
+func (ms Sample) SetLocationsStartIndex(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.LocationsStartIndex = v
+}
+
+// LocationsLength returns the locationslength associated with this Sample.
+func (ms Sample) LocationsLength() uint64 {
+ return ms.orig.LocationsLength
+}
+
+// SetLocationsLength replaces the locationslength associated with this Sample.
+func (ms Sample) SetLocationsLength(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.LocationsLength = v
+}
+
+// StacktraceIdIndex returns the stacktraceidindex associated with this Sample.
+func (ms Sample) StacktraceIdIndex() uint32 {
+ return ms.orig.StacktraceIdIndex
+}
+
+// SetStacktraceIdIndex replaces the stacktraceidindex associated with this Sample.
+func (ms Sample) SetStacktraceIdIndex(v uint32) {
+ ms.state.AssertMutable()
+ ms.orig.StacktraceIdIndex = v
+}
+
+// Value returns the Value associated with this Sample.
+func (ms Sample) Value() pcommon.Int64Slice {
+ return pcommon.Int64Slice(internal.NewInt64Slice(&ms.orig.Value, ms.state))
+}
+
+// Label returns the Label associated with this Sample.
+func (ms Sample) Label() LabelSlice {
+ return newLabelSlice(&ms.orig.Label, ms.state)
+}
+
+// Attributes returns the Attributes associated with this Sample.
+func (ms Sample) Attributes() pcommon.UInt64Slice {
+ return pcommon.UInt64Slice(internal.NewUInt64Slice(&ms.orig.Attributes, ms.state))
+}
+
+// Link returns the link associated with this Sample.
+func (ms Sample) Link() uint64 {
+ return ms.orig.Link
+}
+
+// SetLink replaces the link associated with this Sample.
+func (ms Sample) SetLink(v uint64) {
+ ms.state.AssertMutable()
+ ms.orig.Link = v
+}
+
+// TimestampsUnixNano returns the TimestampsUnixNano associated with this Sample.
+func (ms Sample) TimestampsUnixNano() pcommon.UInt64Slice {
+ return pcommon.UInt64Slice(internal.NewUInt64Slice(&ms.orig.TimestampsUnixNano, ms.state))
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms Sample) CopyTo(dest Sample) {
+ dest.state.AssertMutable()
+ ms.LocationIndex().CopyTo(dest.LocationIndex())
+ dest.SetLocationsStartIndex(ms.LocationsStartIndex())
+ dest.SetLocationsLength(ms.LocationsLength())
+ dest.SetStacktraceIdIndex(ms.StacktraceIdIndex())
+ ms.Value().CopyTo(dest.Value())
+ ms.Label().CopyTo(dest.Label())
+ ms.Attributes().CopyTo(dest.Attributes())
+ dest.SetLink(ms.Link())
+ ms.TimestampsUnixNano().CopyTo(dest.TimestampsUnixNano())
+}
diff --git a/pdata/pprofile/generated_sample_test.go b/pdata/pprofile/generated_sample_test.go
new file mode 100644
index 00000000000..bebc54b18ea
--- /dev/null
+++ b/pdata/pprofile/generated_sample_test.go
@@ -0,0 +1,129 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestSample_MoveTo(t *testing.T) {
+ ms := generateTestSample()
+ dest := NewSample()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewSample(), ms)
+ assert.Equal(t, generateTestSample(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newSample(&otlpprofiles.Sample{}, &sharedState)) })
+ assert.Panics(t, func() { newSample(&otlpprofiles.Sample{}, &sharedState).MoveTo(dest) })
+}
+
+func TestSample_CopyTo(t *testing.T) {
+ ms := NewSample()
+ orig := NewSample()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestSample()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newSample(&otlpprofiles.Sample{}, &sharedState)) })
+}
+
+func TestSample_LocationIndex(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, pcommon.NewUInt64Slice(), ms.LocationIndex())
+ internal.FillTestUInt64Slice(internal.UInt64Slice(ms.LocationIndex()))
+ assert.Equal(t, pcommon.UInt64Slice(internal.GenerateTestUInt64Slice()), ms.LocationIndex())
+}
+
+func TestSample_LocationsStartIndex(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, uint64(0), ms.LocationsStartIndex())
+ ms.SetLocationsStartIndex(uint64(1))
+ assert.Equal(t, uint64(1), ms.LocationsStartIndex())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newSample(&otlpprofiles.Sample{}, &sharedState).SetLocationsStartIndex(uint64(1)) })
+}
+
+func TestSample_LocationsLength(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, uint64(0), ms.LocationsLength())
+ ms.SetLocationsLength(uint64(1))
+ assert.Equal(t, uint64(1), ms.LocationsLength())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newSample(&otlpprofiles.Sample{}, &sharedState).SetLocationsLength(uint64(1)) })
+}
+
+func TestSample_StacktraceIdIndex(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, uint32(0), ms.StacktraceIdIndex())
+ ms.SetStacktraceIdIndex(uint32(1))
+ assert.Equal(t, uint32(1), ms.StacktraceIdIndex())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newSample(&otlpprofiles.Sample{}, &sharedState).SetStacktraceIdIndex(uint32(1)) })
+}
+
+func TestSample_Value(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, pcommon.NewInt64Slice(), ms.Value())
+ internal.FillTestInt64Slice(internal.Int64Slice(ms.Value()))
+ assert.Equal(t, pcommon.Int64Slice(internal.GenerateTestInt64Slice()), ms.Value())
+}
+
+func TestSample_Label(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, NewLabelSlice(), ms.Label())
+ fillTestLabelSlice(ms.Label())
+ assert.Equal(t, generateTestLabelSlice(), ms.Label())
+}
+
+func TestSample_Attributes(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, pcommon.NewUInt64Slice(), ms.Attributes())
+ internal.FillTestUInt64Slice(internal.UInt64Slice(ms.Attributes()))
+ assert.Equal(t, pcommon.UInt64Slice(internal.GenerateTestUInt64Slice()), ms.Attributes())
+}
+
+func TestSample_Link(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, uint64(0), ms.Link())
+ ms.SetLink(uint64(1))
+ assert.Equal(t, uint64(1), ms.Link())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newSample(&otlpprofiles.Sample{}, &sharedState).SetLink(uint64(1)) })
+}
+
+func TestSample_TimestampsUnixNano(t *testing.T) {
+ ms := NewSample()
+ assert.Equal(t, pcommon.NewUInt64Slice(), ms.TimestampsUnixNano())
+ internal.FillTestUInt64Slice(internal.UInt64Slice(ms.TimestampsUnixNano()))
+ assert.Equal(t, pcommon.UInt64Slice(internal.GenerateTestUInt64Slice()), ms.TimestampsUnixNano())
+}
+
+func generateTestSample() Sample {
+ tv := NewSample()
+ fillTestSample(tv)
+ return tv
+}
+
+func fillTestSample(tv Sample) {
+ internal.FillTestUInt64Slice(internal.NewUInt64Slice(&tv.orig.LocationIndex, tv.state))
+ tv.orig.LocationsStartIndex = uint64(1)
+ tv.orig.LocationsLength = uint64(1)
+ tv.orig.StacktraceIdIndex = uint32(1)
+ internal.FillTestInt64Slice(internal.NewInt64Slice(&tv.orig.Value, tv.state))
+ fillTestLabelSlice(newLabelSlice(&tv.orig.Label, tv.state))
+ internal.FillTestUInt64Slice(internal.NewUInt64Slice(&tv.orig.Attributes, tv.state))
+ tv.orig.Link = uint64(1)
+ internal.FillTestUInt64Slice(internal.NewUInt64Slice(&tv.orig.TimestampsUnixNano, tv.state))
+}
diff --git a/pdata/pprofile/generated_sampleslice.go b/pdata/pprofile/generated_sampleslice.go
new file mode 100644
index 00000000000..da2a128cd6f
--- /dev/null
+++ b/pdata/pprofile/generated_sampleslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// SampleSlice logically represents a slice of Sample.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewSampleSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type SampleSlice struct {
+ orig *[]otlpprofiles.Sample
+ state *internal.State
+}
+
+func newSampleSlice(orig *[]otlpprofiles.Sample, state *internal.State) SampleSlice {
+ return SampleSlice{orig: orig, state: state}
+}
+
+// NewSampleSlice creates a SampleSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewSampleSlice() SampleSlice {
+ orig := []otlpprofiles.Sample(nil)
+ state := internal.StateMutable
+ return newSampleSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewSampleSlice()".
+func (es SampleSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es SampleSlice) At(i int) Sample {
+ return newSample(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new SampleSlice can be initialized:
+//
+// es := NewSampleSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es SampleSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.Sample, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty Sample.
+// It returns the newly added Sample.
+func (es SampleSlice) AppendEmpty() Sample {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.Sample{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es SampleSlice) MoveAndAppendTo(dest SampleSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es SampleSlice) RemoveIf(f func(Sample) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es SampleSlice) CopyTo(dest SampleSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.Sample, srcLen)
+ }
+ for i := range *es.orig {
+ newSample(&(*es.orig)[i], es.state).CopyTo(newSample(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_sampleslice_test.go b/pdata/pprofile/generated_sampleslice_test.go
new file mode 100644
index 00000000000..7533e51cc45
--- /dev/null
+++ b/pdata/pprofile/generated_sampleslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestSampleSlice(t *testing.T) {
+ es := NewSampleSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newSampleSlice(&[]otlpprofiles.Sample{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewSample()
+ testVal := generateTestSample()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestSample(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestSampleSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newSampleSlice(&[]otlpprofiles.Sample{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewSampleSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestSampleSlice_CopyTo(t *testing.T) {
+ dest := NewSampleSlice()
+ // Test CopyTo to empty
+ NewSampleSlice().CopyTo(dest)
+ assert.Equal(t, NewSampleSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestSampleSlice().CopyTo(dest)
+ assert.Equal(t, generateTestSampleSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestSampleSlice().CopyTo(dest)
+ assert.Equal(t, generateTestSampleSlice(), dest)
+}
+
+func TestSampleSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestSampleSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestSampleSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestSampleSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestSampleSlice(), es)
+}
+
+func TestSampleSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestSampleSlice()
+ dest := NewSampleSlice()
+ src := generateTestSampleSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestSampleSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestSampleSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestSampleSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestSampleSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewSampleSlice()
+ emptySlice.RemoveIf(func(el Sample) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestSampleSlice()
+ pos := 0
+ filtered.RemoveIf(func(el Sample) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestSampleSlice() SampleSlice {
+ es := NewSampleSlice()
+ fillTestSampleSlice(es)
+ return es
+}
+
+func fillTestSampleSlice(es SampleSlice) {
+ *es.orig = make([]otlpprofiles.Sample, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.Sample{}
+ fillTestSample(newSample(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_scopeprofiles.go b/pdata/pprofile/generated_scopeprofiles.go
new file mode 100644
index 00000000000..e213b2660ba
--- /dev/null
+++ b/pdata/pprofile/generated_scopeprofiles.go
@@ -0,0 +1,76 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+// ScopeProfiles is a collection of profiles from a LibraryInstrumentation.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewScopeProfiles function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ScopeProfiles struct {
+ orig *otlpprofiles.ScopeProfiles
+ state *internal.State
+}
+
+func newScopeProfiles(orig *otlpprofiles.ScopeProfiles, state *internal.State) ScopeProfiles {
+ return ScopeProfiles{orig: orig, state: state}
+}
+
+// NewScopeProfiles creates a new empty ScopeProfiles.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewScopeProfiles() ScopeProfiles {
+ state := internal.StateMutable
+ return newScopeProfiles(&otlpprofiles.ScopeProfiles{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms ScopeProfiles) MoveTo(dest ScopeProfiles) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.ScopeProfiles{}
+}
+
+// Scope returns the scope associated with this ScopeProfiles.
+func (ms ScopeProfiles) Scope() pcommon.InstrumentationScope {
+ return pcommon.InstrumentationScope(internal.NewInstrumentationScope(&ms.orig.Scope, ms.state))
+}
+
+// SchemaUrl returns the schemaurl associated with this ScopeProfiles.
+func (ms ScopeProfiles) SchemaUrl() string {
+ return ms.orig.SchemaUrl
+}
+
+// SetSchemaUrl replaces the schemaurl associated with this ScopeProfiles.
+func (ms ScopeProfiles) SetSchemaUrl(v string) {
+ ms.state.AssertMutable()
+ ms.orig.SchemaUrl = v
+}
+
+// Profiles returns the Profiles associated with this ScopeProfiles.
+func (ms ScopeProfiles) Profiles() ProfilesContainersSlice {
+ return newProfilesContainersSlice(&ms.orig.Profiles, ms.state)
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms ScopeProfiles) CopyTo(dest ScopeProfiles) {
+ dest.state.AssertMutable()
+ ms.Scope().CopyTo(dest.Scope())
+ dest.SetSchemaUrl(ms.SchemaUrl())
+ ms.Profiles().CopyTo(dest.Profiles())
+}
diff --git a/pdata/pprofile/generated_scopeprofiles_test.go b/pdata/pprofile/generated_scopeprofiles_test.go
new file mode 100644
index 00000000000..42fa23907f6
--- /dev/null
+++ b/pdata/pprofile/generated_scopeprofiles_test.go
@@ -0,0 +1,76 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+ "go.opentelemetry.io/collector/pdata/pcommon"
+)
+
+func TestScopeProfiles_MoveTo(t *testing.T) {
+ ms := generateTestScopeProfiles()
+ dest := NewScopeProfiles()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewScopeProfiles(), ms)
+ assert.Equal(t, generateTestScopeProfiles(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newScopeProfiles(&otlpprofiles.ScopeProfiles{}, &sharedState)) })
+ assert.Panics(t, func() { newScopeProfiles(&otlpprofiles.ScopeProfiles{}, &sharedState).MoveTo(dest) })
+}
+
+func TestScopeProfiles_CopyTo(t *testing.T) {
+ ms := NewScopeProfiles()
+ orig := NewScopeProfiles()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestScopeProfiles()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newScopeProfiles(&otlpprofiles.ScopeProfiles{}, &sharedState)) })
+}
+
+func TestScopeProfiles_Scope(t *testing.T) {
+ ms := NewScopeProfiles()
+ internal.FillTestInstrumentationScope(internal.InstrumentationScope(ms.Scope()))
+ assert.Equal(t, pcommon.InstrumentationScope(internal.GenerateTestInstrumentationScope()), ms.Scope())
+}
+
+func TestScopeProfiles_SchemaUrl(t *testing.T) {
+ ms := NewScopeProfiles()
+ assert.Equal(t, "", ms.SchemaUrl())
+ ms.SetSchemaUrl("https://opentelemetry.io/schemas/1.5.0")
+ assert.Equal(t, "https://opentelemetry.io/schemas/1.5.0", ms.SchemaUrl())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newScopeProfiles(&otlpprofiles.ScopeProfiles{}, &sharedState).SetSchemaUrl("https://opentelemetry.io/schemas/1.5.0")
+ })
+}
+
+func TestScopeProfiles_Profiles(t *testing.T) {
+ ms := NewScopeProfiles()
+ assert.Equal(t, NewProfilesContainersSlice(), ms.Profiles())
+ fillTestProfilesContainersSlice(ms.Profiles())
+ assert.Equal(t, generateTestProfilesContainersSlice(), ms.Profiles())
+}
+
+func generateTestScopeProfiles() ScopeProfiles {
+ tv := NewScopeProfiles()
+ fillTestScopeProfiles(tv)
+ return tv
+}
+
+func fillTestScopeProfiles(tv ScopeProfiles) {
+ internal.FillTestInstrumentationScope(internal.NewInstrumentationScope(&tv.orig.Scope, tv.state))
+ tv.orig.SchemaUrl = "https://opentelemetry.io/schemas/1.5.0"
+ fillTestProfilesContainersSlice(newProfilesContainersSlice(&tv.orig.Profiles, tv.state))
+}
diff --git a/pdata/pprofile/generated_scopeprofilesslice.go b/pdata/pprofile/generated_scopeprofilesslice.go
new file mode 100644
index 00000000000..766ee38310b
--- /dev/null
+++ b/pdata/pprofile/generated_scopeprofilesslice.go
@@ -0,0 +1,152 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "sort"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// ScopeProfilesSlice logically represents a slice of ScopeProfiles.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewScopeProfilesSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ScopeProfilesSlice struct {
+ orig *[]*otlpprofiles.ScopeProfiles
+ state *internal.State
+}
+
+func newScopeProfilesSlice(orig *[]*otlpprofiles.ScopeProfiles, state *internal.State) ScopeProfilesSlice {
+ return ScopeProfilesSlice{orig: orig, state: state}
+}
+
+// NewScopeProfilesSlice creates a ScopeProfilesSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewScopeProfilesSlice() ScopeProfilesSlice {
+ orig := []*otlpprofiles.ScopeProfiles(nil)
+ state := internal.StateMutable
+ return newScopeProfilesSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewScopeProfilesSlice()".
+func (es ScopeProfilesSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es ScopeProfilesSlice) At(i int) ScopeProfiles {
+ return newScopeProfiles((*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new ScopeProfilesSlice can be initialized:
+//
+// es := NewScopeProfilesSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es ScopeProfilesSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]*otlpprofiles.ScopeProfiles, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty ScopeProfiles.
+// It returns the newly added ScopeProfiles.
+func (es ScopeProfilesSlice) AppendEmpty() ScopeProfiles {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, &otlpprofiles.ScopeProfiles{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es ScopeProfilesSlice) MoveAndAppendTo(dest ScopeProfilesSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es ScopeProfilesSlice) RemoveIf(f func(ScopeProfiles) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es ScopeProfilesSlice) CopyTo(dest ScopeProfilesSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ for i := range *es.orig {
+ newScopeProfiles((*es.orig)[i], es.state).CopyTo(newScopeProfiles((*dest.orig)[i], dest.state))
+ }
+ return
+ }
+ origs := make([]otlpprofiles.ScopeProfiles, srcLen)
+ wrappers := make([]*otlpprofiles.ScopeProfiles, srcLen)
+ for i := range *es.orig {
+ wrappers[i] = &origs[i]
+ newScopeProfiles((*es.orig)[i], es.state).CopyTo(newScopeProfiles(wrappers[i], dest.state))
+ }
+ *dest.orig = wrappers
+}
+
+// Sort sorts the ScopeProfiles elements within ScopeProfilesSlice given the
+// provided less function so that two instances of ScopeProfilesSlice
+// can be compared.
+func (es ScopeProfilesSlice) Sort(less func(a, b ScopeProfiles) bool) {
+ es.state.AssertMutable()
+ sort.SliceStable(*es.orig, func(i, j int) bool { return less(es.At(i), es.At(j)) })
+}
diff --git a/pdata/pprofile/generated_scopeprofilesslice_test.go b/pdata/pprofile/generated_scopeprofilesslice_test.go
new file mode 100644
index 00000000000..831dafdec09
--- /dev/null
+++ b/pdata/pprofile/generated_scopeprofilesslice_test.go
@@ -0,0 +1,154 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+ "unsafe"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestScopeProfilesSlice(t *testing.T) {
+ es := NewScopeProfilesSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newScopeProfilesSlice(&[]*otlpprofiles.ScopeProfiles{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewScopeProfiles()
+ testVal := generateTestScopeProfiles()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestScopeProfiles(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestScopeProfilesSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newScopeProfilesSlice(&[]*otlpprofiles.ScopeProfiles{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewScopeProfilesSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestScopeProfilesSlice_CopyTo(t *testing.T) {
+ dest := NewScopeProfilesSlice()
+ // Test CopyTo to empty
+ NewScopeProfilesSlice().CopyTo(dest)
+ assert.Equal(t, NewScopeProfilesSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestScopeProfilesSlice().CopyTo(dest)
+ assert.Equal(t, generateTestScopeProfilesSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestScopeProfilesSlice().CopyTo(dest)
+ assert.Equal(t, generateTestScopeProfilesSlice(), dest)
+}
+
+func TestScopeProfilesSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestScopeProfilesSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestScopeProfilesSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestScopeProfilesSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestScopeProfilesSlice(), es)
+}
+
+func TestScopeProfilesSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestScopeProfilesSlice()
+ dest := NewScopeProfilesSlice()
+ src := generateTestScopeProfilesSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestScopeProfilesSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestScopeProfilesSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestScopeProfilesSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestScopeProfilesSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewScopeProfilesSlice()
+ emptySlice.RemoveIf(func(el ScopeProfiles) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestScopeProfilesSlice()
+ pos := 0
+ filtered.RemoveIf(func(el ScopeProfiles) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func TestScopeProfilesSlice_Sort(t *testing.T) {
+ es := generateTestScopeProfilesSlice()
+ es.Sort(func(a, b ScopeProfiles) bool {
+ return uintptr(unsafe.Pointer(a.orig)) < uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) < uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+ es.Sort(func(a, b ScopeProfiles) bool {
+ return uintptr(unsafe.Pointer(a.orig)) > uintptr(unsafe.Pointer(b.orig))
+ })
+ for i := 1; i < es.Len(); i++ {
+ assert.True(t, uintptr(unsafe.Pointer(es.At(i-1).orig)) > uintptr(unsafe.Pointer(es.At(i).orig)))
+ }
+}
+
+func generateTestScopeProfilesSlice() ScopeProfilesSlice {
+ es := NewScopeProfilesSlice()
+ fillTestScopeProfilesSlice(es)
+ return es
+}
+
+func fillTestScopeProfilesSlice(es ScopeProfilesSlice) {
+ *es.orig = make([]*otlpprofiles.ScopeProfiles, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = &otlpprofiles.ScopeProfiles{}
+ fillTestScopeProfiles(newScopeProfiles((*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/generated_valuetype.go b/pdata/pprofile/generated_valuetype.go
new file mode 100644
index 00000000000..32280993a2d
--- /dev/null
+++ b/pdata/pprofile/generated_valuetype.go
@@ -0,0 +1,87 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// ValueType describes the type and units of a value, with an optional aggregation temporality.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewValueType function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ValueType struct {
+ orig *otlpprofiles.ValueType
+ state *internal.State
+}
+
+func newValueType(orig *otlpprofiles.ValueType, state *internal.State) ValueType {
+ return ValueType{orig: orig, state: state}
+}
+
+// NewValueType creates a new empty ValueType.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewValueType() ValueType {
+ state := internal.StateMutable
+ return newValueType(&otlpprofiles.ValueType{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms ValueType) MoveTo(dest ValueType) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpprofiles.ValueType{}
+}
+
+// Type returns the type associated with this ValueType.
+func (ms ValueType) Type() int64 {
+ return ms.orig.Type
+}
+
+// SetType replaces the type associated with this ValueType.
+func (ms ValueType) SetType(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Type = v
+}
+
+// Unit returns the unit associated with this ValueType.
+func (ms ValueType) Unit() int64 {
+ return ms.orig.Unit
+}
+
+// SetUnit replaces the unit associated with this ValueType.
+func (ms ValueType) SetUnit(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.Unit = v
+}
+
+// AggregationTemporality returns the aggregationtemporality associated with this ValueType.
+func (ms ValueType) AggregationTemporality() otlpprofiles.AggregationTemporality {
+ return ms.orig.AggregationTemporality
+}
+
+// SetAggregationTemporality replaces the aggregationtemporality associated with this ValueType.
+func (ms ValueType) SetAggregationTemporality(v otlpprofiles.AggregationTemporality) {
+ ms.state.AssertMutable()
+ ms.orig.AggregationTemporality = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms ValueType) CopyTo(dest ValueType) {
+ dest.state.AssertMutable()
+ dest.SetType(ms.Type())
+ dest.SetUnit(ms.Unit())
+ dest.SetAggregationTemporality(ms.AggregationTemporality())
+}
diff --git a/pdata/pprofile/generated_valuetype_test.go b/pdata/pprofile/generated_valuetype_test.go
new file mode 100644
index 00000000000..d2b557f2294
--- /dev/null
+++ b/pdata/pprofile/generated_valuetype_test.go
@@ -0,0 +1,80 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestValueType_MoveTo(t *testing.T) {
+ ms := generateTestValueType()
+ dest := NewValueType()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewValueType(), ms)
+ assert.Equal(t, generateTestValueType(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.MoveTo(newValueType(&otlpprofiles.ValueType{}, &sharedState)) })
+ assert.Panics(t, func() { newValueType(&otlpprofiles.ValueType{}, &sharedState).MoveTo(dest) })
+}
+
+func TestValueType_CopyTo(t *testing.T) {
+ ms := NewValueType()
+ orig := NewValueType()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestValueType()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { ms.CopyTo(newValueType(&otlpprofiles.ValueType{}, &sharedState)) })
+}
+
+func TestValueType_Type(t *testing.T) {
+ ms := NewValueType()
+ assert.Equal(t, int64(0), ms.Type())
+ ms.SetType(int64(1))
+ assert.Equal(t, int64(1), ms.Type())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newValueType(&otlpprofiles.ValueType{}, &sharedState).SetType(int64(1)) })
+}
+
+func TestValueType_Unit(t *testing.T) {
+ ms := NewValueType()
+ assert.Equal(t, int64(0), ms.Unit())
+ ms.SetUnit(int64(1))
+ assert.Equal(t, int64(1), ms.Unit())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() { newValueType(&otlpprofiles.ValueType{}, &sharedState).SetUnit(int64(1)) })
+}
+
+func TestValueType_AggregationTemporality(t *testing.T) {
+ ms := NewValueType()
+ assert.Equal(t, otlpprofiles.AggregationTemporality(0), ms.AggregationTemporality())
+ ms.SetAggregationTemporality(otlpprofiles.AggregationTemporality(1))
+ assert.Equal(t, otlpprofiles.AggregationTemporality(1), ms.AggregationTemporality())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newValueType(&otlpprofiles.ValueType{}, &sharedState).SetAggregationTemporality(otlpprofiles.AggregationTemporality(1))
+ })
+}
+
+func generateTestValueType() ValueType {
+ tv := NewValueType()
+ fillTestValueType(tv)
+ return tv
+}
+
+func fillTestValueType(tv ValueType) {
+ tv.orig.Type = int64(1)
+ tv.orig.Unit = int64(1)
+ tv.orig.AggregationTemporality = otlpprofiles.AggregationTemporality(1)
+}
diff --git a/pdata/pprofile/generated_valuetypeslice.go b/pdata/pprofile/generated_valuetypeslice.go
new file mode 100644
index 00000000000..4049bbd2e16
--- /dev/null
+++ b/pdata/pprofile/generated_valuetypeslice.go
@@ -0,0 +1,136 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+// ValueTypeSlice logically represents a slice of ValueType.
+//
+// This is a reference type. If passed by value and callee modifies it, the
+// caller will see the modification.
+//
+// Must use NewValueTypeSlice function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ValueTypeSlice struct {
+ orig *[]otlpprofiles.ValueType
+ state *internal.State
+}
+
+func newValueTypeSlice(orig *[]otlpprofiles.ValueType, state *internal.State) ValueTypeSlice {
+ return ValueTypeSlice{orig: orig, state: state}
+}
+
+// NewValueTypeSlice creates a ValueTypeSlice with 0 elements.
+// Can use "EnsureCapacity" to initialize with a given capacity.
+func NewValueTypeSlice() ValueTypeSlice {
+ orig := []otlpprofiles.ValueType(nil)
+ state := internal.StateMutable
+ return newValueTypeSlice(&orig, &state)
+}
+
+// Len returns the number of elements in the slice.
+//
+// Returns "0" for a newly instance created with "NewValueTypeSlice()".
+func (es ValueTypeSlice) Len() int {
+ return len(*es.orig)
+}
+
+// At returns the element at the given index.
+//
+// This function is used mostly for iterating over all the values in the slice:
+//
+// for i := 0; i < es.Len(); i++ {
+// e := es.At(i)
+// ... // Do something with the element
+// }
+func (es ValueTypeSlice) At(i int) ValueType {
+ return newValueType(&(*es.orig)[i], es.state)
+}
+
+// EnsureCapacity is an operation that ensures the slice has at least the specified capacity.
+// 1. If the newCap <= cap then no change in capacity.
+// 2. If the newCap > cap then the slice capacity will be expanded to equal newCap.
+//
+// Here is how a new ValueTypeSlice can be initialized:
+//
+// es := NewValueTypeSlice()
+// es.EnsureCapacity(4)
+// for i := 0; i < 4; i++ {
+// e := es.AppendEmpty()
+// // Here should set all the values for e.
+// }
+func (es ValueTypeSlice) EnsureCapacity(newCap int) {
+ es.state.AssertMutable()
+ oldCap := cap(*es.orig)
+ if newCap <= oldCap {
+ return
+ }
+
+ newOrig := make([]otlpprofiles.ValueType, len(*es.orig), newCap)
+ copy(newOrig, *es.orig)
+ *es.orig = newOrig
+}
+
+// AppendEmpty will append to the end of the slice an empty ValueType.
+// It returns the newly added ValueType.
+func (es ValueTypeSlice) AppendEmpty() ValueType {
+ es.state.AssertMutable()
+ *es.orig = append(*es.orig, otlpprofiles.ValueType{})
+ return es.At(es.Len() - 1)
+}
+
+// MoveAndAppendTo moves all elements from the current slice and appends them to the dest.
+// The current slice will be cleared.
+func (es ValueTypeSlice) MoveAndAppendTo(dest ValueTypeSlice) {
+ es.state.AssertMutable()
+ dest.state.AssertMutable()
+ if *dest.orig == nil {
+ // We can simply move the entire vector and avoid any allocations.
+ *dest.orig = *es.orig
+ } else {
+ *dest.orig = append(*dest.orig, *es.orig...)
+ }
+ *es.orig = nil
+}
+
+// RemoveIf calls f sequentially for each element present in the slice.
+// If f returns true, the element is removed from the slice.
+func (es ValueTypeSlice) RemoveIf(f func(ValueType) bool) {
+ es.state.AssertMutable()
+ newLen := 0
+ for i := 0; i < len(*es.orig); i++ {
+ if f(es.At(i)) {
+ continue
+ }
+ if newLen == i {
+ // Nothing to move, element is at the right place.
+ newLen++
+ continue
+ }
+ (*es.orig)[newLen] = (*es.orig)[i]
+ newLen++
+ }
+ *es.orig = (*es.orig)[:newLen]
+}
+
+// CopyTo copies all elements from the current slice overriding the destination.
+func (es ValueTypeSlice) CopyTo(dest ValueTypeSlice) {
+ dest.state.AssertMutable()
+ srcLen := es.Len()
+ destCap := cap(*dest.orig)
+ if srcLen <= destCap {
+ (*dest.orig) = (*dest.orig)[:srcLen:destCap]
+ } else {
+ (*dest.orig) = make([]otlpprofiles.ValueType, srcLen)
+ }
+ for i := range *es.orig {
+ newValueType(&(*es.orig)[i], es.state).CopyTo(newValueType(&(*dest.orig)[i], dest.state))
+ }
+}
diff --git a/pdata/pprofile/generated_valuetypeslice_test.go b/pdata/pprofile/generated_valuetypeslice_test.go
new file mode 100644
index 00000000000..ac4ab1d7dab
--- /dev/null
+++ b/pdata/pprofile/generated_valuetypeslice_test.go
@@ -0,0 +1,137 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofile
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpprofiles "go.opentelemetry.io/collector/pdata/internal/data/protogen/profiles/v1experimental"
+)
+
+func TestValueTypeSlice(t *testing.T) {
+ es := NewValueTypeSlice()
+ assert.Equal(t, 0, es.Len())
+ state := internal.StateMutable
+ es = newValueTypeSlice(&[]otlpprofiles.ValueType{}, &state)
+ assert.Equal(t, 0, es.Len())
+
+ emptyVal := NewValueType()
+ testVal := generateTestValueType()
+ for i := 0; i < 7; i++ {
+ el := es.AppendEmpty()
+ assert.Equal(t, emptyVal, es.At(i))
+ fillTestValueType(el)
+ assert.Equal(t, testVal, es.At(i))
+ }
+ assert.Equal(t, 7, es.Len())
+}
+
+func TestValueTypeSliceReadOnly(t *testing.T) {
+ sharedState := internal.StateReadOnly
+ es := newValueTypeSlice(&[]otlpprofiles.ValueType{}, &sharedState)
+ assert.Equal(t, 0, es.Len())
+ assert.Panics(t, func() { es.AppendEmpty() })
+ assert.Panics(t, func() { es.EnsureCapacity(2) })
+ es2 := NewValueTypeSlice()
+ es.CopyTo(es2)
+ assert.Panics(t, func() { es2.CopyTo(es) })
+ assert.Panics(t, func() { es.MoveAndAppendTo(es2) })
+ assert.Panics(t, func() { es2.MoveAndAppendTo(es) })
+}
+
+func TestValueTypeSlice_CopyTo(t *testing.T) {
+ dest := NewValueTypeSlice()
+ // Test CopyTo to empty
+ NewValueTypeSlice().CopyTo(dest)
+ assert.Equal(t, NewValueTypeSlice(), dest)
+
+ // Test CopyTo larger slice
+ generateTestValueTypeSlice().CopyTo(dest)
+ assert.Equal(t, generateTestValueTypeSlice(), dest)
+
+ // Test CopyTo same size slice
+ generateTestValueTypeSlice().CopyTo(dest)
+ assert.Equal(t, generateTestValueTypeSlice(), dest)
+}
+
+func TestValueTypeSlice_EnsureCapacity(t *testing.T) {
+ es := generateTestValueTypeSlice()
+
+ // Test ensure smaller capacity.
+ const ensureSmallLen = 4
+ es.EnsureCapacity(ensureSmallLen)
+ assert.Less(t, ensureSmallLen, es.Len())
+ assert.Equal(t, es.Len(), cap(*es.orig))
+ assert.Equal(t, generateTestValueTypeSlice(), es)
+
+ // Test ensure larger capacity
+ const ensureLargeLen = 9
+ es.EnsureCapacity(ensureLargeLen)
+ assert.Less(t, generateTestValueTypeSlice().Len(), ensureLargeLen)
+ assert.Equal(t, ensureLargeLen, cap(*es.orig))
+ assert.Equal(t, generateTestValueTypeSlice(), es)
+}
+
+func TestValueTypeSlice_MoveAndAppendTo(t *testing.T) {
+ // Test MoveAndAppendTo to empty
+ expectedSlice := generateTestValueTypeSlice()
+ dest := NewValueTypeSlice()
+ src := generateTestValueTypeSlice()
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestValueTypeSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo empty slice
+ src.MoveAndAppendTo(dest)
+ assert.Equal(t, generateTestValueTypeSlice(), dest)
+ assert.Equal(t, 0, src.Len())
+ assert.Equal(t, expectedSlice.Len(), dest.Len())
+
+ // Test MoveAndAppendTo not empty slice
+ generateTestValueTypeSlice().MoveAndAppendTo(dest)
+ assert.Equal(t, 2*expectedSlice.Len(), dest.Len())
+ for i := 0; i < expectedSlice.Len(); i++ {
+ assert.Equal(t, expectedSlice.At(i), dest.At(i))
+ assert.Equal(t, expectedSlice.At(i), dest.At(i+expectedSlice.Len()))
+ }
+}
+
+func TestValueTypeSlice_RemoveIf(t *testing.T) {
+ // Test RemoveIf on empty slice
+ emptySlice := NewValueTypeSlice()
+ emptySlice.RemoveIf(func(el ValueType) bool {
+ t.Fail()
+ return false
+ })
+
+ // Test RemoveIf
+ filtered := generateTestValueTypeSlice()
+ pos := 0
+ filtered.RemoveIf(func(el ValueType) bool {
+ pos++
+ return pos%3 == 0
+ })
+ assert.Equal(t, 5, filtered.Len())
+}
+
+func generateTestValueTypeSlice() ValueTypeSlice {
+ es := NewValueTypeSlice()
+ fillTestValueTypeSlice(es)
+ return es
+}
+
+func fillTestValueTypeSlice(es ValueTypeSlice) {
+ *es.orig = make([]otlpprofiles.ValueType, 7)
+ for i := 0; i < 7; i++ {
+ (*es.orig)[i] = otlpprofiles.ValueType{}
+ fillTestValueType(newValueType(&(*es.orig)[i], es.state))
+ }
+}
diff --git a/pdata/pprofile/go.mod b/pdata/pprofile/go.mod
new file mode 100644
index 00000000000..570b7439844
--- /dev/null
+++ b/pdata/pprofile/go.mod
@@ -0,0 +1,27 @@
+module go.opentelemetry.io/collector/pdata/pprofile
+
+go 1.21.0
+
+toolchain go1.21.10
+
+require (
+ github.com/stretchr/testify v1.9.0
+ go.opentelemetry.io/collector/pdata v1.8.0
+)
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/gogo/protobuf v1.3.2 // indirect
+ github.com/kr/text v0.2.0 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ go.uber.org/multierr v1.11.0 // indirect
+ golang.org/x/net v0.23.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-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/grpc v1.64.0 // indirect
+ google.golang.org/protobuf v1.34.1 // indirect
+ gopkg.in/yaml.v3 v3.0.1 // indirect
+)
+
+replace go.opentelemetry.io/collector/pdata => ../
diff --git a/pdata/pprofile/go.sum b/pdata/pprofile/go.sum
new file mode 100644
index 00000000000..d4ff00537b4
--- /dev/null
+++ b/pdata/pprofile/go.sum
@@ -0,0 +1,67 @@
+github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
+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/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
+github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
+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/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.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
+github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
+github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
+github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
+github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+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/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=
+github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
+go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
+go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
+go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
+go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
+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.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs=
+golang.org/x/net v0.23.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=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
+golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
+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/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
+golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
+golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
+golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
+google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
+google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
+google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
+gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
+gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
+gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
diff --git a/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess.go b/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess.go
new file mode 100644
index 00000000000..2bc9e3dab81
--- /dev/null
+++ b/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess.go
@@ -0,0 +1,75 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofileotlp
+
+import (
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpcollectorprofile "go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/profiles/v1experimental"
+)
+
+// ExportPartialSuccess represents the details of a partially successful export request.
+//
+// This is a reference type, if passed by value and callee modifies it the
+// caller will see the modification.
+//
+// Must use NewExportPartialSuccess function to create new instances.
+// Important: zero-initialized instance is not valid for use.
+type ExportPartialSuccess struct {
+ orig *otlpcollectorprofile.ExportProfilesPartialSuccess
+ state *internal.State
+}
+
+func newExportPartialSuccess(orig *otlpcollectorprofile.ExportProfilesPartialSuccess, state *internal.State) ExportPartialSuccess {
+ return ExportPartialSuccess{orig: orig, state: state}
+}
+
+// NewExportPartialSuccess creates a new empty ExportPartialSuccess.
+//
+// This must be used only in testing code. Users should use "AppendEmpty" when part of a Slice,
+// OR directly access the member if this is embedded in another struct.
+func NewExportPartialSuccess() ExportPartialSuccess {
+ state := internal.StateMutable
+ return newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &state)
+}
+
+// MoveTo moves all properties from the current struct overriding the destination and
+// resetting the current instance to its zero value
+func (ms ExportPartialSuccess) MoveTo(dest ExportPartialSuccess) {
+ ms.state.AssertMutable()
+ dest.state.AssertMutable()
+ *dest.orig = *ms.orig
+ *ms.orig = otlpcollectorprofile.ExportProfilesPartialSuccess{}
+}
+
+// RejectedProfiles returns the rejectedprofiles associated with this ExportPartialSuccess.
+func (ms ExportPartialSuccess) RejectedProfiles() int64 {
+ return ms.orig.RejectedProfiles
+}
+
+// SetRejectedProfiles replaces the rejectedprofiles associated with this ExportPartialSuccess.
+func (ms ExportPartialSuccess) SetRejectedProfiles(v int64) {
+ ms.state.AssertMutable()
+ ms.orig.RejectedProfiles = v
+}
+
+// ErrorMessage returns the errormessage associated with this ExportPartialSuccess.
+func (ms ExportPartialSuccess) ErrorMessage() string {
+ return ms.orig.ErrorMessage
+}
+
+// SetErrorMessage replaces the errormessage associated with this ExportPartialSuccess.
+func (ms ExportPartialSuccess) SetErrorMessage(v string) {
+ ms.state.AssertMutable()
+ ms.orig.ErrorMessage = v
+}
+
+// CopyTo copies all properties from the current struct overriding the destination.
+func (ms ExportPartialSuccess) CopyTo(dest ExportPartialSuccess) {
+ dest.state.AssertMutable()
+ dest.SetRejectedProfiles(ms.RejectedProfiles())
+ dest.SetErrorMessage(ms.ErrorMessage())
+}
diff --git a/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess_test.go b/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess_test.go
new file mode 100644
index 00000000000..73eb11b3026
--- /dev/null
+++ b/pdata/pprofile/pprofileotlp/generated_exportpartialsuccess_test.go
@@ -0,0 +1,78 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated by "pdata/internal/cmd/pdatagen/main.go". DO NOT EDIT.
+// To regenerate this file run "make genpdata".
+
+package pprofileotlp
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+
+ "go.opentelemetry.io/collector/pdata/internal"
+ otlpcollectorprofile "go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/profiles/v1experimental"
+)
+
+func TestExportPartialSuccess_MoveTo(t *testing.T) {
+ ms := generateTestExportPartialSuccess()
+ dest := NewExportPartialSuccess()
+ ms.MoveTo(dest)
+ assert.Equal(t, NewExportPartialSuccess(), ms)
+ assert.Equal(t, generateTestExportPartialSuccess(), dest)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ ms.MoveTo(newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &sharedState))
+ })
+ assert.Panics(t, func() {
+ newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &sharedState).MoveTo(dest)
+ })
+}
+
+func TestExportPartialSuccess_CopyTo(t *testing.T) {
+ ms := NewExportPartialSuccess()
+ orig := NewExportPartialSuccess()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ orig = generateTestExportPartialSuccess()
+ orig.CopyTo(ms)
+ assert.Equal(t, orig, ms)
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ ms.CopyTo(newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &sharedState))
+ })
+}
+
+func TestExportPartialSuccess_RejectedProfiles(t *testing.T) {
+ ms := NewExportPartialSuccess()
+ assert.Equal(t, int64(0), ms.RejectedProfiles())
+ ms.SetRejectedProfiles(int64(13))
+ assert.Equal(t, int64(13), ms.RejectedProfiles())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &sharedState).SetRejectedProfiles(int64(13))
+ })
+}
+
+func TestExportPartialSuccess_ErrorMessage(t *testing.T) {
+ ms := NewExportPartialSuccess()
+ assert.Equal(t, "", ms.ErrorMessage())
+ ms.SetErrorMessage("error message")
+ assert.Equal(t, "error message", ms.ErrorMessage())
+ sharedState := internal.StateReadOnly
+ assert.Panics(t, func() {
+ newExportPartialSuccess(&otlpcollectorprofile.ExportProfilesPartialSuccess{}, &sharedState).SetErrorMessage("error message")
+ })
+}
+
+func generateTestExportPartialSuccess() ExportPartialSuccess {
+ tv := NewExportPartialSuccess()
+ fillTestExportPartialSuccess(tv)
+ return tv
+}
+
+func fillTestExportPartialSuccess(tv ExportPartialSuccess) {
+ tv.orig.RejectedProfiles = int64(13)
+ tv.orig.ErrorMessage = "error message"
+}
diff --git a/versions.yaml b/versions.yaml
index 16aea9585ee..53adcb6b4f8 100644
--- a/versions.yaml
+++ b/versions.yaml
@@ -46,6 +46,7 @@ module-sets:
- go.opentelemetry.io/collector/extension/zpagesextension
- go.opentelemetry.io/collector/extension/memorylimiterextension
- go.opentelemetry.io/collector/otelcol
+ - go.opentelemetry.io/collector/pdata/pprofile
- go.opentelemetry.io/collector/pdata/testdata
- go.opentelemetry.io/collector/processor
- go.opentelemetry.io/collector/processor/batchprocessor
From 8721a19d82a3f77933b788a2226a16b8bc0fe9d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juraci=20Paix=C3=A3o=20Kr=C3=B6hling?=
Date: Mon, 27 May 2024 17:26:07 +0200
Subject: [PATCH 074/111] [chore] fix schema for
telemetry/metrics/ (#10224)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Apparently there's an error on the schema for the telemetry node:
looking at a working example, I see this:
```
telemetry:
metrics:
processor_tail_sampling_sampling_decision_latency:
description: Latency (in microseconds) of a given sampling policy
unit: µs
enabled: true
histogram:
value_type: int
```
However, the current schema seems to indicate that the `metrics` node
shouldn't be there. This PR brings the schema to be in-line with the
code.
Signed-off-by: Juraci Paixão Kröhling
---
cmd/mdatagen/metadata-schema.yaml | 57 ++++++++++++++++---------------
1 file changed, 29 insertions(+), 28 deletions(-)
diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml
index c452758465f..a4c3af67b05 100644
--- a/cmd/mdatagen/metadata-schema.yaml
+++ b/cmd/mdatagen/metadata-schema.yaml
@@ -130,31 +130,32 @@ tests:
# Optional: map of metric names with the key being the metric name and value
# being described below.
telemetry:
- :
- # Required: whether the metric is collected by default.
- enabled: bool
- # Required: metric description.
- description:
- # Optional: extended documentation of the metric.
- extended_documentation:
- # Optional: warnings that will be shown to user under specified conditions.
- warnings:
- # A warning that will be displayed if the metric is enabled in user config.
- # Should be used for deprecated default metrics that will be removed soon.
- if_enabled:
- # A warning that will be displayed if `enabled` field is not set explicitly in user config.
- # Should be used for metrics that will be turned from default to optional or vice versa.
- if_enabled_not_set:
- # A warning that will be displayed if the metrics is configured by user in any way.
- # Should be used for deprecated optional metrics that will be removed soon.
- if_configured:
- # Required: metric unit as defined by https://ucum.org/ucum.html.
- unit:
- # Required: metric type with its settings.
- :
- # Required: type of number data point values.
- value_type:
- # Required for sum metric: whether the metric is monotonic (no negative delta values).
- monotonic: bool
- # Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
- attributes: [string]
+ metrics:
+ :
+ # Required: whether the metric is collected by default.
+ enabled: bool
+ # Required: metric description.
+ description:
+ # Optional: extended documentation of the metric.
+ extended_documentation:
+ # Optional: warnings that will be shown to user under specified conditions.
+ warnings:
+ # A warning that will be displayed if the metric is enabled in user config.
+ # Should be used for deprecated default metrics that will be removed soon.
+ if_enabled:
+ # A warning that will be displayed if `enabled` field is not set explicitly in user config.
+ # Should be used for metrics that will be turned from default to optional or vice versa.
+ if_enabled_not_set:
+ # A warning that will be displayed if the metrics is configured by user in any way.
+ # Should be used for deprecated optional metrics that will be removed soon.
+ if_configured:
+ # Required: metric unit as defined by https://ucum.org/ucum.html.
+ unit:
+ # Required: metric type with its settings.
+ :
+ # Required: type of number data point values.
+ value_type:
+ # Required for sum metric: whether the metric is monotonic (no negative delta values).
+ monotonic: bool
+ # Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
+ attributes: [string]
From caf0a1f5fd3bf20c3682c2456239fa949e7ade09 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Mon, 27 May 2024 09:09:35 -0700
Subject: [PATCH 075/111] [mdatagen] generate utility code to test telemetry
(#10212)
This will allow components to more easily test the telemetry they should
be emitting.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_add-mdatagen-testutility.yaml | 25 ++++++
cmd/mdatagen/embeded_templates_test.go | 29 +++----
cmd/mdatagen/go.mod | 2 +-
.../internal/samplereceiver/factory.go | 7 +-
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
.../internal/samplereceiver/metrics_test.go | 42 ++++++++++
cmd/mdatagen/main.go | 6 +-
cmd/mdatagen/statusdata.go | 1 +
.../component_telemetry_test.go.tmpl | 76 +++++++++++++++++++
cmd/mdatagen/templates/telemetry_test.go.tmpl | 3 +
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
exporter/exporterhelper/metadata.yaml | 3 +-
exporter/go.mod | 2 +-
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
processor/go.mod | 2 +-
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
processor/processorhelper/metadata.yaml | 3 +-
receiver/go.mod | 2 +-
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
receiver/receiverhelper/metadata.yaml | 3 +-
.../generated_component_telemetry_test.go | 76 +++++++++++++++++++
receiver/scraperhelper/metadata.yaml | 3 +-
22 files changed, 641 insertions(+), 24 deletions(-)
create mode 100644 .chloggen/codeboten_add-mdatagen-testutility.yaml
create mode 100644 cmd/mdatagen/internal/samplereceiver/generated_component_telemetry_test.go
create mode 100644 cmd/mdatagen/templates/component_telemetry_test.go.tmpl
create mode 100644 exporter/exporterhelper/generated_component_telemetry_test.go
create mode 100644 processor/batchprocessor/generated_component_telemetry_test.go
create mode 100644 processor/processorhelper/generated_component_telemetry_test.go
create mode 100644 receiver/receiverhelper/generated_component_telemetry_test.go
create mode 100644 receiver/scraperhelper/generated_component_telemetry_test.go
diff --git a/.chloggen/codeboten_add-mdatagen-testutility.yaml b/.chloggen/codeboten_add-mdatagen-testutility.yaml
new file mode 100644
index 00000000000..ef7b7616af1
--- /dev/null
+++ b/.chloggen/codeboten_add-mdatagen-testutility.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: auto-generate utilities to test component telemetry
+
+# One or more tracking issues or pull requests related to the change
+issues: [19783]
+
+# (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:
+
+# 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/cmd/mdatagen/embeded_templates_test.go b/cmd/mdatagen/embeded_templates_test.go
index 3bba543b139..40562297e30 100644
--- a/cmd/mdatagen/embeded_templates_test.go
+++ b/cmd/mdatagen/embeded_templates_test.go
@@ -20,20 +20,21 @@ func TestEnsureTemplatesLoaded(t *testing.T) {
var (
templateFiles = map[string]struct{}{
- path.Join(rootDir, "component_test.go.tmpl"): {},
- path.Join(rootDir, "documentation.md.tmpl"): {},
- path.Join(rootDir, "metrics.go.tmpl"): {},
- path.Join(rootDir, "metrics_test.go.tmpl"): {},
- path.Join(rootDir, "resource.go.tmpl"): {},
- path.Join(rootDir, "resource_test.go.tmpl"): {},
- path.Join(rootDir, "config.go.tmpl"): {},
- path.Join(rootDir, "config_test.go.tmpl"): {},
- path.Join(rootDir, "package_test.go.tmpl"): {},
- path.Join(rootDir, "readme.md.tmpl"): {},
- path.Join(rootDir, "status.go.tmpl"): {},
- path.Join(rootDir, "telemetry.go.tmpl"): {},
- path.Join(rootDir, "telemetry_test.go.tmpl"): {},
- path.Join(rootDir, "testdata", "config.yaml.tmpl"): {},
+ path.Join(rootDir, "component_test.go.tmpl"): {},
+ path.Join(rootDir, "component_telemetry_test.go.tmpl"): {},
+ path.Join(rootDir, "documentation.md.tmpl"): {},
+ path.Join(rootDir, "metrics.go.tmpl"): {},
+ path.Join(rootDir, "metrics_test.go.tmpl"): {},
+ path.Join(rootDir, "resource.go.tmpl"): {},
+ path.Join(rootDir, "resource_test.go.tmpl"): {},
+ path.Join(rootDir, "config.go.tmpl"): {},
+ path.Join(rootDir, "config_test.go.tmpl"): {},
+ path.Join(rootDir, "package_test.go.tmpl"): {},
+ path.Join(rootDir, "readme.md.tmpl"): {},
+ path.Join(rootDir, "status.go.tmpl"): {},
+ path.Join(rootDir, "telemetry.go.tmpl"): {},
+ path.Join(rootDir, "telemetry_test.go.tmpl"): {},
+ path.Join(rootDir, "testdata", "config.yaml.tmpl"): {},
}
count = 0
)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index dd467ae3614..4348233d0bc 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -14,6 +14,7 @@ require (
go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/collector/semconv v0.101.0
go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -46,7 +47,6 @@ require (
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/cmd/mdatagen/internal/samplereceiver/factory.go b/cmd/mdatagen/internal/samplereceiver/factory.go
index 89769521f74..565305d540c 100644
--- a/cmd/mdatagen/internal/samplereceiver/factory.go
+++ b/cmd/mdatagen/internal/samplereceiver/factory.go
@@ -26,7 +26,12 @@ func createTraces(context.Context, receiver.CreateSettings, component.Config, co
return nopInstance, nil
}
-func createMetrics(context.Context, receiver.CreateSettings, component.Config, consumer.Metrics) (receiver.Metrics, error) {
+func createMetrics(ctx context.Context, set receiver.CreateSettings, _ component.Config, _ consumer.Metrics) (receiver.Metrics, error) {
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(set.TelemetrySettings, metadata.WithProcessRuntimeTotalAllocBytesCallback(func() int64 { return 2 }))
+ if err != nil {
+ return nil, err
+ }
+ telemetryBuilder.BatchSizeTriggerSend.Add(ctx, 1)
return nopInstance, nil
}
diff --git a/cmd/mdatagen/internal/samplereceiver/generated_component_telemetry_test.go b/cmd/mdatagen/internal/samplereceiver/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..e8cf2fe05e9
--- /dev/null
+++ b/cmd/mdatagen/internal/samplereceiver/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package samplereceiver
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/receiver"
+ "go.opentelemetry.io/collector/receiver/receivertest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() receiver.CreateSettings {
+ settings := receivertest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("sample"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/cmd/mdatagen/internal/samplereceiver/metrics_test.go b/cmd/mdatagen/internal/samplereceiver/metrics_test.go
index ec5f67cf0db..2c3dd5675a5 100644
--- a/cmd/mdatagen/internal/samplereceiver/metrics_test.go
+++ b/cmd/mdatagen/internal/samplereceiver/metrics_test.go
@@ -4,11 +4,15 @@
package samplereceiver
import (
+ "context"
"testing"
"github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
"go.opentelemetry.io/collector/cmd/mdatagen/internal/samplereceiver/internal/metadata"
+ "go.opentelemetry.io/collector/component/componenttest"
+ "go.opentelemetry.io/collector/consumer/consumertest"
"go.opentelemetry.io/collector/receiver/receivertest"
)
@@ -18,3 +22,41 @@ func TestGeneratedMetrics(t *testing.T) {
m := mb.Emit()
require.Equal(t, 0, m.ResourceMetrics().Len())
}
+
+func TestComponentTelemetry(t *testing.T) {
+ tt := setupTestTelemetry()
+ factory := NewFactory()
+ _, err := factory.CreateMetricsReceiver(context.Background(), tt.NewCreateSettings(), componenttest.NewNopHost(), new(consumertest.MetricsSink))
+ require.NoError(t, err)
+ tt.assertMetrics(t, []metricdata.Metrics{
+ {
+ Name: "batch_size_trigger_send",
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ },
+ },
+ },
+ },
+ {
+ Name: "process_runtime_total_alloc_bytes",
+ Description: "Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')",
+ Unit: "By",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 2,
+ },
+ },
+ },
+ },
+ })
+ require.NoError(t, tt.Shutdown(context.Background()))
+}
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index bb588aea8eb..cc325376826 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -59,7 +59,7 @@ func run(ymlPath string) error {
return fmt.Errorf("unable to create output directory %q: %w", codeDir, err)
}
if md.Status != nil {
- if md.Status.Class != "cmd" && md.Status.Class != "pkg" {
+ if md.Status.Class != "cmd" && md.Status.Class != "pkg" && !md.Status.NotComponent {
if err = generateFile(filepath.Join(tmplDir, "status.go.tmpl"),
filepath.Join(codeDir, "generated_status.go"), md, "metadata"); err != nil {
return err
@@ -88,6 +88,10 @@ func run(ymlPath string) error {
toGenerate := map[string]string{}
if len(md.Telemetry.Metrics) != 0 { // if there are telemetry metrics, generate telemetry specific files
+ if err = generateFile(filepath.Join(tmplDir, "component_telemetry_test.go.tmpl"),
+ filepath.Join(ymlDir, "generated_component_telemetry_test.go"), md, packageName); err != nil {
+ return err
+ }
toGenerate[filepath.Join(tmplDir, "telemetry.go.tmpl")] = filepath.Join(codeDir, "generated_telemetry.go")
toGenerate[filepath.Join(tmplDir, "telemetry_test.go.tmpl")] = filepath.Join(codeDir, "generated_telemetry_test.go")
}
diff --git a/cmd/mdatagen/statusdata.go b/cmd/mdatagen/statusdata.go
index c157b82a73c..db130aaf3ea 100644
--- a/cmd/mdatagen/statusdata.go
+++ b/cmd/mdatagen/statusdata.go
@@ -39,6 +39,7 @@ type Status struct {
Warnings []string `mapstructure:"warnings"`
Codeowners *Codeowners `mapstructure:"codeowners"`
UnsupportedPlatforms []string `mapstructure:"unsupported_platforms"`
+ NotComponent bool `mapstructure:"not_component"`
}
func (s *Status) SortedDistributions() []string {
diff --git a/cmd/mdatagen/templates/component_telemetry_test.go.tmpl b/cmd/mdatagen/templates/component_telemetry_test.go.tmpl
new file mode 100644
index 00000000000..adba6355149
--- /dev/null
+++ b/cmd/mdatagen/templates/component_telemetry_test.go.tmpl
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package {{ if isCommand -}}main{{ else }}{{ .Package }}{{- end }}
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/{{ .Status.Class }}"
+ "go.opentelemetry.io/collector/{{ .Status.Class }}/{{ .Status.Class }}test"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() {{ .Status.Class }}.CreateSettings {
+ settings := {{ .Status.Class }}test.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("{{ .Type }}"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/cmd/mdatagen/templates/telemetry_test.go.tmpl b/cmd/mdatagen/templates/telemetry_test.go.tmpl
index ed10dbae08b..244a0c92a0b 100644
--- a/cmd/mdatagen/templates/telemetry_test.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry_test.go.tmpl
@@ -7,6 +7,8 @@ import (
"github.com/stretchr/testify/require"
"go.opentelemetry.io/otel/metric"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
noopmetric "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
@@ -75,4 +77,5 @@ func TestNewTelemetryBuilder(t *testing.T) {
require.NoError(t, err)
require.True(t, applied)
}
+
{{- end }}
diff --git a/exporter/exporterhelper/generated_component_telemetry_test.go b/exporter/exporterhelper/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..f12aeee27de
--- /dev/null
+++ b/exporter/exporterhelper/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package exporterhelper
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/exporter"
+ "go.opentelemetry.io/collector/exporter/exportertest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() exporter.CreateSettings {
+ settings := exportertest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("exporterhelper"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/exporter/exporterhelper/metadata.yaml b/exporter/exporterhelper/metadata.yaml
index 1560331c1d9..26b06a37536 100644
--- a/exporter/exporterhelper/metadata.yaml
+++ b/exporter/exporterhelper/metadata.yaml
@@ -1,7 +1,8 @@
type: exporterhelper
status:
- class: pkg
+ class: exporter
+ not_component: true
stability:
beta: [traces, metrics, logs]
distributions: [core, contrib]
diff --git a/exporter/go.mod b/exporter/go.mod
index a1bcf9c6b22..7b81b79551e 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -18,6 +18,7 @@ require (
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
@@ -49,7 +50,6 @@ require (
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
diff --git a/processor/batchprocessor/generated_component_telemetry_test.go b/processor/batchprocessor/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..425cd854d90
--- /dev/null
+++ b/processor/batchprocessor/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package batchprocessor
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/processor"
+ "go.opentelemetry.io/collector/processor/processortest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() processor.CreateSettings {
+ settings := processortest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("batch"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/processor/go.mod b/processor/go.mod
index 7972d7c2146..f15fc226409 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -13,6 +13,7 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -42,7 +43,6 @@ require (
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/processor/processorhelper/generated_component_telemetry_test.go b/processor/processorhelper/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..95da78895e0
--- /dev/null
+++ b/processor/processorhelper/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package processorhelper
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/processor"
+ "go.opentelemetry.io/collector/processor/processortest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() processor.CreateSettings {
+ settings := processortest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("processorhelper"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/processor/processorhelper/metadata.yaml b/processor/processorhelper/metadata.yaml
index 75d66636d15..7e0c72f5c9c 100644
--- a/processor/processorhelper/metadata.yaml
+++ b/processor/processorhelper/metadata.yaml
@@ -1,7 +1,8 @@
type: processorhelper
status:
- class: pkg
+ class: processor
+ not_component: true
stability:
beta: [traces, metrics, logs]
distributions: [core, contrib]
diff --git a/receiver/go.mod b/receiver/go.mod
index d7d689c09d1..a980ed1745d 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -13,6 +13,7 @@ require (
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk v1.27.0
+ go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
@@ -42,7 +43,6 @@ require (
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
golang.org/x/net v0.24.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.14.0 // indirect
diff --git a/receiver/receiverhelper/generated_component_telemetry_test.go b/receiver/receiverhelper/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..41d3c0bf81f
--- /dev/null
+++ b/receiver/receiverhelper/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package receiverhelper
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/receiver"
+ "go.opentelemetry.io/collector/receiver/receivertest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() receiver.CreateSettings {
+ settings := receivertest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("receiverhelper"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/receiver/receiverhelper/metadata.yaml b/receiver/receiverhelper/metadata.yaml
index 9d1fe3c4436..2897d549a70 100644
--- a/receiver/receiverhelper/metadata.yaml
+++ b/receiver/receiverhelper/metadata.yaml
@@ -1,7 +1,8 @@
type: receiverhelper
status:
- class: pkg
+ class: receiver
+ not_component: true
stability:
beta: [traces, metrics, logs]
distributions: [core, contrib]
diff --git a/receiver/scraperhelper/generated_component_telemetry_test.go b/receiver/scraperhelper/generated_component_telemetry_test.go
new file mode 100644
index 00000000000..7eeed50b953
--- /dev/null
+++ b/receiver/scraperhelper/generated_component_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package scraperhelper
+
+import (
+ "context"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ sdkmetric "go.opentelemetry.io/otel/sdk/metric"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/receiver"
+ "go.opentelemetry.io/collector/receiver/receivertest"
+)
+
+type componentTestTelemetry struct {
+ reader *sdkmetric.ManualReader
+ meterProvider *sdkmetric.MeterProvider
+}
+
+func (tt *componentTestTelemetry) NewCreateSettings() receiver.CreateSettings {
+ settings := receivertest.NewNopCreateSettings()
+ settings.MeterProvider = tt.meterProvider
+ settings.ID = component.NewID(component.MustNewType("scraperhelper"))
+
+ return settings
+}
+
+func setupTestTelemetry() componentTestTelemetry {
+ reader := sdkmetric.NewManualReader()
+ return componentTestTelemetry{
+ reader: reader,
+ meterProvider: sdkmetric.NewMeterProvider(sdkmetric.WithReader(reader)),
+ }
+}
+
+func (tt *componentTestTelemetry) assertMetrics(t *testing.T, expected []metricdata.Metrics) {
+ var md metricdata.ResourceMetrics
+ require.NoError(t, tt.reader.Collect(context.Background(), &md))
+ // ensure all required metrics are present
+ for _, want := range expected {
+ got := tt.getMetric(want.Name, md)
+ metricdatatest.AssertEqual(t, want, got, metricdatatest.IgnoreTimestamp())
+ }
+
+ // ensure no additional metrics are emitted
+ require.Equal(t, len(expected), tt.len(md))
+}
+
+func (tt *componentTestTelemetry) getMetric(name string, got metricdata.ResourceMetrics) metricdata.Metrics {
+ for _, sm := range got.ScopeMetrics {
+ for _, m := range sm.Metrics {
+ if m.Name == name {
+ return m
+ }
+ }
+ }
+
+ return metricdata.Metrics{}
+}
+
+func (tt *componentTestTelemetry) len(got metricdata.ResourceMetrics) int {
+ metricsCount := 0
+ for _, sm := range got.ScopeMetrics {
+ metricsCount += len(sm.Metrics)
+ }
+
+ return metricsCount
+}
+
+func (tt *componentTestTelemetry) Shutdown(ctx context.Context) error {
+ return tt.meterProvider.Shutdown(ctx)
+}
diff --git a/receiver/scraperhelper/metadata.yaml b/receiver/scraperhelper/metadata.yaml
index 7d084ca2b45..33a1080e7dd 100644
--- a/receiver/scraperhelper/metadata.yaml
+++ b/receiver/scraperhelper/metadata.yaml
@@ -1,7 +1,8 @@
type: scraperhelper
status:
- class: pkg
+ class: receiver
+ not_component: true
stability:
beta: [traces, metrics, logs]
distributions: [core, contrib]
From d127fbb84b927ce47824d5b3a4fbf5d41896c104 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Mon, 27 May 2024 12:28:38 -0700
Subject: [PATCH 076/111] [batchprocessor] fix broken
processor_batch_metadata_cardinality metric (#10232)
Fixes #10231
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_fix-batchprocessor-bug.yaml | 25 +++++++++++++++++++
processor/batchprocessor/metrics.go | 4 +--
2 files changed, 27 insertions(+), 2 deletions(-)
create mode 100644 .chloggen/codeboten_fix-batchprocessor-bug.yaml
diff --git a/.chloggen/codeboten_fix-batchprocessor-bug.yaml b/.chloggen/codeboten_fix-batchprocessor-bug.yaml
new file mode 100644
index 00000000000..4f91d27131e
--- /dev/null
+++ b/.chloggen/codeboten_fix-batchprocessor-bug.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: batchprocessor
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0
+
+# One or more tracking issues or pull requests related to the change
+issues: [10231]
+
+# (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:
+
+# 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/processor/batchprocessor/metrics.go b/processor/batchprocessor/metrics.go
index 08d3d9749f3..375a54c87d8 100644
--- a/processor/batchprocessor/metrics.go
+++ b/processor/batchprocessor/metrics.go
@@ -70,8 +70,8 @@ func (bpt *batchProcessorTelemetry) createOtelMetrics(set component.TelemetrySet
errors = multierr.Append(errors, err)
bpt.batchMetadataCardinality, err = meter.Int64ObservableUpDownCounter(
- processorhelper.BuildCustomMetricName(typeStr, ""),
- metric.WithDescription(""),
+ processorhelper.BuildCustomMetricName(typeStr, "metadata_cardinality"),
+ metric.WithDescription("Number of distinct metadata value combinations being processed"),
metric.WithUnit("1"),
metric.WithInt64Callback(func(_ context.Context, obs metric.Int64Observer) error {
obs.Observe(int64(currentMetadataCardinality()))
From 4b5249ae2dcda6d293b044c713dabe489d9ac837 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 May 2024 20:53:35 -0700
Subject: [PATCH 077/111] fix(deps): update all opentelemetry-go-contrib
packages (#10238)
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/contrib/config](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.6.0` -> `v0.7.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fconfig/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fconfig/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fconfig/v0.6.0/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fconfig/v0.6.0/v0.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.51.0` -> `v0.52.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fgoogle.golang.org%2fgrpc%2fotelgrpc/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.51.0` -> `v0.52.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2finstrumentation%2fnet%2fhttp%2fotelhttp/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/contrib/propagators/b3](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v1.26.0` -> `v1.27.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fpropagators%2fb3/v1.26.0/v1.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[go.opentelemetry.io/contrib/zpages](https://togithub.com/open-telemetry/opentelemetry-go-contrib)
| `v0.51.0` -> `v0.52.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/go.opentelemetry.io%2fcontrib%2fzpages/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/go.opentelemetry.io%2fcontrib%2fzpages/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/go.opentelemetry.io%2fcontrib%2fzpages/v0.51.0/v0.52.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/go.opentelemetry.io%2fcontrib%2fzpages/v0.51.0/v0.52.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-contrib
(go.opentelemetry.io/contrib/config)
###
[`v0.7.0`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v0.7.0)
[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-go-contrib/compare/v0.6.0...v0.7.0)
Add support for go.opentelemetry.io/otel v0.7.0
# Raw changes made between v0.6.1 and v0.7.0
[`be5af6f`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/be5af6fc17a1fd313d1d8267aa9a51738ef1c85c)
Create RELEASE instructions
([#101](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/101))
[`a3a136f`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/a3a136f9689a5f8a97164247ad5f7b831bb981ad)
Modify Datadog example test to send UDP packets and validate them
([#96](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/96))
[`41015b5`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/41015b560c38fbe78cbee75762d2a29575727042)
Bump google.golang.org/grpc from 1.29.1 to 1.30.0
([#99](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/99))
[`d8b0c8e`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/d8b0c8e48eec5634aeec3baeea7cc7641c839d48)
Bump google.golang.org/grpc in /instrumentation/labstack/echo
([#100](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/100))
[`2638e7b`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/2638e7be887225775c6c0be423d3e1a77d19febf)
Bump google.golang.org/grpc in /instrumentation/gin-gonic/gin
([#98](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/98))
[`90ce241`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/90ce241afaf68d6b7ae58372dbb71c4ce2b86bc8)
Using latest version of mod-tidier which supports go.{mod,sum} check
([#97](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/97))
[`6c478fe`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/6c478fe44e10f331991bd669fca4d351445b34d9)
Upgrade Exporter to match new API
([#46](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/46))
[`64e2183`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/64e21834f1d5eab534cfcdd488f65e2aa658ca77)
Bump github.com/golangci/golangci-lint from 1.21.0 to 1.27.0 in /tools
([#77](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/77))
[`c83cc1e`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/c83cc1e777f281e48d115b1203e0a31fcb0acd0f)
Bump go.mongodb.org/mongo-driver from 1.3.2 to 1.3.4 in
/instrumentation/go.mongodb.org/mongo-driver
([#76](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/76))
[`e719fe6`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/e719fe6664b5d9d36a606adb0acd41e2c8626433)
Bump github.com/stretchr/testify in /instrumentation/gin-gonic/gin
([#75](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/75))
[`0f251cc`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/0f251cced76664295957efcf6d674ecbcc787329)
Bump github.com/stretchr/testify
([#74](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/74))
[`b421721`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/b421721973ea11fbda6ace827893632cd3187056)
Bump github.com/gin-gonic/gin from 1.6.2 to 1.6.3 in
/instrumentation/gin-gonic/gin
([#73](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/73))
[`d923ef6`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/d923ef694483717c2af48491990a03465f704a76)
Bump google.golang.org/grpc from 1.28.1 to 1.29.1
([#72](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/72))
[`c1fd2a1`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/c1fd2a1d09019e81acc8874fcdff49943b82efe9)
Bump google.golang.org/grpc in /instrumentation/labstack/echo
([#71](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/71))
[`ea45049`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/ea450490e8a242a230e0e63d5ba801b3caa08247)
Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 in
/instrumentation/macaron
([#70](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/70))
[`d5e8ef2`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/d5e8ef29f8e8ca02cf4af879c6057100fbea092c)
Bump google.golang.org/grpc in /instrumentation/gin-gonic/gin
([#69](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/69))
[`efaf37a`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/efaf37aab3fe80516baedf046a612a92c0ea7b96)
Bump gopkg.in/macaron.v1 from 1.3.5 to 1.3.9 in /instrumentation/macaron
([#68](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/68))
[`db6e6c5`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/db6e6c5976861d5bacb4ec4d6850c1828bb0837c)
Bump github.com/stretchr/testify in /instrumentation/labstack/echo
([#67](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/67))
[`eecea29`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/eecea29c84eb76c488edf68dbd3639be3f01efdb)
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1
([#66](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/66))
[`6972389`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/69723897af771300c95ef6149245a3953cb43bc1)
Bump github.com/stretchr/testify in /instrumentation/gorilla/mux
([#65](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/65))
[`f0fb8bc`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/f0fb8bc25e3649d9999f7f97006fae18c7b8acfa)
Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 in
/exporters/metric/dogstatsd
([#62](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/62))
[`325b321`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/325b321e22547732db28d517f7f18ba455a41157)
Update project docs and layout
([#92](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/92))
[`135745a`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/135745a8c3d789a23cc3b46e4afa711d50f8bfef)
Bump github.com/stretchr/testify from 1.4.0 to 1.6.1 in
/instrumentation/runtime
([#64](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/64))
[`9f68b4e`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/9f68b4e3ffb07c5273047bd82dd23181d2c88e20)
Fix company affiliation
([#95](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/95))
[`e4d3a09`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/e4d3a09bb4f8ba8e55f1297aec5c0b71ad20a73e)
Add dependabot tidy github workflow
([#94](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/94))
[`f45ec6b`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/f45ec6ba0da286bfa160894e5491a24420aaa932)
Bump github.com/DataDog/datadog-go from 3.5.0+incompatible to
3.7.2+incompatible in /exporters/metric/datadog
([#78](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/78))
[`5e5d6f1`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/5e5d6f13ffa6e8e27c7646c9025ed787b8d73482)
Create dependabot.yml
([#61](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/61))
[`25bcf27`](https://togithub.com/open-telemetry/opentelemetry-go-contrib/commit/25bcf274ad2fe009a3cf1e792235f306f41db1e0)
Add tagging script for release process
([#60](https://togithub.com/open-telemetry/opentelemetry-go-contrib/issues/60))
---
### 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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/mdatagen/go.mod | 4 +-
cmd/mdatagen/go.sum | 8 ++--
cmd/otelcorecol/go.mod | 20 ++++-----
cmd/otelcorecol/go.sum | 40 ++++++++---------
config/configgrpc/go.mod | 8 ++--
config/configgrpc/go.sum | 16 +++----
config/confighttp/go.mod | 4 +-
config/confighttp/go.sum | 8 ++--
connector/forwardconnector/go.mod | 6 +--
connector/forwardconnector/go.sum | 12 ++---
connector/go.mod | 6 +--
connector/go.sum | 12 ++---
exporter/debugexporter/go.mod | 6 +--
exporter/debugexporter/go.sum | 12 ++---
exporter/go.mod | 6 +--
exporter/go.sum | 12 ++---
exporter/loggingexporter/go.mod | 6 +--
exporter/loggingexporter/go.sum | 12 ++---
exporter/nopexporter/go.mod | 6 +--
exporter/nopexporter/go.sum | 12 ++---
exporter/otlpexporter/go.mod | 28 ++++++------
exporter/otlpexporter/go.sum | 60 ++++++++++++-------------
exporter/otlphttpexporter/go.mod | 24 +++++-----
exporter/otlphttpexporter/go.sum | 52 ++++++++++-----------
extension/ballastextension/go.mod | 6 +--
extension/ballastextension/go.sum | 12 ++---
extension/memorylimiterextension/go.mod | 6 +--
extension/memorylimiterextension/go.sum | 12 ++---
extension/zpagesextension/go.mod | 28 ++++++------
extension/zpagesextension/go.sum | 60 ++++++++++++-------------
go.mod | 26 +++++------
go.sum | 56 +++++++++++------------
internal/e2e/go.mod | 26 +++++------
internal/e2e/go.sum | 56 +++++++++++------------
otelcol/go.mod | 14 +++---
otelcol/go.sum | 32 ++++++-------
processor/batchprocessor/go.mod | 6 +--
processor/batchprocessor/go.sum | 12 ++---
processor/go.mod | 6 +--
processor/go.sum | 12 ++---
processor/memorylimiterprocessor/go.mod | 6 +--
processor/memorylimiterprocessor/go.sum | 12 ++---
receiver/go.mod | 6 +--
receiver/go.sum | 12 ++---
receiver/nopreceiver/go.mod | 6 +--
receiver/nopreceiver/go.sum | 12 ++---
receiver/otlpreceiver/go.mod | 26 +++++------
receiver/otlpreceiver/go.sum | 56 +++++++++++------------
service/go.mod | 16 +++----
service/go.sum | 32 ++++++-------
50 files changed, 467 insertions(+), 467 deletions(-)
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 4348233d0bc..8bc6bab15d6 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -48,9 +48,9 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/cmd/mdatagen/go.sum b/cmd/mdatagen/go.sum
index a46c9844707..c2df9c2579c 100644
--- a/cmd/mdatagen/go.sum
+++ b/cmd/mdatagen/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index ed22c3eabb0..8afbf0f7149 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -96,21 +96,21 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/collector/semconv v0.101.0 // indirect
go.opentelemetry.io/collector/service v0.101.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
- go.opentelemetry.io/contrib/propagators/b3 v1.26.0 // indirect
- go.opentelemetry.io/contrib/zpages v0.51.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
+ go.opentelemetry.io/contrib/propagators/b3 v1.27.0 // indirect
+ go.opentelemetry.io/contrib/zpages v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/bridge/opencensus v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
@@ -123,7 +123,7 @@ require (
golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index b8b3c700272..7dba02de832 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -146,16 +146,16 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDAoppyr5sI2dVlh8MWM=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
-go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
-go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 h1:vS1Ao/R55RNV4O7TA2Qopok8yN+X0LIP6RVWLFkprck=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0 h1:IjgxbomVrV9za6bRi8fWCNXENs0co37SZedQilP2hm0=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0/go.mod h1:Dv9obQz25lCisDvvs4dy28UPh974CxkahRDUPsY7y9E=
+go.opentelemetry.io/contrib/zpages v0.52.0 h1:MPgkMy0Cp3O5EdfVXP0ss3ujhEibysTM4eszx7E7d+E=
+go.opentelemetry.io/contrib/zpages v0.52.0/go.mod h1:fqG5AFdoYru3A3DnhibVuaaEfQV2WKxE7fYE1jgDRwk=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
@@ -164,18 +164,18 @@ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFg
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -256,8 +256,8 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index 36bd8a900f3..b208af55079 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/collector/extension/auth v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -58,10 +58,10 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index ce25631d0bf..7deb62296de 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -68,8 +68,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 h1:vS1Ao/R55RNV4O7TA2Qopok8yN+X0LIP6RVWLFkprck=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
@@ -97,8 +97,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -109,8 +109,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -119,8 +119,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 2f7b1b9d974..899cf0cf81f 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/collector/config/internal v0.101.0
go.opentelemetry.io/collector/extension v0.101.0
go.opentelemetry.io/collector/extension/auth v0.101.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -56,7 +56,7 @@ require (
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index d1c0a4dfbac..93ab96f66b3 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -65,8 +65,8 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
@@ -116,8 +116,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index cc24d640a1c..443095c5ab0 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -44,10 +44,10 @@ require (
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/connector/forwardconnector/go.sum b/connector/forwardconnector/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/connector/forwardconnector/go.sum
+++ b/connector/forwardconnector/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/connector/go.mod b/connector/go.mod
index 2ab3a3fc105..8e1fe0f62b8 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -44,10 +44,10 @@ require (
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/connector/go.sum b/connector/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/connector/go.sum
+++ b/connector/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 2e16862bbe9..cd6315ed8bd 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -48,10 +48,10 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/exporter/debugexporter/go.sum b/exporter/debugexporter/go.sum
index 54792a716b1..31bd5593265 100644
--- a/exporter/debugexporter/go.sum
+++ b/exporter/debugexporter/go.sum
@@ -89,8 +89,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -101,8 +101,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -111,8 +111,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/go.mod b/exporter/go.mod
index 7b81b79551e..997091a8dec 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -50,9 +50,9 @@ require (
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- golang.org/x/net v0.24.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/net v0.25.0 // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/go.sum b/exporter/go.sum
index 54792a716b1..31bd5593265 100644
--- a/exporter/go.sum
+++ b/exporter/go.sum
@@ -89,8 +89,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -101,8 +101,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -111,8 +111,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 4cd8c9e9320..628494b5fb4 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -49,10 +49,10 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/exporter/loggingexporter/go.sum b/exporter/loggingexporter/go.sum
index 54792a716b1..31bd5593265 100644
--- a/exporter/loggingexporter/go.sum
+++ b/exporter/loggingexporter/go.sum
@@ -89,8 +89,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -101,8 +101,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -111,8 +111,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index d71cc8cd56f..f289328e42e 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -44,10 +44,10 @@ require (
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/exporter/nopexporter/go.sum b/exporter/nopexporter/go.sum
index 54792a716b1..31bd5593265 100644
--- a/exporter/nopexporter/go.sum
+++ b/exporter/nopexporter/go.sum
@@ -89,8 +89,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -101,8 +101,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -111,8 +111,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index a87e337d99d..5ede1d38ac1 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -36,7 +36,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // 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.4 // indirect
@@ -60,27 +60,27 @@ require (
go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index d2807380bf2..052288024d7 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -25,8 +25,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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -66,36 +66,36 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 h1:vS1Ao/R55RNV4O7TA2Qopok8yN+X0LIP6RVWLFkprck=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -121,8 +121,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -133,8 +133,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -143,10 +143,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index dbd41010de1..9ba2c6a0ac8 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -17,7 +17,7 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -35,7 +35,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // 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.8 // indirect
@@ -59,17 +59,17 @@ require (
go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.opentelemetry.io/collector/receiver v0.101.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
@@ -79,7 +79,7 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index bdfa313684b..bad48c9d46a 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -27,8 +27,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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -66,8 +66,8 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -76,28 +76,28 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -145,10 +145,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 1fa62b9b97a..387edf602f4 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -48,10 +48,10 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/extension/ballastextension/go.sum b/extension/ballastextension/go.sum
index 09697008be1..412e23369a7 100644
--- a/extension/ballastextension/go.sum
+++ b/extension/ballastextension/go.sum
@@ -102,8 +102,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -119,8 +119,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -129,8 +129,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 6690b2e40a0..668e5b2179e 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -47,10 +47,10 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/extension/memorylimiterextension/go.sum b/extension/memorylimiterextension/go.sum
index 09697008be1..412e23369a7 100644
--- a/extension/memorylimiterextension/go.sum
+++ b/extension/memorylimiterextension/go.sum
@@ -102,8 +102,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -119,8 +119,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -129,8 +129,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 8b568c397d3..9b52ad698d1 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -9,7 +9,7 @@ require (
go.opentelemetry.io/collector/config/confignet v0.101.0
go.opentelemetry.io/collector/confmap v0.101.0
go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/contrib/zpages v0.51.0
+ go.opentelemetry.io/contrib/zpages v0.52.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
@@ -26,7 +26,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // 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.1 // indirect
@@ -39,25 +39,25 @@ require (
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/extension/zpagesextension/go.sum b/extension/zpagesextension/go.sum
index cf69f78b0a4..a863831d1d2 100644
--- a/extension/zpagesextension/go.sum
+++ b/extension/zpagesextension/go.sum
@@ -19,8 +19,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/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
@@ -47,34 +47,34 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/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=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
-go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/zpages v0.52.0 h1:MPgkMy0Cp3O5EdfVXP0ss3ujhEibysTM4eszx7E7d+E=
+go.opentelemetry.io/contrib/zpages v0.52.0/go.mod h1:fqG5AFdoYru3A3DnhibVuaaEfQV2WKxE7fYE1jgDRwk=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -100,8 +100,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -112,8 +112,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -122,10 +122,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/go.mod b/go.mod
index c8beaae1065..bebe2876fda 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@ require (
go.opentelemetry.io/collector/featuregate v1.8.0
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/contrib/config v0.6.0
+ go.opentelemetry.io/contrib/config v0.7.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -28,7 +28,7 @@ require (
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
@@ -50,24 +50,24 @@ require (
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/go.sum b/go.sum
index 68d38f99675..0aec3d0551a 100644
--- a/go.sum
+++ b/go.sum
@@ -23,8 +23,8 @@ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN
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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -64,8 +64,8 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/shirou/gopsutil/v3 v3.24.4 h1:dEHgzZXt4LMNm+oYELpzl9YCqV65Yr/6SfrvgRBtXeU=
github.com/shirou/gopsutil/v3 v3.24.4/go.mod h1:lTd2mdiOspcqLgAnr9/nGi71NkeMpWKdmhuxm9GusH8=
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
@@ -88,26 +88,26 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -133,8 +133,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -150,8 +150,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -160,10 +160,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 1a9126b1759..bc86f1285a2 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -34,7 +34,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // 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.8 // indirect
@@ -62,18 +62,18 @@ require (
go.opentelemetry.io/collector/extension v0.101.0 // indirect
go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
@@ -84,8 +84,8 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index f453be1bbcb..86c8ab7e239 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -27,8 +27,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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -68,8 +68,8 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -78,30 +78,30 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 h1:vS1Ao/R55RNV4O7TA2Qopok8yN+X0LIP6RVWLFkprck=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -149,10 +149,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/otelcol/go.mod b/otelcol/go.mod
index e8172eb6ad5..2037630936f 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -72,18 +72,18 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0 // indirect
go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
go.opentelemetry.io/collector/semconv v0.101.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/propagators/b3 v1.26.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/propagators/b3 v1.27.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/bridge/opencensus v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
@@ -93,7 +93,7 @@ require (
golang.org/x/text v0.15.0 // indirect
gonum.org/v1/gonum v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/protobuf v1.34.1 // indirect
)
diff --git a/otelcol/go.sum b/otelcol/go.sum
index 9f34e8b11f8..a4ea7782be5 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -134,12 +134,12 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDAoppyr5sI2dVlh8MWM=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
-go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
-go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0 h1:IjgxbomVrV9za6bRi8fWCNXENs0co37SZedQilP2hm0=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0/go.mod h1:Dv9obQz25lCisDvvs4dy28UPh974CxkahRDUPsY7y9E=
+go.opentelemetry.io/contrib/zpages v0.52.0 h1:MPgkMy0Cp3O5EdfVXP0ss3ujhEibysTM4eszx7E7d+E=
+go.opentelemetry.io/contrib/zpages v0.52.0/go.mod h1:fqG5AFdoYru3A3DnhibVuaaEfQV2WKxE7fYE1jgDRwk=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
@@ -148,18 +148,18 @@ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFg
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -240,8 +240,8 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index 73699ac4175..ba3fa1ab4a5 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -45,10 +45,10 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/processor/batchprocessor/go.sum b/processor/batchprocessor/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/processor/batchprocessor/go.sum
+++ b/processor/batchprocessor/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/processor/go.mod b/processor/go.mod
index f15fc226409..070736d6e2b 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -44,10 +44,10 @@ require (
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/processor/go.sum b/processor/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/processor/go.sum
+++ b/processor/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index fb03c9d9adf..3af1f43fadf 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -52,10 +52,10 @@ require (
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/processor/memorylimiterprocessor/go.sum b/processor/memorylimiterprocessor/go.sum
index 0f97a526edb..8c3cf825d2f 100644
--- a/processor/memorylimiterprocessor/go.sum
+++ b/processor/memorylimiterprocessor/go.sum
@@ -111,8 +111,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -128,8 +128,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -138,8 +138,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/receiver/go.mod b/receiver/go.mod
index a980ed1745d..ce8458b646a 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -43,10 +43,10 @@ require (
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.101.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/receiver/go.sum b/receiver/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/receiver/go.sum
+++ b/receiver/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 33084d56ee5..c9dcd311aa3 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -43,10 +43,10 @@ require (
go.opentelemetry.io/otel/trace v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.27.0 // indirect
- golang.org/x/net v0.24.0 // indirect
+ golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
- golang.org/x/text v0.14.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda // indirect
+ golang.org/x/text v0.15.0 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/receiver/nopreceiver/go.sum b/receiver/nopreceiver/go.sum
index 4d6ccd869a3..c2df9c2579c 100644
--- a/receiver/nopreceiver/go.sum
+++ b/receiver/nopreceiver/go.sum
@@ -87,8 +87,8 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
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.24.0 h1:1PcaxkF854Fu3+lvBIx5SYn9wRlBzzcnHZSiaFFAb0w=
-golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8=
+golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
+golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
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=
@@ -99,8 +99,8 @@ golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-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/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
+golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
@@ -109,8 +109,8 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda h1:LI5DOvAxUPMv/50agcLLoo+AdWc1irS9Rzz4vPuD1V4=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240401170217-c3f982113cda/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index e6caee5342d..67bc6219a1e 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -19,7 +19,7 @@ require (
go.opentelemetry.io/collector/receiver v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
google.golang.org/grpc v1.64.0
google.golang.org/protobuf v1.34.1
)
@@ -36,7 +36,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
@@ -61,18 +61,18 @@ require (
go.opentelemetry.io/collector/extension v0.101.0 // indirect
go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/contrib/config v0.6.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 // indirect
+ go.opentelemetry.io/contrib/config v0.7.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
@@ -82,7 +82,7 @@ require (
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index f453be1bbcb..86c8ab7e239 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -27,8 +27,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/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
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/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
@@ -68,8 +68,8 @@ github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+a
github.com/prometheus/common v0.53.0/go.mod h1:BrxBKv3FWBIGXw89Mg1AeBq7FSyRzXWI3l3e7W3RN5U=
github.com/prometheus/procfs v0.15.0 h1:A82kmvXJq2jTu5YUhSGNlYoxh85zLnKgPz4bMZgI5Ek=
github.com/prometheus/procfs v0.15.0/go.mod h1:Y0RJ/Y5g5wJpkTisOtqwDSo4HwhGmLB4VQSw2sQJLHk=
-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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -78,30 +78,30 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0 h1:A3SayB3rNyt+1S6qpI9mHPkeHTZbD7XILEqWnYZb2l0=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.51.0/go.mod h1:27iA5uvhuRNmalO+iEUdVn5ZMj2qy10Mm+XRIpRmyuU=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0 h1:Xs2Ncz0gNihqu9iosIZ5SkBbWo5T8JhhLJFMQL1qmLI=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.51.0/go.mod h1:vy+2G/6NvVMpwGX/NyLqcC41fxepnuKHk16E6IZUcJc=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 h1:vS1Ao/R55RNV4O7TA2Qopok8yN+X0LIP6RVWLFkprck=
+go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0/go.mod h1:BMsdeOxN04K0L5FNUBfjFdvwWGNe/rkmSwH4Aelu/X0=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0 h1:+hm+I+KigBy3M24/h1p/NHkUx/evbLH0PNcjpMyCHc4=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.26.0/go.mod h1:NjC8142mLvvNT6biDpaMjyz78kyEHIwAJlSX0N9P5KI=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0 h1:HGZWGmCVRCVyAs2GQaiHQPbDHo+ObFWeUEOd+zDnp64=
-go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.26.0/go.mod h1:SaH+v38LSCHddyk7RGlU9uZyQoRrKao6IBnJw6Kbn+c=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFgvUr3/O4PHj3VQcFEuYKvRZJX1SJDQ+11JXuSB3/w=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
+go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0 h1:5fnmgteaar1VcAA69huatudPduNFz7guRtCmfZCooZI=
-go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.26.0/go.mod h1:lsPccfZiz1cb1AhBPmicWM2E4F1VynFXEvD8SEBS4TM=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
+go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -149,10 +149,10 @@ golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8T
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4=
-google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 h1:mxSlqyb8ZAHsYDCfiXN1EDdNTdvjUJSLY+OnAUtYNYA=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8/go.mod h1:I7Y+G38R2bu5j1aLzfFmQfTcU/WnFuqDwLZAbvKTKpM=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
+google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
google.golang.org/grpc v1.64.0 h1:KH3VH9y/MgNQg1dE7b3XfVK0GsPSIzJwdF617gUSbvY=
google.golang.org/grpc v1.64.0/go.mod h1:oxjF8E3FBnjp+/gVFYdWacaLDx9na1aqy9oovLpxQYg=
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
diff --git a/service/go.mod b/service/go.mod
index 177a2adb0e5..579d2505e06 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -26,8 +26,8 @@ require (
go.opentelemetry.io/collector/processor v0.101.0
go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/collector/semconv v0.101.0
- go.opentelemetry.io/contrib/config v0.6.0
- go.opentelemetry.io/contrib/propagators/b3 v1.26.0
+ go.opentelemetry.io/contrib/config v0.7.0
+ go.opentelemetry.io/contrib/propagators/b3 v1.27.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/bridge/opencensus v1.27.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0
@@ -73,17 +73,17 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/contrib/zpages v0.51.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 // indirect
- go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 // indirect
+ go.opentelemetry.io/contrib/zpages v0.52.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 // indirect
go.opentelemetry.io/proto/otlp v1.2.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 // indirect
google.golang.org/grpc v1.64.0 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
diff --git a/service/go.sum b/service/go.sum
index 8a1dabfe3b3..17415699591 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -126,12 +126,12 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
-go.opentelemetry.io/contrib/config v0.6.0 h1:M1SRD1Z15XHPGk61tMLI1up77XT5FdrqQSRrlH0fYuk=
-go.opentelemetry.io/contrib/config v0.6.0/go.mod h1:t+/kzmRWLN7J+4F/dD4fFvlYCmCO63WYwy/B00IC++c=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0 h1:wgFbVA+bK2k+fGVfDOCOG4cfDAoppyr5sI2dVlh8MWM=
-go.opentelemetry.io/contrib/propagators/b3 v1.26.0/go.mod h1:DDktFXxA+fyItAAM0Sbl5OBH7KOsCTjvbBdPKtoIf/k=
-go.opentelemetry.io/contrib/zpages v0.51.0 h1:psVr4JTWd0qtISPj9EA6AODGJ09bvsOxWiuKqiGdSCA=
-go.opentelemetry.io/contrib/zpages v0.51.0/go.mod h1:PKtp+NEp1gTTLmFHpynYgYCSkKtisPntOb9S1mQjFKg=
+go.opentelemetry.io/contrib/config v0.7.0 h1:b1rK5tGTuhhPirJiMxOcyQfZs76j2VapY6ODn3b2Dbs=
+go.opentelemetry.io/contrib/config v0.7.0/go.mod h1:8tdiFd8N5etOi3XzBmAoMxplEzI3TcL8dU5rM5/xcOQ=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0 h1:IjgxbomVrV9za6bRi8fWCNXENs0co37SZedQilP2hm0=
+go.opentelemetry.io/contrib/propagators/b3 v1.27.0/go.mod h1:Dv9obQz25lCisDvvs4dy28UPh974CxkahRDUPsY7y9E=
+go.opentelemetry.io/contrib/zpages v0.52.0 h1:MPgkMy0Cp3O5EdfVXP0ss3ujhEibysTM4eszx7E7d+E=
+go.opentelemetry.io/contrib/zpages v0.52.0/go.mod h1:fqG5AFdoYru3A3DnhibVuaaEfQV2WKxE7fYE1jgDRwk=
go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
go.opentelemetry.io/otel/bridge/opencensus v1.27.0 h1:ao9aGGHd+G4YfjBpGs6vbkvt5hoC67STlJA9fCnOAcs=
@@ -140,18 +140,18 @@ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 h1:bFg
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0/go.mod h1:xJntEd2KL6Qdg5lwp97HMLQDVeAhrYxmzFseAMDPQ8I=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 h1:CIHWikMsN3wO+wq1Tp5VGdVRTcON+DmOJSfDjXypKOc=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0/go.mod h1:TNupZ6cxqyFEpLXAZW7On+mLFL0/g0TE3unIYL91xWc=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0 h1:1u/AyyOqAWzy+SkPxDpahCNZParHV8Vid1RnI2clyDE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0/go.mod h1:z46paqbJ9l7c9fIPCXTqTGwhQZ5XoTIsfeFYWboizjs=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 h1:Waw9Wfpo/IXzOI8bCB7DIk+0JZcqqsyn1JFnAc+iam8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0/go.mod h1:wnJIG4fOqyynOnnQF/eQb4/16VlX2EJAHhHgqIqWfAo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0 h1:1wp/gyxsuYtuE/JFxsQRtcCDtMrO2qMvlfXALU5wkzI=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.26.0/go.mod h1:gbTHmghkGgqxMomVQQMur1Nba4M0MQ8AYThXDUjsJ38=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 h1:Er5I1g/YhfYv9Affk9nJLfH/+qCCVVg1f2R9AbJfqDQ=
go.opentelemetry.io/otel/exporters/prometheus v0.49.0/go.mod h1:KfQ1wpjf3zsHjzP149P4LyAwWRupc6c7t1ZJ9eXpKQM=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0 h1:/jlt1Y8gXWiHG9FBx6cJaIC5hYx5Fe64nC8w5Cylt/0=
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.27.0/go.mod h1:bmToOGOBZ4hA9ghphIc1PAf66VA8KOtsuy3+ScStG20=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 h1:0W5o9SzoR15ocYHEQfvfipzcNog1lBxOLfnex91Hk6s=
-go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0/go.mod h1:zVZ8nz+VSggWmnh6tTsJqXQ7rU4xLwRtna1M4x5jq58=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0 h1:/0YaXu3755A/cFbtXp+21lkXgI0QE5avTWA2HjU9/WE=
+go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.27.0/go.mod h1:m7SFxp0/7IxmJPLIY3JhOcU9CoFzDaCPL6xxQIxhA+o=
go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
@@ -232,8 +232,8 @@ google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5 h1:P8OJ/WCl/Xo4E4zoe4/bifHpSmmKwARqyqE4nW6J2GQ=
google.golang.org/genproto/googleapis/api v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:RGnPtTG7r4i8sPlNyDeikXF99hMM+hN6QMm4ooG9g2g=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 h1:AgADTJarZTBqgjiUzRgfaBchgYB3/WFTC80GPwsMcRI=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5 h1:Q2RxlXqh1cgzzUgV261vBO2jI5R/3DD1J2pM0nI4NhU=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
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 7a3801170ada677eed6f829914eac9fa4ba06a53 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 May 2024 20:54:06 -0700
Subject: [PATCH 078/111] fix(deps): update module golang.org/x/vuln to v1.1.1
(#10237)
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 |
|---|---|---|---|---|---|
| golang.org/x/vuln | `v1.1.0` -> `v1.1.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fvuln/v1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fvuln/v1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fvuln/v1.1.0/v1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fvuln/v1.1.0/v1.1.1?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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
internal/tools/go.mod | 4 ++--
internal/tools/go.sum | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 4b115254264..13f384692ed 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -15,8 +15,8 @@ require (
go.opentelemetry.io/build-tools/multimod v0.13.0
go.opentelemetry.io/build-tools/semconvgen v0.13.0
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
- golang.org/x/tools v0.21.0
- golang.org/x/vuln v1.1.0
+ golang.org/x/tools v0.21.1-0.20240514024235-59d9797072e7
+ golang.org/x/vuln v1.1.1
)
require (
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index 8e55e146050..76db7d4b69e 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -616,10 +616,10 @@ golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
-golang.org/x/tools v0.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=
-golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
-golang.org/x/vuln v1.1.0 h1:ECEdI+aEtjpF90eqEcDL5Q11DWSZAw5PJQWlp0+gWqc=
-golang.org/x/vuln v1.1.0/go.mod h1:HT/Ar8fE34tbxWG2s7PYjVl+iIE4Er36/940Z+K540Y=
+golang.org/x/tools v0.21.1-0.20240514024235-59d9797072e7 h1:DnP3aRQn/r68glNGB8/7+3iE77jA+YZZCxpfIXx2MdA=
+golang.org/x/tools v0.21.1-0.20240514024235-59d9797072e7/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
+golang.org/x/vuln v1.1.1 h1:4nYQg4OSr7uYQMtjuuYqLAEVuTjY4k/CPMYqvv5OPcI=
+golang.org/x/vuln v1.1.1/go.mod h1:hNgE+SKMSp2wHVUpW0Ow2ejgKpNJePdML+4YjxrVxik=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
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=
From 8506c65135a8d64178d7422ff227df2c777cd1a9 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 May 2024 21:14:14 -0700
Subject: [PATCH 079/111] fix(deps): update module
github.com/golangci/golangci-lint to v1.59.0 (#10239)
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/golangci/golangci-lint](https://togithub.com/golangci/golangci-lint)
| `v1.58.2` -> `v1.59.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgolangci%2fgolangci-lint/v1.59.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgolangci%2fgolangci-lint/v1.59.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgolangci%2fgolangci-lint/v1.58.2/v1.59.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgolangci%2fgolangci-lint/v1.58.2/v1.59.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
golangci/golangci-lint
(github.com/golangci/golangci-lint)
###
[`v1.59.0`](https://togithub.com/golangci/golangci-lint/compare/v1.58.2...v1.59.0)
[Compare
Source](https://togithub.com/golangci/golangci-lint/compare/v1.58.2...v1.59.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).
---------
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 | 14 +++++++-------
internal/tools/go.sum | 32 ++++++++++++++++----------------
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/internal/tools/go.mod b/internal/tools/go.mod
index 13f384692ed..5f18668e17a 100644
--- a/internal/tools/go.mod
+++ b/internal/tools/go.mod
@@ -5,7 +5,7 @@ go 1.21.0
require (
github.com/a8m/envsubst v1.4.2
github.com/client9/misspell v0.3.4
- github.com/golangci/golangci-lint v1.58.2
+ github.com/golangci/golangci-lint v1.59.0
github.com/google/addlicense v1.1.1
github.com/jcchavezs/porto v0.6.0
github.com/pavius/impi v0.0.3
@@ -27,8 +27,8 @@ require (
github.com/Abirdcfly/dupword v0.0.14 // indirect
github.com/Antonboom/errname v0.1.13 // indirect
github.com/Antonboom/nilnil v0.1.9 // indirect
- github.com/Antonboom/testifylint v1.2.0 // indirect
- github.com/BurntSushi/toml v1.3.2 // indirect
+ github.com/Antonboom/testifylint v1.3.0 // indirect
+ github.com/BurntSushi/toml v1.4.0 // indirect
github.com/Crocmagnon/fatcontext v0.2.2 // indirect
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 // indirect
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.2.0 // indirect
@@ -72,7 +72,7 @@ require (
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fzipp/gocyclo v0.6.0 // indirect
github.com/ghostiam/protogetter v0.3.6 // indirect
- github.com/go-critic/go-critic v0.11.3 // indirect
+ github.com/go-critic/go-critic v0.11.4 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/go-git/go-git/v5 v5.11.0 // indirect
@@ -101,7 +101,7 @@ require (
github.com/gostaticanalysis/comment v1.4.2 // indirect
github.com/gostaticanalysis/forcetypeassert v0.1.0 // indirect
github.com/gostaticanalysis/nilerr v0.1.1 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hexops/gotextdiff v1.0.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -162,7 +162,7 @@ require (
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
github.com/sashamelentyev/usestdlibvars v1.25.0 // indirect
- github.com/securego/gosec/v2 v2.20.0 // indirect
+ github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
@@ -199,7 +199,7 @@ require (
github.com/ykadowak/zerologlint v0.1.5 // indirect
gitlab.com/bosi/decorder v0.4.2 // indirect
go-simpler.org/musttag v0.12.2 // indirect
- go-simpler.org/sloglint v0.6.0 // indirect
+ go-simpler.org/sloglint v0.7.0 // indirect
go.opentelemetry.io/build-tools v0.13.0 // indirect
go.uber.org/automaxprocs v1.5.3 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/internal/tools/go.sum b/internal/tools/go.sum
index 76db7d4b69e..d80123f69a8 100644
--- a/internal/tools/go.sum
+++ b/internal/tools/go.sum
@@ -12,10 +12,10 @@ github.com/Antonboom/errname v0.1.13 h1:JHICqsewj/fNckzrfVSe+T33svwQxmjC+1ntDsHO
github.com/Antonboom/errname v0.1.13/go.mod h1:uWyefRYRN54lBg6HseYCFhs6Qjcy41Y3Jl/dVhA87Ns=
github.com/Antonboom/nilnil v0.1.9 h1:eKFMejSxPSA9eLSensFmjW2XTgTwJMjZ8hUHtV4s/SQ=
github.com/Antonboom/nilnil v0.1.9/go.mod h1:iGe2rYwCq5/Me1khrysB4nwI7swQvjclR8/YRPl5ihQ=
-github.com/Antonboom/testifylint v1.2.0 h1:015bxD8zc5iY8QwTp4+RG9I4kIbqwvGX9TrBbb7jGdM=
-github.com/Antonboom/testifylint v1.2.0/go.mod h1:rkmEqjqVnHDRNsinyN6fPSLnoajzFwsCcguJgwADBkw=
-github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
-github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
+github.com/Antonboom/testifylint v1.3.0 h1:UiqrddKs1W3YK8R0TUuWwrVKlVAnS07DTUVWWs9c+y4=
+github.com/Antonboom/testifylint v1.3.0/go.mod h1:NV0hTlteCkViPW9mSR4wEMfwp+Hs1T3dY60bkvSfhpM=
+github.com/BurntSushi/toml v1.4.0 h1:kuoIxZQy2WRRk1pttg9asf+WVv6tWQuBNVmK8+nqPr0=
+github.com/BurntSushi/toml v1.4.0/go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho=
github.com/Crocmagnon/fatcontext v0.2.2 h1:OrFlsDdOj9hW/oBEJBNSuH7QWf+E9WPVHw+x52bXVbk=
github.com/Crocmagnon/fatcontext v0.2.2/go.mod h1:WSn/c/+MMNiD8Pri0ahRj0o9jVpeowzavOQplBJw6u0=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
@@ -124,8 +124,8 @@ github.com/ghostiam/protogetter v0.3.6 h1:R7qEWaSgFCsy20yYHNIJsU9ZOb8TziSRRxuAOT
github.com/ghostiam/protogetter v0.3.6/go.mod h1:7lpeDnEJ1ZjL/YtyoN99ljO4z0pd3H0d18/t2dPBxHw=
github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=
github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
-github.com/go-critic/go-critic v0.11.3 h1:SJbYD/egY1noYjTMNTlhGaYlfQ77rQmrNH7h+gtn0N0=
-github.com/go-critic/go-critic v0.11.3/go.mod h1:Je0h5Obm1rR5hAGA9mP2PDiOOk53W+n7pyvXErFKIgI=
+github.com/go-critic/go-critic v0.11.4 h1:O7kGOCx0NDIni4czrkRIXTnit0mkyKOCePh3My6OyEU=
+github.com/go-critic/go-critic v0.11.4/go.mod h1:2QAdo4iuLik5S9YG0rT4wcZ8QxwHYkrr6/2MWAiv/vc=
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic=
github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU=
@@ -171,8 +171,8 @@ github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9
github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e h1:ULcKCDV1LOZPFxGZaA6TlQbiM3J2GCPnkx/bGF6sX/g=
github.com/golangci/gofmt v0.0.0-20231018234816-f50ced29576e/go.mod h1:Pm5KhLPA8gSnQwrQ6ukebRcapGb/BG9iUkdaiCcGHJM=
-github.com/golangci/golangci-lint v1.58.2 h1:YHfceEW3CmHmJTPkmVNlqEa4xcjIulYIaVIiB5sNbC4=
-github.com/golangci/golangci-lint v1.58.2/go.mod h1:QH/aRLQIdNuOqEiki+4En6/k2SmeOsRJU/oiYffM1Ow=
+github.com/golangci/golangci-lint v1.59.0 h1:st69YDnAH/v2QXDcgUaZ0seQajHScPALBVkyitYLXEk=
+github.com/golangci/golangci-lint v1.59.0/go.mod h1:QNA32UWdUdHXnu+Ap5/ZU4WVwyp2tL94UxEXrSErjg0=
github.com/golangci/misspell v0.5.1 h1:/SjR1clj5uDjNLwYzCahHwIOPmQgoH04AyQIiWGbhCM=
github.com/golangci/misspell v0.5.1/go.mod h1:keMNyY6R9isGaSAu+4Q8NMBwMPkh15Gtc8UCVoDtAWo=
github.com/golangci/modinfo v0.3.4 h1:oU5huX3fbxqQXdfspamej74DFX0kyGLkw1ppvXoJ8GA=
@@ -213,8 +213,8 @@ github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod
github.com/gostaticanalysis/testutil v0.4.0 h1:nhdCmubdmDF6VEatUNjgUZBJKWRqugoISdUv3PPQgHY=
github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Repi5x3CuviD3dgAZaBU=
github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
@@ -305,8 +305,8 @@ github.com/nunnatsa/ginkgolinter v0.16.2 h1:8iLqHIZvN4fTLDC0Ke9tbSZVcyVHoBs0HIbn
github.com/nunnatsa/ginkgolinter v0.16.2/go.mod h1:4tWRinDN1FeJgU+iJANW/kz7xKN5nYRAOfJDQUS9dOQ=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
-github.com/onsi/ginkgo/v2 v2.17.2 h1:7eMhcy3GimbsA3hEnVKdw/PQM9XN9krpKVXsZdph0/g=
-github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc=
+github.com/onsi/ginkgo/v2 v2.17.3 h1:oJcvKpIb7/8uLpDDtnQuf18xVnwKp8DTD7DQ6gTd/MU=
+github.com/onsi/ginkgo/v2 v2.17.3/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc=
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
@@ -368,8 +368,8 @@ github.com/sashamelentyev/interfacebloat v1.1.0 h1:xdRdJp0irL086OyW1H/RTZTr1h/tM
github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ=
github.com/sashamelentyev/usestdlibvars v1.25.0 h1:IK8SI2QyFzy/2OD2PYnhy84dpfNo9qADrRt6LH8vSzU=
github.com/sashamelentyev/usestdlibvars v1.25.0/go.mod h1:9nl0jgOfHKWNFS43Ojw0i7aRoS4j6EBye3YBhmAIRF8=
-github.com/securego/gosec/v2 v2.20.0 h1:z/d5qp1niWa2avgFyUIglYTYYuGq2LrJwNj1HRVXsqc=
-github.com/securego/gosec/v2 v2.20.0/go.mod h1:hkiArbBZLwK1cehBcg3oFWUlYPWTBffPwwJVWChu83o=
+github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9 h1:rnO6Zp1YMQwv8AyxzuwsVohljJgp4L0ZqiCgtACsPsc=
+github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9/go.mod h1:dg7lPlu/xK/Ut9SedURCoZbVCR4yC7fM65DtH9/CDHs=
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/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=
@@ -469,8 +469,8 @@ go-simpler.org/assert v0.9.0 h1:PfpmcSvL7yAnWyChSjOz6Sp6m9j5lyK8Ok9pEL31YkQ=
go-simpler.org/assert v0.9.0/go.mod h1:74Eqh5eI6vCK6Y5l3PI8ZYFXG4Sa+tkr70OIPJAUr28=
go-simpler.org/musttag v0.12.2 h1:J7lRc2ysXOq7eM8rwaTYnNrHd5JwjppzB6mScysB2Cs=
go-simpler.org/musttag v0.12.2/go.mod h1:uN1DVIasMTQKk6XSik7yrJoEysGtR2GRqvWnI9S7TYM=
-go-simpler.org/sloglint v0.6.0 h1:0YcqSVG7LI9EVBfRPhgPec79BH6X6mwjFuUR5Mr7j1M=
-go-simpler.org/sloglint v0.6.0/go.mod h1:+kJJtebtPePWyG5boFwY46COydAggADDOHM22zOvzBk=
+go-simpler.org/sloglint v0.7.0 h1:rMZRxD9MbaGoRFobIOicMxZzum7AXNFDlez6xxJs5V4=
+go-simpler.org/sloglint v0.7.0/go.mod h1:g9SXiSWY0JJh4LS39/Q0GxzP/QX2cVcbTOYhDpXrJEs=
go.opentelemetry.io/build-tools v0.13.0 h1:0I3jJQ2zcJU8k4ZjyHNqUBX2Len1UvBIOzVP4b50g9A=
go.opentelemetry.io/build-tools v0.13.0/go.mod h1:PEtg5iWjNI9WAlKXP/xll/hgbq/Cp4Ma4T1ssKB2T0Q=
go.opentelemetry.io/build-tools/checkfile v0.13.0 h1:Nq13fOLpF9T+y4birZbfv6JurFC1Pla5UwC+t0GMbAo=
From 337dc28e78cda9499c28f2b9fa51ccdef2230b56 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Mon, 27 May 2024 21:33:23 -0700
Subject: [PATCH 080/111] fix(deps): update module
github.com/hashicorp/go-version to v1.7.0 (#10240)
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/hashicorp/go-version](https://togithub.com/hashicorp/go-version)
| `v1.6.0` -> `v1.7.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fgo-version/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fgo-version/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fgo-version/v1.6.0/v1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fgo-version/v1.6.0/v1.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
hashicorp/go-version
(github.com/hashicorp/go-version)
###
[`v1.7.0`](https://togithub.com/hashicorp/go-version/releases/tag/v1.7.0)
[Compare
Source](https://togithub.com/hashicorp/go-version/compare/v1.6.0...v1.7.0)
ENHANCEMENTS:
- Remove `reflect` dependency
([#91](https://togithub.com/hashicorp/go-version/pull/91))
- Implement the `database/sql.Scanner` and `database/sql/driver.Value`
interfaces for `Version`
([#133](https://togithub.com/hashicorp/go-version/pull/133))
INTERNAL:
- \[COMPLIANCE] Add Copyright and License Headers
([#115](https://togithub.com/hashicorp/go-version/pull/115))
- \[COMPLIANCE] Update MPL-2.0 LICENSE
([#105](https://togithub.com/hashicorp/go-version/pull/105))
- Bump actions/cache from 3.0.11 to 3.2.5
([#116](https://togithub.com/hashicorp/go-version/pull/116))
- Bump actions/checkout from 3.2.0 to 3.3.0
([#111](https://togithub.com/hashicorp/go-version/pull/111))
- Bump actions/upload-artifact from 3.1.1 to 3.1.2
([#112](https://togithub.com/hashicorp/go-version/pull/112))
- GHA Migration
([#103](https://togithub.com/hashicorp/go-version/pull/103))
- github: Pin external GitHub Actions to hashes
([#107](https://togithub.com/hashicorp/go-version/pull/107))
- SEC-090: Automated trusted workflow pinning (2023-04-05)
([#124](https://togithub.com/hashicorp/go-version/pull/124))
- update readme
([#104](https://togithub.com/hashicorp/go-version/pull/104))
---
### 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).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
---
cmd/builder/go.mod | 2 +-
cmd/builder/go.sum | 4 ++--
cmd/otelcorecol/go.mod | 2 +-
cmd/otelcorecol/go.sum | 4 ++--
config/configgrpc/go.mod | 2 +-
config/configgrpc/go.sum | 4 ++--
config/confighttp/go.mod | 2 +-
config/confighttp/go.sum | 4 ++--
config/internal/go.mod | 2 +-
config/internal/go.sum | 4 ++--
exporter/otlpexporter/go.mod | 2 +-
exporter/otlpexporter/go.sum | 4 ++--
exporter/otlphttpexporter/go.mod | 2 +-
exporter/otlphttpexporter/go.sum | 4 ++--
featuregate/go.mod | 2 +-
featuregate/go.sum | 4 ++--
go.mod | 2 +-
go.sum | 4 ++--
internal/e2e/go.mod | 2 +-
internal/e2e/go.sum | 4 ++--
otelcol/go.mod | 2 +-
otelcol/go.sum | 4 ++--
receiver/otlpreceiver/go.mod | 2 +-
receiver/otlpreceiver/go.sum | 4 ++--
semconv/go.mod | 2 +-
semconv/go.sum | 4 ++--
service/go.mod | 2 +-
service/go.sum | 4 ++--
28 files changed, 42 insertions(+), 42 deletions(-)
diff --git a/cmd/builder/go.mod b/cmd/builder/go.mod
index 8d647f78189..48fb449c113 100644
--- a/cmd/builder/go.mod
+++ b/cmd/builder/go.mod
@@ -6,7 +6,7 @@ module go.opentelemetry.io/collector/cmd/builder
go 1.21.0
require (
- github.com/hashicorp/go-version v1.6.0
+ github.com/hashicorp/go-version v1.7.0
github.com/knadh/koanf/parsers/yaml v0.1.0
github.com/knadh/koanf/providers/env v0.1.0
github.com/knadh/koanf/providers/file v0.1.0
diff --git a/cmd/builder/go.sum b/cmd/builder/go.sum
index bc3b48a8fa0..285fa6f1b88 100644
--- a/cmd/builder/go.sum
+++ b/cmd/builder/go.sum
@@ -6,8 +6,8 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
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/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 8afbf0f7149..dfbbf97ac84 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -52,7 +52,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.8 // indirect
diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum
index 7dba02de832..cb8ee7f11f2 100644
--- a/cmd/otelcorecol/go.sum
+++ b/cmd/otelcorecol/go.sum
@@ -64,8 +64,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index b208af55079..f86bb10bc4c 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -34,7 +34,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/snappy v0.0.4 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.2 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
diff --git a/config/configgrpc/go.sum b/config/configgrpc/go.sum
index 7deb62296de..2e2a2d31466 100644
--- a/config/configgrpc/go.sum
+++ b/config/configgrpc/go.sum
@@ -21,8 +21,8 @@ github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEW
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/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/config/confighttp/go.mod b/config/confighttp/go.mod
index 899cf0cf81f..2014c37d116 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -34,7 +34,7 @@ require (
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // 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.1 // indirect
diff --git a/config/confighttp/go.sum b/config/confighttp/go.sum
index 93ab96f66b3..b200e478308 100644
--- a/config/confighttp/go.sum
+++ b/config/confighttp/go.sum
@@ -21,8 +21,8 @@ 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.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/config/internal/go.mod b/config/internal/go.mod
index 03c2e239e9a..73bb4ff389a 100644
--- a/config/internal/go.mod
+++ b/config/internal/go.mod
@@ -11,7 +11,7 @@ require (
require (
github.com/davecgh/go-spew v1.1.1 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/config/internal/go.sum b/config/internal/go.sum
index c961debf0d0..8ecb783497e 100644
--- a/config/internal/go.sum
+++ b/config/internal/go.sum
@@ -1,7 +1,7 @@
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/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 5ede1d38ac1..fef731c2799 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -37,7 +37,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
diff --git a/exporter/otlpexporter/go.sum b/exporter/otlpexporter/go.sum
index 052288024d7..73edf49af8e 100644
--- a/exporter/otlpexporter/go.sum
+++ b/exporter/otlpexporter/go.sum
@@ -27,8 +27,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 9ba2c6a0ac8..b129049ffe9 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -36,7 +36,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.8 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
diff --git a/exporter/otlphttpexporter/go.sum b/exporter/otlphttpexporter/go.sum
index bad48c9d46a..23d45b02bfb 100644
--- a/exporter/otlphttpexporter/go.sum
+++ b/exporter/otlphttpexporter/go.sum
@@ -29,8 +29,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/featuregate/go.mod b/featuregate/go.mod
index b47f02148e2..d84687e6d87 100644
--- a/featuregate/go.mod
+++ b/featuregate/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/featuregate
go 1.21.0
require (
- github.com/hashicorp/go-version v1.6.0
+ github.com/hashicorp/go-version v1.7.0
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
diff --git a/featuregate/go.sum b/featuregate/go.sum
index f57a6bb525d..e6466bcc473 100644
--- a/featuregate/go.sum
+++ b/featuregate/go.sum
@@ -1,8 +1,8 @@
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
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/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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=
diff --git a/go.mod b/go.mod
index bebe2876fda..df749db418d 100644
--- a/go.mod
+++ b/go.mod
@@ -29,7 +29,7 @@ require (
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.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
diff --git a/go.sum b/go.sum
index 0aec3d0551a..beb61dfc4d1 100644
--- a/go.sum
+++ b/go.sum
@@ -25,8 +25,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/internal/e2e/go.mod b/internal/e2e/go.mod
index bc86f1285a2..fd679a676c3 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -35,7 +35,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.17.8 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
diff --git a/internal/e2e/go.sum b/internal/e2e/go.sum
index 86c8ab7e239..0dca59da058 100644
--- a/internal/e2e/go.sum
+++ b/internal/e2e/go.sum
@@ -29,8 +29,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/otelcol/go.mod b/otelcol/go.mod
index 2037630936f..af023d98085 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -43,7 +43,7 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/knadh/koanf/maps v0.1.1 // indirect
diff --git a/otelcol/go.sum b/otelcol/go.sum
index a4ea7782be5..6c46ac8b08a 100644
--- a/otelcol/go.sum
+++ b/otelcol/go.sum
@@ -58,8 +58,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 67bc6219a1e..60edd412c1a 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -37,7 +37,7 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.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
diff --git a/receiver/otlpreceiver/go.sum b/receiver/otlpreceiver/go.sum
index 86c8ab7e239..0dca59da058 100644
--- a/receiver/otlpreceiver/go.sum
+++ b/receiver/otlpreceiver/go.sum
@@ -29,8 +29,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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/semconv/go.mod b/semconv/go.mod
index e6be1d23269..09c3f5a8d6d 100644
--- a/semconv/go.mod
+++ b/semconv/go.mod
@@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/semconv
go 1.21.0
require (
- github.com/hashicorp/go-version v1.6.0
+ github.com/hashicorp/go-version v1.7.0
github.com/stretchr/testify v1.9.0
go.uber.org/goleak v1.3.0
)
diff --git a/semconv/go.sum b/semconv/go.sum
index 180ea53240d..29f98ec389f 100644
--- a/semconv/go.sum
+++ b/semconv/go.sum
@@ -1,8 +1,8 @@
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
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/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
+github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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=
diff --git a/service/go.mod b/service/go.mod
index 579d2505e06..8936dad92f7 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -56,7 +56,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
- github.com/hashicorp/go-version v1.6.0 // indirect
+ github.com/hashicorp/go-version v1.7.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
diff --git a/service/go.sum b/service/go.sum
index 17415699591..6c7bface428 100644
--- a/service/go.sum
+++ b/service/go.sum
@@ -57,8 +57,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/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
-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/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY=
+github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
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=
From 5f3fcc3ab0f92e670107918e5e2c1510c54e8e48 Mon Sep 17 00:00:00 2001
From: Andrzej Stencel
Date: Tue, 28 May 2024 16:51:46 +0200
Subject: [PATCH 081/111] [chore][exporter/debug] increase test coverage
(#10242)
Improving coverage after
https://github.com/open-telemetry/opentelemetry-collector/pull/9922.
---
exporter/debugexporter/exporter_test.go | 86 +++++++++++++++++++++++++
exporter/debugexporter/go.mod | 1 +
2 files changed, 87 insertions(+)
create mode 100644 exporter/debugexporter/exporter_test.go
diff --git a/exporter/debugexporter/exporter_test.go b/exporter/debugexporter/exporter_test.go
new file mode 100644
index 00000000000..5e4c01ee539
--- /dev/null
+++ b/exporter/debugexporter/exporter_test.go
@@ -0,0 +1,86 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package debugexporter // import "go.opentelemetry.io/collector/exporter/debugexporter"
+
+import (
+ "context"
+ "errors"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+ "github.com/stretchr/testify/require"
+ "go.uber.org/zap/zaptest"
+
+ "go.opentelemetry.io/collector/config/configtelemetry"
+ "go.opentelemetry.io/collector/exporter/exportertest"
+ "go.opentelemetry.io/collector/pdata/plog"
+ "go.opentelemetry.io/collector/pdata/pmetric"
+ "go.opentelemetry.io/collector/pdata/ptrace"
+ "go.opentelemetry.io/collector/pdata/testdata"
+)
+
+func TestTracesExporterNoErrors(t *testing.T) {
+ lte, err := createTracesExporter(context.Background(), exportertest.NewNopCreateSettings(), createDefaultConfig())
+ require.NotNil(t, lte)
+ assert.NoError(t, err)
+
+ assert.NoError(t, lte.ConsumeTraces(context.Background(), ptrace.NewTraces()))
+ assert.NoError(t, lte.ConsumeTraces(context.Background(), testdata.GenerateTraces(10)))
+
+ assert.NoError(t, lte.Shutdown(context.Background()))
+}
+
+func TestMetricsExporterNoErrors(t *testing.T) {
+ lme, err := createMetricsExporter(context.Background(), exportertest.NewNopCreateSettings(), createDefaultConfig())
+ require.NotNil(t, lme)
+ assert.NoError(t, err)
+
+ assert.NoError(t, lme.ConsumeMetrics(context.Background(), pmetric.NewMetrics()))
+ assert.NoError(t, lme.ConsumeMetrics(context.Background(), testdata.GenerateMetricsAllTypes()))
+ assert.NoError(t, lme.ConsumeMetrics(context.Background(), testdata.GenerateMetricsAllTypesEmpty()))
+ assert.NoError(t, lme.ConsumeMetrics(context.Background(), testdata.GenerateMetricsMetricTypeInvalid()))
+ assert.NoError(t, lme.ConsumeMetrics(context.Background(), testdata.GenerateMetrics(10)))
+
+ assert.NoError(t, lme.Shutdown(context.Background()))
+}
+
+func TestLogsExporterNoErrors(t *testing.T) {
+ lle, err := createLogsExporter(context.Background(), exportertest.NewNopCreateSettings(), createDefaultConfig())
+ require.NotNil(t, lle)
+ assert.NoError(t, err)
+
+ assert.NoError(t, lle.ConsumeLogs(context.Background(), plog.NewLogs()))
+ assert.NoError(t, lle.ConsumeLogs(context.Background(), testdata.GenerateLogs(10)))
+
+ assert.NoError(t, lle.Shutdown(context.Background()))
+}
+
+func TestExporterErrors(t *testing.T) {
+ le := newDebugExporter(zaptest.NewLogger(t), configtelemetry.LevelDetailed)
+ require.NotNil(t, le)
+
+ errWant := errors.New("my error")
+ le.tracesMarshaler = &errMarshaler{err: errWant}
+ le.metricsMarshaler = &errMarshaler{err: errWant}
+ le.logsMarshaler = &errMarshaler{err: errWant}
+ assert.Equal(t, errWant, le.pushTraces(context.Background(), ptrace.NewTraces()))
+ assert.Equal(t, errWant, le.pushMetrics(context.Background(), pmetric.NewMetrics()))
+ assert.Equal(t, errWant, le.pushLogs(context.Background(), plog.NewLogs()))
+}
+
+type errMarshaler struct {
+ err error
+}
+
+func (e errMarshaler) MarshalLogs(plog.Logs) ([]byte, error) {
+ return nil, e.err
+}
+
+func (e errMarshaler) MarshalMetrics(pmetric.Metrics) ([]byte, error) {
+ return nil, e.err
+}
+
+func (e errMarshaler) MarshalTraces(ptrace.Traces) ([]byte, error) {
+ return nil, e.err
+}
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index cd6315ed8bd..1abf5c7a3eb 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -10,6 +10,7 @@ require (
go.opentelemetry.io/collector/consumer v0.101.0
go.opentelemetry.io/collector/exporter v0.101.0
go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
From ead39cc61653ed9435930c23c62dd79646ec04d3 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 28 May 2024 08:13:37 -0700
Subject: [PATCH 082/111] [mdatagen] add support for bucket boundaries (#10229)
This allows setting of explicit boundaries for histograms.
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10218
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
..._move-batchprocessortest-mdatagentest.yaml | 25 +++++++++++++++++++
.../internal/metadata/generated_telemetry.go | 2 +-
.../internal/samplereceiver/metadata.yaml | 1 +
cmd/mdatagen/loader_test.go | 1 +
cmd/mdatagen/metadata-schema.yaml | 2 ++
cmd/mdatagen/metricdata.go | 3 ++-
cmd/mdatagen/templates/telemetry.go.tmpl | 3 +++
7 files changed, 35 insertions(+), 2 deletions(-)
create mode 100644 .chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
diff --git a/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml b/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
new file mode 100644
index 00000000000..b297d7b51ea
--- /dev/null
+++ b/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: add support for bucket boundaries for histograms
+
+# One or more tracking issues or pull requests related to the change
+issues: [10218]
+
+# (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:
+
+# 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/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
index 86a50251b2d..a3dae0317ee 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
@@ -67,7 +67,7 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
builder.RequestDuration, err = meter.Float64Histogram(
"request_duration",
metric.WithDescription("Duration of request"),
- metric.WithUnit("s"),
+ metric.WithUnit("s"), metric.WithExplicitBucketBoundaries([]float64{1, 10, 100}...),
)
errs = errors.Join(errs, err)
return &builder, errs
diff --git a/cmd/mdatagen/internal/samplereceiver/metadata.yaml b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
index 824b1e0ecae..03955d62c0a 100644
--- a/cmd/mdatagen/internal/samplereceiver/metadata.yaml
+++ b/cmd/mdatagen/internal/samplereceiver/metadata.yaml
@@ -165,6 +165,7 @@ telemetry:
unit: s
histogram:
value_type: double
+ bucket_boundaries: [1, 10, 100]
process_runtime_total_alloc_bytes:
enabled: true
description: Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
diff --git a/cmd/mdatagen/loader_test.go b/cmd/mdatagen/loader_test.go
index 0c32493d283..bdd8ffeeb37 100644
--- a/cmd/mdatagen/loader_test.go
+++ b/cmd/mdatagen/loader_test.go
@@ -248,6 +248,7 @@ func TestLoadMetadata(t *testing.T) {
Unit: strPtr("s"),
Histogram: &histogram{
MetricValueType: MetricValueType{pmetric.NumberDataPointValueTypeDouble},
+ Boundaries: []float64{1, 10, 100},
},
},
"process_runtime_total_alloc_bytes": {
diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml
index a4c3af67b05..ebdb51fddc3 100644
--- a/cmd/mdatagen/metadata-schema.yaml
+++ b/cmd/mdatagen/metadata-schema.yaml
@@ -157,5 +157,7 @@ telemetry:
value_type:
# Required for sum metric: whether the metric is monotonic (no negative delta values).
monotonic: bool
+ # Bucket boundaries are only available to set for histogram metrics.
+ bucket_boundaries: [double]
# Optional: array of attributes that were defined in the attributes section that are emitted by this metric.
attributes: [string]
diff --git a/cmd/mdatagen/metricdata.go b/cmd/mdatagen/metricdata.go
index 2acf4b77b3b..4749e03e608 100644
--- a/cmd/mdatagen/metricdata.go
+++ b/cmd/mdatagen/metricdata.go
@@ -223,7 +223,8 @@ type histogram struct {
Mono `mapstructure:",squash"`
MetricValueType `mapstructure:"value_type"`
MetricInputType `mapstructure:",squash"`
- Async bool `mapstructure:"async,omitempty"`
+ Async bool `mapstructure:"async,omitempty"`
+ Boundaries []float64 `mapstructure:"bucket_boundaries"`
}
func (d histogram) Type() string {
diff --git a/cmd/mdatagen/templates/telemetry.go.tmpl b/cmd/mdatagen/templates/telemetry.go.tmpl
index 5643b66967f..7f9ca171065 100644
--- a/cmd/mdatagen/templates/telemetry.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry.go.tmpl
@@ -61,6 +61,9 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
"{{ $name }}",
metric.WithDescription("{{ $metric.Description }}"),
metric.WithUnit("{{ $metric.Unit }}"),
+ {{- if eq $metric.Data.Type "Histogram" -}}
+ {{ if $metric.Data.Boundaries -}}metric.WithExplicitBucketBoundaries([]float64{ {{- range $metric.Data.Boundaries }} {{.}}, {{- end }} }...),{{- end }}
+ {{- end }}
{{ if $metric.Data.Async -}}
metric.With{{ casesTitle $metric.Data.BasicType }}Callback(func(_ context.Context, o metric.{{ casesTitle $metric.Data.BasicType }}Observer) error {
o.Observe(builder.observe{{ $name.Render }}())
From 1013bc4976d1c69197f77600ec363bae5765f6a8 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 28 May 2024 08:59:50 -0700
Subject: [PATCH 083/111] mdatagen: support setting telemetry level in
telemetry builder (#10234)
This allows components to set the minimum level needed for them to
produce telemetry. By default, this is set to
`configtelemetryLevelBasic`. If the telemetry level is below that
minimum level, then the noop meter is used for metrics.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_mdatagen-telemetrylevel.yaml | 25 +++++++++++++++++
.../codeboten_mdatagen-telemetrylevel2.yaml | 25 +++++++++++++++++
cmd/mdatagen/go.mod | 2 +-
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
cmd/mdatagen/loader.go | 2 ++
cmd/mdatagen/main_test.go | 10 +++++--
cmd/mdatagen/metadata-schema.yaml | 2 ++
cmd/mdatagen/templates/telemetry.go.tmpl | 27 ++++++++++++++++---
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
processor/batchprocessor/metadata.yaml | 1 +
processor/batchprocessor/metrics.go | 2 +-
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
.../internal/metadata/generated_telemetry.go | 23 +++++++++++++---
15 files changed, 208 insertions(+), 26 deletions(-)
create mode 100644 .chloggen/codeboten_mdatagen-telemetrylevel.yaml
create mode 100644 .chloggen/codeboten_mdatagen-telemetrylevel2.yaml
diff --git a/.chloggen/codeboten_mdatagen-telemetrylevel.yaml b/.chloggen/codeboten_mdatagen-telemetrylevel.yaml
new file mode 100644
index 00000000000..239fed8b0b4
--- /dev/null
+++ b/.chloggen/codeboten_mdatagen-telemetrylevel.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: support using telemetry level in telemetry builder
+
+# One or more tracking issues or pull requests related to the change
+issues: [10234]
+
+# (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: This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetry.LevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics.
+
+# 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/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml b/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml
new file mode 100644
index 00000000000..34a55fb964b
--- /dev/null
+++ b/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: batchprocessor
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: respect telemetry level for all metrics
+
+# One or more tracking issues or pull requests related to the change
+issues: [10234]
+
+# (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:
+
+# 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/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 8bc6bab15d6..3828e84fdbe 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -6,6 +6,7 @@ require (
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.101.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.101.0
go.opentelemetry.io/collector/confmap v0.101.0
go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
go.opentelemetry.io/collector/consumer v0.101.0
@@ -43,7 +44,6 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
diff --git a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
index a3dae0317ee..f40369d8c55 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
@@ -7,9 +7,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -27,11 +29,19 @@ type TelemetryBuilder struct {
ProcessRuntimeTotalAllocBytes metric.Int64ObservableCounter
observeProcessRuntimeTotalAllocBytes func() int64
RequestDuration metric.Float64Histogram
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// WithProcessRuntimeTotalAllocBytesCallback sets callback for observable ProcessRuntimeTotalAllocBytes metric.
func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilderOption {
return func(builder *TelemetryBuilder) {
@@ -42,12 +52,19 @@ func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilder
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelBasic {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.BatchSizeTriggerSend, err = meter.Int64Counter(
"batch_size_trigger_send",
metric.WithDescription("Number of times the batch was sent due to a size trigger"),
diff --git a/cmd/mdatagen/loader.go b/cmd/mdatagen/loader.go
index 4ed517c6613..a2f1de68419 100644
--- a/cmd/mdatagen/loader.go
+++ b/cmd/mdatagen/loader.go
@@ -11,6 +11,7 @@ import (
"path/filepath"
"strings"
+ "go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
"go.opentelemetry.io/collector/confmap/provider/fileprovider"
@@ -227,6 +228,7 @@ type tests struct {
}
type telemetry struct {
+ Level configtelemetry.Level `mapstructure:"level"`
Metrics map[metricName]metric `mapstructure:"metrics"`
}
diff --git a/cmd/mdatagen/main_test.go b/cmd/mdatagen/main_test.go
index c2ece4eb099..7136b9b8f80 100644
--- a/cmd/mdatagen/main_test.go
+++ b/cmd/mdatagen/main_test.go
@@ -538,9 +538,12 @@ func TestGenerateTelemetryMetadata(t *testing.T) {
package metadata
import (
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -569,9 +572,12 @@ func Tracer(settings component.TelemetrySettings) trace.Tracer {
package metadata
import (
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
diff --git a/cmd/mdatagen/metadata-schema.yaml b/cmd/mdatagen/metadata-schema.yaml
index ebdb51fddc3..24b5d038d00 100644
--- a/cmd/mdatagen/metadata-schema.yaml
+++ b/cmd/mdatagen/metadata-schema.yaml
@@ -130,6 +130,8 @@ tests:
# Optional: map of metric names with the key being the metric name and value
# being described below.
telemetry:
+ # Optional: level allows components to specify the minimum telemetry level for metrics to be produced. defaults to basic if not set.
+ level: string
metrics:
:
# Required: whether the metric is collected by default.
diff --git a/cmd/mdatagen/templates/telemetry.go.tmpl b/cmd/mdatagen/templates/telemetry.go.tmpl
index 7f9ca171065..21c4e374849 100644
--- a/cmd/mdatagen/templates/telemetry.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry.go.tmpl
@@ -8,9 +8,12 @@ import (
"errors"
{{- end }}
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -31,11 +34,19 @@ type TelemetryBuilder struct {
observe{{ $name.Render }} func() {{ $metric.Data.BasicType }}
{{- end }}
{{- end }}
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
{{- range $name, $metric := .Telemetry.Metrics }}
{{ if $metric.Data.Async -}}
// With{{ $name.Render }}Callback sets callback for observable {{ $name.Render }} metric.
@@ -50,12 +61,20 @@ func With{{ $name.Render }}Callback(cb func() {{ $metric.Data.BasicType }}) tele
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.Level{{ casesTitle .Telemetry.Level.String }} {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
+
{{- range $name, $metric := .Telemetry.Metrics }}
builder.{{ $name.Render }}, err = meter.{{ $metric.Data.Instrument }}(
"{{ $name }}",
diff --git a/exporter/exporterhelper/internal/metadata/generated_telemetry.go b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
index d2d0339d776..481cc2b27ec 100644
--- a/exporter/exporterhelper/internal/metadata/generated_telemetry.go
+++ b/exporter/exporterhelper/internal/metadata/generated_telemetry.go
@@ -6,9 +6,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -31,20 +33,35 @@ type TelemetryBuilder struct {
ExporterSentLogRecords metric.Int64Counter
ExporterSentMetricPoints metric.Int64Counter
ExporterSentSpans metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelBasic {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.ExporterEnqueueFailedLogRecords, err = meter.Int64Counter(
"exporter_enqueue_failed_log_records",
metric.WithDescription("Number of log records failed to be added to the sending queue."),
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry.go b/processor/batchprocessor/internal/metadata/generated_telemetry.go
index b0394550566..6fbb2b83b94 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry.go
@@ -6,9 +6,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -26,20 +28,35 @@ type TelemetryBuilder struct {
ProcessorBatchBatchSendSizeBytes metric.Int64Histogram
ProcessorBatchBatchSizeTriggerSend metric.Int64Counter
ProcessorBatchTimeoutTriggerSend metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelNormal {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.ProcessorBatchBatchSendSize, err = meter.Int64Histogram(
"processor_batch_batch_send_size",
metric.WithDescription("Number of units in the batch"),
diff --git a/processor/batchprocessor/metadata.yaml b/processor/batchprocessor/metadata.yaml
index 986ada2ae27..c90e03120e0 100644
--- a/processor/batchprocessor/metadata.yaml
+++ b/processor/batchprocessor/metadata.yaml
@@ -9,6 +9,7 @@ status:
tests:
telemetry:
+ level: normal
metrics:
processor_batch_batch_size_trigger_send:
enabled: true
diff --git a/processor/batchprocessor/metrics.go b/processor/batchprocessor/metrics.go
index 375a54c87d8..2e803809fab 100644
--- a/processor/batchprocessor/metrics.go
+++ b/processor/batchprocessor/metrics.go
@@ -66,7 +66,7 @@ func (bpt *batchProcessorTelemetry) createOtelMetrics(set component.TelemetrySet
meter = noopmetric.Meter{}
}
- bpt.telemetryBuilder, err = metadata.NewTelemetryBuilder(set)
+ bpt.telemetryBuilder, err = metadata.NewTelemetryBuilder(set, metadata.WithLevel(bpt.level))
errors = multierr.Append(errors, err)
bpt.batchMetadataCardinality, err = meter.Int64ObservableUpDownCounter(
diff --git a/processor/processorhelper/internal/metadata/generated_telemetry.go b/processor/processorhelper/internal/metadata/generated_telemetry.go
index e32610d463d..568b689edd5 100644
--- a/processor/processorhelper/internal/metadata/generated_telemetry.go
+++ b/processor/processorhelper/internal/metadata/generated_telemetry.go
@@ -6,9 +6,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -31,20 +33,35 @@ type TelemetryBuilder struct {
ProcessorRefusedLogRecords metric.Int64Counter
ProcessorRefusedMetricPoints metric.Int64Counter
ProcessorRefusedSpans metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelBasic {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.ProcessorAcceptedLogRecords, err = meter.Int64Counter(
"processor_accepted_log_records",
metric.WithDescription("Number of log records successfully pushed into the next component in the pipeline."),
diff --git a/receiver/receiverhelper/internal/metadata/generated_telemetry.go b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
index 96b5b5b5fe6..ee70b2e498f 100644
--- a/receiver/receiverhelper/internal/metadata/generated_telemetry.go
+++ b/receiver/receiverhelper/internal/metadata/generated_telemetry.go
@@ -6,9 +6,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -28,20 +30,35 @@ type TelemetryBuilder struct {
ReceiverRefusedLogRecords metric.Int64Counter
ReceiverRefusedMetricPoints metric.Int64Counter
ReceiverRefusedSpans metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelBasic {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.ReceiverAcceptedLogRecords, err = meter.Int64Counter(
"receiver_accepted_log_records",
metric.WithDescription("Number of log records successfully pushed into the pipeline."),
diff --git a/receiver/scraperhelper/internal/metadata/generated_telemetry.go b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
index 4aa060e9c33..e8835809d4b 100644
--- a/receiver/scraperhelper/internal/metadata/generated_telemetry.go
+++ b/receiver/scraperhelper/internal/metadata/generated_telemetry.go
@@ -6,9 +6,11 @@ import (
"errors"
"go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/config/configtelemetry"
)
func Meter(settings component.TelemetrySettings) metric.Meter {
@@ -24,20 +26,35 @@ func Tracer(settings component.TelemetrySettings) trace.Tracer {
type TelemetryBuilder struct {
ScraperErroredMetricPoints metric.Int64Counter
ScraperScrapedMetricPoints metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
type telemetryBuilderOption func(*TelemetryBuilder)
+// WithLevel sets the current telemetry level for the component.
+func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.level = lvl
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
+ builder := TelemetryBuilder{level: configtelemetry.LevelBasic}
for _, op := range options {
op(&builder)
}
- var err, errs error
- meter := Meter(settings)
+ var (
+ err, errs error
+ meter metric.Meter
+ )
+ if builder.level >= configtelemetry.LevelBasic {
+ meter = Meter(settings)
+ } else {
+ meter = noop.Meter{}
+ }
builder.ScraperErroredMetricPoints, err = meter.Int64Counter(
"scraper_errored_metric_points",
metric.WithDescription("Number of metric points that were unable to be scraped."),
From 14e0d89e00a291ba27f2b1e198373df9e1199ac1 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 28 May 2024 09:07:28 -0700
Subject: [PATCH 084/111] [chore]fix semconv script (#10241)
The automation script that runs on a cron to auto-generate PRs for new
semconv updates has been failing since it was created. This PR fixes a
couple of issues w/ the workflow that were preventing it from working.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.github/workflows/generate-semantic-conventions-pr.yaml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/generate-semantic-conventions-pr.yaml b/.github/workflows/generate-semantic-conventions-pr.yaml
index 0edf9e4591c..693d4a5b364 100644
--- a/.github/workflows/generate-semantic-conventions-pr.yaml
+++ b/.github/workflows/generate-semantic-conventions-pr.yaml
@@ -21,15 +21,14 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
- # version in this repo are prefixed with v
latest_version=v$(gh release view \
--repo open-telemetry/semantic-conventions \
--json tagName \
--jq .tagName \
| sed 's/^v//')
- rc=$(find semconv -name $latest_version | grep .)
- if $rc == 0; then
+ found=$(find semconv -name $latest_version)
+ if [[ $found =~ $latest_version ]]; then
already_added=true
fi
@@ -60,8 +59,9 @@ jobs:
- name: Checkout semantic-convention
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
- repository: open-telemetry/semantic-convention
+ repository: open-telemetry/semantic-conventions
path: tmp-semantic-conventions
+ fetch-depth: 0
- name: Update version
env:
From 50fd50aedf9ef0d92ec59cd4eb005c164490dddd Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 28 May 2024 09:08:07 -0700
Subject: [PATCH 085/111] [chore] remove WithOTel test wrapper (#10236)
This is no longer needed since we're not testing WithOTel and
WithOpenCensus.
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
exporter/exporterhelper/obsexporter_test.go | 10 ++++------
processor/batchprocessor/metrics_test.go | 4 +---
processor/processorhelper/obsreport_test.go | 10 ++++------
receiver/receiverhelper/obsreport_test.go | 10 ++++------
receiver/scraperhelper/obsreport_test.go | 10 ++++------
5 files changed, 17 insertions(+), 27 deletions(-)
diff --git a/exporter/exporterhelper/obsexporter_test.go b/exporter/exporterhelper/obsexporter_test.go
index f6f46ccbad2..63da5fcf803 100644
--- a/exporter/exporterhelper/obsexporter_test.go
+++ b/exporter/exporterhelper/obsexporter_test.go
@@ -237,11 +237,9 @@ type testParams struct {
}
func testTelemetry(t *testing.T, id component.ID, testFunc func(t *testing.T, tt componenttest.TestTelemetry)) {
- t.Run("WithOTel", func(t *testing.T) {
- tt, err := componenttest.SetupTelemetry(id)
- require.NoError(t, err)
- t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
+ tt, err := componenttest.SetupTelemetry(id)
+ require.NoError(t, err)
+ t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
- testFunc(t, tt)
- })
+ testFunc(t, tt)
}
diff --git a/processor/batchprocessor/metrics_test.go b/processor/batchprocessor/metrics_test.go
index 47345e99d57..0f7f4db9165 100644
--- a/processor/batchprocessor/metrics_test.go
+++ b/processor/batchprocessor/metrics_test.go
@@ -47,9 +47,7 @@ type expectedMetrics struct {
}
func telemetryTest(t *testing.T, testFunc func(t *testing.T, tel testTelemetry)) {
- t.Run("WithOTel", func(t *testing.T) {
- testFunc(t, setupTelemetry(t))
- })
+ testFunc(t, setupTelemetry(t))
}
func setupTelemetry(t *testing.T) testTelemetry {
diff --git a/processor/processorhelper/obsreport_test.go b/processor/processorhelper/obsreport_test.go
index d80c1c180f6..f9df6456e08 100644
--- a/processor/processorhelper/obsreport_test.go
+++ b/processor/processorhelper/obsreport_test.go
@@ -173,11 +173,9 @@ func TestCheckProcessorLogViews(t *testing.T) {
}
func testTelemetry(t *testing.T, id component.ID, testFunc func(t *testing.T, tt componenttest.TestTelemetry)) {
- t.Run("WithOTel", func(t *testing.T) {
- tt, err := componenttest.SetupTelemetry(id)
- require.NoError(t, err)
- t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
+ tt, err := componenttest.SetupTelemetry(id)
+ require.NoError(t, err)
+ t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
- testFunc(t, tt)
- })
+ testFunc(t, tt)
}
diff --git a/receiver/receiverhelper/obsreport_test.go b/receiver/receiverhelper/obsreport_test.go
index 3a417e176aa..b6d52f9bed0 100644
--- a/receiver/receiverhelper/obsreport_test.go
+++ b/receiver/receiverhelper/obsreport_test.go
@@ -297,11 +297,9 @@ func TestCheckReceiverLogsViews(t *testing.T) {
}
func testTelemetry(t *testing.T, id component.ID, testFunc func(t *testing.T, tt componenttest.TestTelemetry)) {
- t.Run("WithOTel", func(t *testing.T) {
- tt, err := componenttest.SetupTelemetry(id)
- require.NoError(t, err)
- t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
+ tt, err := componenttest.SetupTelemetry(id)
+ require.NoError(t, err)
+ t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
- testFunc(t, tt)
- })
+ testFunc(t, tt)
}
diff --git a/receiver/scraperhelper/obsreport_test.go b/receiver/scraperhelper/obsreport_test.go
index 6ccbc8041cd..5e807962f0d 100644
--- a/receiver/scraperhelper/obsreport_test.go
+++ b/receiver/scraperhelper/obsreport_test.go
@@ -112,11 +112,9 @@ func TestCheckScraperMetricsViews(t *testing.T) {
}
func testTelemetry(t *testing.T, id component.ID, testFunc func(t *testing.T, tt componenttest.TestTelemetry)) {
- t.Run("WithOTel", func(t *testing.T) {
- tt, err := componenttest.SetupTelemetry(id)
- require.NoError(t, err)
- t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
+ tt, err := componenttest.SetupTelemetry(id)
+ require.NoError(t, err)
+ t.Cleanup(func() { require.NoError(t, tt.Shutdown(context.Background())) })
- testFunc(t, tt)
- })
+ testFunc(t, tt)
}
From 96185331e51947b6201b8354641affb647ad1e17 Mon Sep 17 00:00:00 2001
From: Bogdan Drutu
Date: Tue, 28 May 2024 20:54:42 +0300
Subject: [PATCH 086/111] [chore] cleanup tostring function, remove unclear uri
parameter (#10244)
Signed-off-by: Bogdan Drutu
---
confmap/expand.go | 8 ++++----
confmap/expand_test.go | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/confmap/expand.go b/confmap/expand.go
index a913e768942..05ec5a31162 100644
--- a/confmap/expand.go
+++ b/confmap/expand.go
@@ -113,15 +113,15 @@ func (mr *Resolver) findAndExpandURI(ctx context.Context, input string) (any, bo
if err != nil {
return input, false, err
}
- repl, err := toString(uri, expanded)
+ repl, err := toString(expanded)
if err != nil {
- return input, false, err
+ return input, false, fmt.Errorf("expanding %v: %w", uri, err)
}
return strings.ReplaceAll(input, uri, repl), changed, err
}
// toString attempts to convert input to a string.
-func toString(strURI string, input any) (string, error) {
+func toString(input any) (string, error) {
// This list must be kept in sync with checkRawConfType.
val := reflect.ValueOf(input)
switch val.Kind() {
@@ -134,7 +134,7 @@ func toString(strURI string, input any) (string, error) {
case reflect.Bool:
return strconv.FormatBool(val.Bool()), nil
default:
- return "", fmt.Errorf("expanding %v, expected convertable to string value type, got %q(%T)", strURI, input, input)
+ return "", fmt.Errorf("expected convertable to string value type, got %q(%T)", input, input)
}
}
diff --git a/confmap/expand_test.go b/confmap/expand_test.go
index c1dc6646152..984a96a2995 100644
--- a/confmap/expand_test.go
+++ b/confmap/expand_test.go
@@ -457,5 +457,5 @@ func TestResolverExpandStringValueInvalidReturnValue(t *testing.T) {
require.NoError(t, err)
_, err = resolver.Resolve(context.Background())
- assert.EqualError(t, err, `expanding ${test:PORT}, expected convertable to string value type, got ['Ó›']([]interface {})`)
+ assert.EqualError(t, err, `expanding ${test:PORT}: expected convertable to string value type, got ['Ó›']([]interface {})`)
}
From 90ed7b61f96bd084e6aede93a395d99ca8c52b7e Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Tue, 28 May 2024 11:15:55 -0700
Subject: [PATCH 087/111] [batchprocessor] use mdatagen for async metric
(#10233)
Follows
https://github.com/open-telemetry/opentelemetry-collector/pull/10232,
use mdatagen for async counter
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../batchprocessor/batch_processor_test.go | 84 ++++++++++++++++---
processor/batchprocessor/documentation.md | 8 ++
processor/batchprocessor/go.mod | 2 +-
.../internal/metadata/generated_telemetry.go | 34 ++++++--
processor/batchprocessor/metadata.yaml | 9 ++
processor/batchprocessor/metrics.go | 59 +++----------
6 files changed, 132 insertions(+), 64 deletions(-)
diff --git a/processor/batchprocessor/batch_processor_test.go b/processor/batchprocessor/batch_processor_test.go
index 6e8033fb387..20c1270e5e5 100644
--- a/processor/batchprocessor/batch_processor_test.go
+++ b/processor/batchprocessor/batch_processor_test.go
@@ -13,6 +13,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/attribute"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
"go.opentelemetry.io/collector/client"
"go.opentelemetry.io/collector/component/componenttest"
@@ -165,17 +167,14 @@ func TestBatchProcessorSpansDeliveredEnforceBatchSize(t *testing.T) {
}
func TestBatchProcessorSentBySize(t *testing.T) {
- telemetryTest(t, testBatchProcessorSentBySize)
-}
-
-func testBatchProcessorSentBySize(t *testing.T, tel testTelemetry) {
+ tel := setupTestTelemetry()
sizer := &ptrace.ProtoMarshaler{}
sink := new(consumertest.TracesSink)
cfg := createDefaultConfig().(*Config)
sendBatchSize := 20
cfg.SendBatchSize = uint32(sendBatchSize)
cfg.Timeout = 500 * time.Millisecond
- creationSet := tel.NewProcessorCreateSettings()
+ creationSet := tel.NewCreateSettings()
creationSet.MetricsLevel = configtelemetry.LevelDetailed
batcher, err := newBatchTracesProcessor(creationSet, sink, cfg)
require.NoError(t, err)
@@ -211,11 +210,76 @@ func testBatchProcessorSentBySize(t *testing.T, tel testTelemetry) {
}
}
- tel.assertMetrics(t, expectedMetrics{
- sendCount: float64(expectedBatchesNum),
- sendSizeSum: float64(sink.SpanCount()),
- sendSizeBytesSum: float64(sizeSum),
- sizeTrigger: float64(expectedBatchesNum),
+ tel.assertMetrics(t, []metricdata.Metrics{
+ {
+ Name: "processor_batch_batch_send_size_bytes",
+ Description: "Number of bytes in batch that was sent",
+ Unit: "By",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
+ 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
+ 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000},
+ BucketCounts: []uint64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sizeSum),
+ Min: metricdata.NewExtrema(int64(sizeSum / expectedBatchesNum)),
+ Max: metricdata.NewExtrema(int64(sizeSum / expectedBatchesNum)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_send_size",
+ Description: "Number of units in the batch",
+ Unit: "1",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000},
+ BucketCounts: []uint64{0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sink.SpanCount()),
+ Min: metricdata.NewExtrema(int64(sendBatchSize)),
+ Max: metricdata.NewExtrema(int64(sendBatchSize)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_size_trigger_send",
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: int64(expectedBatchesNum),
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_metadata_cardinality",
+ Description: "Number of distinct metadata value combinations being processed",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: false,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ },
+ },
+ },
+ },
})
}
diff --git a/processor/batchprocessor/documentation.md b/processor/batchprocessor/documentation.md
index 294dc29942f..c27bb1818c6 100644
--- a/processor/batchprocessor/documentation.md
+++ b/processor/batchprocessor/documentation.md
@@ -30,6 +30,14 @@ Number of times the batch was sent due to a size trigger
| ---- | ----------- | ---------- | --------- |
| 1 | Sum | Int | true |
+### processor_batch_metadata_cardinality
+
+Number of distinct metadata value combinations being processed
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| 1 | Sum | Int | false |
+
### processor_batch_timeout_trigger_send
Number of times the batch was sent due to a timeout trigger
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index ba3fa1ab4a5..7a03fb04555 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -22,7 +22,6 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
- go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
)
@@ -45,6 +44,7 @@ require (
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
+ go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry.go b/processor/batchprocessor/internal/metadata/generated_telemetry.go
index 6fbb2b83b94..2289368ab0b 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry.go
@@ -3,6 +3,7 @@
package metadata
import (
+ "context"
"errors"
"go.opentelemetry.io/otel/metric"
@@ -24,11 +25,13 @@ func Tracer(settings component.TelemetrySettings) trace.Tracer {
// TelemetryBuilder provides an interface for components to report telemetry
// as defined in metadata and user config.
type TelemetryBuilder struct {
- ProcessorBatchBatchSendSize metric.Int64Histogram
- ProcessorBatchBatchSendSizeBytes metric.Int64Histogram
- ProcessorBatchBatchSizeTriggerSend metric.Int64Counter
- ProcessorBatchTimeoutTriggerSend metric.Int64Counter
- level configtelemetry.Level
+ ProcessorBatchBatchSendSize metric.Int64Histogram
+ ProcessorBatchBatchSendSizeBytes metric.Int64Histogram
+ ProcessorBatchBatchSizeTriggerSend metric.Int64Counter
+ ProcessorBatchMetadataCardinality metric.Int64ObservableUpDownCounter
+ observeProcessorBatchMetadataCardinality func() int64
+ ProcessorBatchTimeoutTriggerSend metric.Int64Counter
+ level configtelemetry.Level
}
// telemetryBuilderOption applies changes to default builder.
@@ -41,6 +44,13 @@ func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
}
}
+// WithProcessorBatchMetadataCardinalityCallback sets callback for observable ProcessorBatchMetadataCardinality metric.
+func WithProcessorBatchMetadataCardinalityCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessorBatchMetadataCardinality = cb
+ }
+}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
@@ -60,13 +70,13 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
builder.ProcessorBatchBatchSendSize, err = meter.Int64Histogram(
"processor_batch_batch_send_size",
metric.WithDescription("Number of units in the batch"),
- metric.WithUnit("1"),
+ metric.WithUnit("1"), metric.WithExplicitBucketBoundaries([]float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000}...),
)
errs = errors.Join(errs, err)
builder.ProcessorBatchBatchSendSizeBytes, err = meter.Int64Histogram(
"processor_batch_batch_send_size_bytes",
metric.WithDescription("Number of bytes in batch that was sent"),
- metric.WithUnit("By"),
+ metric.WithUnit("By"), metric.WithExplicitBucketBoundaries([]float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000, 200000, 300000, 400000, 500000, 600000, 700000, 800000, 900000, 1e+06, 2e+06, 3e+06, 4e+06, 5e+06, 6e+06, 7e+06, 8e+06, 9e+06}...),
)
errs = errors.Join(errs, err)
builder.ProcessorBatchBatchSizeTriggerSend, err = meter.Int64Counter(
@@ -75,6 +85,16 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
metric.WithUnit("1"),
)
errs = errors.Join(errs, err)
+ builder.ProcessorBatchMetadataCardinality, err = meter.Int64ObservableUpDownCounter(
+ "processor_batch_metadata_cardinality",
+ metric.WithDescription("Number of distinct metadata value combinations being processed"),
+ metric.WithUnit("1"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessorBatchMetadataCardinality())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
builder.ProcessorBatchTimeoutTriggerSend, err = meter.Int64Counter(
"processor_batch_timeout_trigger_send",
metric.WithDescription("Number of times the batch was sent due to a timeout trigger"),
diff --git a/processor/batchprocessor/metadata.yaml b/processor/batchprocessor/metadata.yaml
index c90e03120e0..dd47697b850 100644
--- a/processor/batchprocessor/metadata.yaml
+++ b/processor/batchprocessor/metadata.yaml
@@ -31,9 +31,18 @@ telemetry:
unit: 1
histogram:
value_type: int
+ bucket_boundaries: [10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000]
processor_batch_batch_send_size_bytes:
enabled: true
description: Number of bytes in batch that was sent
unit: By
histogram:
value_type: int
+ bucket_boundaries: [10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000, 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000]
+ processor_batch_metadata_cardinality:
+ enabled: true
+ description: Number of distinct metadata value combinations being processed
+ unit: 1
+ sum:
+ value_type: int
+ async: true
diff --git a/processor/batchprocessor/metrics.go b/processor/batchprocessor/metrics.go
index 2e803809fab..4e0df628405 100644
--- a/processor/batchprocessor/metrics.go
+++ b/processor/batchprocessor/metrics.go
@@ -8,15 +8,11 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.uber.org/multierr"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
"go.opentelemetry.io/collector/processor"
"go.opentelemetry.io/collector/processor/batchprocessor/internal/metadata"
- "go.opentelemetry.io/collector/processor/processorhelper"
)
type trigger int
@@ -28,59 +24,30 @@ const (
)
type batchProcessorTelemetry struct {
- level configtelemetry.Level
detailed bool
exportCtx context.Context
- processorAttr []attribute.KeyValue
- telemetryBuilder *metadata.TelemetryBuilder
- batchMetadataCardinality metric.Int64ObservableUpDownCounter
+ processorAttr []attribute.KeyValue
+ telemetryBuilder *metadata.TelemetryBuilder
}
func newBatchProcessorTelemetry(set processor.CreateSettings, currentMetadataCardinality func() int) (*batchProcessorTelemetry, error) {
- bpt := &batchProcessorTelemetry{
- processorAttr: []attribute.KeyValue{attribute.String(obsmetrics.ProcessorKey, set.ID.String())},
- exportCtx: context.Background(),
- level: set.MetricsLevel,
- detailed: set.MetricsLevel == configtelemetry.LevelDetailed,
- }
-
- if err := bpt.createOtelMetrics(set.TelemetrySettings, currentMetadataCardinality); err != nil {
- return nil, err
- }
-
- return bpt, nil
-}
-
-func (bpt *batchProcessorTelemetry) createOtelMetrics(set component.TelemetrySettings, currentMetadataCardinality func() int) error {
- var (
- errors, err error
- meter metric.Meter
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(set.TelemetrySettings,
+ metadata.WithLevel(set.MetricsLevel),
+ metadata.WithProcessorBatchMetadataCardinalityCallback(func() int64 { return int64(currentMetadataCardinality()) }),
)
- // BatchProcessor are emitted starting from Normal level only.
- if bpt.level >= configtelemetry.LevelNormal {
- meter = metadata.Meter(set)
- } else {
- meter = noopmetric.Meter{}
+ if err != nil {
+ return nil, err
}
- bpt.telemetryBuilder, err = metadata.NewTelemetryBuilder(set, metadata.WithLevel(bpt.level))
- errors = multierr.Append(errors, err)
-
- bpt.batchMetadataCardinality, err = meter.Int64ObservableUpDownCounter(
- processorhelper.BuildCustomMetricName(typeStr, "metadata_cardinality"),
- metric.WithDescription("Number of distinct metadata value combinations being processed"),
- metric.WithUnit("1"),
- metric.WithInt64Callback(func(_ context.Context, obs metric.Int64Observer) error {
- obs.Observe(int64(currentMetadataCardinality()))
- return nil
- }),
- )
- errors = multierr.Append(errors, err)
-
- return errors
+ return &batchProcessorTelemetry{
+ processorAttr: []attribute.KeyValue{attribute.String(obsmetrics.ProcessorKey, set.ID.String())},
+ exportCtx: context.Background(),
+ detailed: set.MetricsLevel == configtelemetry.LevelDetailed,
+ telemetryBuilder: telemetryBuilder,
+ }, nil
}
func (bpt *batchProcessorTelemetry) record(trigger trigger, sent, bytes int64) {
From ae44725ef3c11def89e51cb560b6e8b6de4807a7 Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Tue, 28 May 2024 12:58:08 -0600
Subject: [PATCH 088/111] [confmap] Add new tests (#10246)
#### Description
Add a new test scenarios to confmap expand tests
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/pull/10182#discussion_r1617668532
---
confmap/expand_test.go | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/confmap/expand_test.go b/confmap/expand_test.go
index 984a96a2995..02db3ea818d 100644
--- a/confmap/expand_test.go
+++ b/confmap/expand_test.go
@@ -283,6 +283,16 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "${env:HOST${env:PORT}?os=${env:OS&pr=${env:PR}",
output: "${env:HOST3044?os=${env:OS&pr=amd",
},
+ {
+ name: "SchemeAfterNoSchemeIsExpanded",
+ input: "${HOST}${env:PORT}",
+ output: "${HOST}3044",
+ },
+ {
+ name: "SchemeBeforeNoSchemeIsExpanded",
+ input: "${env:HOST}${PORT}",
+ output: "localhost${PORT}",
+ },
}
for _, tt := range tests {
From 779b6258a461c2a23c7ba19e3f8e577612a1fd5d Mon Sep 17 00:00:00 2001
From: Antoine Toulme
Date: Wed, 29 May 2024 02:07:52 -0700
Subject: [PATCH 089/111] [config] Deprecate component.UnmarshalConfig (#9750)
**Description:**
This PR removes the top level if/else in `component.UnmarshalConfig`,
handling recursive state in the confmap.Conf object instead.
This PR deprecates `component.UnmarshalConfig` in favor of calling
directly `Unmarshal` on the confmap.Conf object.
**Link to tracking Issue:**
Fixes #7102
Fixes #7101
---------
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
---
.chloggen/embedded_struct_unmarshaler.yaml | 25 +++++++++++++++++++
.../generated_component_test.go | 2 +-
.../metadata/generated_config_test.go | 5 ++--
cmd/mdatagen/templates/component_test.go.tmpl | 10 ++++----
cmd/mdatagen/templates/config_test.go.tmpl | 5 ++--
component/config.go | 7 +-----
.../generated_component_test.go | 2 +-
exporter/debugexporter/config_test.go | 7 +++---
.../debugexporter/generated_component_test.go | 2 +-
exporter/loggingexporter/config_test.go | 7 +++---
.../generated_component_test.go | 2 +-
.../nopexporter/generated_component_test.go | 2 +-
exporter/otlpexporter/config_test.go | 6 ++---
.../otlpexporter/generated_component_test.go | 2 +-
exporter/otlphttpexporter/config_test.go | 6 ++---
.../generated_component_test.go | 2 +-
extension/ballastextension/config_test.go | 5 ++--
.../generated_component_test.go | 3 +--
.../generated_component_test.go | 3 +--
extension/zpagesextension/config_test.go | 5 ++--
.../generated_component_test.go | 3 +--
internal/memorylimiter/config_test.go | 5 ++--
otelcol/internal/configunmarshaler/configs.go | 2 +-
processor/batchprocessor/config_test.go | 5 ++--
.../generated_component_test.go | 2 +-
.../generated_component_test.go | 2 +-
.../nopreceiver/generated_component_test.go | 2 +-
receiver/otlpreceiver/config_test.go | 24 +++++++++---------
.../otlpreceiver/generated_component_test.go | 2 +-
29 files changed, 82 insertions(+), 73 deletions(-)
create mode 100644 .chloggen/embedded_struct_unmarshaler.yaml
diff --git a/.chloggen/embedded_struct_unmarshaler.yaml b/.chloggen/embedded_struct_unmarshaler.yaml
new file mode 100644
index 00000000000..46b5c314a93
--- /dev/null
+++ b/.chloggen/embedded_struct_unmarshaler.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: deprecation
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: component
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Deprecate `component.UnmarshalConfig`, use `(*confmap.Conf).Unmarshal(&intoCfg)` instead.
+
+# One or more tracking issues or pull requests related to the change
+issues: [7102]
+
+# (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:
+
+# 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: [api]
diff --git a/cmd/mdatagen/internal/samplereceiver/generated_component_test.go b/cmd/mdatagen/internal/samplereceiver/generated_component_test.go
index af315d20a85..d20ac9b6b4f 100644
--- a/cmd/mdatagen/internal/samplereceiver/generated_component_test.go
+++ b/cmd/mdatagen/internal/samplereceiver/generated_component_test.go
@@ -60,7 +60,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_config_test.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_config_test.go
index 0f581b137f7..8bd3d648dc9 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_config_test.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_config_test.go
@@ -10,7 +10,6 @@ import (
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap/confmaptest"
)
@@ -84,7 +83,7 @@ func loadMetricsBuilderConfig(t *testing.T, name string) MetricsBuilderConfig {
sub, err := cm.Sub(name)
require.NoError(t, err)
cfg := DefaultMetricsBuilderConfig()
- require.NoError(t, component.UnmarshalConfig(sub, &cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
return cfg
}
@@ -142,6 +141,6 @@ func loadResourceAttributesConfig(t *testing.T, name string) ResourceAttributesC
sub, err = sub.Sub("resource_attributes")
require.NoError(t, err)
cfg := DefaultResourceAttributesConfig()
- require.NoError(t, component.UnmarshalConfig(sub, &cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
return cfg
}
diff --git a/cmd/mdatagen/templates/component_test.go.tmpl b/cmd/mdatagen/templates/component_test.go.tmpl
index ca948214d80..f44efb7310c 100644
--- a/cmd/mdatagen/templates/component_test.go.tmpl
+++ b/cmd/mdatagen/templates/component_test.go.tmpl
@@ -102,7 +102,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
{{- if not .Tests.SkipShutdown }}
@@ -199,7 +199,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
{{- if not .Tests.SkipShutdown }}
@@ -294,7 +294,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
{{- if not .Tests.SkipShutdown }}
@@ -333,7 +333,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
{{- if not .Tests.SkipShutdown }}
t.Run("shutdown", func(t *testing.T) {
@@ -456,7 +456,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
{{- if not .Tests.SkipShutdown }}
diff --git a/cmd/mdatagen/templates/config_test.go.tmpl b/cmd/mdatagen/templates/config_test.go.tmpl
index 3f6a636bc6e..879bfd9311a 100644
--- a/cmd/mdatagen/templates/config_test.go.tmpl
+++ b/cmd/mdatagen/templates/config_test.go.tmpl
@@ -9,7 +9,6 @@ import (
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap/confmaptest"
)
@@ -75,7 +74,7 @@ func loadMetricsBuilderConfig(t *testing.T, name string) MetricsBuilderConfig {
sub, err := cm.Sub(name)
require.NoError(t, err)
cfg := DefaultMetricsBuilderConfig()
- require.NoError(t, component.UnmarshalConfig(sub, &cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
return cfg
}
{{- end }}
@@ -125,7 +124,7 @@ func loadResourceAttributesConfig(t *testing.T, name string) ResourceAttributesC
sub, err = sub.Sub("resource_attributes")
require.NoError(t, err)
cfg := DefaultResourceAttributesConfig()
- require.NoError(t, component.UnmarshalConfig(sub, &cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
return cfg
}
{{- end }}
diff --git a/component/config.go b/component/config.go
index 49cc7f5219f..b53ff872fda 100644
--- a/component/config.go
+++ b/component/config.go
@@ -27,13 +27,8 @@ type Config any
var configValidatorType = reflect.TypeOf((*ConfigValidator)(nil)).Elem()
// UnmarshalConfig helper function to UnmarshalConfig a Config.
-// It checks if the config implements confmap.Unmarshaler and uses that if available,
-// otherwise uses Map.UnmarshalExact, erroring if a field is nonexistent.
+// Deprecated: [v0.101.0] Use conf.Unmarshal(&intoCfg)
func UnmarshalConfig(conf *confmap.Conf, intoCfg Config) error {
- if cu, ok := intoCfg.(confmap.Unmarshaler); ok {
- return cu.Unmarshal(conf)
- }
-
return conf.Unmarshal(intoCfg)
}
diff --git a/connector/forwardconnector/generated_component_test.go b/connector/forwardconnector/generated_component_test.go
index 9bbe4e5aa5f..9371aa5a2b2 100644
--- a/connector/forwardconnector/generated_component_test.go
+++ b/connector/forwardconnector/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/exporter/debugexporter/config_test.go b/exporter/debugexporter/config_test.go
index 3e1b2534961..cefe0296462 100644
--- a/exporter/debugexporter/config_test.go
+++ b/exporter/debugexporter/config_test.go
@@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
@@ -19,7 +18,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -49,7 +48,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- err = component.UnmarshalConfig(cm, cfg)
+ err = cm.Unmarshal(&cfg)
if tt.expectedErr != "" {
assert.EqualError(t, err, tt.expectedErr)
} else {
@@ -91,7 +90,7 @@ func Test_UnmarshalMarshalled(t *testing.T) {
outCfg := &Config{}
- err = component.UnmarshalConfig(conf, outCfg)
+ err = conf.Unmarshal(outCfg)
if tc.expectedErr == "" {
assert.NoError(t, err)
diff --git a/exporter/debugexporter/generated_component_test.go b/exporter/debugexporter/generated_component_test.go
index 3e18e6e887c..3ae3f1c3607 100644
--- a/exporter/debugexporter/generated_component_test.go
+++ b/exporter/debugexporter/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/exporter/loggingexporter/config_test.go b/exporter/loggingexporter/config_test.go
index ead57851462..a7f18e6643b 100644
--- a/exporter/loggingexporter/config_test.go
+++ b/exporter/loggingexporter/config_test.go
@@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/require"
"go.uber.org/zap/zapcore"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
@@ -20,7 +19,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -75,7 +74,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- err = component.UnmarshalConfig(cm, cfg)
+ err = cm.Unmarshal(&cfg)
if tt.expectedErr != "" {
assert.EqualError(t, err, tt.expectedErr)
} else {
@@ -135,7 +134,7 @@ func Test_UnmarshalMarshalled(t *testing.T) {
outCfg := &Config{}
- err = component.UnmarshalConfig(conf, outCfg)
+ err = conf.Unmarshal(outCfg)
if tc.expectedErr == "" {
assert.NoError(t, err)
diff --git a/exporter/loggingexporter/generated_component_test.go b/exporter/loggingexporter/generated_component_test.go
index e5902b96208..fc2245c31d8 100644
--- a/exporter/loggingexporter/generated_component_test.go
+++ b/exporter/loggingexporter/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/exporter/nopexporter/generated_component_test.go b/exporter/nopexporter/generated_component_test.go
index 675dee1a0ee..2b65f482fdf 100644
--- a/exporter/nopexporter/generated_component_test.go
+++ b/exporter/nopexporter/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/exporter/otlpexporter/config_test.go b/exporter/otlpexporter/config_test.go
index 7a644b7ef0e..2167f803ef3 100644
--- a/exporter/otlpexporter/config_test.go
+++ b/exporter/otlpexporter/config_test.go
@@ -25,7 +25,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -34,7 +34,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
TimeoutSettings: exporterhelper.TimeoutSettings{
@@ -124,7 +124,7 @@ func TestUnmarshalInvalidConfig(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub(test.name)
require.NoError(t, err)
- assert.NoError(t, component.UnmarshalConfig(sub, cfg))
+ assert.NoError(t, sub.Unmarshal(&cfg))
assert.ErrorContains(t, component.ValidateConfig(cfg), test.errorMsg)
})
}
diff --git a/exporter/otlpexporter/generated_component_test.go b/exporter/otlpexporter/generated_component_test.go
index 27a3b7da3d0..7a410496a46 100644
--- a/exporter/otlpexporter/generated_component_test.go
+++ b/exporter/otlpexporter/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/exporter/otlphttpexporter/config_test.go b/exporter/otlphttpexporter/config_test.go
index e158891dd75..9a9e261308f 100644
--- a/exporter/otlphttpexporter/config_test.go
+++ b/exporter/otlphttpexporter/config_test.go
@@ -24,7 +24,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
// Default/Empty config is invalid.
assert.Error(t, component.ValidateConfig(cfg))
@@ -35,7 +35,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
RetryConfig: configretry.BackOffConfig{
@@ -80,7 +80,7 @@ func TestUnmarshalConfigInvalidEncoding(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.Error(t, component.UnmarshalConfig(cm, cfg))
+ assert.Error(t, cm.Unmarshal(&cfg))
}
func TestUnmarshalEncoding(t *testing.T) {
diff --git a/exporter/otlphttpexporter/generated_component_test.go b/exporter/otlphttpexporter/generated_component_test.go
index 443b94841b4..c378698b41e 100644
--- a/exporter/otlphttpexporter/generated_component_test.go
+++ b/exporter/otlphttpexporter/generated_component_test.go
@@ -63,7 +63,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/extension/ballastextension/config_test.go b/extension/ballastextension/config_test.go
index 4d23c5ebc39..25e3223fe45 100644
--- a/extension/ballastextension/config_test.go
+++ b/extension/ballastextension/config_test.go
@@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
)
@@ -18,7 +17,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -27,7 +26,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
SizeMiB: 123,
diff --git a/extension/ballastextension/generated_component_test.go b/extension/ballastextension/generated_component_test.go
index 779e5631778..2e685378c41 100644
--- a/extension/ballastextension/generated_component_test.go
+++ b/extension/ballastextension/generated_component_test.go
@@ -8,7 +8,6 @@ import (
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componenttest"
"go.opentelemetry.io/collector/confmap/confmaptest"
"go.opentelemetry.io/collector/extension/extensiontest"
@@ -30,7 +29,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
t.Run("shutdown", func(t *testing.T) {
e, err := factory.CreateExtension(context.Background(), extensiontest.NewNopCreateSettings(), cfg)
require.NoError(t, err)
diff --git a/extension/memorylimiterextension/generated_component_test.go b/extension/memorylimiterextension/generated_component_test.go
index 7580d8a30c9..b410b246b94 100644
--- a/extension/memorylimiterextension/generated_component_test.go
+++ b/extension/memorylimiterextension/generated_component_test.go
@@ -8,7 +8,6 @@ import (
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componenttest"
"go.opentelemetry.io/collector/confmap/confmaptest"
"go.opentelemetry.io/collector/extension/extensiontest"
@@ -30,7 +29,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
t.Run("lifecycle", func(t *testing.T) {
firstExt, err := factory.CreateExtension(context.Background(), extensiontest.NewNopCreateSettings(), cfg)
require.NoError(t, err)
diff --git a/extension/zpagesextension/config_test.go b/extension/zpagesextension/config_test.go
index f79e74d25c9..f73b9744b0e 100644
--- a/extension/zpagesextension/config_test.go
+++ b/extension/zpagesextension/config_test.go
@@ -10,7 +10,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/confignet"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
@@ -19,7 +18,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -28,7 +27,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
TCPAddr: confignet.TCPAddrConfig{
diff --git a/extension/zpagesextension/generated_component_test.go b/extension/zpagesextension/generated_component_test.go
index df6ede48a05..8caba7a6d95 100644
--- a/extension/zpagesextension/generated_component_test.go
+++ b/extension/zpagesextension/generated_component_test.go
@@ -8,7 +8,6 @@ import (
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componenttest"
"go.opentelemetry.io/collector/confmap/confmaptest"
"go.opentelemetry.io/collector/extension/extensiontest"
@@ -30,7 +29,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
t.Run("shutdown", func(t *testing.T) {
e, err := factory.CreateExtension(context.Background(), extensiontest.NewNopCreateSettings(), cfg)
require.NoError(t, err)
diff --git a/internal/memorylimiter/config_test.go b/internal/memorylimiter/config_test.go
index 29db1dc6def..032f4798988 100644
--- a/internal/memorylimiter/config_test.go
+++ b/internal/memorylimiter/config_test.go
@@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap/confmaptest"
)
@@ -19,7 +18,7 @@ func TestUnmarshalConfig(t *testing.T) {
cm, err := confmaptest.LoadConf(filepath.Join("testdata", "config.yaml"))
require.NoError(t, err)
cfg := &Config{}
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
CheckInterval: 5 * time.Second,
@@ -98,7 +97,7 @@ func TestUnmarshalInvalidConfig(t *testing.T) {
cm, err := confmaptest.LoadConf(filepath.Join("testdata", "negative_unsigned_limits_config.yaml"))
require.NoError(t, err)
cfg := &Config{}
- err = component.UnmarshalConfig(cm, cfg)
+ err = cm.Unmarshal(&cfg)
require.Error(t, err)
require.Contains(t, err.Error(), "error decoding 'limit_mib': cannot convert negative value -2000 to an unsigned integer")
require.Contains(t, err.Error(), "error decoding 'spike_limit_mib': cannot convert negative value -2300 to an unsigned integer")
diff --git a/otelcol/internal/configunmarshaler/configs.go b/otelcol/internal/configunmarshaler/configs.go
index 05cc8b11296..7f864fdfd32 100644
--- a/otelcol/internal/configunmarshaler/configs.go
+++ b/otelcol/internal/configunmarshaler/configs.go
@@ -43,7 +43,7 @@ func (c *Configs[F]) Unmarshal(conf *confmap.Conf) error {
// Now that the default config struct is created we can Unmarshal into it,
// and it will apply user-defined config on top of the default.
- if err := component.UnmarshalConfig(confmap.NewFromStringMap(value), cfg); err != nil {
+ if err := confmap.NewFromStringMap(value).Unmarshal(&cfg); err != nil {
return errorUnmarshalError(id, err)
}
diff --git a/processor/batchprocessor/config_test.go b/processor/batchprocessor/config_test.go
index 981f28a97fa..c5d3f693f92 100644
--- a/processor/batchprocessor/config_test.go
+++ b/processor/batchprocessor/config_test.go
@@ -11,7 +11,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
- "go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/confmap"
"go.opentelemetry.io/collector/confmap/confmaptest"
)
@@ -19,7 +18,7 @@ import (
func TestUnmarshalDefaultConfig(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -28,7 +27,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
SendBatchSize: uint32(10000),
diff --git a/processor/batchprocessor/generated_component_test.go b/processor/batchprocessor/generated_component_test.go
index 656dad9986b..0e6c4960b89 100644
--- a/processor/batchprocessor/generated_component_test.go
+++ b/processor/batchprocessor/generated_component_test.go
@@ -64,7 +64,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/processor/memorylimiterprocessor/generated_component_test.go b/processor/memorylimiterprocessor/generated_component_test.go
index 7144d4a3901..0805632c347 100644
--- a/processor/memorylimiterprocessor/generated_component_test.go
+++ b/processor/memorylimiterprocessor/generated_component_test.go
@@ -64,7 +64,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-lifecycle", func(t *testing.T) {
diff --git a/receiver/nopreceiver/generated_component_test.go b/receiver/nopreceiver/generated_component_test.go
index 14f8840b1e7..92e563ad645 100644
--- a/receiver/nopreceiver/generated_component_test.go
+++ b/receiver/nopreceiver/generated_component_test.go
@@ -59,7 +59,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
diff --git a/receiver/otlpreceiver/config_test.go b/receiver/otlpreceiver/config_test.go
index 9604d507812..3059f97471d 100644
--- a/receiver/otlpreceiver/config_test.go
+++ b/receiver/otlpreceiver/config_test.go
@@ -25,7 +25,7 @@ func TestUnmarshalDefaultConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t, factory.CreateDefaultConfig(), cfg)
}
@@ -34,7 +34,7 @@ func TestUnmarshalConfigOnlyGRPC(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
defaultOnlyGRPC := factory.CreateDefaultConfig().(*Config)
defaultOnlyGRPC.HTTP = nil
@@ -46,7 +46,7 @@ func TestUnmarshalConfigOnlyHTTP(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
defaultOnlyHTTP := factory.CreateDefaultConfig().(*Config)
defaultOnlyHTTP.GRPC = nil
@@ -58,7 +58,7 @@ func TestUnmarshalConfigOnlyHTTPNull(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
defaultOnlyHTTP := factory.CreateDefaultConfig().(*Config)
defaultOnlyHTTP.GRPC = nil
@@ -70,7 +70,7 @@ func TestUnmarshalConfigOnlyHTTPEmptyMap(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
defaultOnlyHTTP := factory.CreateDefaultConfig().(*Config)
defaultOnlyHTTP.GRPC = nil
@@ -82,7 +82,7 @@ func TestUnmarshalConfig(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
Protocols: Protocols{
@@ -143,7 +143,7 @@ func TestUnmarshalConfigUnix(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.Equal(t,
&Config{
Protocols: Protocols{
@@ -171,7 +171,7 @@ func TestUnmarshalConfigTypoDefaultProtocol(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.EqualError(t, component.UnmarshalConfig(cm, cfg), "1 error(s) decoding:\n\n* 'protocols' has invalid keys: htttp")
+ assert.EqualError(t, cm.Unmarshal(&cfg), "1 error(s) decoding:\n\n* 'protocols' has invalid keys: htttp")
}
func TestUnmarshalConfigInvalidProtocol(t *testing.T) {
@@ -179,7 +179,7 @@ func TestUnmarshalConfigInvalidProtocol(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.EqualError(t, component.UnmarshalConfig(cm, cfg), "1 error(s) decoding:\n\n* 'protocols' has invalid keys: thrift")
+ assert.EqualError(t, cm.Unmarshal(&cfg), "1 error(s) decoding:\n\n* 'protocols' has invalid keys: thrift")
}
func TestUnmarshalConfigEmptyProtocols(t *testing.T) {
@@ -187,7 +187,7 @@ func TestUnmarshalConfigEmptyProtocols(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(cm, cfg))
+ assert.NoError(t, cm.Unmarshal(&cfg))
assert.EqualError(t, component.ValidateConfig(cfg), "must specify at least one protocol when using the OTLP receiver")
}
@@ -216,7 +216,7 @@ func TestUnmarshalConfigInvalidSignalPath(t *testing.T) {
require.NoError(t, err)
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.EqualError(t, component.UnmarshalConfig(cm, cfg), "invalid HTTP URL path set for signal: parse \":invalid\": missing protocol scheme")
+ assert.EqualError(t, cm.Unmarshal(&cfg), "invalid HTTP URL path set for signal: parse \":invalid\": missing protocol scheme")
})
}
}
@@ -224,6 +224,6 @@ func TestUnmarshalConfigInvalidSignalPath(t *testing.T) {
func TestUnmarshalConfigEmpty(t *testing.T) {
factory := NewFactory()
cfg := factory.CreateDefaultConfig()
- assert.NoError(t, component.UnmarshalConfig(confmap.New(), cfg))
+ assert.NoError(t, confmap.New().Unmarshal(&cfg))
assert.EqualError(t, component.ValidateConfig(cfg), "must specify at least one protocol when using the OTLP receiver")
}
diff --git a/receiver/otlpreceiver/generated_component_test.go b/receiver/otlpreceiver/generated_component_test.go
index e4c99be47ac..0f54074cff2 100644
--- a/receiver/otlpreceiver/generated_component_test.go
+++ b/receiver/otlpreceiver/generated_component_test.go
@@ -59,7 +59,7 @@ func TestComponentLifecycle(t *testing.T) {
cfg := factory.CreateDefaultConfig()
sub, err := cm.Sub("tests::config")
require.NoError(t, err)
- require.NoError(t, component.UnmarshalConfig(sub, cfg))
+ require.NoError(t, sub.Unmarshal(&cfg))
for _, test := range tests {
t.Run(test.name+"-shutdown", func(t *testing.T) {
From 4871b706ce82c97cdaaed1c188de487ae7ad908c Mon Sep 17 00:00:00 2001
From: Carlos Tadeu Panato Junior
Date: Wed, 29 May 2024 11:33:25 +0200
Subject: [PATCH 090/111] [docs] add documentation regarding verify images
signatures (#8990)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
**Description:**
Co-authored-by: Juraci Paixão Kröhling
Co-authored-by: Pablo Baeyens
---
.chloggen/doc-verify-images.yaml | 25 ++++++++++++++++++++++
README.md | 36 ++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
create mode 100755 .chloggen/doc-verify-images.yaml
diff --git a/.chloggen/doc-verify-images.yaml b/.chloggen/doc-verify-images.yaml
new file mode 100755
index 00000000000..8509453829d
--- /dev/null
+++ b/.chloggen/doc-verify-images.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: releases
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: add documentation in how to verify the image signatures using cosign
+
+# One or more tracking issues or pull requests related to the change
+issues: [9610]
+
+# (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:
+
+# 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/README.md b/README.md
index c5a336384f0..2d991bb5075 100644
--- a/README.md
+++ b/README.md
@@ -110,6 +110,42 @@ Support for Go versions on the OpenTelemetry Collector is updated as follows:
Official OpenTelemetry Collector distro binaries may be built with any supported Go version.
+## Verifying the images signatures
+
+> [!NOTE]
+> To verify a signed artifact or blob, first [install Cosign](https://docs.sigstore.dev/system_config/installation/), then follow the instructions below.
+
+We are signing the images `otel/opentelemetry-collector` and `otel/opentelemetry-collector-contrib` using [sigstore cosign](https://github.com/sigstore/cosign) tool and to verify the signatures you can run the following command:
+
+```console
+$ cosign verify \
+ --certificate-identity=https://github.com/open-telemetry/opentelemetry-collector-releases/.github/workflows/base-release.yaml@refs/tags/ \
+ --certificate-oidc-issuer=https://token.actions.githubusercontent.com \
+
+```
+
+where:
+
+- ``: is the release that you want to validate
+- ``: is the image that you want to check
+
+Example:
+
+```console
+$ cosign verify --certificate-identity=https://github.com/open-telemetry/opentelemetry-collector-releases/.github/workflows/base-release.yaml@refs/tags/v0.98.0 --certificate-oidc-issuer=https://token.actions.githubusercontent.com ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.98.0
+
+Verification for ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.98.0 --
+The following checks were performed on each of these signatures:
+ - The cosign claims were validated
+ - Existence of the claims in the transparency log was verified offline
+ - The code-signing certificate was verified using trusted certificate authority certificates
+
+[{"critical":{"identity":{"docker-reference":"ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib"},"image":{"docker-manifest-digest":"sha256:5cea85bcbc734a3c0a641368e5a4ea9d31b472997e9f2feca57eeb4a147fcf1a"},"type":"cosign container image signature"},"optional":{"1.3.6.1.4.1.57264.1.1":"https://token.actions.githubusercontent.com","1.3.6.1.4.1.57264.1.2":"push","1.3.6.1.4.1.57264.1.3":"9e20bf5c142e53070ccb8320a20315fffb41469e","1.3.6.1.4.1.57264.1.4":"Release Contrib","1.3.6.1.4.1.57264.1.5":"open-telemetry/opentelemetry-collector-releases","1.3.6.1.4.1.57264.1.6":"refs/tags/v0.98.0","Bundle":{"SignedEntryTimestamp":"MEUCIQDdlmNeKXQrHnonwWiHLhLLwFDVDNoOBCn2sv85J9P8mgIgDQFssWJImo1hn38VlojvSCL7Qq5FMmtnGu0oLsNdOm8=","Payload":{"body":"eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiaGFzaGVkcmVrb3JkIiwic3BlYyI6eyJkYXRhIjp7Imhhc2giOnsiYWxnb3JpdGhtIjoic2hhMjU2IiwidmFsdWUiOiIxMzVjY2RlN2YzZTNhYjU2NmFmYzJhYWU3MDljYmJlNmFhMDZlZWMzNDA2MWNkZjMyNmRhYzM2MmY0NWM4Yjg4In19LCJzaWduYXR1cmUiOnsiY29udGVudCI6Ik1FVUNJUURFbDV6N0diMWRVYkM5KzR4c1VvbDhMcWZNV2hiTzhkdEpwdExyMXhUNWZnSWdTdEwwN1I0ZDA5R2x0ZkV0azJVbmlJSlJhQVdrVDJNWDVtRXJNSlplc2pRPSIsInB1YmxpY0tleSI6eyJjb250ZW50IjoiTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVaG9ha05EUW5jeVowRjNTVUpCWjBsVlNETkNjRFZTYlVSU1VpOXphMWg0YVdWUFlrcFhSbmRrUjNNNGQwTm5XVWxMYjFwSmVtb3dSVUYzVFhjS1RucEZWazFDVFVkQk1WVkZRMmhOVFdNeWJHNWpNMUoyWTIxVmRWcEhWakpOVWpSM1NFRlpSRlpSVVVSRmVGWjZZVmRrZW1SSE9YbGFVekZ3WW01U2JBcGpiVEZzV2tkc2FHUkhWWGRJYUdOT1RXcFJkMDVFUlhoTlJGRjRUMFJOTlZkb1kwNU5hbEYzVGtSRmVFMUVVWGxQUkUwMVYycEJRVTFHYTNkRmQxbElDa3R2V2tsNmFqQkRRVkZaU1V0dldrbDZhakJFUVZGalJGRm5RVVZyWlRsSE1ubHNjMjkzYVZZMmRFOVZSazlRVVhNd2NXY3hTSEV5WmpsVUx6UTJZbEFLU1ZSNE0ybFRkVXBhV0hGc1dEUldWV2Q1VlZndmNVazJhblZ2WlZSVEswaG5XVUoyYjBseVNERTFUeTltZEd0VmVtRlBRMEpwZDNkbloxbHZUVUUwUndwQk1WVmtSSGRGUWk5M1VVVkJkMGxJWjBSQlZFSm5UbFpJVTFWRlJFUkJTMEpuWjNKQ1owVkdRbEZqUkVGNlFXUkNaMDVXU0ZFMFJVWm5VVlZHTkRrMUNrdDFNRWhqTm5rek1rNUNTVTFFU21ReVpuWkxNMHBCZDBoM1dVUldVakJxUWtKbmQwWnZRVlV6T1ZCd2VqRlphMFZhWWpWeFRtcHdTMFpYYVhocE5Ga0tXa1E0ZDJkWldVZEJNVlZrUlZGRlFpOTNVamhOU0hGSFpVZG9NR1JJUW5wUGFUaDJXakpzTUdGSVZtbE1iVTUyWWxNNWRtTkhWblZNV0ZKc1lrZFdkQXBhV0ZKNVpWTTVkbU5IVm5Wa1IxWnpXbGN4YkdSSVNqVk1WMDUyWWtkNGJGa3pVblpqYVRGNVdsZDRiRmxZVG14amVUaDFXakpzTUdGSVZtbE1NMlIyQ21OdGRHMWlSemt6WTNrNWFWbFlUbXhNV0Vwc1lrZFdhR015VlhWbFYwWjBZa1ZDZVZwWFducE1NMUpvV2pOTmRtUnFRWFZQVkdkMVRVUkJOVUpuYjNJS1FtZEZSVUZaVHk5TlFVVkNRa04wYjJSSVVuZGplbTkyVEROU2RtRXlWblZNYlVacVpFZHNkbUp1VFhWYU1td3dZVWhXYVdSWVRteGpiVTUyWW01U2JBcGlibEYxV1RJNWRFMUNTVWREYVhOSFFWRlJRbWMzT0hkQlVVbEZRa2hDTVdNeVozZE9aMWxMUzNkWlFrSkJSMFIyZWtGQ1FYZFJiMDlYVlhsTlIwcHRDazVYVFhoT1JFcHNUbFJOZDA1NlFtcFpNa2swVFhwSmQxbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCWkVKbmIzSkNaMFZGUVZsUEwwMUJSVVVLUWtFNVUxcFhlR3haV0U1c1NVVk9kbUp1VW5saFYwbDNVRkZaUzB0M1dVSkNRVWRFZG5wQlFrSlJVWFppTTBKc1lta3hNRnBYZUd4aVYxWXdZMjVyZGdwaU0wSnNZbTVTYkdKSFZuUmFXRko1WlZNeGFtSXllSE5hVjA0d1lqTkpkR050Vm5OYVYwWjZXbGhOZDBoM1dVdExkMWxDUWtGSFJIWjZRVUpDWjFGU0NtTnRWbTFqZVRrd1dWZGtla3d6V1hkTWFtczBUR3BCZDA5M1dVdExkMWxDUWtGSFJIWjZRVUpEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVUtURzFHYW1SSGJIWmliazExV2pKc01HRklWbWxrV0U1c1kyMU9kbUp1VW14aWJsRjFXVEk1ZEUxSlIwbENaMjl5UW1kRlJVRlpUeTlOUVVWS1FraHZUUXBsUjJnd1pFaENlazlwT0haYU1td3dZVWhXYVV4dFRuWmlVemwyWTBkV2RVeFlVbXhpUjFaMFdsaFNlV1ZUT1haalIxWjFaRWRXYzFwWE1XeGtTRW8xQ2t4WFRuWmlSM2hzV1ROU2RtTnBNWGxhVjNoc1dWaE9iR041T0hWYU1td3dZVWhXYVV3elpIWmpiWFJ0WWtjNU0yTjVPV2xaV0U1c1RGaEtiR0pIVm1nS1l6SlZkV1ZYUm5SaVJVSjVXbGRhZWt3elVtaGFNMDEyWkdwQmRVOVVaM1ZOUkVFMFFtZHZja0puUlVWQldVOHZUVUZGUzBKRGIwMUxSR3hzVFdwQ2FRcGFhbFpxVFZSUmVWcFVWWHBOUkdOM1dUSk9hVTlFVFhsTlIwVjVUVVJOZUU1WFdtMWFiVWt3VFZSUk1rOVhWWGRJVVZsTFMzZFpRa0pCUjBSMmVrRkNDa04zVVZCRVFURnVZVmhTYjJSWFNYUmhSemw2WkVkV2EwMUdTVWREYVhOSFFWRlJRbWMzT0hkQlVYZEZVa0Y0UTJGSVVqQmpTRTAyVEhrNWJtRllVbThLWkZkSmRWa3lPWFJNTWpsM1dsYzBkR1JIVm5OYVZ6RnNaRWhLTlV3eU9YZGFWelV3V2xkNGJHSlhWakJqYm10MFdUSTVjMkpIVm1wa1J6bDVURmhLYkFwaVIxWm9ZekpXZWsxRVowZERhWE5IUVZGUlFtYzNPSGRCVVRCRlMyZDNiMDlYVlhsTlIwcHRUbGROZUU1RVNteE9WRTEzVG5wQ2Fsa3lTVFJOZWtsM0NsbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCYUVKbmIzSkNaMFZGUVZsUEwwMUJSVTlDUWsxTlJWaEtiRnB1VFhaa1IwWnVZM2s1TWsxRE5EVUtUME0wZDAxQ2EwZERhWE5IUVZGUlFtYzNPSGRCVVRoRlEzZDNTazVFUVhkTmFsVjZUbXBqTWsxRVJVZERhWE5IUVZGUlFtYzNPSGRCVWtGRlNYZDNhQXBoU0ZJd1kwaE5Oa3g1T1c1aFdGSnZaRmRKZFZreU9YUk1NamwzV2xjMGRHUkhWbk5hVnpGc1pFaEtOVTFDWjBkRGFYTkhRVkZSUW1jM09IZEJVa1ZGQ2tObmQwbE9SR3MxVDFSbmQwMUVTWGRuV1hOSFEybHpSMEZSVVVKbk56aDNRVkpKUldaUmVEZGhTRkl3WTBoTk5reDVPVzVoV0ZKdlpGZEpkVmt5T1hRS1RESTVkMXBYTkhSa1IxWnpXbGN4YkdSSVNqVk1NamwzV2xjMU1GcFhlR3hpVjFZd1kyNXJkRmt5T1hOaVIxWnFaRWM1ZVV4WVNteGlSMVpvWXpKV2VncE1lVFZ1WVZoU2IyUlhTWFprTWpsNVlUSmFjMkl6WkhwTU0wcHNZa2RXYUdNeVZYUlpNamwxWkVoS2NGbHBOVFZaVnpGelVVaEtiRnB1VFhaa1IwWnVDbU41T1RKTlF6UTFUME0wZDAxRVowZERhWE5IUVZGUlFtYzNPSGRCVWsxRlMyZDNiMDlYVlhsTlIwcHRUbGROZUU1RVNteE9WRTEzVG5wQ2Fsa3lTVFFLVFhwSmQxbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCVlVKbmIzSkNaMFZGUVZsUEwwMUJSVlZDUVZsTlFraENNV015WjNka1VWbExTM2RaUWdwQ1FVZEVkbnBCUWtaUlVtNUVSMVp2WkVoU2QyTjZiM1pNTW1Sd1pFZG9NVmxwTldwaU1qQjJZak5DYkdKcE1UQmFWM2hzWWxkV01HTnVhM1ppTTBKc0NtSnVVbXhpUjFaMFdsaFNlV1ZUTVdwaU1uaHpXbGRPTUdJelNYUmpiVlp6V2xkR2VscFlUWFpaVjA0d1lWYzVkV041T1hsa1Z6VjZUSHBuTWs1RVJYZ0tUbnBGTVU1cVkzWlpXRkl3V2xjeGQyUklUWFpOYWtGWFFtZHZja0puUlVWQldVOHZUVUZGVjBKQlowMUNia0l4V1cxNGNGbDZRMEpwWjFsTFMzZFpRZ3BDUVVoWFpWRkpSVUZuVWpoQ1NHOUJaVUZDTWtGT01EbE5SM0pIZUhoRmVWbDRhMlZJU214dVRuZExhVk5zTmpRemFubDBMelJsUzJOdlFYWkxaVFpQQ2tGQlFVSnFjM1JvUlVOUlFVRkJVVVJCUldOM1VsRkpaMWg2Y2xaME0xQjRkU3ROWVZKRkswUkdORzlGUldNMGVucHphSGR1VDJ4bGMwZGlla2xwYnpNS0wxWmpRMGxSUkZNelJ6QmlNemRhYUhRNGFITjJUSEozYkc1UFFXYzJWRXh1U1ZSS09HTjNkMVEzTW5sMVRVdFlUbFJCUzBKblozRm9hMnBQVUZGUlJBcEJkMDV1UVVSQ2EwRnFRWGxFUkZSYVFqQlRPVXBGYkZsSGJuTnZWVmhLYm04MU5Fc3ZUVUZUTlN0RFFVMU9lbWRqUWpWQ2JrRk5OMWhNUjBoV01HRnhDbVpaY21weFkyOXFia3RaUTAxSFRWRnFjalpUVGt0Q2NVaEtZVGwxTDBSTlQySlpNa0pKTVV0ME4yTnhOemhFT0VOcVMzQmFVblJoYnpadFVVMUVZMk1LUms5M2VYWnhWalJPVld0dlpsRTlQUW90TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09In19fX0=","integratedTime":1712809120,"logIndex":84797936,"logID":"c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d"}},"Issuer":"https://token.actions.githubusercontent.com","Subject":"https://github.com/open-telemetry/opentelemetry-collector-releases/.github/workflows/base-release.yaml@refs/tags/v0.98.0","githubWorkflowName":"Release Contrib","githubWorkflowRef":"refs/tags/v0.98.0","githubWorkflowRepository":"open-telemetry/opentelemetry-collector-releases","githubWorkflowSha":"9e20bf5c142e53070ccb8320a20315fffb41469e","githubWorkflowTrigger":"push"}},{"critical":{"identity":{"docker-reference":"ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib"},"image":{"docker-manifest-digest":"sha256:5cea85bcbc734a3c0a641368e5a4ea9d31b472997e9f2feca57eeb4a147fcf1a"},"type":"cosign container image signature"},"optional":{"1.3.6.1.4.1.57264.1.1":"https://token.actions.githubusercontent.com","1.3.6.1.4.1.57264.1.2":"push","1.3.6.1.4.1.57264.1.3":"9e20bf5c142e53070ccb8320a20315fffb41469e","1.3.6.1.4.1.57264.1.4":"Release Contrib","1.3.6.1.4.1.57264.1.5":"open-telemetry/opentelemetry-collector-releases","1.3.6.1.4.1.57264.1.6":"refs/tags/v0.98.0","Bundle":{"SignedEntryTimestamp":"MEUCIQD1ehDnPO6fzoPIpeQ3KFuYHHBiX7RcEbpo9B2r7JAlzwIgZ1bsuQz7gAXbNU1IEdsTQgfAnRk3xVXO16GnKXM2sAQ=","Payload":{"body":"eyJhcGlWZXJzaW9uIjoiMC4wLjEiLCJraW5kIjoiaGFzaGVkcmVrb3JkIiwic3BlYyI6eyJkYXRhIjp7Imhhc2giOnsiYWxnb3JpdGhtIjoic2hhMjU2IiwidmFsdWUiOiIxMzVjY2RlN2YzZTNhYjU2NmFmYzJhYWU3MDljYmJlNmFhMDZlZWMzNDA2MWNkZjMyNmRhYzM2MmY0NWM4Yjg4In19LCJzaWduYXR1cmUiOnsiY29udGVudCI6Ik1FUUNJRU92QXl0aE5RVGNvNHFMdG9GZUVOV0toNCtEK2I5SUxyYWhoa09WMmVBM0FpQjNEL2FpUGd1T05zUlB5alhaWk1hdnlCam0vMkVxNFNUMkZJWHozTnpyYWc9PSIsInB1YmxpY0tleSI6eyJjb250ZW50IjoiTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVaHBSRU5EUW5jMlowRjNTVUpCWjBsVlZuRlRLMnd4WXpoMWVFUktOWEppZDAxMlVuaDBSR3hXVW1nMGQwTm5XVWxMYjFwSmVtb3dSVUYzVFhjS1RucEZWazFDVFVkQk1WVkZRMmhOVFdNeWJHNWpNMUoyWTIxVmRWcEhWakpOVWpSM1NFRlpSRlpSVVVSRmVGWjZZVmRrZW1SSE9YbGFVekZ3WW01U2JBcGpiVEZzV2tkc2FHUkhWWGRJYUdOT1RXcFJkMDVFUlhoTlJGRjRUMFJSZVZkb1kwNU5hbEYzVGtSRmVFMUVVWGxQUkZGNVYycEJRVTFHYTNkRmQxbElDa3R2V2tsNmFqQkRRVkZaU1V0dldrbDZhakJFUVZGalJGRm5RVVYyWlRCdGJrRkdRVzl1TVZoUGRIVlRMMXBNT0djeE5YUlJkVmxPTmtRemVUUlBWM0FLT1ZSTFMwUlVkRkJHU2xST1ZrWlJkVTlKUWs1bVJqWk1ORTlGYkd4dlZuUndaSE5uYjB0NVZGTnlPR3hTV1c1S1JIRlBRMEpwTUhkbloxbHdUVUUwUndwQk1WVmtSSGRGUWk5M1VVVkJkMGxJWjBSQlZFSm5UbFpJVTFWRlJFUkJTMEpuWjNKQ1owVkdRbEZqUkVGNlFXUkNaMDVXU0ZFMFJVWm5VVlZDSzFkSENuVmtlRE5IZUcxS1RWUkpUVVJyYW13clJtdzFXRzkzZDBoM1dVUldVakJxUWtKbmQwWnZRVlV6T1ZCd2VqRlphMFZhWWpWeFRtcHdTMFpYYVhocE5Ga0tXa1E0ZDJkWldVZEJNVlZrUlZGRlFpOTNVamhOU0hGSFpVZG9NR1JJUW5wUGFUaDJXakpzTUdGSVZtbE1iVTUyWWxNNWRtTkhWblZNV0ZKc1lrZFdkQXBhV0ZKNVpWTTVkbU5IVm5Wa1IxWnpXbGN4YkdSSVNqVk1WMDUyWWtkNGJGa3pVblpqYVRGNVdsZDRiRmxZVG14amVUaDFXakpzTUdGSVZtbE1NMlIyQ21OdGRHMWlSemt6WTNrNWFWbFlUbXhNV0Vwc1lrZFdhR015VlhWbFYwWjBZa1ZDZVZwWFducE1NMUpvV2pOTmRtUnFRWFZQVkdkMVRVUkJOVUpuYjNJS1FtZEZSVUZaVHk5TlFVVkNRa04wYjJSSVVuZGplbTkyVEROU2RtRXlWblZNYlVacVpFZHNkbUp1VFhWYU1td3dZVWhXYVdSWVRteGpiVTUyWW01U2JBcGlibEYxV1RJNWRFMUNTVWREYVhOSFFWRlJRbWMzT0hkQlVVbEZRa2hDTVdNeVozZE9aMWxMUzNkWlFrSkJSMFIyZWtGQ1FYZFJiMDlYVlhsTlIwcHRDazVYVFhoT1JFcHNUbFJOZDA1NlFtcFpNa2swVFhwSmQxbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCWkVKbmIzSkNaMFZGUVZsUEwwMUJSVVVLUWtFNVUxcFhlR3haV0U1c1NVVk9kbUp1VW5saFYwbDNVRkZaUzB0M1dVSkNRVWRFZG5wQlFrSlJVWFppTTBKc1lta3hNRnBYZUd4aVYxWXdZMjVyZGdwaU0wSnNZbTVTYkdKSFZuUmFXRko1WlZNeGFtSXllSE5hVjA0d1lqTkpkR050Vm5OYVYwWjZXbGhOZDBoM1dVdExkMWxDUWtGSFJIWjZRVUpDWjFGU0NtTnRWbTFqZVRrd1dWZGtla3d6V1hkTWFtczBUR3BCZDA5M1dVdExkMWxDUWtGSFJIWjZRVUpEUVZGMFJFTjBiMlJJVW5kamVtOTJURE5TZG1FeVZuVUtURzFHYW1SSGJIWmliazExV2pKc01HRklWbWxrV0U1c1kyMU9kbUp1VW14aWJsRjFXVEk1ZEUxSlIwbENaMjl5UW1kRlJVRlpUeTlOUVVWS1FraHZUUXBsUjJnd1pFaENlazlwT0haYU1td3dZVWhXYVV4dFRuWmlVemwyWTBkV2RVeFlVbXhpUjFaMFdsaFNlV1ZUT1haalIxWjFaRWRXYzFwWE1XeGtTRW8xQ2t4WFRuWmlSM2hzV1ROU2RtTnBNWGxhVjNoc1dWaE9iR041T0hWYU1td3dZVWhXYVV3elpIWmpiWFJ0WWtjNU0yTjVPV2xaV0U1c1RGaEtiR0pIVm1nS1l6SlZkV1ZYUm5SaVJVSjVXbGRhZWt3elVtaGFNMDEyWkdwQmRVOVVaM1ZOUkVFMFFtZHZja0puUlVWQldVOHZUVUZGUzBKRGIwMUxSR3hzVFdwQ2FRcGFhbFpxVFZSUmVWcFVWWHBOUkdOM1dUSk9hVTlFVFhsTlIwVjVUVVJOZUU1WFdtMWFiVWt3VFZSUk1rOVhWWGRJVVZsTFMzZFpRa0pCUjBSMmVrRkNDa04zVVZCRVFURnVZVmhTYjJSWFNYUmhSemw2WkVkV2EwMUdTVWREYVhOSFFWRlJRbWMzT0hkQlVYZEZVa0Y0UTJGSVVqQmpTRTAyVEhrNWJtRllVbThLWkZkSmRWa3lPWFJNTWpsM1dsYzBkR1JIVm5OYVZ6RnNaRWhLTlV3eU9YZGFWelV3V2xkNGJHSlhWakJqYm10MFdUSTVjMkpIVm1wa1J6bDVURmhLYkFwaVIxWm9ZekpXZWsxRVowZERhWE5IUVZGUlFtYzNPSGRCVVRCRlMyZDNiMDlYVlhsTlIwcHRUbGROZUU1RVNteE9WRTEzVG5wQ2Fsa3lTVFJOZWtsM0NsbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCYUVKbmIzSkNaMFZGUVZsUEwwMUJSVTlDUWsxTlJWaEtiRnB1VFhaa1IwWnVZM2s1TWsxRE5EVUtUME0wZDAxQ2EwZERhWE5IUVZGUlFtYzNPSGRCVVRoRlEzZDNTazVFUVhkTmFsVjZUbXBqTWsxRVJVZERhWE5IUVZGUlFtYzNPSGRCVWtGRlNYZDNhQXBoU0ZJd1kwaE5Oa3g1T1c1aFdGSnZaRmRKZFZreU9YUk1NamwzV2xjMGRHUkhWbk5hVnpGc1pFaEtOVTFDWjBkRGFYTkhRVkZSUW1jM09IZEJVa1ZGQ2tObmQwbE9SR3MxVDFSbmQwMUVTWGRuV1hOSFEybHpSMEZSVVVKbk56aDNRVkpKUldaUmVEZGhTRkl3WTBoTk5reDVPVzVoV0ZKdlpGZEpkVmt5T1hRS1RESTVkMXBYTkhSa1IxWnpXbGN4YkdSSVNqVk1NamwzV2xjMU1GcFhlR3hpVjFZd1kyNXJkRmt5T1hOaVIxWnFaRWM1ZVV4WVNteGlSMVpvWXpKV2VncE1lVFZ1WVZoU2IyUlhTWFprTWpsNVlUSmFjMkl6WkhwTU0wcHNZa2RXYUdNeVZYUlpNamwxWkVoS2NGbHBOVFZaVnpGelVVaEtiRnB1VFhaa1IwWnVDbU41T1RKTlF6UTFUME0wZDAxRVowZERhWE5IUVZGUlFtYzNPSGRCVWsxRlMyZDNiMDlYVlhsTlIwcHRUbGROZUU1RVNteE9WRTEzVG5wQ2Fsa3lTVFFLVFhwSmQxbFVTWGROZWtVeFdtMWFiVmxxVVhoT1JGazFXbFJCVlVKbmIzSkNaMFZGUVZsUEwwMUJSVlZDUVZsTlFraENNV015WjNka1VWbExTM2RaUWdwQ1FVZEVkbnBCUWtaUlVtNUVSMVp2WkVoU2QyTjZiM1pNTW1Sd1pFZG9NVmxwTldwaU1qQjJZak5DYkdKcE1UQmFWM2hzWWxkV01HTnVhM1ppTTBKc0NtSnVVbXhpUjFaMFdsaFNlV1ZUTVdwaU1uaHpXbGRPTUdJelNYUmpiVlp6V2xkR2VscFlUWFpaVjA0d1lWYzVkV041T1hsa1Z6VjZUSHBuTWs1RVJYZ0tUbnBGTVU1cVkzWlpXRkl3V2xjeGQyUklUWFpOYWtGWFFtZHZja0puUlVWQldVOHZUVUZGVjBKQlowMUNia0l4V1cxNGNGbDZRMEpwZDFsTFMzZFpRZ3BDUVVoWFpWRkpSVUZuVWpsQ1NITkJaVkZDTTBGT01EbE5SM0pIZUhoRmVWbDRhMlZJU214dVRuZExhVk5zTmpRemFubDBMelJsUzJOdlFYWkxaVFpQQ2tGQlFVSnFjM1JvUjJKSlFVRkJVVVJCUldkM1VtZEphRUZQZUZNM2RteDRjVzVGYTBKVVRtSlZVRUpsUkZSbk0waGtlRlkyY0cxWk9FdGliREV6TjNBS1lWUnViMEZwUlVFelMyMUxVbU5uYWxBeVQzSmxORVpyVm5vNU4xaENNWGRsUzBOeWFXazFTMWx2UTB0bVkxRktSREJSZDBObldVbExiMXBKZW1vd1JRcEJkMDFFWVVGQmQxcFJTWGhCUzNwcVpHMUZTV2gzV21Kb1lVSlNlalk1Y1N0MWVrNVZSMmxhYlRWVk4xcE5aWFJMUTFSM1VFTkljRkZQVldvdlVERkJDa2R0YWt3elJucFFObTVpYkRGblNYZFNUbXN6UkhkNWMwOUJUMHhoUVVoR09IaHhZV0ZzT0U5WGNGRmFhRGh4TTJVMVNVSmFXR0ZWVkhocFlWbGFTM29LUXpWS1RGVlNWbnBMTURsd04wVjBUd290TFMwdExVVk9SQ0JEUlZKVVNVWkpRMEZVUlMwdExTMHRDZz09In19fX0=","integratedTime":1712809122,"logIndex":84797940,"logID":"c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d"}},"Issuer":"https://token.actions.githubusercontent.com","Subject":"https://github.com/open-telemetry/opentelemetry-collector-releases/.github/workflows/base-release.yaml@refs/tags/v0.98.0","githubWorkflowName":"Release Contrib","githubWorkflowRef":"refs/tags/v0.98.0","githubWorkflowRepository":"open-telemetry/opentelemetry-collector-releases","githubWorkflowSha":"9e20bf5c142e53070ccb8320a20315fffb41469e","githubWorkflowTrigger":"push"}}]
+```
+
+> [!NOTE]
+> We started signing the images with release `v0.95.0`
+
## Contributing
See the [Contributing Guide](CONTRIBUTING.md) for details.
From 0c9609fb2a88bcb37ca63abfc5e31abb84fdf095 Mon Sep 17 00:00:00 2001
From: Antoine Toulme
Date: Wed, 29 May 2024 08:26:35 -0700
Subject: [PATCH 091/111] [chore] Fix link to generated tests (#10248)
#### Description
Fixes a bad link
#### Link to tracking issue
Fixes #10143
---
cmd/mdatagen/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/mdatagen/README.md b/cmd/mdatagen/README.md
index e4223f1233e..ccdbf40f737 100644
--- a/cmd/mdatagen/README.md
+++ b/cmd/mdatagen/README.md
@@ -52,5 +52,5 @@ When making updates to the metadata generator or introducing support for new fun
1. Ensure the [metadata-schema.yaml](./metadata-schema.yaml) and [./metadata.yaml](metadata.yaml) files reflect the changes.
2. Run `make mdatagen-test`.
-3. Make sure all tests are passing including [generated tests](./internal/metadata/generated_metrics_test.go).
+3. Make sure all tests are passing including [generated tests](./internal/samplereceiver/internal/metadata/generated_metrics_test.go).
4. Run `make generate`.
From 76f2ad947e10c55962b12df9e3f195b1cedbe589 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Wed, 29 May 2024 09:10:01 -0700
Subject: [PATCH 092/111] [batchprocessor] ensure attributes are set on
metadata metric (#10245)
Fixing this bug required a change in mdatagen to ensure attributes could
be passed in to the telemetry builder.
Fixes #9674
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.chloggen/codeboten_fix-9674-2.yaml | 25 +++++++++++++++++++
.chloggen/codeboten_fix-9674.yaml | 25 +++++++++++++++++++
cmd/mdatagen/go.mod | 2 +-
.../internal/metadata/generated_telemetry.go | 11 +++++++-
cmd/mdatagen/main.go | 8 ++++++
cmd/mdatagen/templates/telemetry.go.tmpl | 14 ++++++++++-
.../batchprocessor/batch_processor_test.go | 3 ++-
.../internal/metadata/generated_telemetry.go | 11 +++++++-
processor/batchprocessor/metrics.go | 15 ++++++-----
9 files changed, 103 insertions(+), 11 deletions(-)
create mode 100644 .chloggen/codeboten_fix-9674-2.yaml
create mode 100644 .chloggen/codeboten_fix-9674.yaml
diff --git a/.chloggen/codeboten_fix-9674-2.yaml b/.chloggen/codeboten_fix-9674-2.yaml
new file mode 100644
index 00000000000..c51b1ad7b24
--- /dev/null
+++ b/.chloggen/codeboten_fix-9674-2.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: mdatagen
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: support setting an AttributeSet for async instruments
+
+# One or more tracking issues or pull requests related to the change
+issues: [9674]
+
+# (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:
+
+# 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/.chloggen/codeboten_fix-9674.yaml b/.chloggen/codeboten_fix-9674.yaml
new file mode 100644
index 00000000000..9243a82621a
--- /dev/null
+++ b/.chloggen/codeboten_fix-9674.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: batchprocessor
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: ensure attributes are set on cardinality metadata metric
+
+# One or more tracking issues or pull requests related to the change
+issues: [9674]
+
+# (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:
+
+# 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/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 3828e84fdbe..dc37e40c2ec 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -14,6 +14,7 @@ require (
go.opentelemetry.io/collector/pdata v1.8.0
go.opentelemetry.io/collector/receiver v0.101.0
go.opentelemetry.io/collector/semconv v0.101.0
+ go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
@@ -44,7 +45,6 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
index f40369d8c55..e6530a97a9a 100644
--- a/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
+++ b/cmd/mdatagen/internal/samplereceiver/internal/metadata/generated_telemetry.go
@@ -6,6 +6,7 @@ import (
"context"
"errors"
+ "go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
@@ -30,6 +31,7 @@ type TelemetryBuilder struct {
observeProcessRuntimeTotalAllocBytes func() int64
RequestDuration metric.Float64Histogram
level configtelemetry.Level
+ attributeSet attribute.Set
}
// telemetryBuilderOption applies changes to default builder.
@@ -42,6 +44,13 @@ func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
}
}
+// WithAttributeSet applies a set of attributes for asynchronous instruments.
+func WithAttributeSet(set attribute.Set) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.attributeSet = set
+ }
+}
+
// WithProcessRuntimeTotalAllocBytesCallback sets callback for observable ProcessRuntimeTotalAllocBytes metric.
func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilderOption {
return func(builder *TelemetryBuilder) {
@@ -76,7 +85,7 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
metric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
metric.WithUnit("By"),
metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessRuntimeTotalAllocBytes())
+ o.Observe(builder.observeProcessRuntimeTotalAllocBytes(), metric.WithAttributeSet(builder.attributeSet))
return nil
}),
)
diff --git a/cmd/mdatagen/main.go b/cmd/mdatagen/main.go
index cc325376826..304e12241cd 100644
--- a/cmd/mdatagen/main.go
+++ b/cmd/mdatagen/main.go
@@ -189,6 +189,14 @@ func templatize(tmplFile string, md metadata) *template.Template {
}
return result
},
+ "hasAsync": func(t telemetry) bool {
+ for _, m := range t.Metrics {
+ if m.Data().IsAsync() {
+ return true
+ }
+ }
+ return false
+ },
"inc": func(i int) int { return i + 1 },
"distroURL": func(name string) string {
return distros[name]
diff --git a/cmd/mdatagen/templates/telemetry.go.tmpl b/cmd/mdatagen/templates/telemetry.go.tmpl
index 21c4e374849..fc976c91b0a 100644
--- a/cmd/mdatagen/templates/telemetry.go.tmpl
+++ b/cmd/mdatagen/templates/telemetry.go.tmpl
@@ -8,6 +8,7 @@ import (
"errors"
{{- end }}
+ {{ if hasAsync .Telemetry }}"go.opentelemetry.io/otel/attribute"{{- end }}
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
@@ -35,6 +36,7 @@ type TelemetryBuilder struct {
{{- end }}
{{- end }}
level configtelemetry.Level
+ {{ if hasAsync .Telemetry }}attributeSet attribute.Set{{- end }}
}
// telemetryBuilderOption applies changes to default builder.
@@ -47,6 +49,15 @@ func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
}
}
+{{- if hasAsync .Telemetry }}
+// WithAttributeSet applies a set of attributes for asynchronous instruments.
+func WithAttributeSet(set attribute.Set) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.attributeSet = set
+ }
+}
+{{- end }}
+
{{- range $name, $metric := .Telemetry.Metrics }}
{{ if $metric.Data.Async -}}
// With{{ $name.Render }}Callback sets callback for observable {{ $name.Render }} metric.
@@ -58,6 +69,7 @@ func With{{ $name.Render }}Callback(cb func() {{ $metric.Data.BasicType }}) tele
{{- end }}
{{- end }}
+
// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
// for a component
func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
@@ -85,7 +97,7 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
{{- end }}
{{ if $metric.Data.Async -}}
metric.With{{ casesTitle $metric.Data.BasicType }}Callback(func(_ context.Context, o metric.{{ casesTitle $metric.Data.BasicType }}Observer) error {
- o.Observe(builder.observe{{ $name.Render }}())
+ o.Observe(builder.observe{{ $name.Render }}(), metric.WithAttributeSet(builder.attributeSet))
return nil
}),
{{- end }}
diff --git a/processor/batchprocessor/batch_processor_test.go b/processor/batchprocessor/batch_processor_test.go
index 20c1270e5e5..5d3666a71c9 100644
--- a/processor/batchprocessor/batch_processor_test.go
+++ b/processor/batchprocessor/batch_processor_test.go
@@ -275,7 +275,8 @@ func TestBatchProcessorSentBySize(t *testing.T) {
IsMonotonic: false,
DataPoints: []metricdata.DataPoint[int64]{
{
- Value: 1,
+ Value: 1,
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
},
},
},
diff --git a/processor/batchprocessor/internal/metadata/generated_telemetry.go b/processor/batchprocessor/internal/metadata/generated_telemetry.go
index 2289368ab0b..76356cdc162 100644
--- a/processor/batchprocessor/internal/metadata/generated_telemetry.go
+++ b/processor/batchprocessor/internal/metadata/generated_telemetry.go
@@ -6,6 +6,7 @@ import (
"context"
"errors"
+ "go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/metric/noop"
"go.opentelemetry.io/otel/trace"
@@ -32,6 +33,7 @@ type TelemetryBuilder struct {
observeProcessorBatchMetadataCardinality func() int64
ProcessorBatchTimeoutTriggerSend metric.Int64Counter
level configtelemetry.Level
+ attributeSet attribute.Set
}
// telemetryBuilderOption applies changes to default builder.
@@ -44,6 +46,13 @@ func WithLevel(lvl configtelemetry.Level) telemetryBuilderOption {
}
}
+// WithAttributeSet applies a set of attributes for asynchronous instruments.
+func WithAttributeSet(set attribute.Set) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.attributeSet = set
+ }
+}
+
// WithProcessorBatchMetadataCardinalityCallback sets callback for observable ProcessorBatchMetadataCardinality metric.
func WithProcessorBatchMetadataCardinalityCallback(cb func() int64) telemetryBuilderOption {
return func(builder *TelemetryBuilder) {
@@ -90,7 +99,7 @@ func NewTelemetryBuilder(settings component.TelemetrySettings, options ...teleme
metric.WithDescription("Number of distinct metadata value combinations being processed"),
metric.WithUnit("1"),
metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessorBatchMetadataCardinality())
+ o.Observe(builder.observeProcessorBatchMetadataCardinality(), metric.WithAttributeSet(builder.attributeSet))
return nil
}),
)
diff --git a/processor/batchprocessor/metrics.go b/processor/batchprocessor/metrics.go
index 4e0df628405..2aecaeeddc7 100644
--- a/processor/batchprocessor/metrics.go
+++ b/processor/batchprocessor/metrics.go
@@ -28,14 +28,17 @@ type batchProcessorTelemetry struct {
exportCtx context.Context
- processorAttr []attribute.KeyValue
+ processorAttr attribute.Set
telemetryBuilder *metadata.TelemetryBuilder
}
func newBatchProcessorTelemetry(set processor.CreateSettings, currentMetadataCardinality func() int) (*batchProcessorTelemetry, error) {
+ attrs := attribute.NewSet(attribute.String(obsmetrics.ProcessorKey, set.ID.String()))
+
telemetryBuilder, err := metadata.NewTelemetryBuilder(set.TelemetrySettings,
metadata.WithLevel(set.MetricsLevel),
metadata.WithProcessorBatchMetadataCardinalityCallback(func() int64 { return int64(currentMetadataCardinality()) }),
+ metadata.WithAttributeSet(attrs),
)
if err != nil {
@@ -43,23 +46,23 @@ func newBatchProcessorTelemetry(set processor.CreateSettings, currentMetadataCar
}
return &batchProcessorTelemetry{
- processorAttr: []attribute.KeyValue{attribute.String(obsmetrics.ProcessorKey, set.ID.String())},
exportCtx: context.Background(),
detailed: set.MetricsLevel == configtelemetry.LevelDetailed,
telemetryBuilder: telemetryBuilder,
+ processorAttr: attrs,
}, nil
}
func (bpt *batchProcessorTelemetry) record(trigger trigger, sent, bytes int64) {
switch trigger {
case triggerBatchSize:
- bpt.telemetryBuilder.ProcessorBatchBatchSizeTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSizeTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributeSet(bpt.processorAttr))
case triggerTimeout:
- bpt.telemetryBuilder.ProcessorBatchTimeoutTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchTimeoutTriggerSend.Add(bpt.exportCtx, 1, metric.WithAttributeSet(bpt.processorAttr))
}
- bpt.telemetryBuilder.ProcessorBatchBatchSendSize.Record(bpt.exportCtx, sent, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSendSize.Record(bpt.exportCtx, sent, metric.WithAttributeSet(bpt.processorAttr))
if bpt.detailed {
- bpt.telemetryBuilder.ProcessorBatchBatchSendSizeBytes.Record(bpt.exportCtx, bytes, metric.WithAttributes(bpt.processorAttr...))
+ bpt.telemetryBuilder.ProcessorBatchBatchSendSizeBytes.Record(bpt.exportCtx, bytes, metric.WithAttributeSet(bpt.processorAttr))
}
}
From 66f9a58e8bcd04a2d6e50547910389ba2a3b4790 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Wed, 29 May 2024 13:48:42 -0700
Subject: [PATCH 093/111] [chore] update batch processor tests to use generated
utility (#10256)
This updates the tests for the batch processor. This allows us to remove
a bunch of custom test code.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../batchprocessor/batch_processor_test.go | 282 ++++++++++++++++--
processor/batchprocessor/go.mod | 10 +-
processor/batchprocessor/metrics_test.go | 203 -------------
3 files changed, 256 insertions(+), 239 deletions(-)
delete mode 100644 processor/batchprocessor/metrics_test.go
diff --git a/processor/batchprocessor/batch_processor_test.go b/processor/batchprocessor/batch_processor_test.go
index 5d3666a71c9..2cb189c13c3 100644
--- a/processor/batchprocessor/batch_processor_test.go
+++ b/processor/batchprocessor/batch_processor_test.go
@@ -187,7 +187,7 @@ func TestBatchProcessorSentBySize(t *testing.T) {
sizeSum := 0
for requestNum := 0; requestNum < requestCount; requestNum++ {
td := testdata.GenerateTraces(spansPerRequest)
- sizeSum += sizer.TracesSize(td)
+
assert.NoError(t, batcher.ConsumeTraces(context.Background(), td))
}
@@ -203,6 +203,7 @@ func TestBatchProcessorSentBySize(t *testing.T) {
receivedTraces := sink.AllTraces()
require.EqualValues(t, expectedBatchesNum, len(receivedTraces))
for _, td := range receivedTraces {
+ sizeSum += sizer.TracesSize(td)
rss := td.ResourceSpans()
require.Equal(t, expectedBatchingFactor, rss.Len())
for i := 0; i < expectedBatchingFactor; i++ {
@@ -285,10 +286,8 @@ func TestBatchProcessorSentBySize(t *testing.T) {
}
func TestBatchProcessorSentBySizeWithMaxSize(t *testing.T) {
- telemetryTest(t, testBatchProcessorSentBySizeWithMaxSize)
-}
-
-func testBatchProcessorSentBySizeWithMaxSize(t *testing.T, tel testTelemetry) {
+ tel := setupTestTelemetry()
+ sizer := &ptrace.ProtoMarshaler{}
sink := new(consumertest.TracesSink)
cfg := createDefaultConfig().(*Config)
sendBatchSize := 20
@@ -296,7 +295,7 @@ func testBatchProcessorSentBySizeWithMaxSize(t *testing.T, tel testTelemetry) {
cfg.SendBatchSize = uint32(sendBatchSize)
cfg.SendBatchMaxSize = uint32(sendBatchMaxSize)
cfg.Timeout = 500 * time.Millisecond
- creationSet := tel.NewProcessorCreateSettings()
+ creationSet := tel.NewCreateSettings()
creationSet.MetricsLevel = configtelemetry.LevelDetailed
batcher, err := newBatchTracesProcessor(creationSet, sink, cfg)
require.NoError(t, err)
@@ -307,6 +306,8 @@ func testBatchProcessorSentBySizeWithMaxSize(t *testing.T, tel testTelemetry) {
totalSpans := requestCount * spansPerRequest
start := time.Now()
+
+ sizeSum := 0
for requestNum := 0; requestNum < requestCount; requestNum++ {
td := testdata.GenerateTraces(spansPerRequest)
assert.NoError(t, batcher.ConsumeTraces(context.Background(), td))
@@ -323,12 +324,105 @@ func testBatchProcessorSentBySizeWithMaxSize(t *testing.T, tel testTelemetry) {
require.Equal(t, totalSpans, sink.SpanCount())
receivedTraces := sink.AllTraces()
require.EqualValues(t, expectedBatchesNum, len(receivedTraces))
+ // we have to count the size after it was processed since splitTraces will cause some
+ // repeated ResourceSpan data to be sent through the processor
+ var min, max int
+ for _, td := range receivedTraces {
+ if min == 0 || sizer.TracesSize(td) < min {
+ min = sizer.TracesSize(td)
+ }
+ if sizer.TracesSize(td) > max {
+ max = sizer.TracesSize(td)
+ }
+ sizeSum += sizer.TracesSize(td)
+ }
- tel.assertMetrics(t, expectedMetrics{
- sendCount: float64(expectedBatchesNum),
- sendSizeSum: float64(sink.SpanCount()),
- sizeTrigger: math.Floor(float64(totalSpans) / float64(sendBatchMaxSize)),
- timeoutTrigger: 1,
+ tel.assertMetrics(t, []metricdata.Metrics{
+ {
+ Name: "processor_batch_batch_send_size_bytes",
+ Description: "Number of bytes in batch that was sent",
+ Unit: "By",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
+ 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
+ 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000},
+ BucketCounts: []uint64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, uint64(expectedBatchesNum - 1), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sizeSum),
+ Min: metricdata.NewExtrema(int64(min)),
+ Max: metricdata.NewExtrema(int64(max)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_send_size",
+ Description: "Number of units in the batch",
+ Unit: "1",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000},
+ BucketCounts: []uint64{0, 1, uint64(expectedBatchesNum - 1), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sink.SpanCount()),
+ Min: metricdata.NewExtrema(int64(sendBatchSize - 1)),
+ Max: metricdata.NewExtrema(int64(cfg.SendBatchMaxSize)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_size_trigger_send",
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: int64(expectedBatchesNum - 1),
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_timeout_trigger_send",
+ Description: "Number of times the batch was sent due to a timeout trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_metadata_cardinality",
+ Description: "Number of distinct metadata value combinations being processed",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: false,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
})
}
@@ -459,10 +553,7 @@ func TestBatchMetricProcessor_ReceivingData(t *testing.T) {
}
func TestBatchMetricProcessorBatchSize(t *testing.T) {
- telemetryTest(t, testBatchMetricProcessorBatchSize)
-}
-
-func testBatchMetricProcessorBatchSize(t *testing.T, tel testTelemetry) {
+ tel := setupTestTelemetry()
sizer := &pmetric.ProtoMarshaler{}
// Instantiate the batch processor with low config values to test data
@@ -478,7 +569,7 @@ func testBatchMetricProcessorBatchSize(t *testing.T, tel testTelemetry) {
dataPointsPerRequest := metricsPerRequest * dataPointsPerMetric
sink := new(consumertest.MetricsSink)
- creationSet := tel.NewProcessorCreateSettings()
+ creationSet := tel.NewCreateSettings()
creationSet.MetricsLevel = configtelemetry.LevelDetailed
batcher, err := newBatchMetricsProcessor(creationSet, sink, &cfg)
require.NoError(t, err)
@@ -509,11 +600,77 @@ func testBatchMetricProcessorBatchSize(t *testing.T, tel testTelemetry) {
}
}
- tel.assertMetrics(t, expectedMetrics{
- sendCount: float64(expectedBatchesNum),
- sendSizeSum: float64(sink.DataPointCount()),
- sendSizeBytesSum: float64(size),
- sizeTrigger: 20,
+ tel.assertMetrics(t, []metricdata.Metrics{
+ {
+ Name: "processor_batch_batch_send_size_bytes",
+ Description: "Number of bytes in batch that was sent",
+ Unit: "By",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
+ 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
+ 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000},
+ BucketCounts: []uint64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(size),
+ Min: metricdata.NewExtrema(int64(size / expectedBatchesNum)),
+ Max: metricdata.NewExtrema(int64(size / expectedBatchesNum)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_send_size",
+ Description: "Number of units in the batch",
+ Unit: "1",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000},
+ BucketCounts: []uint64{0, 0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sink.DataPointCount()),
+ Min: metricdata.NewExtrema(int64(cfg.SendBatchSize)),
+ Max: metricdata.NewExtrema(int64(cfg.SendBatchSize)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_size_trigger_send",
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: int64(expectedBatchesNum),
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_metadata_cardinality",
+ Description: "Number of distinct metadata value combinations being processed",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: false,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
})
}
@@ -778,10 +935,7 @@ func TestBatchLogProcessor_ReceivingData(t *testing.T) {
}
func TestBatchLogProcessor_BatchSize(t *testing.T) {
- telemetryTest(t, testBatchLogProcessorBatchSize)
-}
-
-func testBatchLogProcessorBatchSize(t *testing.T, tel testTelemetry) {
+ tel := setupTestTelemetry()
sizer := &plog.ProtoMarshaler{}
// Instantiate the batch processor with low config values to test data
@@ -795,7 +949,7 @@ func testBatchLogProcessorBatchSize(t *testing.T, tel testTelemetry) {
logsPerRequest := 5
sink := new(consumertest.LogsSink)
- creationSet := tel.NewProcessorCreateSettings()
+ creationSet := tel.NewCreateSettings()
creationSet.MetricsLevel = configtelemetry.LevelDetailed
batcher, err := newBatchLogsProcessor(creationSet, sink, &cfg)
require.NoError(t, err)
@@ -826,11 +980,77 @@ func testBatchLogProcessorBatchSize(t *testing.T, tel testTelemetry) {
}
}
- tel.assertMetrics(t, expectedMetrics{
- sendCount: float64(expectedBatchesNum),
- sendSizeSum: float64(sink.LogRecordCount()),
- sendSizeBytesSum: float64(size),
- sizeTrigger: float64(expectedBatchesNum),
+ tel.assertMetrics(t, []metricdata.Metrics{
+ {
+ Name: "processor_batch_batch_send_size_bytes",
+ Description: "Number of bytes in batch that was sent",
+ Unit: "By",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
+ 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
+ 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000},
+ BucketCounts: []uint64{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(size),
+ Min: metricdata.NewExtrema(int64(size / expectedBatchesNum)),
+ Max: metricdata.NewExtrema(int64(size / expectedBatchesNum)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_send_size",
+ Description: "Number of units in the batch",
+ Unit: "1",
+ Data: metricdata.Histogram[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ DataPoints: []metricdata.HistogramDataPoint[int64]{
+ {
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ Count: uint64(expectedBatchesNum),
+ Bounds: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000},
+ BucketCounts: []uint64{0, 0, uint64(expectedBatchesNum), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ Sum: int64(sink.LogRecordCount()),
+ Min: metricdata.NewExtrema(int64(cfg.SendBatchSize)),
+ Max: metricdata.NewExtrema(int64(cfg.SendBatchSize)),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_batch_size_trigger_send",
+ Description: "Number of times the batch was sent due to a size trigger",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: true,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: int64(expectedBatchesNum),
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
+ {
+ Name: "processor_batch_metadata_cardinality",
+ Description: "Number of distinct metadata value combinations being processed",
+ Unit: "1",
+ Data: metricdata.Sum[int64]{
+ Temporality: metricdata.CumulativeTemporality,
+ IsMonotonic: false,
+ DataPoints: []metricdata.DataPoint[int64]{
+ {
+ Value: 1,
+ Attributes: attribute.NewSet(attribute.String("processor", "batch")),
+ },
+ },
+ },
+ },
})
}
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index 7a03fb04555..4690e1a9928 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -3,9 +3,6 @@ module go.opentelemetry.io/collector/processor/batchprocessor
go 1.21.0
require (
- github.com/prometheus/client_golang v1.19.1
- github.com/prometheus/client_model v0.6.1
- github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector v0.101.0
go.opentelemetry.io/collector/component v0.101.0
@@ -16,9 +13,7 @@ require (
go.opentelemetry.io/collector/pdata/testdata v0.101.0
go.opentelemetry.io/collector/processor v0.101.0
go.opentelemetry.io/otel v1.27.0
- go.opentelemetry.io/otel/exporters/prometheus v0.49.0
go.opentelemetry.io/otel/metric v1.27.0
- go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
go.uber.org/goleak v1.3.0
@@ -43,7 +38,12 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
+ github.com/prometheus/client_model v0.6.1 // indirect
+ github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
+ go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/processor/batchprocessor/metrics_test.go b/processor/batchprocessor/metrics_test.go
deleted file mode 100644
index 0f7f4db9165..00000000000
--- a/processor/batchprocessor/metrics_test.go
+++ /dev/null
@@ -1,203 +0,0 @@
-// Copyright The OpenTelemetry Authors
-// SPDX-License-Identifier: Apache-2.0
-
-package batchprocessor
-
-import (
- "context"
- "fmt"
- "math"
- "net/http"
- "net/http/httptest"
- "testing"
-
- "github.com/prometheus/client_golang/prometheus"
- "github.com/prometheus/client_golang/prometheus/promhttp"
- io_prometheus_client "github.com/prometheus/client_model/go"
- "github.com/prometheus/common/expfmt"
- "github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- otelprom "go.opentelemetry.io/otel/exporters/prometheus"
- sdkmetric "go.opentelemetry.io/otel/sdk/metric"
- "go.opentelemetry.io/otel/sdk/resource"
-
- "go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/processor"
- "go.opentelemetry.io/collector/processor/processorhelper"
- "go.opentelemetry.io/collector/processor/processortest"
-)
-
-type testTelemetry struct {
- promHandler http.Handler
- meterProvider *sdkmetric.MeterProvider
-}
-
-type expectedMetrics struct {
- // processor_batch_batch_send_size_count
- // processor_batch_batch_send_size_bytes_count
- sendCount float64
- // processor_batch_batch_send_size_sum
- sendSizeSum float64
- // processor_batch_batch_send_size_bytes_sum
- sendSizeBytesSum float64
- // processor_batch_batch_size_trigger_send
- sizeTrigger float64
- // processor_batch_batch_timeout_trigger_send
- timeoutTrigger float64
-}
-
-func telemetryTest(t *testing.T, testFunc func(t *testing.T, tel testTelemetry)) {
- testFunc(t, setupTelemetry(t))
-}
-
-func setupTelemetry(t *testing.T) testTelemetry {
- telemetry := testTelemetry{}
-
- promReg := prometheus.NewRegistry()
- exporter, err := otelprom.New(otelprom.WithRegisterer(promReg), otelprom.WithoutUnits(), otelprom.WithoutScopeInfo(), otelprom.WithoutCounterSuffixes())
- require.NoError(t, err)
-
- telemetry.meterProvider = sdkmetric.NewMeterProvider(
- sdkmetric.WithResource(resource.Empty()),
- sdkmetric.WithReader(exporter),
- sdkmetric.WithView(batchViews()...),
- )
-
- telemetry.promHandler = promhttp.HandlerFor(promReg, promhttp.HandlerOpts{})
-
- t.Cleanup(func() { assert.NoError(t, telemetry.meterProvider.Shutdown(context.Background())) })
-
- return telemetry
-}
-
-func (tt *testTelemetry) NewProcessorCreateSettings() processor.CreateSettings {
- settings := processortest.NewNopCreateSettings()
- settings.MeterProvider = tt.meterProvider
- settings.ID = component.MustNewID("batch")
-
- return settings
-}
-
-func (tt *testTelemetry) assertMetrics(t *testing.T, expected expectedMetrics) {
- req, err := http.NewRequest(http.MethodGet, "/metrics", nil)
- require.NoError(t, err)
-
- rr := httptest.NewRecorder()
- tt.promHandler.ServeHTTP(rr, req)
-
- var parser expfmt.TextParser
- metrics, err := parser.TextToMetricFamilies(rr.Body)
- require.NoError(t, err)
-
- if expected.sendSizeBytesSum > 0 {
- name := "processor_batch_batch_send_size_bytes"
- metric := tt.getMetric(t, name, io_prometheus_client.MetricType_HISTOGRAM, metrics)
-
- assertFloat(t, expected.sendSizeBytesSum, metric.GetHistogram().GetSampleSum(), name)
- assertFloat(t, expected.sendCount, float64(metric.GetHistogram().GetSampleCount()), name)
-
- tt.assertBoundaries(t,
- []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
- 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
- 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000, math.Inf(1)},
- metric.GetHistogram(),
- name,
- )
- }
-
- if expected.sendSizeSum > 0 {
- name := "processor_batch_batch_send_size"
- metric := tt.getMetric(t, name, io_prometheus_client.MetricType_HISTOGRAM, metrics)
-
- assertFloat(t, expected.sendSizeSum, metric.GetHistogram().GetSampleSum(), name)
- assertFloat(t, expected.sendCount, float64(metric.GetHistogram().GetSampleCount()), name)
-
- tt.assertBoundaries(t,
- []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000, math.Inf(1)},
- metric.GetHistogram(),
- name,
- )
- }
-
- if expected.sizeTrigger > 0 {
- name := "processor_batch_batch_size_trigger_send"
- metric := tt.getMetric(t, name, io_prometheus_client.MetricType_COUNTER, metrics)
-
- assertFloat(t, expected.sizeTrigger, metric.GetCounter().GetValue(), name)
- }
-
- if expected.timeoutTrigger > 0 {
- name := "processor_batch_timeout_trigger_send"
- metric := tt.getMetric(t, name, io_prometheus_client.MetricType_COUNTER, metrics)
-
- assertFloat(t, expected.timeoutTrigger, metric.GetCounter().GetValue(), name)
- }
-}
-
-func (tt *testTelemetry) assertBoundaries(t *testing.T, expected []float64, histogram *io_prometheus_client.Histogram, metric string) {
- var got []float64
- for _, bucket := range histogram.GetBucket() {
- got = append(got, bucket.GetUpperBound())
- }
-
- if len(expected) != len(got) {
- assert.Failf(t, "different boundaries size", "metric '%s' expected boundaries '%x' but got '%x'", metric, expected, got)
- return
- }
-
- for i := range expected {
- if math.Abs(expected[i]-got[i]) > 0.00001 {
- assert.Failf(t, "unexpected boundary", "boundary for metric '%s' did not match, expected '%f' got '%f'", metric, expected[i], got[i])
- }
- }
-
-}
-
-func (tt *testTelemetry) getMetric(t *testing.T, name string, mtype io_prometheus_client.MetricType, got map[string]*io_prometheus_client.MetricFamily) *io_prometheus_client.Metric {
- metricFamily, ok := got[name]
- require.True(t, ok, "expected metric '%s' not found", name)
- require.Equal(t, mtype, metricFamily.GetType())
-
- metric, err := getSingleMetric(metricFamily)
- require.NoError(t, err)
-
- return metric
-}
-
-func getSingleMetric(metric *io_prometheus_client.MetricFamily) (*io_prometheus_client.Metric, error) {
- if l := len(metric.Metric); l != 1 {
- return nil, fmt.Errorf("expected metric '%s' with one set of attributes, but found %d", metric.GetName(), l)
- }
- first := metric.Metric[0]
-
- if len(first.Label) != 1 || "processor" != first.Label[0].GetName() || "batch" != first.Label[0].GetValue() {
- return nil, fmt.Errorf("expected metric '%s' with a single `batch=processor` attribute but got '%s'", metric.GetName(), first.GetLabel())
- }
-
- return first, nil
-}
-
-func assertFloat(t *testing.T, expected, got float64, metric string) {
- if math.Abs(expected-got) > 0.00001 {
- assert.Failf(t, "unexpected metric value", "value for metric '%s' did not match, expected '%f' got '%f'", metric, expected, got)
- }
-}
-
-func batchViews() []sdkmetric.View {
- return []sdkmetric.View{
- sdkmetric.NewView(
- sdkmetric.Instrument{Name: processorhelper.BuildCustomMetricName("batch", "batch_send_size")},
- sdkmetric.Stream{Aggregation: sdkmetric.AggregationExplicitBucketHistogram{
- Boundaries: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000, 100000},
- }},
- ),
- sdkmetric.NewView(
- sdkmetric.Instrument{Name: processorhelper.BuildCustomMetricName("batch", "batch_send_size_bytes")},
- sdkmetric.Stream{Aggregation: sdkmetric.AggregationExplicitBucketHistogram{
- Boundaries: []float64{10, 25, 50, 75, 100, 250, 500, 750, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, 10000, 20000, 30000, 50000,
- 100_000, 200_000, 300_000, 400_000, 500_000, 600_000, 700_000, 800_000, 900_000,
- 1000_000, 2000_000, 3000_000, 4000_000, 5000_000, 6000_000, 7000_000, 8000_000, 9000_000},
- }},
- ),
- }
-}
From ab632d55d371cb60532a0597fbf24b8678b96825 Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Wed, 29 May 2024 16:39:53 -0600
Subject: [PATCH 094/111] [confmap] Add ability to set default provider
(#10182)
#### Description
This PR adds support for expanding `${}` syntax when no schema is
provided by allowing Resolver to use a default provider.
In a followup PR I'll update otelcol with a feature gate that allow
switching between a default envProvider and the expandconverter.
#### Link to tracking issue
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/10161
Related to
https://github.com/open-telemetry/opentelemetry-collector/issues/7111
#### Testing
Added unit tests
#### Documentation
Added godoc strings
---------
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
---
.chloggen/confmap-default-provider.yaml | 25 +++++
confmap/expand.go | 28 ++++--
confmap/expand_test.go | 116 +++++++++++++++++++++++-
confmap/resolver.go | 34 +++++--
confmap/resolver_test.go | 28 +++++-
5 files changed, 208 insertions(+), 23 deletions(-)
create mode 100644 .chloggen/confmap-default-provider.yaml
diff --git a/.chloggen/confmap-default-provider.yaml b/.chloggen/confmap-default-provider.yaml
new file mode 100644
index 00000000000..2bc9fb28e67
--- /dev/null
+++ b/.chloggen/confmap-default-provider.yaml
@@ -0,0 +1,25 @@
+# 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. otlpreceiver)
+component: confmap
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Allow setting a default Provider on a Resolver to use when `${}` syntax is used without a scheme
+
+# One or more tracking issues or pull requests related to the change
+issues: [10182]
+
+# (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:
+
+# 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: [api]
diff --git a/confmap/expand.go b/confmap/expand.go
index 05ec5a31162..768395f76fd 100644
--- a/confmap/expand.go
+++ b/confmap/expand.go
@@ -76,21 +76,24 @@ func (mr *Resolver) expandValue(ctx context.Context, value any) (any, bool, erro
return value, false, nil
}
-// findURI attempts to find the first expandable URI in input. It returns an expandable
+// findURI attempts to find the first potentially expandable URI in input. It returns a potentially expandable
// URI, or an empty string if none are found.
// Note: findURI is only called when input contains a closing bracket.
-func findURI(input string) string {
+func (mr *Resolver) findURI(input string) string {
closeIndex := strings.Index(input, "}")
remaining := input[closeIndex+1:]
openIndex := strings.LastIndex(input[:closeIndex+1], "${")
- // if there is a missing "${" or the uri does not contain ":", check the next URI.
- if openIndex < 0 || !strings.Contains(input[openIndex:closeIndex+1], ":") {
+ // if there is any of:
+ // - a missing "${"
+ // - there is no default scheme AND no scheme is detected because no `:` is found.
+ // then check the next URI.
+ if openIndex < 0 || (mr.defaultScheme == "" && !strings.Contains(input[openIndex:closeIndex+1], ":")) {
// if remaining does not contain "}", there are no URIs left: stop recursion.
if !strings.Contains(remaining, "}") {
return ""
}
- return findURI(remaining)
+ return mr.findURI(remaining)
}
return input[openIndex : closeIndex+1]
@@ -98,8 +101,9 @@ func findURI(input string) string {
// findAndExpandURI attempts to find and expand the first occurrence of an expandable URI in input. If an expandable URI is found it
// returns the input with the URI expanded, true and nil. Otherwise, it returns the unchanged input, false and the expanding error.
+// This method expects input to start with ${ and end with }
func (mr *Resolver) findAndExpandURI(ctx context.Context, input string) (any, bool, error) {
- uri := findURI(input)
+ uri := mr.findURI(input)
if uri == "" {
// No URI found, return.
return input, false, nil
@@ -138,11 +142,19 @@ func toString(input any) (string, error) {
}
}
-func (mr *Resolver) expandURI(ctx context.Context, uri string) (any, bool, error) {
- lURI, err := newLocation(uri[2 : len(uri)-1])
+func (mr *Resolver) expandURI(ctx context.Context, input string) (any, bool, error) {
+ // strip ${ and }
+ uri := input[2 : len(input)-1]
+
+ if !strings.Contains(uri, ":") {
+ uri = fmt.Sprintf("%s:%s", mr.defaultScheme, uri)
+ }
+
+ lURI, err := newLocation(uri)
if err != nil {
return nil, false, err
}
+
if strings.Contains(lURI.opaqueValue, "$") {
return nil, false, fmt.Errorf("the uri %q contains unsupported characters ('$')", lURI.asString())
}
diff --git a/confmap/expand_test.go b/confmap/expand_test.go
index 02db3ea818d..b7bfc59483d 100644
--- a/confmap/expand_test.go
+++ b/confmap/expand_test.go
@@ -99,9 +99,10 @@ func TestResolverExpandMapAndSliceValues(t *testing.T) {
func TestResolverExpandStringValues(t *testing.T) {
tests := []struct {
- name string
- input string
- output any
+ name string
+ input string
+ output any
+ defaultProvider bool
}{
// Embedded.
{
@@ -109,11 +110,23 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "${HOST}:${PORT}",
output: "${HOST}:${PORT}",
},
+ {
+ name: "NoMatchOldStyleDefaultProvider",
+ input: "${HOST}:${PORT}",
+ output: "localhost:3044",
+ defaultProvider: true,
+ },
{
name: "NoMatchOldStyleNoBrackets",
input: "${HOST}:$PORT",
output: "${HOST}:$PORT",
},
+ {
+ name: "NoMatchOldStyleNoBracketsDefaultProvider",
+ input: "${HOST}:$PORT",
+ output: "localhost:$PORT",
+ defaultProvider: true,
+ },
{
name: "ComplexValue",
input: "${env:COMPLEX_VALUE}",
@@ -139,6 +152,12 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "${env:HOST}:${PORT}",
output: "localhost:${PORT}",
},
+ {
+ name: "EmbeddedNewAndOldStyleDefaultProvider",
+ input: "${env:HOST}:${PORT}",
+ output: "localhost:3044",
+ defaultProvider: true,
+ },
{
name: "Int",
input: "test_${env:INT}",
@@ -181,11 +200,23 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "${test:localhost:${env:PORT}}",
output: "localhost:3044",
},
+ {
+ name: "NestedDefaultProvider",
+ input: "${test:localhost:${PORT}}",
+ output: "localhost:3044",
+ defaultProvider: true,
+ },
{
name: "EmbeddedInNested",
input: "${test:${env:HOST}:${env:PORT}}",
output: "localhost:3044",
},
+ {
+ name: "EmbeddedInNestedDefaultProvider",
+ input: "${test:${HOST}:${PORT}}",
+ output: "localhost:3044",
+ defaultProvider: true,
+ },
{
name: "EmbeddedAndNested",
input: "${test:localhost:${env:PORT}}?os=${env:OS}",
@@ -202,31 +233,67 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "env:HOST}",
output: "env:HOST}",
},
+ {
+ name: "NoMatchMissingOpeningBracketDefaultProvider",
+ input: "env:HOST}",
+ output: "env:HOST}",
+ defaultProvider: true,
+ },
{
name: "NoMatchMissingClosingBracket",
input: "${HOST",
output: "${HOST",
},
+ {
+ name: "NoMatchMissingClosingBracketDefaultProvider",
+ input: "${HOST",
+ output: "${HOST",
+ defaultProvider: true,
+ },
{
name: "NoMatchBracketsWithout$",
input: "HO{ST}",
output: "HO{ST}",
},
+ {
+ name: "NoMatchBracketsWithout$DefaultProvider",
+ input: "HO{ST}",
+ output: "HO{ST}",
+ defaultProvider: true,
+ },
{
name: "NoMatchOnlyMissingClosingBracket",
input: "${env:HOST${env:PORT?os=${env:OS",
output: "${env:HOST${env:PORT?os=${env:OS",
},
+ {
+ name: "NoMatchOnlyMissingClosingBracketDefaultProvider",
+ input: "${env:HOST${env:PORT?os=${env:OS",
+ output: "${env:HOST${env:PORT?os=${env:OS",
+ defaultProvider: true,
+ },
{
name: "NoMatchOnlyMissingOpeningBracket",
input: "env:HOST}env:PORT}?os=env:OS}",
output: "env:HOST}env:PORT}?os=env:OS}",
},
+ {
+ name: "NoMatchOnlyMissingOpeningBracketDefaultProvider",
+ input: "env:HOST}env:PORT}?os=env:OS}",
+ output: "env:HOST}env:PORT}?os=env:OS}",
+ defaultProvider: true,
+ },
{
name: "NoMatchCloseBeforeOpen",
input: "env:HOST}${env:PORT",
output: "env:HOST}${env:PORT",
},
+ {
+ name: "NoMatchCloseBeforeOpenDefaultProvider",
+ input: "env:HOST}${env:PORT",
+ output: "env:HOST}${env:PORT",
+ defaultProvider: true,
+ },
{
name: "NoMatchOldStyleNested",
input: "${test:localhost:${PORT}}",
@@ -238,6 +305,12 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "env:HOST}${env:PORT}",
output: "env:HOST}3044",
},
+ {
+ name: "PartialMatchMissingOpeningBracketFirstDefaultProvider",
+ input: "env:HOST}${PORT}",
+ output: "env:HOST}3044",
+ defaultProvider: true,
+ },
{
name: "PartialMatchMissingOpeningBracketLast",
input: "${env:HOST}env:PORT}",
@@ -288,11 +361,23 @@ func TestResolverExpandStringValues(t *testing.T) {
input: "${HOST}${env:PORT}",
output: "${HOST}3044",
},
+ {
+ name: "SchemeAfterNoSchemeIsExpandedDefaultProvider",
+ input: "${HOST}${env:PORT}",
+ output: "localhost3044",
+ defaultProvider: true,
+ },
{
name: "SchemeBeforeNoSchemeIsExpanded",
input: "${env:HOST}${PORT}",
output: "localhost${PORT}",
},
+ {
+ name: "SchemeBeforeNoSchemeIsExpandedDefaultProvider",
+ input: "${env:HOST}${PORT}",
+ output: "localhost3044",
+ defaultProvider: true,
+ },
}
for _, tt := range tests {
@@ -305,7 +390,12 @@ func TestResolverExpandStringValues(t *testing.T) {
return NewRetrieved(uri[5:])
})
- resolver, err := NewResolver(ResolverSettings{URIs: []string{"input:"}, ProviderFactories: []ProviderFactory{provider, newEnvProvider(), testProvider}, ConverterFactories: nil})
+ envProvider := newEnvProvider()
+ set := ResolverSettings{URIs: []string{"input:"}, ProviderFactories: []ProviderFactory{provider, envProvider, testProvider}, ConverterFactories: nil}
+ if tt.defaultProvider {
+ set.DefaultScheme = "env"
+ }
+ resolver, err := NewResolver(set)
require.NoError(t, err)
cfgMap, err := resolver.Resolve(context.Background())
@@ -317,6 +407,11 @@ func TestResolverExpandStringValues(t *testing.T) {
func newEnvProvider() ProviderFactory {
return newFakeProvider("env", func(_ context.Context, uri string, _ WatcherFunc) (*Retrieved, error) {
+ // When using `env` as the default scheme for tests, the uri will not include `env:`.
+ // Instead of duplicating the switch cases, the scheme is added instead.
+ if uri[0:4] != "env:" {
+ uri = "env:" + uri
+ }
switch uri {
case "env:COMPLEX_VALUE":
return NewRetrieved([]any{"localhost:3042"})
@@ -469,3 +564,16 @@ func TestResolverExpandStringValueInvalidReturnValue(t *testing.T) {
_, err = resolver.Resolve(context.Background())
assert.EqualError(t, err, `expanding ${test:PORT}: expected convertable to string value type, got ['Ó›']([]interface {})`)
}
+
+func TestResolverDefaultProviderExpand(t *testing.T) {
+ provider := newFakeProvider("input", func(context.Context, string, WatcherFunc) (*Retrieved, error) {
+ return NewRetrieved(map[string]any{"foo": "${HOST}"})
+ })
+
+ resolver, err := NewResolver(ResolverSettings{URIs: []string{"input:"}, ProviderFactories: []ProviderFactory{provider, newEnvProvider()}, DefaultScheme: "env", ConverterFactories: nil})
+ require.NoError(t, err)
+
+ cfgMap, err := resolver.Resolve(context.Background())
+ require.NoError(t, err)
+ assert.Equal(t, map[string]any{"foo": "localhost"}, cfgMap.ToStringMap())
+}
diff --git a/confmap/resolver.go b/confmap/resolver.go
index 304dc3f71c3..7c9ed303c73 100644
--- a/confmap/resolver.go
+++ b/confmap/resolver.go
@@ -20,9 +20,10 @@ var driverLetterRegexp = regexp.MustCompile("^[A-z]:")
// Resolver resolves a configuration as a Conf.
type Resolver struct {
- uris []location
- providers map[string]Provider
- converters []Converter
+ uris []location
+ providers map[string]Provider
+ defaultScheme string
+ converters []Converter
closers []CloseFunc
watcher chan error
@@ -34,11 +35,16 @@ type ResolverSettings struct {
// It is required to have at least one location.
URIs []string
- // ProviderFactories is a list of Provider creation functions.
- // It is required to have at least one ProviderFactory
- // if a Provider is not given.
+ // ProviderFactories is a slice of Provider factories.
+ // It is required to have at least one factory.
ProviderFactories []ProviderFactory
+ // DefaultScheme is the scheme that is used if ${} syntax is used but no schema is provided.
+ // If no DefaultScheme is set, ${} with no schema will not be expanded.
+ // It is strongly recommended to set "env" as the default scheme to align with the
+ // OpenTelemetry Configuration Specification
+ DefaultScheme string
+
// ProviderSettings contains settings that will be passed to Provider
// factories when instantiating Providers.
ProviderSettings ProviderSettings
@@ -93,6 +99,13 @@ func NewResolver(set ResolverSettings) (*Resolver, error) {
providers[provider.Scheme()] = provider
}
+ if set.DefaultScheme != "" {
+ _, ok := providers[set.DefaultScheme]
+ if !ok {
+ return nil, errors.New("invalid 'confmap.ResolverSettings' configuration: DefaultScheme not found in providers list")
+ }
+ }
+
converters := make([]Converter, len(set.ConverterFactories))
for i, factory := range set.ConverterFactories {
converters[i] = factory.Create(set.ConverterSettings)
@@ -119,10 +132,11 @@ func NewResolver(set ResolverSettings) (*Resolver, error) {
}
return &Resolver{
- uris: uris,
- providers: providers,
- converters: converters,
- watcher: make(chan error, 1),
+ uris: uris,
+ providers: providers,
+ defaultScheme: set.DefaultScheme,
+ converters: converters,
+ watcher: make(chan error, 1),
}, nil
}
diff --git a/confmap/resolver_test.go b/confmap/resolver_test.go
index 3a162c85247..fecb973d089 100644
--- a/confmap/resolver_test.go
+++ b/confmap/resolver_test.go
@@ -124,6 +124,7 @@ func TestResolverErrors(t *testing.T) {
locations []string
providers []Provider
converters []Converter
+ defaultScheme string
expectBuildErr bool
expectResolveErr bool
expectWatchErr bool
@@ -136,6 +137,16 @@ func TestResolverErrors(t *testing.T) {
providers: []Provider{&mockProvider{}},
expectBuildErr: true,
},
+ {
+ name: "default scheme not found",
+ locations: []string{"mock:", "err:"},
+ providers: []Provider{
+ &mockProvider{},
+ &mockProvider{scheme: "err", errR: errors.New("retrieve_err")},
+ },
+ defaultScheme: "missing",
+ expectBuildErr: true,
+ },
{
name: "retrieve location config error",
locations: []string{"mock:", "err:"},
@@ -201,7 +212,7 @@ func TestResolverErrors(t *testing.T) {
c := converter
converterFuncs[i] = NewConverterFactory(func(_ ConverterSettings) Converter { return c })
}
- resolver, err := NewResolver(ResolverSettings{URIs: tt.locations, ProviderFactories: mockProviderFuncs, ConverterFactories: converterFuncs})
+ resolver, err := NewResolver(ResolverSettings{URIs: tt.locations, ProviderFactories: mockProviderFuncs, DefaultScheme: tt.defaultScheme, ConverterFactories: converterFuncs})
if tt.expectBuildErr {
assert.Error(t, err)
return
@@ -395,3 +406,18 @@ func TestProvidesDefaultLogger(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, provider.logger)
}
+
+func TestResolverDefaultProviderSet(t *testing.T) {
+ envProvider := newEnvProvider()
+ fileProvider := newFileProvider(t)
+
+ r, err := NewResolver(ResolverSettings{
+ URIs: []string{"env:"},
+ ProviderFactories: []ProviderFactory{fileProvider, envProvider},
+ DefaultScheme: "env",
+ })
+ require.NoError(t, err)
+ assert.NotNil(t, r.defaultScheme)
+ _, ok := r.providers["env"]
+ assert.True(t, ok)
+}
From 1b02911b5d1ab06a803e61fc6ad14963d5848ad3 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 30 May 2024 08:15:59 -0700
Subject: [PATCH 095/111] [processorhelper] use mdatagen level and noop meter
(#10235)
This cleans up the need to have a level in the ObsReport struct. Added
test to validate the change as none existed before
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
processor/processorhelper/obsreport.go | 42 ++++----------
processor/processorhelper/obsreport_test.go | 62 +++++++++++++++++++++
2 files changed, 72 insertions(+), 32 deletions(-)
diff --git a/processor/processorhelper/obsreport.go b/processor/processorhelper/obsreport.go
index 2e074713f87..51aa26a9a88 100644
--- a/processor/processorhelper/obsreport.go
+++ b/processor/processorhelper/obsreport.go
@@ -12,7 +12,6 @@ import (
"go.uber.org/zap"
"go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics"
"go.opentelemetry.io/collector/processor"
"go.opentelemetry.io/collector/processor/processorhelper/internal/metadata"
@@ -34,8 +33,6 @@ func BuildCustomMetricName(configType, metric string) string {
// ObsReport is a helper to add observability to a processor.
type ObsReport struct {
- level configtelemetry.Level
-
logger *zap.Logger
otelAttrs []attribute.KeyValue
@@ -54,12 +51,11 @@ func NewObsReport(cfg ObsReportSettings) (*ObsReport, error) {
}
func newObsReport(cfg ObsReportSettings) (*ObsReport, error) {
- telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ProcessorCreateSettings.TelemetrySettings)
+ telemetryBuilder, err := metadata.NewTelemetryBuilder(cfg.ProcessorCreateSettings.TelemetrySettings, metadata.WithLevel(cfg.ProcessorCreateSettings.MetricsLevel))
if err != nil {
return nil, err
}
return &ObsReport{
- level: cfg.ProcessorCreateSettings.MetricsLevel,
logger: cfg.ProcessorCreateSettings.Logger,
otelAttrs: []attribute.KeyValue{
attribute.String(obsmetrics.ProcessorKey, cfg.ProcessorID.String()),
@@ -92,63 +88,45 @@ func (or *ObsReport) recordData(ctx context.Context, dataType component.DataType
// TracesAccepted reports that the trace data was accepted.
func (or *ObsReport) TracesAccepted(ctx context.Context, numSpans int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeTraces, int64(numSpans), int64(0), int64(0))
- }
+ or.recordData(ctx, component.DataTypeTraces, int64(numSpans), int64(0), int64(0))
}
// TracesRefused reports that the trace data was refused.
func (or *ObsReport) TracesRefused(ctx context.Context, numSpans int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeTraces, int64(0), int64(numSpans), int64(0))
- }
+ or.recordData(ctx, component.DataTypeTraces, int64(0), int64(numSpans), int64(0))
}
// TracesDropped reports that the trace data was dropped.
func (or *ObsReport) TracesDropped(ctx context.Context, numSpans int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeTraces, int64(0), int64(0), int64(numSpans))
- }
+ or.recordData(ctx, component.DataTypeTraces, int64(0), int64(0), int64(numSpans))
}
// MetricsAccepted reports that the metrics were accepted.
func (or *ObsReport) MetricsAccepted(ctx context.Context, numPoints int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeMetrics, int64(numPoints), int64(0), int64(0))
- }
+ or.recordData(ctx, component.DataTypeMetrics, int64(numPoints), int64(0), int64(0))
}
// MetricsRefused reports that the metrics were refused.
func (or *ObsReport) MetricsRefused(ctx context.Context, numPoints int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeMetrics, int64(0), int64(numPoints), int64(0))
- }
+ or.recordData(ctx, component.DataTypeMetrics, int64(0), int64(numPoints), int64(0))
}
// MetricsDropped reports that the metrics were dropped.
func (or *ObsReport) MetricsDropped(ctx context.Context, numPoints int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeMetrics, int64(0), int64(0), int64(numPoints))
- }
+ or.recordData(ctx, component.DataTypeMetrics, int64(0), int64(0), int64(numPoints))
}
// LogsAccepted reports that the logs were accepted.
func (or *ObsReport) LogsAccepted(ctx context.Context, numRecords int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeLogs, int64(numRecords), int64(0), int64(0))
- }
+ or.recordData(ctx, component.DataTypeLogs, int64(numRecords), int64(0), int64(0))
}
// LogsRefused reports that the logs were refused.
func (or *ObsReport) LogsRefused(ctx context.Context, numRecords int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeLogs, int64(0), int64(numRecords), int64(0))
- }
+ or.recordData(ctx, component.DataTypeLogs, int64(0), int64(numRecords), int64(0))
}
// LogsDropped reports that the logs were dropped.
func (or *ObsReport) LogsDropped(ctx context.Context, numRecords int) {
- if or.level != configtelemetry.LevelNone {
- or.recordData(ctx, component.DataTypeLogs, int64(0), int64(0), int64(numRecords))
- }
+ or.recordData(ctx, component.DataTypeLogs, int64(0), int64(0), int64(numRecords))
}
diff --git a/processor/processorhelper/obsreport_test.go b/processor/processorhelper/obsreport_test.go
index f9df6456e08..d9313234874 100644
--- a/processor/processorhelper/obsreport_test.go
+++ b/processor/processorhelper/obsreport_test.go
@@ -12,6 +12,7 @@ import (
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/component/componenttest"
+ "go.opentelemetry.io/collector/config/configtelemetry"
"go.opentelemetry.io/collector/processor"
)
@@ -172,6 +173,67 @@ func TestCheckProcessorLogViews(t *testing.T) {
assert.Error(t, tt.CheckProcessorLogs(0, 0, 9))
}
+func TestNoMetrics(t *testing.T) {
+ // ensure if LevelNone is configured, no metrics are emitted by the component
+ testTelemetry(t, processorID, func(t *testing.T, tt componenttest.TestTelemetry) {
+ const accepted = 29
+ const refused = 11
+ const dropped = 17
+ set := tt.TelemetrySettings()
+ set.MetricsLevel = configtelemetry.LevelNone
+
+ por, err := NewObsReport(ObsReportSettings{
+ ProcessorID: processorID,
+ ProcessorCreateSettings: processor.CreateSettings{ID: processorID, TelemetrySettings: set, BuildInfo: component.NewDefaultBuildInfo()},
+ })
+ assert.NoError(t, err)
+
+ por.TracesAccepted(context.Background(), accepted)
+ por.TracesRefused(context.Background(), refused)
+ por.TracesDropped(context.Background(), dropped)
+
+ require.Error(t, tt.CheckProcessorTraces(accepted, refused, dropped))
+ })
+ testTelemetry(t, processorID, func(t *testing.T, tt componenttest.TestTelemetry) {
+ const accepted = 29
+ const refused = 11
+ const dropped = 17
+ set := tt.TelemetrySettings()
+ set.MetricsLevel = configtelemetry.LevelNone
+
+ por, err := NewObsReport(ObsReportSettings{
+ ProcessorID: processorID,
+ ProcessorCreateSettings: processor.CreateSettings{ID: processorID, TelemetrySettings: set, BuildInfo: component.NewDefaultBuildInfo()},
+ })
+ assert.NoError(t, err)
+
+ por.MetricsAccepted(context.Background(), accepted)
+ por.MetricsRefused(context.Background(), refused)
+ por.MetricsDropped(context.Background(), dropped)
+
+ require.Error(t, tt.CheckProcessorMetrics(accepted, refused, dropped))
+ })
+ testTelemetry(t, processorID, func(t *testing.T, tt componenttest.TestTelemetry) {
+ const accepted = 29
+ const refused = 11
+ const dropped = 17
+ set := tt.TelemetrySettings()
+ set.MetricsLevel = configtelemetry.LevelNone
+
+ por, err := NewObsReport(ObsReportSettings{
+ ProcessorID: processorID,
+ ProcessorCreateSettings: processor.CreateSettings{ID: processorID, TelemetrySettings: set, BuildInfo: component.NewDefaultBuildInfo()},
+ })
+ assert.NoError(t, err)
+
+ por.LogsAccepted(context.Background(), accepted)
+ por.LogsRefused(context.Background(), refused)
+ por.LogsDropped(context.Background(), dropped)
+
+ require.Error(t, tt.CheckProcessorLogs(accepted, refused, dropped))
+ })
+}
+
func testTelemetry(t *testing.T, id component.ID, testFunc func(t *testing.T, tt componenttest.TestTelemetry)) {
tt, err := componenttest.SetupTelemetry(id)
require.NoError(t, err)
From 0ed3bc34cd47bf43fa517a32def316049e5f1928 Mon Sep 17 00:00:00 2001
From: Dmitrii Anoshin
Date: Thu, 30 May 2024 09:30:38 -0700
Subject: [PATCH 096/111] [chore] Remove debug line from a test (#10261)
---
exporter/exporterhelper/batch_sender_test.go | 3 ---
1 file changed, 3 deletions(-)
diff --git a/exporter/exporterhelper/batch_sender_test.go b/exporter/exporterhelper/batch_sender_test.go
index bc5720a99f8..68396ed7c58 100644
--- a/exporter/exporterhelper/batch_sender_test.go
+++ b/exporter/exporterhelper/batch_sender_test.go
@@ -6,7 +6,6 @@ package exporterhelper // import "go.opentelemetry.io/collector/exporter/exporte
import (
"context"
"errors"
- "fmt"
"sync"
"testing"
"time"
@@ -181,8 +180,6 @@ func TestBatchSender_MergeOrSplit(t *testing.T) {
assert.Eventually(t, func() bool {
return sink.requestsCount.Load() == 5 && sink.itemsCount.Load() == 38
}, 50*time.Millisecond, 10*time.Millisecond)
-
- fmt.Println("TestBatchSender_MergeOrSplit")
}
func TestBatchSender_Shutdown(t *testing.T) {
From bd09aee10ecf28d7c498832ba52189224bcd7444 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 30 May 2024 09:40:47 -0700
Subject: [PATCH 097/111] [chore] use mdatagen to generate service metrics
(#10160)
This PR follows
https://github.com/open-telemetry/opentelemetry-collector/pull/10159 and
uses the new mdatagen functionality to generate async metrics in the
service.
---------
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
service/documentation.md | 55 +++++++
service/generated_package_test.go | 13 ++
.../internal/metadata/generated_telemetry.go | 155 ++++++++++++++++++
.../metadata/generated_telemetry_test.go | 76 +++++++++
.../proctelemetry/process_telemetry.go | 94 ++---------
.../process_telemetry_linux_test.go | 2 +-
.../proctelemetry/process_telemetry_test.go | 9 +-
service/metadata.yaml | 68 ++++++++
service/service.go | 4 +-
9 files changed, 388 insertions(+), 88 deletions(-)
create mode 100644 service/documentation.md
create mode 100644 service/generated_package_test.go
create mode 100644 service/internal/metadata/generated_telemetry.go
create mode 100644 service/internal/metadata/generated_telemetry_test.go
create mode 100644 service/metadata.yaml
diff --git a/service/documentation.md b/service/documentation.md
new file mode 100644
index 00000000000..2cbd48a0708
--- /dev/null
+++ b/service/documentation.md
@@ -0,0 +1,55 @@
+[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
+
+# service
+
+## Internal Telemetry
+
+The following telemetry is emitted by this component.
+
+### process_cpu_seconds
+
+Total CPU user and system time in seconds
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| s | Sum | Double | true |
+
+### process_memory_rss
+
+Total physical memory (resident set size)
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| By | Gauge | Int |
+
+### process_runtime_heap_alloc_bytes
+
+Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| By | Gauge | Int |
+
+### process_runtime_total_alloc_bytes
+
+Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| By | Sum | Int | true |
+
+### process_runtime_total_sys_memory_bytes
+
+Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
+
+| Unit | Metric Type | Value Type |
+| ---- | ----------- | ---------- |
+| By | Gauge | Int |
+
+### process_uptime
+
+Uptime of the process
+
+| Unit | Metric Type | Value Type | Monotonic |
+| ---- | ----------- | ---------- | --------- |
+| s | Sum | Double | true |
diff --git a/service/generated_package_test.go b/service/generated_package_test.go
new file mode 100644
index 00000000000..545b6bb0c5e
--- /dev/null
+++ b/service/generated_package_test.go
@@ -0,0 +1,13 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package service
+
+import (
+ "testing"
+
+ "go.uber.org/goleak"
+)
+
+func TestMain(m *testing.M) {
+ goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), goleak.IgnoreTopFunction("go.opentelemetry.io/collector/service/internal/proctelemetry.InitPrometheusServer.func1"))
+}
diff --git a/service/internal/metadata/generated_telemetry.go b/service/internal/metadata/generated_telemetry.go
new file mode 100644
index 00000000000..3d1c7b37a04
--- /dev/null
+++ b/service/internal/metadata/generated_telemetry.go
@@ -0,0 +1,155 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "context"
+ "errors"
+
+ "go.opentelemetry.io/otel/metric"
+ "go.opentelemetry.io/otel/trace"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+func Meter(settings component.TelemetrySettings) metric.Meter {
+ return settings.MeterProvider.Meter("go.opentelemetry.io/collector/service")
+}
+
+func Tracer(settings component.TelemetrySettings) trace.Tracer {
+ return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/service")
+}
+
+// TelemetryBuilder provides an interface for components to report telemetry
+// as defined in metadata and user config.
+type TelemetryBuilder struct {
+ ProcessCPUSeconds metric.Float64ObservableCounter
+ observeProcessCPUSeconds func() float64
+ ProcessMemoryRss metric.Int64ObservableGauge
+ observeProcessMemoryRss func() int64
+ ProcessRuntimeHeapAllocBytes metric.Int64ObservableGauge
+ observeProcessRuntimeHeapAllocBytes func() int64
+ ProcessRuntimeTotalAllocBytes metric.Int64ObservableCounter
+ observeProcessRuntimeTotalAllocBytes func() int64
+ ProcessRuntimeTotalSysMemoryBytes metric.Int64ObservableGauge
+ observeProcessRuntimeTotalSysMemoryBytes func() int64
+ ProcessUptime metric.Float64ObservableCounter
+ observeProcessUptime func() float64
+}
+
+// telemetryBuilderOption applies changes to default builder.
+type telemetryBuilderOption func(*TelemetryBuilder)
+
+// WithProcessCPUSecondsCallback sets callback for observable ProcessCPUSeconds metric.
+func WithProcessCPUSecondsCallback(cb func() float64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessCPUSeconds = cb
+ }
+}
+
+// WithProcessMemoryRssCallback sets callback for observable ProcessMemoryRss metric.
+func WithProcessMemoryRssCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessMemoryRss = cb
+ }
+}
+
+// WithProcessRuntimeHeapAllocBytesCallback sets callback for observable ProcessRuntimeHeapAllocBytes metric.
+func WithProcessRuntimeHeapAllocBytesCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessRuntimeHeapAllocBytes = cb
+ }
+}
+
+// WithProcessRuntimeTotalAllocBytesCallback sets callback for observable ProcessRuntimeTotalAllocBytes metric.
+func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessRuntimeTotalAllocBytes = cb
+ }
+}
+
+// WithProcessRuntimeTotalSysMemoryBytesCallback sets callback for observable ProcessRuntimeTotalSysMemoryBytes metric.
+func WithProcessRuntimeTotalSysMemoryBytesCallback(cb func() int64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessRuntimeTotalSysMemoryBytes = cb
+ }
+}
+
+// WithProcessUptimeCallback sets callback for observable ProcessUptime metric.
+func WithProcessUptimeCallback(cb func() float64) telemetryBuilderOption {
+ return func(builder *TelemetryBuilder) {
+ builder.observeProcessUptime = cb
+ }
+}
+
+// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
+// for a component
+func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
+ builder := TelemetryBuilder{}
+ for _, op := range options {
+ op(&builder)
+ }
+ var err, errs error
+ meter := Meter(settings)
+ builder.ProcessCPUSeconds, err = meter.Float64ObservableCounter(
+ "process_cpu_seconds",
+ metric.WithDescription("Total CPU user and system time in seconds"),
+ metric.WithUnit("s"),
+ metric.WithFloat64Callback(func(_ context.Context, o metric.Float64Observer) error {
+ o.Observe(builder.observeProcessCPUSeconds())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessMemoryRss, err = meter.Int64ObservableGauge(
+ "process_memory_rss",
+ metric.WithDescription("Total physical memory (resident set size)"),
+ metric.WithUnit("By"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessMemoryRss())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessRuntimeHeapAllocBytes, err = meter.Int64ObservableGauge(
+ "process_runtime_heap_alloc_bytes",
+ metric.WithDescription("Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')"),
+ metric.WithUnit("By"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessRuntimeHeapAllocBytes())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessRuntimeTotalAllocBytes, err = meter.Int64ObservableCounter(
+ "process_runtime_total_alloc_bytes",
+ metric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
+ metric.WithUnit("By"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessRuntimeTotalAllocBytes())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessRuntimeTotalSysMemoryBytes, err = meter.Int64ObservableGauge(
+ "process_runtime_total_sys_memory_bytes",
+ metric.WithDescription("Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')"),
+ metric.WithUnit("By"),
+ metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
+ o.Observe(builder.observeProcessRuntimeTotalSysMemoryBytes())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ builder.ProcessUptime, err = meter.Float64ObservableCounter(
+ "process_uptime",
+ metric.WithDescription("Uptime of the process"),
+ metric.WithUnit("s"),
+ metric.WithFloat64Callback(func(_ context.Context, o metric.Float64Observer) error {
+ o.Observe(builder.observeProcessUptime())
+ return nil
+ }),
+ )
+ errs = errors.Join(errs, err)
+ return &builder, errs
+}
diff --git a/service/internal/metadata/generated_telemetry_test.go b/service/internal/metadata/generated_telemetry_test.go
new file mode 100644
index 00000000000..5e225295ba3
--- /dev/null
+++ b/service/internal/metadata/generated_telemetry_test.go
@@ -0,0 +1,76 @@
+// Code generated by mdatagen. DO NOT EDIT.
+
+package metadata
+
+import (
+ "testing"
+
+ "github.com/stretchr/testify/require"
+ "go.opentelemetry.io/otel/metric"
+ embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
+ noopmetric "go.opentelemetry.io/otel/metric/noop"
+ "go.opentelemetry.io/otel/trace"
+ embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
+ nooptrace "go.opentelemetry.io/otel/trace/noop"
+
+ "go.opentelemetry.io/collector/component"
+)
+
+type mockMeter struct {
+ noopmetric.Meter
+ name string
+}
+type mockMeterProvider struct {
+ embeddedmetric.MeterProvider
+}
+
+func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
+ return mockMeter{name: name}
+}
+
+type mockTracer struct {
+ nooptrace.Tracer
+ name string
+}
+
+type mockTracerProvider struct {
+ embeddedtrace.TracerProvider
+}
+
+func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
+ return mockTracer{name: name}
+}
+
+func TestProviders(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+
+ meter := Meter(set)
+ if m, ok := meter.(mockMeter); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/service", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockMeter")
+ }
+
+ tracer := Tracer(set)
+ if m, ok := tracer.(mockTracer); ok {
+ require.Equal(t, "go.opentelemetry.io/collector/service", m.name)
+ } else {
+ require.Fail(t, "returned Meter not mockTracer")
+ }
+}
+
+func TestNewTelemetryBuilder(t *testing.T) {
+ set := component.TelemetrySettings{
+ MeterProvider: mockMeterProvider{},
+ TracerProvider: mockTracerProvider{},
+ }
+ applied := false
+ _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
+ applied = true
+ })
+ require.NoError(t, err)
+ require.True(t, applied)
+}
diff --git a/service/internal/proctelemetry/process_telemetry.go b/service/internal/proctelemetry/process_telemetry.go
index 991897f8b1b..9f8f0874e97 100644
--- a/service/internal/proctelemetry/process_telemetry.go
+++ b/service/internal/proctelemetry/process_telemetry.go
@@ -12,13 +12,10 @@ import (
"github.com/shirou/gopsutil/v3/common"
"github.com/shirou/gopsutil/v3/process"
- otelmetric "go.opentelemetry.io/otel/metric"
- "go.uber.org/multierr"
-)
-const (
- scopeName = "go.opentelemetry.io/collector/service/process_telemetry"
- processNameKey = "process_name"
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/service/internal/metadata"
+ "go.opentelemetry.io/collector/service/internal/servicetelemetry"
)
// processMetrics is a struct that contains views related to process metrics (cpu, mem, etc)
@@ -28,13 +25,6 @@ type processMetrics struct {
proc *process.Process
context context.Context
- otelProcessUptime otelmetric.Float64ObservableCounter
- otelAllocMem otelmetric.Int64ObservableGauge
- otelTotalAllocMem otelmetric.Int64ObservableCounter
- otelSysMem otelmetric.Int64ObservableGauge
- otelCPUSeconds otelmetric.Float64ObservableCounter
- otelRSSMemory otelmetric.Int64ObservableGauge
-
// mu protects everything bellow.
mu sync.Mutex
lastMsRead time.Time
@@ -64,7 +54,7 @@ func WithHostProc(hostProc string) RegisterOption {
// RegisterProcessMetrics creates a new set of processMetrics (mem, cpu) that can be used to measure
// basic information about this process.
-func RegisterProcessMetrics(mp otelmetric.MeterProvider, ballastSizeBytes uint64, opts ...RegisterOption) error {
+func RegisterProcessMetrics(cfg servicetelemetry.TelemetrySettings, ballastSizeBytes uint64, opts ...RegisterOption) error {
set := registerOption{}
for _, opt := range opts {
opt.apply(&set)
@@ -86,73 +76,15 @@ func RegisterProcessMetrics(mp otelmetric.MeterProvider, ballastSizeBytes uint64
return err
}
- return pm.record(mp.Meter(scopeName))
-}
-
-func (pm *processMetrics) record(meter otelmetric.Meter) error {
- var errs, err error
-
- pm.otelProcessUptime, err = meter.Float64ObservableCounter(
- "process_uptime",
- otelmetric.WithDescription("Uptime of the process"),
- otelmetric.WithUnit("s"),
- otelmetric.WithFloat64Callback(func(_ context.Context, o otelmetric.Float64Observer) error {
- o.Observe(pm.updateProcessUptime())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- pm.otelAllocMem, err = meter.Int64ObservableGauge(
- "process_runtime_heap_alloc_bytes",
- otelmetric.WithDescription("Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')"),
- otelmetric.WithUnit("By"),
- otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
- o.Observe(pm.updateAllocMem())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- pm.otelTotalAllocMem, err = meter.Int64ObservableCounter(
- "process_runtime_total_alloc_bytes",
- otelmetric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
- otelmetric.WithUnit("By"),
- otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
- o.Observe(pm.updateTotalAllocMem())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- pm.otelSysMem, err = meter.Int64ObservableGauge(
- "process_runtime_total_sys_memory_bytes",
- otelmetric.WithDescription("Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')"),
- otelmetric.WithUnit("By"),
- otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
- o.Observe(pm.updateSysMem())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- pm.otelCPUSeconds, err = meter.Float64ObservableCounter(
- "process_cpu_seconds",
- otelmetric.WithDescription("Total CPU user and system time in seconds"),
- otelmetric.WithUnit("s"),
- otelmetric.WithFloat64Callback(func(_ context.Context, o otelmetric.Float64Observer) error {
- o.Observe(pm.updateCPUSeconds())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- pm.otelRSSMemory, err = meter.Int64ObservableGauge(
- "process_memory_rss",
- otelmetric.WithDescription("Total physical memory (resident set size)"),
- otelmetric.WithUnit("By"),
- otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
- o.Observe(pm.updateRSSMemory())
- return nil
- }))
- errs = multierr.Append(errs, err)
-
- return errs
+ _, err = metadata.NewTelemetryBuilder(cfg.ToComponentTelemetrySettings(&component.InstanceID{}),
+ metadata.WithProcessUptimeCallback(pm.updateProcessUptime),
+ metadata.WithProcessRuntimeHeapAllocBytesCallback(pm.updateAllocMem),
+ metadata.WithProcessRuntimeTotalAllocBytesCallback(pm.updateTotalAllocMem),
+ metadata.WithProcessRuntimeTotalSysMemoryBytesCallback(pm.updateSysMem),
+ metadata.WithProcessCPUSecondsCallback(pm.updateCPUSeconds),
+ metadata.WithProcessMemoryRssCallback(pm.updateRSSMemory),
+ )
+ return err
}
func (pm *processMetrics) updateProcessUptime() float64 {
diff --git a/service/internal/proctelemetry/process_telemetry_linux_test.go b/service/internal/proctelemetry/process_telemetry_linux_test.go
index 1a15f28fc7e..73605c0ae8e 100644
--- a/service/internal/proctelemetry/process_telemetry_linux_test.go
+++ b/service/internal/proctelemetry/process_telemetry_linux_test.go
@@ -21,7 +21,7 @@ func TestProcessTelemetryWithHostProc(t *testing.T) {
// Make the sure the environment variable value is not used.
t.Setenv("HOST_PROC", "foo/bar")
- require.NoError(t, RegisterProcessMetrics(tel.MeterProvider, 0, WithHostProc("/proc")))
+ require.NoError(t, RegisterProcessMetrics(tel.TelemetrySettings, 0, WithHostProc("/proc")))
// Check that the metrics are actually filled.
time.Sleep(200 * time.Millisecond)
diff --git a/service/internal/proctelemetry/process_telemetry_test.go b/service/internal/proctelemetry/process_telemetry_test.go
index 40d0f54ef27..f1da8d6a34c 100644
--- a/service/internal/proctelemetry/process_telemetry_test.go
+++ b/service/internal/proctelemetry/process_telemetry_test.go
@@ -20,13 +20,12 @@ import (
sdkmetric "go.opentelemetry.io/otel/sdk/metric"
"go.opentelemetry.io/otel/sdk/resource"
- "go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/component/componenttest"
"go.opentelemetry.io/collector/config/configtelemetry"
+ "go.opentelemetry.io/collector/service/internal/servicetelemetry"
)
type testTelemetry struct {
- component.TelemetrySettings
+ servicetelemetry.TelemetrySettings
promHandler http.Handler
meterProvider *sdkmetric.MeterProvider
}
@@ -42,7 +41,7 @@ var expectedMetrics = []string{
func setupTelemetry(t *testing.T) testTelemetry {
settings := testTelemetry{
- TelemetrySettings: componenttest.NewNopTelemetrySettings(),
+ TelemetrySettings: servicetelemetry.NewNopTelemetrySettings(),
}
settings.TelemetrySettings.MetricsLevel = configtelemetry.LevelNormal
@@ -79,7 +78,7 @@ func fetchPrometheusMetrics(handler http.Handler) (map[string]*io_prometheus_cli
func TestProcessTelemetry(t *testing.T) {
tel := setupTelemetry(t)
- require.NoError(t, RegisterProcessMetrics(tel.MeterProvider, 0))
+ require.NoError(t, RegisterProcessMetrics(tel.TelemetrySettings, 0))
mp, err := fetchPrometheusMetrics(tel.promHandler)
require.NoError(t, err)
diff --git a/service/metadata.yaml b/service/metadata.yaml
new file mode 100644
index 00000000000..d5417740d57
--- /dev/null
+++ b/service/metadata.yaml
@@ -0,0 +1,68 @@
+type: service
+
+status:
+ class: pkg
+ stability:
+ development: [traces, metrics, logs]
+ distributions: [core, contrib]
+
+tests:
+ goleak:
+ ignore:
+ top:
+ # See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information.
+ - "go.opencensus.io/stats/view.(*worker).start"
+ - "go.opentelemetry.io/collector/service/internal/proctelemetry.InitPrometheusServer.func1"
+
+telemetry:
+ metrics:
+ process_uptime:
+ enabled: true
+ description: Uptime of the process
+ unit: s
+ sum:
+ async: true
+ value_type: double
+ monotonic: true
+
+ process_runtime_heap_alloc_bytes:
+ enabled: true
+ description: Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
+ unit: By
+ gauge:
+ async: true
+ value_type: int
+
+ process_runtime_total_alloc_bytes:
+ enabled: true
+ description: Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
+ unit: By
+ sum:
+ async: true
+ value_type: int
+ monotonic: true
+
+ process_runtime_total_sys_memory_bytes:
+ enabled: true
+ description: Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
+ unit: By
+ gauge:
+ async: true
+ value_type: int
+
+ process_cpu_seconds:
+ enabled: true
+ description: Total CPU user and system time in seconds
+ unit: s
+ sum:
+ async: true
+ value_type: double
+ monotonic: true
+
+ process_memory_rss:
+ enabled: true
+ description: Total physical memory (resident set size)
+ unit: By
+ gauge:
+ async: true
+ value_type: int
diff --git a/service/service.go b/service/service.go
index 53ea3eebe65..eb320cfec2c 100644
--- a/service/service.go
+++ b/service/service.go
@@ -1,6 +1,8 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
+//go:generate mdatagen metadata.yaml
+
package service // import "go.opentelemetry.io/collector/service"
import (
@@ -289,7 +291,7 @@ func (srv *Service) initExtensionsAndPipeline(ctx context.Context, set Settings,
if cfg.Telemetry.Metrics.Level != configtelemetry.LevelNone && cfg.Telemetry.Metrics.Address != "" {
// The process telemetry initialization requires the ballast size, which is available after the extensions are initialized.
- if err = proctelemetry.RegisterProcessMetrics(srv.telemetrySettings.MeterProvider, getBallastSize(srv.host)); err != nil {
+ if err = proctelemetry.RegisterProcessMetrics(srv.telemetrySettings, getBallastSize(srv.host)); err != nil {
return fmt.Errorf("failed to register process metrics: %w", err)
}
}
From 7b094f44539d426000911fd02703e94ff637f491 Mon Sep 17 00:00:00 2001
From: Dmitrii Anoshin
Date: Thu, 30 May 2024 09:41:41 -0700
Subject: [PATCH 098/111] [exporterhelper] Fix potential deadlocks in
BatcherSender shutdown (#10258)
Fixes
https://github.com/open-telemetry/opentelemetry-collector/issues/10255
---
.../fix-batcher-sender-shutdown-deadlock.yaml | 20 +++++++
exporter/exporterhelper/batch_sender.go | 50 +++++++++-------
exporter/exporterhelper/batch_sender_test.go | 57 +++++++++++++++++++
3 files changed, 107 insertions(+), 20 deletions(-)
create mode 100644 .chloggen/fix-batcher-sender-shutdown-deadlock.yaml
diff --git a/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml b/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml
new file mode 100644
index 00000000000..76baecac6b5
--- /dev/null
+++ b/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml
@@ -0,0 +1,20 @@
+# 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. otlpreceiver)
+component: exporterhelper
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Fix potential deadlocks in BatcherSender shutdown
+
+# One or more tracking issues or pull requests related to the change
+issues: [10255]
+
+# 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/exporter/exporterhelper/batch_sender.go b/exporter/exporterhelper/batch_sender.go
index 29065bfe980..086c9724aa3 100644
--- a/exporter/exporterhelper/batch_sender.go
+++ b/exporter/exporterhelper/batch_sender.go
@@ -40,22 +40,24 @@ type batchSender struct {
logger *zap.Logger
- shutdownCh chan struct{}
- stopped *atomic.Bool
+ shutdownCh chan struct{}
+ shutdownCompleteCh chan struct{}
+ stopped *atomic.Bool
}
// newBatchSender returns a new batch consumer component.
func newBatchSender(cfg exporterbatcher.Config, set exporter.CreateSettings,
mf exporterbatcher.BatchMergeFunc[Request], msf exporterbatcher.BatchMergeSplitFunc[Request]) *batchSender {
bs := &batchSender{
- activeBatch: newEmptyBatch(),
- cfg: cfg,
- logger: set.Logger,
- mergeFunc: mf,
- mergeSplitFunc: msf,
- shutdownCh: make(chan struct{}),
- stopped: &atomic.Bool{},
- resetTimerCh: make(chan struct{}),
+ activeBatch: newEmptyBatch(),
+ cfg: cfg,
+ logger: set.Logger,
+ mergeFunc: mf,
+ mergeSplitFunc: msf,
+ shutdownCh: make(chan struct{}),
+ shutdownCompleteCh: make(chan struct{}),
+ stopped: &atomic.Bool{},
+ resetTimerCh: make(chan struct{}),
}
return bs
}
@@ -66,14 +68,19 @@ func (bs *batchSender) Start(_ context.Context, _ component.Host) error {
for {
select {
case <-bs.shutdownCh:
- bs.mu.Lock()
- if bs.activeBatch.request != nil {
- bs.exportActiveBatch()
+ // There is a minimal chance that another request is added after the shutdown signal.
+ // This loop will handle that case.
+ for bs.activeRequests.Load() > 0 {
+ bs.mu.Lock()
+ if bs.activeBatch.request != nil {
+ bs.exportActiveBatch()
+ }
+ bs.mu.Unlock()
}
- bs.mu.Unlock()
if !timer.Stop() {
<-timer.C
}
+ close(bs.shutdownCompleteCh)
return
case <-timer.C:
bs.mu.Lock()
@@ -118,6 +125,12 @@ func (bs *batchSender) exportActiveBatch() {
bs.activeBatch = newEmptyBatch()
}
+func (bs *batchSender) resetTimer() {
+ if !bs.stopped.Load() {
+ bs.resetTimerCh <- struct{}{}
+ }
+}
+
// isActiveBatchReady returns true if the active batch is ready to be exported.
// The batch is ready if it has reached the minimum size or the concurrency limit is reached.
// Caller must hold the lock.
@@ -154,7 +167,7 @@ func (bs *batchSender) sendMergeSplitBatch(ctx context.Context, req Request) err
batch := bs.activeBatch
if bs.isActiveBatchReady() || len(reqs) > 1 {
bs.exportActiveBatch()
- bs.resetTimerCh <- struct{}{}
+ bs.resetTimer()
}
bs.mu.Unlock()
<-batch.done
@@ -194,7 +207,7 @@ func (bs *batchSender) sendMergeBatch(ctx context.Context, req Request) error {
batch := bs.activeBatch
if bs.isActiveBatchReady() {
bs.exportActiveBatch()
- bs.resetTimerCh <- struct{}{}
+ bs.resetTimer()
}
bs.mu.Unlock()
<-batch.done
@@ -215,9 +228,6 @@ func (bs *batchSender) updateActiveBatch(ctx context.Context, req Request) {
func (bs *batchSender) Shutdown(context.Context) error {
bs.stopped.Store(true)
close(bs.shutdownCh)
- // Wait for the active requests to finish.
- for bs.activeRequests.Load() > 0 {
- time.Sleep(10 * time.Millisecond)
- }
+ <-bs.shutdownCompleteCh
return nil
}
diff --git a/exporter/exporterhelper/batch_sender_test.go b/exporter/exporterhelper/batch_sender_test.go
index 68396ed7c58..08ab42f89b5 100644
--- a/exporter/exporterhelper/batch_sender_test.go
+++ b/exporter/exporterhelper/batch_sender_test.go
@@ -436,6 +436,63 @@ func TestBatchSender_WithBatcherOption(t *testing.T) {
}
}
+// TestBatchSender_ShutdownDeadlock tests that the exporter does not deadlock when shutting down while a batch is being
+// merged.
+func TestBatchSender_ShutdownDeadlock(t *testing.T) {
+ blockMerge := make(chan struct{})
+ waitMerge := make(chan struct{}, 10)
+
+ // blockedBatchMergeFunc blocks until the blockMerge channel is closed
+ blockedBatchMergeFunc := func(_ context.Context, r1 Request, _ Request) (Request, error) {
+ waitMerge <- struct{}{}
+ <-blockMerge
+ return r1, nil
+ }
+
+ bCfg := exporterbatcher.NewDefaultConfig()
+ bCfg.FlushTimeout = 10 * time.Minute // high timeout to avoid the timeout to trigger
+ be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender,
+ WithBatcher(bCfg, WithRequestBatchFuncs(blockedBatchMergeFunc, fakeBatchMergeSplitFunc)))
+ require.NoError(t, err)
+ require.NoError(t, be.Start(context.Background(), componenttest.NewNopHost()))
+
+ sink := newFakeRequestSink()
+
+ // Send 10 concurrent requests and wait for them to start
+ startWG := sync.WaitGroup{}
+ for i := 0; i < 10; i++ {
+ startWG.Add(1)
+ go func() {
+ startWG.Done()
+ require.NoError(t, be.send(context.Background(), &fakeRequest{items: 4, sink: sink}))
+ }()
+ }
+ startWG.Wait()
+
+ // Wait for at least one batch to enter the merge function
+ <-waitMerge
+
+ // Initiate the exporter shutdown, unblock the batch merge function to catch possible deadlocks,
+ // then wait for the exporter to finish.
+ startShutdown := make(chan struct{})
+ doneShutdown := make(chan struct{})
+ go func() {
+ close(startShutdown)
+ require.Nil(t, be.Shutdown(context.Background()))
+ close(doneShutdown)
+ }()
+ <-startShutdown
+ close(blockMerge)
+ <-doneShutdown
+
+ // The exporter should have sent only one "merged" batch, in some cases it might send two if the shutdown
+ // happens before the batch is fully merged.
+ assert.LessOrEqual(t, uint64(1), sink.requestsCount.Load())
+
+ // blockedBatchMergeFunc just returns the first request, so the items count should be 4 times the requests count.
+ assert.Equal(t, sink.requestsCount.Load()*4, sink.itemsCount.Load())
+}
+
func queueBatchExporter(t *testing.T, batchOption Option) *baseExporter {
be, err := newBaseExporter(defaultSettings, defaultDataType, newNoopObsrepSender, batchOption,
WithRequestQueue(exporterqueue.NewDefaultConfig(), exporterqueue.NewMemoryQueueFactory[Request]()))
From 33acd136000a65ba5bf899406b4d5e4502bb5e3d Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Thu, 30 May 2024 11:45:17 -0700
Subject: [PATCH 099/111] Revert "[chore] use mdatagen to generate service
metrics (#10160)" (#10271)
This reverts commit 10bcef33e6d26104036ed2874cb179c4437abc98.
---
service/documentation.md | 55 -------
service/generated_package_test.go | 13 --
.../internal/metadata/generated_telemetry.go | 155 ------------------
.../metadata/generated_telemetry_test.go | 76 ---------
.../proctelemetry/process_telemetry.go | 94 +++++++++--
.../process_telemetry_linux_test.go | 2 +-
.../proctelemetry/process_telemetry_test.go | 9 +-
service/metadata.yaml | 68 --------
service/service.go | 4 +-
9 files changed, 88 insertions(+), 388 deletions(-)
delete mode 100644 service/documentation.md
delete mode 100644 service/generated_package_test.go
delete mode 100644 service/internal/metadata/generated_telemetry.go
delete mode 100644 service/internal/metadata/generated_telemetry_test.go
delete mode 100644 service/metadata.yaml
diff --git a/service/documentation.md b/service/documentation.md
deleted file mode 100644
index 2cbd48a0708..00000000000
--- a/service/documentation.md
+++ /dev/null
@@ -1,55 +0,0 @@
-[comment]: <> (Code generated by mdatagen. DO NOT EDIT.)
-
-# service
-
-## Internal Telemetry
-
-The following telemetry is emitted by this component.
-
-### process_cpu_seconds
-
-Total CPU user and system time in seconds
-
-| Unit | Metric Type | Value Type | Monotonic |
-| ---- | ----------- | ---------- | --------- |
-| s | Sum | Double | true |
-
-### process_memory_rss
-
-Total physical memory (resident set size)
-
-| Unit | Metric Type | Value Type |
-| ---- | ----------- | ---------- |
-| By | Gauge | Int |
-
-### process_runtime_heap_alloc_bytes
-
-Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
-
-| Unit | Metric Type | Value Type |
-| ---- | ----------- | ---------- |
-| By | Gauge | Int |
-
-### process_runtime_total_alloc_bytes
-
-Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
-
-| Unit | Metric Type | Value Type | Monotonic |
-| ---- | ----------- | ---------- | --------- |
-| By | Sum | Int | true |
-
-### process_runtime_total_sys_memory_bytes
-
-Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
-
-| Unit | Metric Type | Value Type |
-| ---- | ----------- | ---------- |
-| By | Gauge | Int |
-
-### process_uptime
-
-Uptime of the process
-
-| Unit | Metric Type | Value Type | Monotonic |
-| ---- | ----------- | ---------- | --------- |
-| s | Sum | Double | true |
diff --git a/service/generated_package_test.go b/service/generated_package_test.go
deleted file mode 100644
index 545b6bb0c5e..00000000000
--- a/service/generated_package_test.go
+++ /dev/null
@@ -1,13 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package service
-
-import (
- "testing"
-
- "go.uber.org/goleak"
-)
-
-func TestMain(m *testing.M) {
- goleak.VerifyTestMain(m, goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), goleak.IgnoreTopFunction("go.opentelemetry.io/collector/service/internal/proctelemetry.InitPrometheusServer.func1"))
-}
diff --git a/service/internal/metadata/generated_telemetry.go b/service/internal/metadata/generated_telemetry.go
deleted file mode 100644
index 3d1c7b37a04..00000000000
--- a/service/internal/metadata/generated_telemetry.go
+++ /dev/null
@@ -1,155 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "context"
- "errors"
-
- "go.opentelemetry.io/otel/metric"
- "go.opentelemetry.io/otel/trace"
-
- "go.opentelemetry.io/collector/component"
-)
-
-func Meter(settings component.TelemetrySettings) metric.Meter {
- return settings.MeterProvider.Meter("go.opentelemetry.io/collector/service")
-}
-
-func Tracer(settings component.TelemetrySettings) trace.Tracer {
- return settings.TracerProvider.Tracer("go.opentelemetry.io/collector/service")
-}
-
-// TelemetryBuilder provides an interface for components to report telemetry
-// as defined in metadata and user config.
-type TelemetryBuilder struct {
- ProcessCPUSeconds metric.Float64ObservableCounter
- observeProcessCPUSeconds func() float64
- ProcessMemoryRss metric.Int64ObservableGauge
- observeProcessMemoryRss func() int64
- ProcessRuntimeHeapAllocBytes metric.Int64ObservableGauge
- observeProcessRuntimeHeapAllocBytes func() int64
- ProcessRuntimeTotalAllocBytes metric.Int64ObservableCounter
- observeProcessRuntimeTotalAllocBytes func() int64
- ProcessRuntimeTotalSysMemoryBytes metric.Int64ObservableGauge
- observeProcessRuntimeTotalSysMemoryBytes func() int64
- ProcessUptime metric.Float64ObservableCounter
- observeProcessUptime func() float64
-}
-
-// telemetryBuilderOption applies changes to default builder.
-type telemetryBuilderOption func(*TelemetryBuilder)
-
-// WithProcessCPUSecondsCallback sets callback for observable ProcessCPUSeconds metric.
-func WithProcessCPUSecondsCallback(cb func() float64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessCPUSeconds = cb
- }
-}
-
-// WithProcessMemoryRssCallback sets callback for observable ProcessMemoryRss metric.
-func WithProcessMemoryRssCallback(cb func() int64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessMemoryRss = cb
- }
-}
-
-// WithProcessRuntimeHeapAllocBytesCallback sets callback for observable ProcessRuntimeHeapAllocBytes metric.
-func WithProcessRuntimeHeapAllocBytesCallback(cb func() int64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessRuntimeHeapAllocBytes = cb
- }
-}
-
-// WithProcessRuntimeTotalAllocBytesCallback sets callback for observable ProcessRuntimeTotalAllocBytes metric.
-func WithProcessRuntimeTotalAllocBytesCallback(cb func() int64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessRuntimeTotalAllocBytes = cb
- }
-}
-
-// WithProcessRuntimeTotalSysMemoryBytesCallback sets callback for observable ProcessRuntimeTotalSysMemoryBytes metric.
-func WithProcessRuntimeTotalSysMemoryBytesCallback(cb func() int64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessRuntimeTotalSysMemoryBytes = cb
- }
-}
-
-// WithProcessUptimeCallback sets callback for observable ProcessUptime metric.
-func WithProcessUptimeCallback(cb func() float64) telemetryBuilderOption {
- return func(builder *TelemetryBuilder) {
- builder.observeProcessUptime = cb
- }
-}
-
-// NewTelemetryBuilder provides a struct with methods to update all internal telemetry
-// for a component
-func NewTelemetryBuilder(settings component.TelemetrySettings, options ...telemetryBuilderOption) (*TelemetryBuilder, error) {
- builder := TelemetryBuilder{}
- for _, op := range options {
- op(&builder)
- }
- var err, errs error
- meter := Meter(settings)
- builder.ProcessCPUSeconds, err = meter.Float64ObservableCounter(
- "process_cpu_seconds",
- metric.WithDescription("Total CPU user and system time in seconds"),
- metric.WithUnit("s"),
- metric.WithFloat64Callback(func(_ context.Context, o metric.Float64Observer) error {
- o.Observe(builder.observeProcessCPUSeconds())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- builder.ProcessMemoryRss, err = meter.Int64ObservableGauge(
- "process_memory_rss",
- metric.WithDescription("Total physical memory (resident set size)"),
- metric.WithUnit("By"),
- metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessMemoryRss())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- builder.ProcessRuntimeHeapAllocBytes, err = meter.Int64ObservableGauge(
- "process_runtime_heap_alloc_bytes",
- metric.WithDescription("Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')"),
- metric.WithUnit("By"),
- metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessRuntimeHeapAllocBytes())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- builder.ProcessRuntimeTotalAllocBytes, err = meter.Int64ObservableCounter(
- "process_runtime_total_alloc_bytes",
- metric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
- metric.WithUnit("By"),
- metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessRuntimeTotalAllocBytes())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- builder.ProcessRuntimeTotalSysMemoryBytes, err = meter.Int64ObservableGauge(
- "process_runtime_total_sys_memory_bytes",
- metric.WithDescription("Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')"),
- metric.WithUnit("By"),
- metric.WithInt64Callback(func(_ context.Context, o metric.Int64Observer) error {
- o.Observe(builder.observeProcessRuntimeTotalSysMemoryBytes())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- builder.ProcessUptime, err = meter.Float64ObservableCounter(
- "process_uptime",
- metric.WithDescription("Uptime of the process"),
- metric.WithUnit("s"),
- metric.WithFloat64Callback(func(_ context.Context, o metric.Float64Observer) error {
- o.Observe(builder.observeProcessUptime())
- return nil
- }),
- )
- errs = errors.Join(errs, err)
- return &builder, errs
-}
diff --git a/service/internal/metadata/generated_telemetry_test.go b/service/internal/metadata/generated_telemetry_test.go
deleted file mode 100644
index 5e225295ba3..00000000000
--- a/service/internal/metadata/generated_telemetry_test.go
+++ /dev/null
@@ -1,76 +0,0 @@
-// Code generated by mdatagen. DO NOT EDIT.
-
-package metadata
-
-import (
- "testing"
-
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/metric"
- embeddedmetric "go.opentelemetry.io/otel/metric/embedded"
- noopmetric "go.opentelemetry.io/otel/metric/noop"
- "go.opentelemetry.io/otel/trace"
- embeddedtrace "go.opentelemetry.io/otel/trace/embedded"
- nooptrace "go.opentelemetry.io/otel/trace/noop"
-
- "go.opentelemetry.io/collector/component"
-)
-
-type mockMeter struct {
- noopmetric.Meter
- name string
-}
-type mockMeterProvider struct {
- embeddedmetric.MeterProvider
-}
-
-func (m mockMeterProvider) Meter(name string, opts ...metric.MeterOption) metric.Meter {
- return mockMeter{name: name}
-}
-
-type mockTracer struct {
- nooptrace.Tracer
- name string
-}
-
-type mockTracerProvider struct {
- embeddedtrace.TracerProvider
-}
-
-func (m mockTracerProvider) Tracer(name string, opts ...trace.TracerOption) trace.Tracer {
- return mockTracer{name: name}
-}
-
-func TestProviders(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
-
- meter := Meter(set)
- if m, ok := meter.(mockMeter); ok {
- require.Equal(t, "go.opentelemetry.io/collector/service", m.name)
- } else {
- require.Fail(t, "returned Meter not mockMeter")
- }
-
- tracer := Tracer(set)
- if m, ok := tracer.(mockTracer); ok {
- require.Equal(t, "go.opentelemetry.io/collector/service", m.name)
- } else {
- require.Fail(t, "returned Meter not mockTracer")
- }
-}
-
-func TestNewTelemetryBuilder(t *testing.T) {
- set := component.TelemetrySettings{
- MeterProvider: mockMeterProvider{},
- TracerProvider: mockTracerProvider{},
- }
- applied := false
- _, err := NewTelemetryBuilder(set, func(b *TelemetryBuilder) {
- applied = true
- })
- require.NoError(t, err)
- require.True(t, applied)
-}
diff --git a/service/internal/proctelemetry/process_telemetry.go b/service/internal/proctelemetry/process_telemetry.go
index 9f8f0874e97..991897f8b1b 100644
--- a/service/internal/proctelemetry/process_telemetry.go
+++ b/service/internal/proctelemetry/process_telemetry.go
@@ -12,10 +12,13 @@ import (
"github.com/shirou/gopsutil/v3/common"
"github.com/shirou/gopsutil/v3/process"
+ otelmetric "go.opentelemetry.io/otel/metric"
+ "go.uber.org/multierr"
+)
- "go.opentelemetry.io/collector/component"
- "go.opentelemetry.io/collector/service/internal/metadata"
- "go.opentelemetry.io/collector/service/internal/servicetelemetry"
+const (
+ scopeName = "go.opentelemetry.io/collector/service/process_telemetry"
+ processNameKey = "process_name"
)
// processMetrics is a struct that contains views related to process metrics (cpu, mem, etc)
@@ -25,6 +28,13 @@ type processMetrics struct {
proc *process.Process
context context.Context
+ otelProcessUptime otelmetric.Float64ObservableCounter
+ otelAllocMem otelmetric.Int64ObservableGauge
+ otelTotalAllocMem otelmetric.Int64ObservableCounter
+ otelSysMem otelmetric.Int64ObservableGauge
+ otelCPUSeconds otelmetric.Float64ObservableCounter
+ otelRSSMemory otelmetric.Int64ObservableGauge
+
// mu protects everything bellow.
mu sync.Mutex
lastMsRead time.Time
@@ -54,7 +64,7 @@ func WithHostProc(hostProc string) RegisterOption {
// RegisterProcessMetrics creates a new set of processMetrics (mem, cpu) that can be used to measure
// basic information about this process.
-func RegisterProcessMetrics(cfg servicetelemetry.TelemetrySettings, ballastSizeBytes uint64, opts ...RegisterOption) error {
+func RegisterProcessMetrics(mp otelmetric.MeterProvider, ballastSizeBytes uint64, opts ...RegisterOption) error {
set := registerOption{}
for _, opt := range opts {
opt.apply(&set)
@@ -76,15 +86,73 @@ func RegisterProcessMetrics(cfg servicetelemetry.TelemetrySettings, ballastSizeB
return err
}
- _, err = metadata.NewTelemetryBuilder(cfg.ToComponentTelemetrySettings(&component.InstanceID{}),
- metadata.WithProcessUptimeCallback(pm.updateProcessUptime),
- metadata.WithProcessRuntimeHeapAllocBytesCallback(pm.updateAllocMem),
- metadata.WithProcessRuntimeTotalAllocBytesCallback(pm.updateTotalAllocMem),
- metadata.WithProcessRuntimeTotalSysMemoryBytesCallback(pm.updateSysMem),
- metadata.WithProcessCPUSecondsCallback(pm.updateCPUSeconds),
- metadata.WithProcessMemoryRssCallback(pm.updateRSSMemory),
- )
- return err
+ return pm.record(mp.Meter(scopeName))
+}
+
+func (pm *processMetrics) record(meter otelmetric.Meter) error {
+ var errs, err error
+
+ pm.otelProcessUptime, err = meter.Float64ObservableCounter(
+ "process_uptime",
+ otelmetric.WithDescription("Uptime of the process"),
+ otelmetric.WithUnit("s"),
+ otelmetric.WithFloat64Callback(func(_ context.Context, o otelmetric.Float64Observer) error {
+ o.Observe(pm.updateProcessUptime())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ pm.otelAllocMem, err = meter.Int64ObservableGauge(
+ "process_runtime_heap_alloc_bytes",
+ otelmetric.WithDescription("Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')"),
+ otelmetric.WithUnit("By"),
+ otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
+ o.Observe(pm.updateAllocMem())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ pm.otelTotalAllocMem, err = meter.Int64ObservableCounter(
+ "process_runtime_total_alloc_bytes",
+ otelmetric.WithDescription("Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')"),
+ otelmetric.WithUnit("By"),
+ otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
+ o.Observe(pm.updateTotalAllocMem())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ pm.otelSysMem, err = meter.Int64ObservableGauge(
+ "process_runtime_total_sys_memory_bytes",
+ otelmetric.WithDescription("Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')"),
+ otelmetric.WithUnit("By"),
+ otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
+ o.Observe(pm.updateSysMem())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ pm.otelCPUSeconds, err = meter.Float64ObservableCounter(
+ "process_cpu_seconds",
+ otelmetric.WithDescription("Total CPU user and system time in seconds"),
+ otelmetric.WithUnit("s"),
+ otelmetric.WithFloat64Callback(func(_ context.Context, o otelmetric.Float64Observer) error {
+ o.Observe(pm.updateCPUSeconds())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ pm.otelRSSMemory, err = meter.Int64ObservableGauge(
+ "process_memory_rss",
+ otelmetric.WithDescription("Total physical memory (resident set size)"),
+ otelmetric.WithUnit("By"),
+ otelmetric.WithInt64Callback(func(_ context.Context, o otelmetric.Int64Observer) error {
+ o.Observe(pm.updateRSSMemory())
+ return nil
+ }))
+ errs = multierr.Append(errs, err)
+
+ return errs
}
func (pm *processMetrics) updateProcessUptime() float64 {
diff --git a/service/internal/proctelemetry/process_telemetry_linux_test.go b/service/internal/proctelemetry/process_telemetry_linux_test.go
index 73605c0ae8e..1a15f28fc7e 100644
--- a/service/internal/proctelemetry/process_telemetry_linux_test.go
+++ b/service/internal/proctelemetry/process_telemetry_linux_test.go
@@ -21,7 +21,7 @@ func TestProcessTelemetryWithHostProc(t *testing.T) {
// Make the sure the environment variable value is not used.
t.Setenv("HOST_PROC", "foo/bar")
- require.NoError(t, RegisterProcessMetrics(tel.TelemetrySettings, 0, WithHostProc("/proc")))
+ require.NoError(t, RegisterProcessMetrics(tel.MeterProvider, 0, WithHostProc("/proc")))
// Check that the metrics are actually filled.
time.Sleep(200 * time.Millisecond)
diff --git a/service/internal/proctelemetry/process_telemetry_test.go b/service/internal/proctelemetry/process_telemetry_test.go
index f1da8d6a34c..40d0f54ef27 100644
--- a/service/internal/proctelemetry/process_telemetry_test.go
+++ b/service/internal/proctelemetry/process_telemetry_test.go
@@ -20,12 +20,13 @@ import (
sdkmetric "go.opentelemetry.io/otel/sdk/metric"
"go.opentelemetry.io/otel/sdk/resource"
+ "go.opentelemetry.io/collector/component"
+ "go.opentelemetry.io/collector/component/componenttest"
"go.opentelemetry.io/collector/config/configtelemetry"
- "go.opentelemetry.io/collector/service/internal/servicetelemetry"
)
type testTelemetry struct {
- servicetelemetry.TelemetrySettings
+ component.TelemetrySettings
promHandler http.Handler
meterProvider *sdkmetric.MeterProvider
}
@@ -41,7 +42,7 @@ var expectedMetrics = []string{
func setupTelemetry(t *testing.T) testTelemetry {
settings := testTelemetry{
- TelemetrySettings: servicetelemetry.NewNopTelemetrySettings(),
+ TelemetrySettings: componenttest.NewNopTelemetrySettings(),
}
settings.TelemetrySettings.MetricsLevel = configtelemetry.LevelNormal
@@ -78,7 +79,7 @@ func fetchPrometheusMetrics(handler http.Handler) (map[string]*io_prometheus_cli
func TestProcessTelemetry(t *testing.T) {
tel := setupTelemetry(t)
- require.NoError(t, RegisterProcessMetrics(tel.TelemetrySettings, 0))
+ require.NoError(t, RegisterProcessMetrics(tel.MeterProvider, 0))
mp, err := fetchPrometheusMetrics(tel.promHandler)
require.NoError(t, err)
diff --git a/service/metadata.yaml b/service/metadata.yaml
deleted file mode 100644
index d5417740d57..00000000000
--- a/service/metadata.yaml
+++ /dev/null
@@ -1,68 +0,0 @@
-type: service
-
-status:
- class: pkg
- stability:
- development: [traces, metrics, logs]
- distributions: [core, contrib]
-
-tests:
- goleak:
- ignore:
- top:
- # See https://github.com/census-instrumentation/opencensus-go/issues/1191 for more information.
- - "go.opencensus.io/stats/view.(*worker).start"
- - "go.opentelemetry.io/collector/service/internal/proctelemetry.InitPrometheusServer.func1"
-
-telemetry:
- metrics:
- process_uptime:
- enabled: true
- description: Uptime of the process
- unit: s
- sum:
- async: true
- value_type: double
- monotonic: true
-
- process_runtime_heap_alloc_bytes:
- enabled: true
- description: Bytes of allocated heap objects (see 'go doc runtime.MemStats.HeapAlloc')
- unit: By
- gauge:
- async: true
- value_type: int
-
- process_runtime_total_alloc_bytes:
- enabled: true
- description: Cumulative bytes allocated for heap objects (see 'go doc runtime.MemStats.TotalAlloc')
- unit: By
- sum:
- async: true
- value_type: int
- monotonic: true
-
- process_runtime_total_sys_memory_bytes:
- enabled: true
- description: Total bytes of memory obtained from the OS (see 'go doc runtime.MemStats.Sys')
- unit: By
- gauge:
- async: true
- value_type: int
-
- process_cpu_seconds:
- enabled: true
- description: Total CPU user and system time in seconds
- unit: s
- sum:
- async: true
- value_type: double
- monotonic: true
-
- process_memory_rss:
- enabled: true
- description: Total physical memory (resident set size)
- unit: By
- gauge:
- async: true
- value_type: int
diff --git a/service/service.go b/service/service.go
index eb320cfec2c..53ea3eebe65 100644
--- a/service/service.go
+++ b/service/service.go
@@ -1,8 +1,6 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
-//go:generate mdatagen metadata.yaml
-
package service // import "go.opentelemetry.io/collector/service"
import (
@@ -291,7 +289,7 @@ func (srv *Service) initExtensionsAndPipeline(ctx context.Context, set Settings,
if cfg.Telemetry.Metrics.Level != configtelemetry.LevelNone && cfg.Telemetry.Metrics.Address != "" {
// The process telemetry initialization requires the ballast size, which is available after the extensions are initialized.
- if err = proctelemetry.RegisterProcessMetrics(srv.telemetrySettings, getBallastSize(srv.host)); err != nil {
+ if err = proctelemetry.RegisterProcessMetrics(srv.telemetrySettings.MeterProvider, getBallastSize(srv.host)); err != nil {
return fmt.Errorf("failed to register process metrics: %w", err)
}
}
From bd6c3ba89c2a3d5e2817ff2f2aaa8538ec4747fe Mon Sep 17 00:00:00 2001
From: Dmitrii Anoshin
Date: Thu, 30 May 2024 12:18:33 -0700
Subject: [PATCH 100/111] [chore] Remove redundant wait group from a test
(#10269)
https://github.com/open-telemetry/opentelemetry-collector/pull/10258/files#r1621017272
made me wonder if the wait group is really necessary. We have another
synchronization that waits for at least two requests to enter the merge
function, which should be enough. So, we don't necessarily need this
wait group.
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
exporter/exporterhelper/batch_sender_test.go | 26 ++++++--------------
1 file changed, 8 insertions(+), 18 deletions(-)
diff --git a/exporter/exporterhelper/batch_sender_test.go b/exporter/exporterhelper/batch_sender_test.go
index 08ab42f89b5..bc59c0d63c5 100644
--- a/exporter/exporterhelper/batch_sender_test.go
+++ b/exporter/exporterhelper/batch_sender_test.go
@@ -443,9 +443,10 @@ func TestBatchSender_ShutdownDeadlock(t *testing.T) {
waitMerge := make(chan struct{}, 10)
// blockedBatchMergeFunc blocks until the blockMerge channel is closed
- blockedBatchMergeFunc := func(_ context.Context, r1 Request, _ Request) (Request, error) {
+ blockedBatchMergeFunc := func(_ context.Context, r1 Request, r2 Request) (Request, error) {
waitMerge <- struct{}{}
<-blockMerge
+ r1.(*fakeRequest).items += r2.(*fakeRequest).items
return r1, nil
}
@@ -458,18 +459,11 @@ func TestBatchSender_ShutdownDeadlock(t *testing.T) {
sink := newFakeRequestSink()
- // Send 10 concurrent requests and wait for them to start
- startWG := sync.WaitGroup{}
- for i := 0; i < 10; i++ {
- startWG.Add(1)
- go func() {
- startWG.Done()
- require.NoError(t, be.send(context.Background(), &fakeRequest{items: 4, sink: sink}))
- }()
- }
- startWG.Wait()
+ // Send 2 concurrent requests
+ go func() { require.NoError(t, be.send(context.Background(), &fakeRequest{items: 4, sink: sink})) }()
+ go func() { require.NoError(t, be.send(context.Background(), &fakeRequest{items: 4, sink: sink})) }()
- // Wait for at least one batch to enter the merge function
+ // Wait for the requests to enter the merge function
<-waitMerge
// Initiate the exporter shutdown, unblock the batch merge function to catch possible deadlocks,
@@ -485,12 +479,8 @@ func TestBatchSender_ShutdownDeadlock(t *testing.T) {
close(blockMerge)
<-doneShutdown
- // The exporter should have sent only one "merged" batch, in some cases it might send two if the shutdown
- // happens before the batch is fully merged.
- assert.LessOrEqual(t, uint64(1), sink.requestsCount.Load())
-
- // blockedBatchMergeFunc just returns the first request, so the items count should be 4 times the requests count.
- assert.Equal(t, sink.requestsCount.Load()*4, sink.itemsCount.Load())
+ assert.EqualValues(t, 1, sink.requestsCount.Load())
+ assert.EqualValues(t, 8, sink.itemsCount.Load())
}
func queueBatchExporter(t *testing.T, batchOption Option) *baseExporter {
From ef1be567b0e8add08db763ff3e09ff85e2c45ed8 Mon Sep 17 00:00:00 2001
From: Antoine Toulme
Date: Fri, 31 May 2024 10:28:50 -0700
Subject: [PATCH 101/111] [chore] remove TODO from confmap code (#10278)
Remove a TODO comment on confmap/provider.go related to ChangeEvent.
This struct is used extensively in providers that rely on changes such
as:
https://github.com/signalfx/splunk-otel-collector/blob/main/internal/configsource/etcd2configsource/source.go#L84
---
confmap/provider.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/confmap/provider.go b/confmap/provider.go
index 95c0581327e..192577ed4d8 100644
--- a/confmap/provider.go
+++ b/confmap/provider.go
@@ -89,7 +89,6 @@ type Provider interface {
type WatcherFunc func(*ChangeEvent)
// ChangeEvent describes the particular change event that happened with the config.
-// TODO: see if this can be eliminated.
type ChangeEvent struct {
// Error is nil if the config is changed and needs to be re-fetched.
// Any non-nil error indicates that there was a problem with watching the config changes.
From 185298a68df359472094b745e2f4a626cbbb5dc2 Mon Sep 17 00:00:00 2001
From: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
Date: Fri, 31 May 2024 14:32:22 -0600
Subject: [PATCH 102/111] [otelcol] Removed deprecated `ConfigProvider` field
from settings (#10281)
---
.chloggen/otelcol-remove-deprecations.yaml | 25 +++++++++++++++++++
otelcol/collector.go | 16 +++----------
otelcol/collector_test.go | 23 ++++++++----------
otelcol/command.go | 28 ++++++++++------------
otelcol/command_components_test.go | 9 +++----
5 files changed, 54 insertions(+), 47 deletions(-)
create mode 100644 .chloggen/otelcol-remove-deprecations.yaml
diff --git a/.chloggen/otelcol-remove-deprecations.yaml b/.chloggen/otelcol-remove-deprecations.yaml
new file mode 100644
index 00000000000..75dbd5313f9
--- /dev/null
+++ b/.chloggen/otelcol-remove-deprecations.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: otelcol
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Remove deprecated `ConfigProvider` field from `CollectorSettings`
+
+# One or more tracking issues or pull requests related to the change
+issues: [10281]
+
+# (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:
+
+# 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: [api]
diff --git a/otelcol/collector.go b/otelcol/collector.go
index 64339a4040d..8f9839af6c8 100644
--- a/otelcol/collector.go
+++ b/otelcol/collector.go
@@ -68,11 +68,6 @@ type CollectorSettings struct {
// and manually handle the signals to shutdown the collector.
DisableGracefulShutdown bool
- // Deprecated: [v0.95.0] Use ConfigProviderSettings instead.
- // ConfigProvider provides the service configuration.
- // If the provider watches for configuration change, collector may reload the new configuration upon changes.
- ConfigProvider ConfigProvider
-
// ConfigProviderSettings allows configuring the way the Collector retrieves its configuration
// The Collector will reload based on configuration changes from the ConfigProvider if any
// confmap.Providers watch for configuration changes.
@@ -118,9 +113,6 @@ type Collector struct {
// NewCollector creates and returns a new instance of Collector.
func NewCollector(set CollectorSettings) (*Collector, error) {
- var err error
- configProvider := set.ConfigProvider
-
bc := newBufferedCore(zapcore.DebugLevel)
cc := &collectorCore{core: bc}
options := append([]zap.Option{zap.WithCaller(true)}, set.LoggingOptions...)
@@ -128,11 +120,9 @@ func NewCollector(set CollectorSettings) (*Collector, error) {
set.ConfigProviderSettings.ResolverSettings.ProviderSettings = confmap.ProviderSettings{Logger: logger}
set.ConfigProviderSettings.ResolverSettings.ConverterSettings = confmap.ConverterSettings{Logger: logger}
- if configProvider == nil {
- configProvider, err = NewConfigProvider(set.ConfigProviderSettings)
- if err != nil {
- return nil, err
- }
+ configProvider, err := NewConfigProvider(set.ConfigProviderSettings)
+ if err != nil {
+ return nil, err
}
state := &atomic.Int32{}
diff --git a/otelcol/collector_test.go b/otelcol/collector_test.go
index b96a6fc15db..68eb3b54318 100644
--- a/otelcol/collector_test.go
+++ b/otelcol/collector_test.go
@@ -82,16 +82,17 @@ func (p mockCfgProvider) Watch() <-chan error {
}
func TestCollectorStateAfterConfigChange(t *testing.T) {
- provider, err := NewConfigProvider(newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-nop.yaml")}))
- require.NoError(t, err)
-
watcher := make(chan error, 1)
col, err := NewCollector(CollectorSettings{
- BuildInfo: component.NewDefaultBuildInfo(),
- Factories: nopFactories,
- ConfigProvider: &mockCfgProvider{ConfigProvider: provider, watcher: watcher},
+ BuildInfo: component.NewDefaultBuildInfo(),
+ Factories: nopFactories,
+ // this will be overwritten, but we need something to get past validation
+ ConfigProviderSettings: newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-nop.yaml")}),
})
require.NoError(t, err)
+ provider, err := NewConfigProvider(newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-nop.yaml")}))
+ require.NoError(t, err)
+ col.configProvider = &mockCfgProvider{ConfigProvider: provider, watcher: watcher}
wg := startCollector(context.Background(), t, col)
@@ -157,15 +158,11 @@ func TestComponentStatusWatcher(t *testing.T) {
factory := extensiontest.NewStatusWatcherExtensionFactory(onStatusChanged)
factories.Extensions[factory.Type()] = factory
- // Read config from file. This config uses 3 "unhealthy" processors.
- validProvider, err := NewConfigProvider(newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-statuswatcher.yaml")}))
- require.NoError(t, err)
-
// Create a collector
col, err := NewCollector(CollectorSettings{
- BuildInfo: component.NewDefaultBuildInfo(),
- Factories: func() (Factories, error) { return factories, nil },
- ConfigProvider: validProvider,
+ BuildInfo: component.NewDefaultBuildInfo(),
+ Factories: func() (Factories, error) { return factories, nil },
+ ConfigProviderSettings: newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-statuswatcher.yaml")}),
})
require.NoError(t, err)
diff --git a/otelcol/command.go b/otelcol/command.go
index 9db850bcc13..648b3a5ffda 100644
--- a/otelcol/command.go
+++ b/otelcol/command.go
@@ -43,22 +43,20 @@ func NewCommand(set CollectorSettings) *cobra.Command {
// Puts command line flags from flags into the CollectorSettings, to be used during config resolution.
func updateSettingsUsingFlags(set *CollectorSettings, flags *flag.FlagSet) error {
- if set.ConfigProvider == nil {
- resolverSet := &set.ConfigProviderSettings.ResolverSettings
- configFlags := getConfigFlag(flags)
+ resolverSet := &set.ConfigProviderSettings.ResolverSettings
+ configFlags := getConfigFlag(flags)
- if len(configFlags) > 0 {
- resolverSet.URIs = configFlags
- }
- if len(resolverSet.URIs) == 0 {
- return errors.New("at least one config flag must be provided")
- }
- // Provide a default set of providers and converters if none have been specified.
- // TODO: Remove this after CollectorSettings.ConfigProvider is removed and instead
- // do it in the builder.
- if len(resolverSet.ProviderFactories) == 0 && len(resolverSet.ConverterFactories) == 0 {
- set.ConfigProviderSettings = newDefaultConfigProviderSettings(resolverSet.URIs)
- }
+ if len(configFlags) > 0 {
+ resolverSet.URIs = configFlags
+ }
+ if len(resolverSet.URIs) == 0 {
+ return errors.New("at least one config flag must be provided")
+ }
+ // Provide a default set of providers and converters if none have been specified.
+ // TODO: Remove this after CollectorSettings.ConfigProvider is removed and instead
+ // do it in the builder.
+ if len(resolverSet.ProviderFactories) == 0 && len(resolverSet.ConverterFactories) == 0 {
+ set.ConfigProviderSettings = newDefaultConfigProviderSettings(resolverSet.URIs)
}
return nil
}
diff --git a/otelcol/command_components_test.go b/otelcol/command_components_test.go
index c4e3c7fbf29..d144d1dc32a 100644
--- a/otelcol/command_components_test.go
+++ b/otelcol/command_components_test.go
@@ -17,13 +17,10 @@ import (
)
func TestNewBuildSubCommand(t *testing.T) {
- cfgProvider, err := NewConfigProvider(newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-nop.yaml")}))
- require.NoError(t, err)
-
set := CollectorSettings{
- BuildInfo: component.NewDefaultBuildInfo(),
- Factories: nopFactories,
- ConfigProvider: cfgProvider,
+ BuildInfo: component.NewDefaultBuildInfo(),
+ Factories: nopFactories,
+ ConfigProviderSettings: newDefaultConfigProviderSettings([]string{filepath.Join("testdata", "otelcol-nop.yaml")}),
}
cmd := NewCommand(set)
cmd.SetArgs([]string{"components"})
From c1c38fc27375c4a104b99f203f8a8c4c83600cf6 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Fri, 31 May 2024 13:57:25 -0700
Subject: [PATCH 103/111] [chore] remove deprecated types (#10283)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_rm-deprecated-request.yaml | 25 +++++++++++++++++++
exporter/exporterhelper/request.go | 10 --------
2 files changed, 25 insertions(+), 10 deletions(-)
create mode 100644 .chloggen/codeboten_rm-deprecated-request.yaml
diff --git a/.chloggen/codeboten_rm-deprecated-request.yaml b/.chloggen/codeboten_rm-deprecated-request.yaml
new file mode 100644
index 00000000000..57dd648a95d
--- /dev/null
+++ b/.chloggen/codeboten_rm-deprecated-request.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: exporterhelper
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: remove deprecated RequestMarshaler & RequestUnmarshaler types
+
+# One or more tracking issues or pull requests related to the change
+issues: [10283]
+
+# (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:
+
+# 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/exporterhelper/request.go b/exporter/exporterhelper/request.go
index fa6856d385a..74f0186541f 100644
--- a/exporter/exporterhelper/request.go
+++ b/exporter/exporterhelper/request.go
@@ -32,16 +32,6 @@ type RequestErrorHandler interface {
OnError(error) Request
}
-// RequestMarshaler is a function that can marshal a Request into bytes.
-//
-// Deprecated: [v0.94.0] Use exporterqueue.Marshaler[Request] instead.
-type RequestMarshaler func(req Request) ([]byte, error)
-
-// RequestUnmarshaler is a function that can unmarshal bytes into a Request.
-//
-// Deprecated: [v0.94.0] Use exporterqueue.Unmarshaler[Request] instead.
-type RequestUnmarshaler func(data []byte) (Request, error)
-
// extractPartialRequest returns a new Request that may contain the items left to be sent
// if only some items failed to process and can be retried. Otherwise, it returns the original Request.
func extractPartialRequest(req Request, err error) Request {
From e993594275982070a310b61857e4084f0cb4a639 Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Fri, 31 May 2024 14:00:45 -0700
Subject: [PATCH 104/111] [chore] remove deprecated LoadTLSConfigContext
methods (#10284)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_rm-loadtlsconfigcontext.yaml | 25 +++++++++++++++++++
config/configtls/configtls.go | 14 -----------
2 files changed, 25 insertions(+), 14 deletions(-)
create mode 100644 .chloggen/codeboten_rm-loadtlsconfigcontext.yaml
diff --git a/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml b/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml
new file mode 100644
index 00000000000..8b8cbea7994
--- /dev/null
+++ b/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: configtls
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: remove deprecated LoadTLSConfigContext funcs
+
+# One or more tracking issues or pull requests related to the change
+issues: [10283]
+
+# (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:
+
+# 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/config/configtls/configtls.go b/config/configtls/configtls.go
index 2090f775d49..569ae606152 100644
--- a/config/configtls/configtls.go
+++ b/config/configtls/configtls.go
@@ -376,13 +376,6 @@ func (c Config) loadCert(caPath string) (*x509.CertPool, error) {
return certPool, nil
}
-// LoadTLSConfigContext loads the TLS configuration.
-//
-// Deprecated: [v0.99.0] Use LoadTLSConfig instead.
-func (c ClientConfig) LoadTLSConfigContext(ctx context.Context) (*tls.Config, error) {
- return c.LoadTLSConfig(ctx)
-}
-
// LoadTLSConfig loads the TLS configuration.
func (c ClientConfig) LoadTLSConfig(_ context.Context) (*tls.Config, error) {
if c.Insecure && !c.hasCA() {
@@ -398,13 +391,6 @@ func (c ClientConfig) LoadTLSConfig(_ context.Context) (*tls.Config, error) {
return tlsCfg, nil
}
-// LoadTLSConfigContext loads the TLS configuration.
-//
-// Deprecated: [v0.99.0] Use LoadTLSConfig instead.
-func (c ServerConfig) LoadTLSConfigContext(ctx context.Context) (*tls.Config, error) {
- return c.LoadTLSConfig(ctx)
-}
-
// LoadTLSConfig loads the TLS configuration.
func (c ServerConfig) LoadTLSConfig(_ context.Context) (*tls.Config, error) {
tlsCfg, err := c.loadTLSConfig()
From e2ad3418c4005bbeb13956090a4aabcd50d94d8a Mon Sep 17 00:00:00 2001
From: Alex Boten <223565+codeboten@users.noreply.github.com>
Date: Fri, 31 May 2024 14:56:15 -0700
Subject: [PATCH 105/111] [service] remove deprecated Telemetry struct and New
func (#10285)
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.../codeboten_rm-deprecated-telemetry.yaml | 25 +++++++++
service/telemetry/telemetry.go | 54 -------------------
service/telemetry/telemetry_test.go | 26 ---------
3 files changed, 25 insertions(+), 80 deletions(-)
create mode 100644 .chloggen/codeboten_rm-deprecated-telemetry.yaml
diff --git a/.chloggen/codeboten_rm-deprecated-telemetry.yaml b/.chloggen/codeboten_rm-deprecated-telemetry.yaml
new file mode 100644
index 00000000000..81a7c6f112a
--- /dev/null
+++ b/.chloggen/codeboten_rm-deprecated-telemetry.yaml
@@ -0,0 +1,25 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: breaking
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: service
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: remove deprecated Telemetry struct and New func
+
+# One or more tracking issues or pull requests related to the change
+issues: [10285]
+
+# (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:
+
+# 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/service/telemetry/telemetry.go b/service/telemetry/telemetry.go
index 53e36f3c76c..c9346c26d59 100644
--- a/service/telemetry/telemetry.go
+++ b/service/telemetry/telemetry.go
@@ -4,62 +4,8 @@
package telemetry // import "go.opentelemetry.io/collector/service/telemetry"
import (
- "context"
- "fmt"
-
- sdktrace "go.opentelemetry.io/otel/sdk/trace"
- "go.opentelemetry.io/otel/trace"
- "go.uber.org/multierr"
- "go.uber.org/zap"
-
"go.opentelemetry.io/collector/service/telemetry/internal"
)
-// Telemetry is the service telemetry.
-// Deprecated: [v0.99.0] Use Factory.
-type Telemetry struct {
- logger *zap.Logger
- tracerProvider trace.TracerProvider
-}
-
-func (t *Telemetry) TracerProvider() trace.TracerProvider {
- return t.tracerProvider
-}
-
-func (t *Telemetry) Logger() *zap.Logger {
- return t.logger
-}
-
-func (t *Telemetry) Shutdown(ctx context.Context) error {
- // TODO: Sync logger.
- if tp, ok := t.tracerProvider.(*sdktrace.TracerProvider); ok {
- return multierr.Combine(
- tp.Shutdown(ctx),
- )
- }
- // should this return an error?
- return nil
-}
-
// Settings holds configuration for building Telemetry.
type Settings = internal.CreateSettings
-
-// New creates a new Telemetry from Config.
-// Deprecated: [v0.99.0] Use NewFactory.
-func New(ctx context.Context, set Settings, cfg Config) (*Telemetry, error) {
- f := NewFactory()
- logger, err := f.CreateLogger(ctx, set, &cfg)
- if err != nil {
- return nil, fmt.Errorf("failed to created logger: %w", err)
- }
-
- tracerProvider, err := f.CreateTracerProvider(ctx, set, &cfg)
- if err != nil {
- return nil, fmt.Errorf("failed to create tracer provider: %w", err)
- }
-
- return &Telemetry{
- logger: logger,
- tracerProvider: tracerProvider,
- }, nil
-}
diff --git a/service/telemetry/telemetry_test.go b/service/telemetry/telemetry_test.go
index 3a46c3cd8bc..25c42d01830 100644
--- a/service/telemetry/telemetry_test.go
+++ b/service/telemetry/telemetry_test.go
@@ -9,9 +9,6 @@ import (
"time"
"github.com/stretchr/testify/assert"
- "github.com/stretchr/testify/require"
- "go.opentelemetry.io/otel/trace"
- "go.opentelemetry.io/otel/trace/noop"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
@@ -122,26 +119,3 @@ func TestSampledLogger(t *testing.T) {
})
}
}
-
-func TestTelemetryShutdown(t *testing.T) {
- tests := []struct {
- name string
- provider trace.TracerProvider
- wantErr error
- }{
- {
- name: "No provider",
- },
- {
- name: "Non-SDK provider",
- provider: noop.NewTracerProvider(),
- },
- }
- for _, tt := range tests {
- t.Run(tt.name, func(t *testing.T) {
- telemetry := Telemetry{tracerProvider: tt.provider}
- err := telemetry.Shutdown(context.Background())
- require.Equal(t, tt.wantErr, err)
- })
- }
-}
From 385b669976c90aae4f337ca65e7c67a8ac2f6735 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juraci=20Paix=C3=A3o=20Kr=C3=B6hling?=
Date: Tue, 4 Jun 2024 03:10:16 +1200
Subject: [PATCH 106/111] [confighttp] Apply MaxRequestBodySize to the result
of a decompressed body (#10289)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This change applies a restriction on the size of the decompressed
payload. Before this change, this is the result of the test added in
this PR:
```
--- FAIL: TestServerWithDecompression (0.03s)
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1327:
Error Trace: /home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1327
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/compression.go:163
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp.go:455
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.52.0/handler.go:212
/home/jpkroehling/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.52.0/handler.go:73
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/clientinfohandler.go:26
/usr/lib/golang/src/net/http/server.go:3137
/usr/lib/golang/src/net/http/server.go:2039
/usr/lib/golang/src/runtime/asm_amd64.s:1695
Error: An error is expected but got nil.
Test: TestServerWithDecompression
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1328:
Error Trace: /home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1328
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/compression.go:163
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp.go:455
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.52.0/handler.go:212
/home/jpkroehling/go/pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.52.0/handler.go:73
/usr/lib/golang/src/net/http/server.go:2166
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/clientinfohandler.go:26
/usr/lib/golang/src/net/http/server.go:3137
/usr/lib/golang/src/net/http/server.go:2039
/usr/lib/golang/src/runtime/asm_amd64.s:1695
Error:
Test: TestServerWithDecompression
/home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1357:
Error Trace: /home/jpkroehling/Projects/src/github.com/open-telemetry/opentelemetry-collector/config/confighttp/confighttp_test.go:1357
Error: Not equal:
expected: 200
actual : 400
Test: TestServerWithDecompression
FAIL
FAIL go.opentelemetry.io/collector/config/confighttp 0.036s
FAIL
```
Signed-off-by: Juraci Paixão Kröhling
---------
Signed-off-by: Juraci Paixão Kröhling
---
..._set-maxrequestbodysize-to-compressed.yaml | 22 +++++
config/confighttp/compression.go | 16 ++--
config/confighttp/compression_test.go | 4 +-
config/confighttp/confighttp.go | 9 +-
config/confighttp/confighttp_test.go | 91 ++++++++++++++++++-
5 files changed, 130 insertions(+), 12 deletions(-)
create mode 100644 .chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
diff --git a/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml b/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
new file mode 100644
index 00000000000..0d2ad5d82c1
--- /dev/null
+++ b/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
@@ -0,0 +1,22 @@
+# Use this changelog template to create an entry for release notes.
+
+# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
+change_type: 'breaking'
+
+# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
+component: confighttp
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Apply MaxRequestBodySize to the result of a decompressed body
+
+# One or more tracking issues or pull requests related to the change
+issues: [10289]
+
+# (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: |
+ When using compressed payloads, the Collector would verify only the size of the compressed payload.
+ This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change.
+ For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your
+ client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.
diff --git a/config/confighttp/compression.go b/config/confighttp/compression.go
index 88ecafe78da..a700bec845b 100644
--- a/config/confighttp/compression.go
+++ b/config/confighttp/compression.go
@@ -67,24 +67,26 @@ func (r *compressRoundTripper) RoundTrip(req *http.Request) (*http.Response, err
}
type decompressor struct {
- errHandler func(w http.ResponseWriter, r *http.Request, errorMsg string, statusCode int)
- base http.Handler
- decoders map[string]func(body io.ReadCloser) (io.ReadCloser, error)
+ errHandler func(w http.ResponseWriter, r *http.Request, errorMsg string, statusCode int)
+ base http.Handler
+ decoders map[string]func(body io.ReadCloser) (io.ReadCloser, error)
+ maxRequestBodySize int64
}
// httpContentDecompressor offloads the task of handling compressed HTTP requests
// by identifying the compression format in the "Content-Encoding" header and re-writing
// request body so that the handlers further in the chain can work on decompressed data.
// It supports gzip and deflate/zlib compression.
-func httpContentDecompressor(h http.Handler, eh func(w http.ResponseWriter, r *http.Request, errorMsg string, statusCode int), decoders map[string]func(body io.ReadCloser) (io.ReadCloser, error)) http.Handler {
+func httpContentDecompressor(h http.Handler, maxRequestBodySize int64, eh func(w http.ResponseWriter, r *http.Request, errorMsg string, statusCode int), decoders map[string]func(body io.ReadCloser) (io.ReadCloser, error)) http.Handler {
errHandler := defaultErrorHandler
if eh != nil {
errHandler = eh
}
d := &decompressor{
- errHandler: errHandler,
- base: h,
+ maxRequestBodySize: maxRequestBodySize,
+ errHandler: errHandler,
+ base: h,
decoders: map[string]func(body io.ReadCloser) (io.ReadCloser, error){
"": func(io.ReadCloser) (io.ReadCloser, error) {
// Not a compressed payload. Nothing to do.
@@ -155,7 +157,7 @@ func (d *decompressor) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// "Content-Length" is set to -1 as the size of the decompressed body is unknown.
r.Header.Del("Content-Length")
r.ContentLength = -1
- r.Body = newBody
+ r.Body = http.MaxBytesReader(w, newBody, d.maxRequestBodySize)
}
d.base.ServeHTTP(w, r)
}
diff --git a/config/confighttp/compression_test.go b/config/confighttp/compression_test.go
index 794adda2ec8..db2f7b3b3c0 100644
--- a/config/confighttp/compression_test.go
+++ b/config/confighttp/compression_test.go
@@ -134,7 +134,7 @@ func TestHTTPCustomDecompression(t *testing.T) {
return io.NopCloser(strings.NewReader("decompressed body")), nil
},
}
- srv := httptest.NewServer(httpContentDecompressor(handler, defaultErrorHandler, decoders))
+ srv := httptest.NewServer(httpContentDecompressor(handler, defaultMaxRequestBodySize, defaultErrorHandler, decoders))
t.Cleanup(srv.Close)
@@ -253,7 +253,7 @@ func TestHTTPContentDecompressionHandler(t *testing.T) {
require.NoError(t, err, "failed to read request body: %v", err)
assert.EqualValues(t, testBody, string(body))
w.WriteHeader(http.StatusOK)
- }), defaultErrorHandler, noDecoders))
+ }), defaultMaxRequestBodySize, defaultErrorHandler, noDecoders))
t.Cleanup(srv.Close)
req, err := http.NewRequest(http.MethodGet, srv.URL, tt.reqBody)
diff --git a/config/confighttp/confighttp.go b/config/confighttp/confighttp.go
index e2b2cab48c8..afa0aed1063 100644
--- a/config/confighttp/confighttp.go
+++ b/config/confighttp/confighttp.go
@@ -30,6 +30,7 @@ import (
)
const headerContentEncoding = "Content-Encoding"
+const defaultMaxRequestBodySize = 20 * 1024 * 1024 // 20MiB
// ClientConfig defines settings for creating an HTTP client.
type ClientConfig struct {
@@ -272,7 +273,7 @@ type ServerConfig struct {
// RateLimit for this receiver
RateLimit *RateLimit `mapstructure:"rate_limit"`
- // MaxRequestBodySize sets the maximum request body size in bytes
+ // MaxRequestBodySize sets the maximum request body size in bytes. Default: 20MiB.
MaxRequestBodySize int64 `mapstructure:"max_request_body_size"`
// IncludeMetadata propagates the client metadata from the incoming requests to the downstream consumers
@@ -343,7 +344,11 @@ func (hss *ServerConfig) ToServer(_ context.Context, host component.Host, settin
o(serverOpts)
}
- handler = httpContentDecompressor(handler, serverOpts.errHandler, serverOpts.decoders)
+ if hss.MaxRequestBodySize <= 0 {
+ hss.MaxRequestBodySize = defaultMaxRequestBodySize
+ }
+
+ handler = httpContentDecompressor(handler, hss.MaxRequestBodySize, serverOpts.errHandler, serverOpts.decoders)
if hss.MaxRequestBodySize > 0 {
handler = maxRequestBodySizeInterceptor(handler, hss.MaxRequestBodySize)
diff --git a/config/confighttp/confighttp_test.go b/config/confighttp/confighttp_test.go
index 635f9415a2f..99ac9a51201 100644
--- a/config/confighttp/confighttp_test.go
+++ b/config/confighttp/confighttp_test.go
@@ -4,6 +4,7 @@
package confighttp
import (
+ "bytes"
"context"
"errors"
"fmt"
@@ -13,6 +14,7 @@ import (
"net/http/httptest"
"net/url"
"path/filepath"
+ "strings"
"testing"
"time"
@@ -1300,7 +1302,7 @@ func TestServerWithDecoder(t *testing.T) {
// test
response := &httptest.ResponseRecorder{}
- req, err := http.NewRequest(http.MethodGet, srv.Addr, nil)
+ req, err := http.NewRequest(http.MethodGet, srv.Addr, bytes.NewBuffer([]byte("something")))
require.NoError(t, err, "Error creating request: %v", err)
req.Header.Set("Content-Encoding", "something-else")
@@ -1310,6 +1312,93 @@ func TestServerWithDecoder(t *testing.T) {
}
+func TestServerWithDecompression(t *testing.T) {
+ // prepare
+ hss := ServerConfig{
+ MaxRequestBodySize: 1000, // 1 KB
+ }
+ body := []byte(strings.Repeat("a", 1000*1000)) // 1 MB
+
+ srv, err := hss.ToServer(
+ context.Background(),
+ componenttest.NewNopHost(),
+ componenttest.NewNopTelemetrySettings(),
+ http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
+ actualBody, err := io.ReadAll(req.Body)
+ assert.ErrorContains(t, err, "http: request body too large")
+ assert.Len(t, actualBody, 1000)
+
+ if err != nil {
+ resp.WriteHeader(http.StatusBadRequest)
+ } else {
+ resp.WriteHeader(http.StatusOK)
+ }
+ }),
+ )
+ require.NoError(t, err)
+
+ testSrv := httptest.NewServer(srv.Handler)
+ defer testSrv.Close()
+
+ req, err := http.NewRequest(http.MethodGet, testSrv.URL, compressZstd(t, body))
+ require.NoError(t, err, "Error creating request: %v", err)
+
+ req.Header.Set("Content-Encoding", "zstd")
+
+ // test
+ c := http.Client{}
+ resp, err := c.Do(req)
+ require.NoError(t, err, "Error sending request: %v", err)
+
+ _, err = io.ReadAll(resp.Body)
+ require.NoError(t, err, "Error reading response body: %v", err)
+
+ // verifications is done mostly within the test, but this is only a sanity check
+ // that we got into the test handler
+ assert.Equal(t, resp.StatusCode, http.StatusBadRequest)
+}
+
+func TestDefaultMaxRequestBodySize(t *testing.T) {
+ tests := []struct {
+ name string
+ settings ServerConfig
+ expected int64
+ }{
+ {
+ name: "default",
+ settings: ServerConfig{},
+ expected: defaultMaxRequestBodySize,
+ },
+ {
+ name: "zero",
+ settings: ServerConfig{MaxRequestBodySize: 0},
+ expected: defaultMaxRequestBodySize,
+ },
+ {
+ name: "negative",
+ settings: ServerConfig{MaxRequestBodySize: -1},
+ expected: defaultMaxRequestBodySize,
+ },
+ {
+ name: "custom",
+ settings: ServerConfig{MaxRequestBodySize: 100},
+ expected: 100,
+ },
+ }
+ for _, tt := range tests {
+ t.Run(tt.name, func(t *testing.T) {
+ _, err := tt.settings.ToServer(
+ context.Background(),
+ componenttest.NewNopHost(),
+ componenttest.NewNopTelemetrySettings(),
+ http.HandlerFunc(func(http.ResponseWriter, *http.Request) {}),
+ )
+ require.NoError(t, err)
+ assert.Equal(t, tt.expected, tt.settings.MaxRequestBodySize)
+ })
+ }
+}
+
type mockHost struct {
component.Host
ext map[component.ID]component.Component
From 3e2d48aeebdf987425fdbe5f46045b8bc7837415 Mon Sep 17 00:00:00 2001
From: OpenTelemetry Bot <107717825+opentelemetrybot@users.noreply.github.com>
Date: Tue, 4 Jun 2024 06:31:37 +1200
Subject: [PATCH 107/111] [chore] Prepare release v1.9.0/v0.102.0 (#10293)
The following commands were run to prepare this release:
- make chlog-update VERSION=v1.9.0/v0.102.0
- make prepare-release PREVIOUS_VERSION=1.8.0 RELEASE_CANDIDATE=1.9.0
MODSET=stable
- make prepare-release PREVIOUS_VERSION=0.101.0
RELEASE_CANDIDATE=0.102.0 MODSET=beta
---------
Co-authored-by: Pablo Baeyens
---
.../codeboten_add-mdatagen-testutility.yaml | 25 ------
.chloggen/codeboten_fix-9674-2.yaml | 25 ------
.chloggen/codeboten_fix-9674.yaml | 25 ------
.../codeboten_fix-batchprocessor-bug.yaml | 25 ------
.../codeboten_mdatagen-telemetrylevel.yaml | 25 ------
.../codeboten_mdatagen-telemetrylevel2.yaml | 25 ------
..._move-batchprocessortest-mdatagentest.yaml | 25 ------
.../codeboten_rm-deprecated-request.yaml | 25 ------
.../codeboten_rm-deprecated-telemetry.yaml | 25 ------
.../codeboten_rm-loadtlsconfigcontext.yaml | 25 ------
.chloggen/confmap-default-provider.yaml | 25 ------
.chloggen/doc-verify-images.yaml | 25 ------
.chloggen/embedded_struct_unmarshaler.yaml | 25 ------
.chloggen/env-var-name-verify.yaml | 25 ------
.../fix-batcher-sender-shutdown-deadlock.yaml | 20 -----
..._set-maxrequestbodysize-to-compressed.yaml | 22 -----
.chloggen/mx-psi_tel-factory.yaml | 25 ------
.chloggen/otelcol-remove-deprecations.yaml | 25 ------
.chloggen/pcommon-string-int64-slices.yaml | 25 ------
.chloggen/profiles-pdata.yaml | 25 ------
.chloggen/remove_top_level_block.yaml | 25 ------
.chloggen/update-validate-command.yaml | 20 -----
CHANGELOG-API.md | 25 ++++++
CHANGELOG.md | 28 ++++++
cmd/builder/internal/builder/config.go | 2 +-
cmd/builder/internal/config/default.yaml | 40 ++++-----
cmd/builder/test/core.builder.yaml | 8 +-
cmd/mdatagen/go.mod | 18 ++--
cmd/otelcorecol/builder-config.yaml | 40 ++++-----
cmd/otelcorecol/go.mod | 88 +++++++++----------
cmd/otelcorecol/main.go | 2 +-
component/go.mod | 6 +-
config/configauth/go.mod | 12 +--
config/configgrpc/go.mod | 30 +++----
config/confighttp/go.mod | 27 +++---
config/configopaque/go.mod | 2 +-
config/configtls/go.mod | 2 +-
config/internal/go.mod | 4 +-
confmap/converter/expandconverter/go.mod | 2 +-
confmap/provider/envprovider/go.mod | 2 +-
confmap/provider/fileprovider/go.mod | 2 +-
confmap/provider/httpprovider/go.mod | 2 +-
confmap/provider/httpsprovider/go.mod | 2 +-
confmap/provider/yamlprovider/go.mod | 2 +-
connector/forwardconnector/go.mod | 14 +--
connector/go.mod | 14 +--
consumer/go.mod | 4 +-
exporter/debugexporter/go.mod | 22 ++---
exporter/go.mod | 20 ++---
exporter/loggingexporter/go.mod | 20 ++---
exporter/nopexporter/go.mod | 14 +--
exporter/otlpexporter/go.mod | 40 ++++-----
exporter/otlphttpexporter/go.mod | 36 ++++----
extension/auth/go.mod | 10 +--
extension/ballastextension/go.mod | 12 +--
extension/go.mod | 8 +-
extension/memorylimiterextension/go.mod | 12 +--
extension/zpagesextension/go.mod | 14 +--
filter/go.mod | 2 +-
go.mod | 14 +--
internal/e2e/go.mod | 42 ++++-----
otelcol/go.mod | 42 ++++-----
pdata/pprofile/go.mod | 2 +-
pdata/testdata/go.mod | 2 +-
processor/batchprocessor/go.mod | 16 ++--
processor/go.mod | 14 +--
processor/memorylimiterprocessor/go.mod | 16 ++--
receiver/go.mod | 12 +--
receiver/nopreceiver/go.mod | 12 +--
receiver/otlpreceiver/go.mod | 38 ++++----
service/go.mod | 32 +++----
versions.yaml | 4 +-
72 files changed, 444 insertions(+), 927 deletions(-)
delete mode 100644 .chloggen/codeboten_add-mdatagen-testutility.yaml
delete mode 100644 .chloggen/codeboten_fix-9674-2.yaml
delete mode 100644 .chloggen/codeboten_fix-9674.yaml
delete mode 100644 .chloggen/codeboten_fix-batchprocessor-bug.yaml
delete mode 100644 .chloggen/codeboten_mdatagen-telemetrylevel.yaml
delete mode 100644 .chloggen/codeboten_mdatagen-telemetrylevel2.yaml
delete mode 100644 .chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
delete mode 100644 .chloggen/codeboten_rm-deprecated-request.yaml
delete mode 100644 .chloggen/codeboten_rm-deprecated-telemetry.yaml
delete mode 100644 .chloggen/codeboten_rm-loadtlsconfigcontext.yaml
delete mode 100644 .chloggen/confmap-default-provider.yaml
delete mode 100755 .chloggen/doc-verify-images.yaml
delete mode 100644 .chloggen/embedded_struct_unmarshaler.yaml
delete mode 100644 .chloggen/env-var-name-verify.yaml
delete mode 100644 .chloggen/fix-batcher-sender-shutdown-deadlock.yaml
delete mode 100644 .chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
delete mode 100644 .chloggen/mx-psi_tel-factory.yaml
delete mode 100644 .chloggen/otelcol-remove-deprecations.yaml
delete mode 100644 .chloggen/pcommon-string-int64-slices.yaml
delete mode 100644 .chloggen/profiles-pdata.yaml
delete mode 100644 .chloggen/remove_top_level_block.yaml
delete mode 100644 .chloggen/update-validate-command.yaml
diff --git a/.chloggen/codeboten_add-mdatagen-testutility.yaml b/.chloggen/codeboten_add-mdatagen-testutility.yaml
deleted file mode 100644
index ef7b7616af1..00000000000
--- a/.chloggen/codeboten_add-mdatagen-testutility.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: auto-generate utilities to test component telemetry
-
-# One or more tracking issues or pull requests related to the change
-issues: [19783]
-
-# (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:
-
-# 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/.chloggen/codeboten_fix-9674-2.yaml b/.chloggen/codeboten_fix-9674-2.yaml
deleted file mode 100644
index c51b1ad7b24..00000000000
--- a/.chloggen/codeboten_fix-9674-2.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: support setting an AttributeSet for async instruments
-
-# One or more tracking issues or pull requests related to the change
-issues: [9674]
-
-# (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:
-
-# 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/.chloggen/codeboten_fix-9674.yaml b/.chloggen/codeboten_fix-9674.yaml
deleted file mode 100644
index 9243a82621a..00000000000
--- a/.chloggen/codeboten_fix-9674.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: batchprocessor
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: ensure attributes are set on cardinality metadata metric
-
-# One or more tracking issues or pull requests related to the change
-issues: [9674]
-
-# (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:
-
-# 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/.chloggen/codeboten_fix-batchprocessor-bug.yaml b/.chloggen/codeboten_fix-batchprocessor-bug.yaml
deleted file mode 100644
index 4f91d27131e..00000000000
--- a/.chloggen/codeboten_fix-batchprocessor-bug.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: batchprocessor
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0
-
-# One or more tracking issues or pull requests related to the change
-issues: [10231]
-
-# (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:
-
-# 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/.chloggen/codeboten_mdatagen-telemetrylevel.yaml b/.chloggen/codeboten_mdatagen-telemetrylevel.yaml
deleted file mode 100644
index 239fed8b0b4..00000000000
--- a/.chloggen/codeboten_mdatagen-telemetrylevel.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: support using telemetry level in telemetry builder
-
-# One or more tracking issues or pull requests related to the change
-issues: [10234]
-
-# (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: This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetry.LevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics.
-
-# 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/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml b/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml
deleted file mode 100644
index 34a55fb964b..00000000000
--- a/.chloggen/codeboten_mdatagen-telemetrylevel2.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: batchprocessor
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: respect telemetry level for all metrics
-
-# One or more tracking issues or pull requests related to the change
-issues: [10234]
-
-# (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:
-
-# 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/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml b/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
deleted file mode 100644
index b297d7b51ea..00000000000
--- a/.chloggen/codeboten_move-batchprocessortest-mdatagentest.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: mdatagen
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: add support for bucket boundaries for histograms
-
-# One or more tracking issues or pull requests related to the change
-issues: [10218]
-
-# (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:
-
-# 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/.chloggen/codeboten_rm-deprecated-request.yaml b/.chloggen/codeboten_rm-deprecated-request.yaml
deleted file mode 100644
index 57dd648a95d..00000000000
--- a/.chloggen/codeboten_rm-deprecated-request.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: exporterhelper
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: remove deprecated RequestMarshaler & RequestUnmarshaler types
-
-# One or more tracking issues or pull requests related to the change
-issues: [10283]
-
-# (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:
-
-# 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/.chloggen/codeboten_rm-deprecated-telemetry.yaml b/.chloggen/codeboten_rm-deprecated-telemetry.yaml
deleted file mode 100644
index 81a7c6f112a..00000000000
--- a/.chloggen/codeboten_rm-deprecated-telemetry.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: service
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: remove deprecated Telemetry struct and New func
-
-# One or more tracking issues or pull requests related to the change
-issues: [10285]
-
-# (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:
-
-# 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/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml b/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml
deleted file mode 100644
index 8b8cbea7994..00000000000
--- a/.chloggen/codeboten_rm-loadtlsconfigcontext.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: configtls
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: remove deprecated LoadTLSConfigContext funcs
-
-# One or more tracking issues or pull requests related to the change
-issues: [10283]
-
-# (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:
-
-# 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/.chloggen/confmap-default-provider.yaml b/.chloggen/confmap-default-provider.yaml
deleted file mode 100644
index 2bc9fb28e67..00000000000
--- a/.chloggen/confmap-default-provider.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Allow setting a default Provider on a Resolver to use when `${}` syntax is used without a scheme
-
-# One or more tracking issues or pull requests related to the change
-issues: [10182]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/doc-verify-images.yaml b/.chloggen/doc-verify-images.yaml
deleted file mode 100755
index 8509453829d..00000000000
--- a/.chloggen/doc-verify-images.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: releases
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: add documentation in how to verify the image signatures using cosign
-
-# One or more tracking issues or pull requests related to the change
-issues: [9610]
-
-# (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:
-
-# 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/.chloggen/embedded_struct_unmarshaler.yaml b/.chloggen/embedded_struct_unmarshaler.yaml
deleted file mode 100644
index 46b5c314a93..00000000000
--- a/.chloggen/embedded_struct_unmarshaler.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: deprecation
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: component
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Deprecate `component.UnmarshalConfig`, use `(*confmap.Conf).Unmarshal(&intoCfg)` instead.
-
-# One or more tracking issues or pull requests related to the change
-issues: [7102]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/env-var-name-verify.yaml b/.chloggen/env-var-name-verify.yaml
deleted file mode 100644
index b0264aee6bd..00000000000
--- a/.chloggen/env-var-name-verify.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: envprovider
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers.
-
-# One or more tracking issues or pull requests related to the change
-issues: [9531]
-
-# (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:
-
-# 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/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml b/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml
deleted file mode 100644
index 76baecac6b5..00000000000
--- a/.chloggen/fix-batcher-sender-shutdown-deadlock.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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. otlpreceiver)
-component: exporterhelper
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Fix potential deadlocks in BatcherSender shutdown
-
-# One or more tracking issues or pull requests related to the change
-issues: [10255]
-
-# 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/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml b/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
deleted file mode 100644
index 0d2ad5d82c1..00000000000
--- a/.chloggen/jpkroehling_set-maxrequestbodysize-to-compressed.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: 'breaking'
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: confighttp
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Apply MaxRequestBodySize to the result of a decompressed body
-
-# One or more tracking issues or pull requests related to the change
-issues: [10289]
-
-# (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: |
- When using compressed payloads, the Collector would verify only the size of the compressed payload.
- This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change.
- For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your
- client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.
diff --git a/.chloggen/mx-psi_tel-factory.yaml b/.chloggen/mx-psi_tel-factory.yaml
deleted file mode 100644
index 2a07ec8b46c..00000000000
--- a/.chloggen/mx-psi_tel-factory.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: deprecation
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: service/telemetry
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Deprecate telemetry.New in favor of telemetry.NewFactory
-
-# One or more tracking issues or pull requests related to the change
-issues: [4970]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/otelcol-remove-deprecations.yaml b/.chloggen/otelcol-remove-deprecations.yaml
deleted file mode 100644
index 75dbd5313f9..00000000000
--- a/.chloggen/otelcol-remove-deprecations.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# Use this changelog template to create an entry for release notes.
-
-# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
-change_type: breaking
-
-# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
-component: otelcol
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Remove deprecated `ConfigProvider` field from `CollectorSettings`
-
-# One or more tracking issues or pull requests related to the change
-issues: [10281]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/pcommon-string-int64-slices.yaml b/.chloggen/pcommon-string-int64-slices.yaml
deleted file mode 100644
index 9d3171ab671..00000000000
--- a/.chloggen/pcommon-string-int64-slices.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: pdata
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Introduce string and int64 slices to pcommon
-
-# One or more tracking issues or pull requests related to the change
-issues: [10148]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/profiles-pdata.yaml b/.chloggen/profiles-pdata.yaml
deleted file mode 100644
index bd8bf13065d..00000000000
--- a/.chloggen/profiles-pdata.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: pdata
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Introduce generated experimental pdata for profiling signal.
-
-# One or more tracking issues or pull requests related to the change
-issues: [10195]
-
-# (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:
-
-# 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: [api]
diff --git a/.chloggen/remove_top_level_block.yaml b/.chloggen/remove_top_level_block.yaml
deleted file mode 100644
index 811554a7e63..00000000000
--- a/.chloggen/remove_top_level_block.yaml
+++ /dev/null
@@ -1,25 +0,0 @@
-# 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. otlpreceiver)
-component: confmap
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Remove top level condition when considering struct as Unmarshalers
-
-# One or more tracking issues or pull requests related to the change
-issues: [7101]
-
-# (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:
-
-# 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/.chloggen/update-validate-command.yaml b/.chloggen/update-validate-command.yaml
deleted file mode 100644
index db7b435fa56..00000000000
--- a/.chloggen/update-validate-command.yaml
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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. otlpreceiver)
-component: otelcol
-
-# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
-note: Update validate command to use the new configuration options
-
-# One or more tracking issues or pull requests related to the change
-issues: [10203]
-
-# 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: [api]
diff --git a/CHANGELOG-API.md b/CHANGELOG-API.md
index 75d7a0e72fc..3851896f2cd 100644
--- a/CHANGELOG-API.md
+++ b/CHANGELOG-API.md
@@ -7,6 +7,31 @@ If you are looking for user-facing changes, check out [CHANGELOG.md](./CHANGELOG
+## v1.9.0/v0.102.0
+
+### 🛑 Breaking changes 🛑
+
+- `otelcol`: Remove deprecated `ConfigProvider` field from `CollectorSettings` (#10281)
+- `exporterhelper`: remove deprecated RequestMarshaler & RequestUnmarshaler types (#10283)
+- `service`: remove deprecated Telemetry struct and New func (#10285)
+- `configtls`: remove deprecated LoadTLSConfigContext funcs (#10283)
+
+### 🚩 Deprecations 🚩
+
+- `component`: Deprecate `component.UnmarshalConfig`, use `(*confmap.Conf).Unmarshal(&intoCfg)` instead. (#7102)
+- `service/telemetry`: Deprecate telemetry.New in favor of telemetry.NewFactory (#4970)
+
+### 💡 Enhancements 💡
+
+- `confmap`: Allow setting a default Provider on a Resolver to use when `${}` syntax is used without a scheme (#10182)
+- `pdata`: Introduce string and int64 slices to pcommon (#10148)
+- `pdata`: Introduce generated experimental pdata for profiling signal. (#10195)
+- `confmap`: Remove top level condition when considering struct as Unmarshalers (#7101)
+
+### 🧰 Bug fixes 🧰
+
+- `otelcol`: Update validate command to use the new configuration options (#10203)
+
## v1.8.0/v0.101.0
### 🛑 Breaking changes 🛑
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0f738d7b86e..d8aa47185c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,34 @@ If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./
+## v1.9.0/v0.102.0
+
+### 🛑 Breaking changes 🛑
+
+- `envprovider`: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers. (#9531)
+- `confighttp`: Apply MaxRequestBodySize to the result of a decompressed body (#10289)
+ When using compressed payloads, the Collector would verify only the size of the compressed payload.
+ This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change.
+ For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your
+ client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.
+
+
+### 💡 Enhancements 💡
+
+- `mdatagen`: auto-generate utilities to test component telemetry (#19783)
+- `mdatagen`: support setting an AttributeSet for async instruments (#9674)
+- `mdatagen`: support using telemetry level in telemetry builder (#10234)
+ This allows components to set the minimum level needed for them to produce telemetry. By default, this is set to configtelemetry.LevelBasic. If the telemetry level is below that minimum level, then the noop meter is used for metrics.
+- `mdatagen`: add support for bucket boundaries for histograms (#10218)
+- `releases`: add documentation in how to verify the image signatures using cosign (#9610)
+
+### 🧰 Bug fixes 🧰
+
+- `batchprocessor`: ensure attributes are set on cardinality metadata metric (#9674)
+- `batchprocessor`: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 (#10231)
+- `batchprocessor`: respect telemetry level for all metrics (#10234)
+- `exporterhelper`: Fix potential deadlocks in BatcherSender shutdown (#10255)
+
## v1.8.0/v0.101.0
### 💡 Enhancements 💡
diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go
index 400aba4a095..823b2d6d6a6 100644
--- a/cmd/builder/internal/builder/config.go
+++ b/cmd/builder/internal/builder/config.go
@@ -17,7 +17,7 @@ import (
"go.uber.org/zap"
)
-const defaultOtelColVersion = "0.101.0"
+const defaultOtelColVersion = "0.102.0"
// ErrInvalidGoMod indicates an invalid gomod
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")
diff --git a/cmd/builder/internal/config/default.yaml b/cmd/builder/internal/config/default.yaml
index 642c47f39fa..ef856ea9137 100644
--- a/cmd/builder/internal/config/default.yaml
+++ b/cmd/builder/internal/config/default.yaml
@@ -2,32 +2,32 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.101.0-dev
- otelcol_version: 0.101.0
+ version: 0.102.0-dev
+ otelcol_version: 0.102.0
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.101.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
diff --git a/cmd/builder/test/core.builder.yaml b/cmd/builder/test/core.builder.yaml
index 4b2b8722001..cfe24f8e334 100644
--- a/cmd/builder/test/core.builder.yaml
+++ b/cmd/builder/test/core.builder.yaml
@@ -1,20 +1,20 @@
dist:
module: go.opentelemetry.io/collector/builder/test/core
- otelcol_version: 0.101.0
+ otelcol_version: 0.102.0
extensions:
- import: go.opentelemetry.io/collector/extension/zpagesextension
- gomod: go.opentelemetry.io/collector v0.101.0
+ gomod: go.opentelemetry.io/collector v0.102.0
path: ${WORKSPACE_DIR}
receivers:
- import: go.opentelemetry.io/collector/receiver/otlpreceiver
- gomod: go.opentelemetry.io/collector v0.101.0
+ gomod: go.opentelemetry.io/collector v0.102.0
path: ${WORKSPACE_DIR}
exporters:
- import: go.opentelemetry.io/collector/exporter/debugexporter
- gomod: go.opentelemetry.io/collector v0.101.0
+ gomod: go.opentelemetry.io/collector v0.102.0
path: ${WORKSPACE_DIR}
replaces:
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index dc37e40c2ec..8134e9c77d5 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -5,15 +5,15 @@ go 1.21.0
require (
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/filter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/collector/semconv v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/filter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/semconv v0.102.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml
index 5d2c3049764..3f67cc06834 100644
--- a/cmd/otelcorecol/builder-config.yaml
+++ b/cmd/otelcorecol/builder-config.yaml
@@ -2,34 +2,34 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.101.0-dev
- otelcol_version: 0.101.0
+ version: 0.102.0-dev
+ otelcol_version: 0.102.0
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.101.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
replaces:
- go.opentelemetry.io/collector => ../../
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index dfbbf97ac84..2678acaaefc 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -7,33 +7,33 @@ go 1.21.0
toolchain go1.21.10
require (
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.101.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
- go.opentelemetry.io/collector/connector v0.101.0
- go.opentelemetry.io/collector/connector/forwardconnector v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/exporter/debugexporter v0.101.0
- go.opentelemetry.io/collector/exporter/loggingexporter v0.101.0
- go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/extension/ballastextension v0.101.0
- go.opentelemetry.io/collector/extension/memorylimiterextension v0.101.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
- go.opentelemetry.io/collector/otelcol v0.101.0
- go.opentelemetry.io/collector/processor v0.101.0
- go.opentelemetry.io/collector/processor/batchprocessor v0.101.0
- go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/collector/receiver/nopreceiver v0.101.0
- go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
+ go.opentelemetry.io/collector/connector v0.102.0
+ go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
+ go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
+ go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
+ go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
+ go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/extension/ballastextension v0.102.0
+ go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
+ go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
+ go.opentelemetry.io/collector/otelcol v0.102.0
+ go.opentelemetry.io/collector/processor v0.102.0
+ go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
+ go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
+ go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
golang.org/x/sys v0.20.0
)
@@ -79,23 +79,23 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
- go.opentelemetry.io/collector/config/configgrpc v0.101.0 // indirect
- go.opentelemetry.io/collector/config/confighttp v0.101.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configtls v0.101.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
- go.opentelemetry.io/collector/consumer v0.101.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/collector/semconv v0.101.0 // indirect
- go.opentelemetry.io/collector/service v0.101.0 // indirect
+ go.opentelemetry.io/collector v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/configgrpc v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/confighttp v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtls v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.102.0 // indirect
+ go.opentelemetry.io/collector/service v0.102.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go
index ba149146d71..b392b8478ed 100644
--- a/cmd/otelcorecol/main.go
+++ b/cmd/otelcorecol/main.go
@@ -21,7 +21,7 @@ func main() {
info := component.BuildInfo{
Command: "otelcorecol",
Description: "Local OpenTelemetry Collector binary, testing only.",
- Version: "0.101.0-dev",
+ Version: "0.102.0-dev",
}
set := otelcol.CollectorSettings{
diff --git a/component/go.mod b/component/go.mod
index cc94d24633c..1779928a047 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -7,9 +7,9 @@ require (
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/exporters/prometheus v0.49.0
go.opentelemetry.io/otel/metric v1.27.0
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index c74f72787cc..4fb381869be 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -4,9 +4,9 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/extension/auth v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/extension/auth v0.102.0
go.uber.org/goleak v1.3.0
)
@@ -20,9 +20,9 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/trace v1.27.0 // indirect
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index f86bb10bc4c..cca50c4ffc5 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -5,18 +5,18 @@ go 1.21.0
require (
github.com/mostynb/go-grpc-compression v1.2.2
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configauth v0.101.0
- go.opentelemetry.io/collector/config/configcompression v1.8.0
- go.opentelemetry.io/collector/config/confignet v0.101.0
- go.opentelemetry.io/collector/config/configopaque v1.8.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/config/internal v0.101.0
- go.opentelemetry.io/collector/extension/auth v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector/config/configcompression v1.9.0
+ go.opentelemetry.io/collector/config/confignet v0.102.0
+ go.opentelemetry.io/collector/config/configopaque v1.9.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/config/internal v0.102.0
+ go.opentelemetry.io/collector/extension/auth v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
@@ -49,9 +49,9 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index 2014c37d116..c645eac23a6 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -7,16 +7,16 @@ require (
github.com/klauspost/compress v1.17.8
github.com/rs/cors v1.10.1
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configauth v0.101.0
- go.opentelemetry.io/collector/config/configcompression v1.8.0
- go.opentelemetry.io/collector/config/configopaque v1.8.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/config/internal v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/extension/auth v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector/config/configcompression v1.9.0
+ go.opentelemetry.io/collector/config/configopaque v1.9.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/config/internal v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/extension/auth v0.102.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
@@ -45,9 +45,10 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
diff --git a/config/configopaque/go.mod b/config/configopaque/go.mod
index de449cf9f9a..a7e1d8b16fc 100644
--- a/config/configopaque/go.mod
+++ b/config/configopaque/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/config/configtls/go.mod b/config/configtls/go.mod
index f5e97331737..ef6def16a96 100644
--- a/config/configtls/go.mod
+++ b/config/configtls/go.mod
@@ -5,7 +5,7 @@ go 1.21.0
require (
github.com/fsnotify/fsnotify v1.7.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/config/configopaque v1.8.0
+ go.opentelemetry.io/collector/config/configopaque v1.9.0
)
require (
diff --git a/config/internal/go.mod b/config/internal/go.mod
index 73bb4ff389a..58a6cd39ea3 100644
--- a/config/internal/go.mod
+++ b/config/internal/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
+ go.opentelemetry.io/collector v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -13,7 +13,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
diff --git a/confmap/converter/expandconverter/go.mod b/confmap/converter/expandconverter/go.mod
index 0e772edf1ea..a07898765bf 100644
--- a/confmap/converter/expandconverter/go.mod
+++ b/confmap/converter/expandconverter/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/envprovider/go.mod b/confmap/provider/envprovider/go.mod
index 1b2d7a39ca1..6149ddd9f90 100644
--- a/confmap/provider/envprovider/go.mod
+++ b/confmap/provider/envprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/fileprovider/go.mod b/confmap/provider/fileprovider/go.mod
index 1d71b8fc838..3957af3d889 100644
--- a/confmap/provider/fileprovider/go.mod
+++ b/confmap/provider/fileprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpprovider/go.mod b/confmap/provider/httpprovider/go.mod
index 00ee22ac3ab..fb3bb4c2564 100644
--- a/confmap/provider/httpprovider/go.mod
+++ b/confmap/provider/httpprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpsprovider/go.mod b/confmap/provider/httpsprovider/go.mod
index 1ae5ccca81a..56d3a32d68b 100644
--- a/confmap/provider/httpsprovider/go.mod
+++ b/confmap/provider/httpsprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/yamlprovider/go.mod b/confmap/provider/yamlprovider/go.mod
index cfbf67c2e5f..8cdfedac27e 100644
--- a/confmap/provider/yamlprovider/go.mod
+++ b/confmap/provider/yamlprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
)
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index 443095c5ab0..ff8290dedfd 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -4,11 +4,11 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/connector v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/connector v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/connector/go.mod b/connector/go.mod
index 8e1fe0f62b8..79ea896c9e2 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -5,11 +5,11 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -36,8 +36,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/consumer/go.mod b/consumer/go.mod
index 5cef78aa64f..95294696e4c 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -4,8 +4,8 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.uber.org/goleak v1.3.0
)
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 1abf5c7a3eb..9d13f07b4ce 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -4,13 +4,13 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -38,10 +38,10 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/receiver v0.101.0 // indirect
+ go.opentelemetry.io/collector v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/go.mod b/exporter/go.mod
index 997091a8dec..dcb56b9c0a6 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -6,15 +6,15 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configretry v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configretry v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk v1.27.0
@@ -48,7 +48,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/text v0.15.0 // indirect
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 628494b5fb4..9797bcbfb54 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -5,11 +5,11 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -37,11 +37,11 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.101.0 // indirect
- go.opentelemetry.io/collector/consumer v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/receiver v0.101.0 // indirect
+ go.opentelemetry.io/collector v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index f289328e42e..8a6bbb8d2db 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -4,11 +4,11 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/receiver v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index fef731c2799..49ba938a326 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -4,19 +4,19 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configauth v0.101.0
- go.opentelemetry.io/collector/config/configcompression v1.8.0
- go.opentelemetry.io/collector/config/configgrpc v0.101.0
- go.opentelemetry.io/collector/config/configopaque v1.8.0
- go.opentelemetry.io/collector/config/configretry v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector/config/configcompression v1.9.0
+ go.opentelemetry.io/collector/config/configgrpc v0.102.0
+ go.opentelemetry.io/collector/config/configopaque v1.9.0
+ go.opentelemetry.io/collector/config/configretry v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
@@ -53,13 +53,13 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/collector/receiver v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index b129049ffe9..872a6c4820a 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -4,17 +4,17 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configcompression v1.8.0
- go.opentelemetry.io/collector/config/confighttp v0.101.0
- go.opentelemetry.io/collector/config/configopaque v1.8.0
- go.opentelemetry.io/collector/config/configretry v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configcompression v1.9.0
+ go.opentelemetry.io/collector/config/confighttp v0.102.0
+ go.opentelemetry.io/collector/config/configopaque v1.9.0
+ go.opentelemetry.io/collector/config/configretry v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
@@ -52,13 +52,13 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
- go.opentelemetry.io/collector/receiver v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index 1696b175848..03b8df9e7ec 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -4,8 +4,8 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
go.uber.org/goleak v1.3.0
google.golang.org/grpc v1.64.0
)
@@ -28,9 +28,9 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index 387edf602f4..ece09b10a0d 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -5,10 +5,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -39,8 +39,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/extension/go.mod b/extension/go.mod
index 325ec326913..4c0f8a46acc 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -5,8 +5,8 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
go.uber.org/goleak v1.3.0
)
@@ -28,8 +28,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 668e5b2179e..47b1513cc01 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -38,8 +38,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 9b52ad698d1..5907cb0e5df 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -4,11 +4,11 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/confignet v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/confignet v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
go.opentelemetry.io/contrib/zpages v0.52.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
@@ -37,8 +37,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
diff --git a/filter/go.mod b/filter/go.mod
index 67969dc0f6c..144bedf107c 100644
--- a/filter/go.mod
+++ b/filter/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.101.0
+ go.opentelemetry.io/collector/confmap v0.102.0
)
require (
diff --git a/go.mod b/go.mod
index df749db418d..b943394f1d9 100644
--- a/go.mod
+++ b/go.mod
@@ -5,12 +5,12 @@ go 1.21.0
require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/featuregate v1.8.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/featuregate v1.9.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.opentelemetry.io/contrib/config v0.7.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
@@ -48,7 +48,7 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index fd679a676c3..5bcd2da7ac7 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -4,19 +4,19 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configgrpc v0.101.0
- go.opentelemetry.io/collector/config/confighttp v0.101.0
- go.opentelemetry.io/collector/config/configretry v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configgrpc v0.102.0
+ go.opentelemetry.io/collector/config/confighttp v0.102.0
+ go.opentelemetry.io/collector/config/configretry v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -52,16 +52,16 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
diff --git a/otelcol/go.mod b/otelcol/go.mod
index af023d98085..178b52042a8 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -5,22 +5,22 @@ go 1.21.0
require (
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.101.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.101.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.101.0
- go.opentelemetry.io/collector/connector v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/featuregate v1.8.0
- go.opentelemetry.io/collector/processor v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/collector/service v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
+ go.opentelemetry.io/collector/connector v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/featuregate v1.9.0
+ go.opentelemetry.io/collector/processor v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/service v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -67,11 +67,11 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.101.0 // indirect
- go.opentelemetry.io/collector/consumer v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
- go.opentelemetry.io/collector/semconv v0.101.0 // indirect
+ go.opentelemetry.io/collector v0.102.0 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.102.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.27.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/pdata/pprofile/go.mod b/pdata/pprofile/go.mod
index 570b7439844..f3a7ba1375e 100644
--- a/pdata/pprofile/go.mod
+++ b/pdata/pprofile/go.mod
@@ -6,7 +6,7 @@ toolchain go1.21.10
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector/pdata v1.9.0
)
require (
diff --git a/pdata/testdata/go.mod b/pdata/testdata/go.mod
index b381445e434..547a6ba16e3 100644
--- a/pdata/testdata/go.mod
+++ b/pdata/testdata/go.mod
@@ -2,7 +2,7 @@ module go.opentelemetry.io/collector/pdata/testdata
go 1.21.0
-require go.opentelemetry.io/collector/pdata v1.8.0
+require go.opentelemetry.io/collector/pdata v1.9.0
require (
github.com/gogo/protobuf v1.3.2 // indirect
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index 4690e1a9928..b488e925549 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -4,14 +4,14 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/collector/processor v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/processor v0.102.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
diff --git a/processor/go.mod b/processor/go.mod
index 070736d6e2b..0ed3bec0590 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -5,12 +5,12 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
@@ -40,7 +40,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index 3af1f43fadf..9962cdcef09 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -4,12 +4,12 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/processor v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/processor v0.102.0
go.uber.org/goleak v1.3.0
)
@@ -42,8 +42,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.101.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/receiver/go.mod b/receiver/go.mod
index ce8458b646a..c9116c4966e 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -5,11 +5,11 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk v1.27.0
@@ -41,7 +41,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.101.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index c9dcd311aa3..2ef1c1b7bbf 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
go.uber.org/goleak v1.3.0
)
@@ -33,8 +33,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/pdata v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 60edd412c1a..779a0e15731 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -6,17 +6,17 @@ require (
github.com/gogo/protobuf v1.3.2
github.com/klauspost/compress v1.17.8
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/configgrpc v0.101.0
- go.opentelemetry.io/collector/config/confighttp v0.101.0
- go.opentelemetry.io/collector/config/confignet v0.101.0
- go.opentelemetry.io/collector/config/configtls v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/configgrpc v0.102.0
+ go.opentelemetry.io/collector/config/confighttp v0.102.0
+ go.opentelemetry.io/collector/config/confignet v0.102.0
+ go.opentelemetry.io/collector/config/configtls v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
@@ -53,14 +53,14 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.101.0 // indirect
- go.opentelemetry.io/collector/config/configcompression v1.8.0 // indirect
- go.opentelemetry.io/collector/config/configopaque v1.8.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.101.0 // indirect
- go.opentelemetry.io/collector/extension v0.101.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.101.0 // indirect
- go.opentelemetry.io/collector/featuregate v1.8.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
diff --git a/service/go.mod b/service/go.mod
index 8936dad92f7..940b05d726e 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -10,22 +10,22 @@ require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
go.opencensus.io v0.24.0
- go.opentelemetry.io/collector v0.101.0
- go.opentelemetry.io/collector/component v0.101.0
- go.opentelemetry.io/collector/config/confignet v0.101.0
- go.opentelemetry.io/collector/config/configtelemetry v0.101.0
- go.opentelemetry.io/collector/confmap v0.101.0
- go.opentelemetry.io/collector/connector v0.101.0
- go.opentelemetry.io/collector/consumer v0.101.0
- go.opentelemetry.io/collector/exporter v0.101.0
- go.opentelemetry.io/collector/extension v0.101.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.101.0
- go.opentelemetry.io/collector/featuregate v1.8.0
- go.opentelemetry.io/collector/pdata v1.8.0
- go.opentelemetry.io/collector/pdata/testdata v0.101.0
- go.opentelemetry.io/collector/processor v0.101.0
- go.opentelemetry.io/collector/receiver v0.101.0
- go.opentelemetry.io/collector/semconv v0.101.0
+ go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector/config/confignet v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/connector v0.102.0
+ go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
+ go.opentelemetry.io/collector/featuregate v1.9.0
+ go.opentelemetry.io/collector/pdata v1.9.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/processor v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/semconv v0.102.0
go.opentelemetry.io/contrib/config v0.7.0
go.opentelemetry.io/contrib/propagators/b3 v1.27.0
go.opentelemetry.io/otel v1.27.0
diff --git a/versions.yaml b/versions.yaml
index 53adcb6b4f8..19cb0df39a0 100644
--- a/versions.yaml
+++ b/versions.yaml
@@ -3,14 +3,14 @@
module-sets:
stable:
- version: v1.8.0
+ version: v1.9.0
modules:
- go.opentelemetry.io/collector/featuregate
- go.opentelemetry.io/collector/pdata
- go.opentelemetry.io/collector/config/configopaque
- go.opentelemetry.io/collector/config/configcompression
beta:
- version: v0.101.0
+ version: v0.102.0
modules:
- go.opentelemetry.io/collector
- go.opentelemetry.io/collector/cmd/builder
From 63b2b7cb775b5f7a36d58dd35976afe0d3a29613 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Wed, 5 Jun 2024 13:48:00 +0000
Subject: [PATCH 108/111] [chore] update go to 1.21.11/1.22.4 (#10321) (#10325)
Backport of #10321
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
---
.github/workflows/build-and-test-arm.yml | 2 +-
.github/workflows/build-and-test.yml | 14 +++++++-------
.github/workflows/tidy-dependencies.yml | 2 +-
cmd/otelcorecol/go.mod | 2 +-
pdata/pprofile/go.mod | 2 +-
5 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/build-and-test-arm.yml b/.github/workflows/build-and-test-arm.yml
index 1729c3ec69b..6eae718ca9a 100644
--- a/.github/workflows/build-and-test-arm.yml
+++ b/.github/workflows/build-and-test-arm.yml
@@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: "~1.22.3"
+ go-version: "~1.22.4"
cache: false
- name: Cache Go
id: go-cache
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 9e48709b2ad..7d238d9aaeb 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -22,7 +22,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
@@ -45,7 +45,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
@@ -69,7 +69,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
@@ -94,7 +94,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
@@ -141,7 +141,7 @@ jobs:
strategy:
matrix:
runner: [ubuntu-latest]
- go-version: ["~1.22", "~1.21.10"] # 1.20 needs quotes otherwise it's interpreted as 1.2
+ go-version: ["~1.22", "~1.21.11"] # 1.20 needs quotes otherwise it's interpreted as 1.2
runs-on: ${{ matrix.runner }}
needs: [setup-environment]
steps:
@@ -201,7 +201,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
@@ -263,7 +263,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml
index 1cf7b52e623..fd462b79e1d 100644
--- a/.github/workflows/tidy-dependencies.yml
+++ b/.github/workflows/tidy-dependencies.yml
@@ -21,7 +21,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
- go-version: ~1.21.10
+ go-version: ~1.21.11
cache: false
- name: Cache Go
id: go-cache
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index 2678acaaefc..d287217ea4d 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -4,7 +4,7 @@ module go.opentelemetry.io/collector/cmd/otelcorecol
go 1.21.0
-toolchain go1.21.10
+toolchain go1.21.11
require (
go.opentelemetry.io/collector/component v0.102.0
diff --git a/pdata/pprofile/go.mod b/pdata/pprofile/go.mod
index f3a7ba1375e..76e0d91d9ad 100644
--- a/pdata/pprofile/go.mod
+++ b/pdata/pprofile/go.mod
@@ -2,7 +2,7 @@ module go.opentelemetry.io/collector/pdata/pprofile
go 1.21.0
-toolchain go1.21.10
+toolchain go1.21.11
require (
github.com/stretchr/testify v1.9.0
From 714289e5e5d654c7def2dd3b877b918ccc0b28a9 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Wed, 5 Jun 2024 13:49:59 +0000
Subject: [PATCH 109/111] [configgrpc] Use own compressors for zstd (#10323)
(#10324)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Backport of #10323
Signed-off-by: Juraci Paixão Kröhling
Co-authored-by: Juraci Paixão Kröhling
---
...nfiggrpc-use-own-compressors-for-zstd.yaml | 13 +++
config/configgrpc/configgrpc.go | 4 +-
.../configgrpc/configgrpc_benchmark_test.go | 4 +-
config/configgrpc/go.mod | 2 +-
config/configgrpc/internal/zstd.go | 83 +++++++++++++++++++
config/configgrpc/internal/zstd_test.go | 41 +++++++++
receiver/otlpreceiver/otlp_test.go | 3 +-
7 files changed, 144 insertions(+), 6 deletions(-)
create mode 100644 .chloggen/jpkroehling-configgrpc-use-own-compressors-for-zstd.yaml
create mode 100644 config/configgrpc/internal/zstd.go
create mode 100644 config/configgrpc/internal/zstd_test.go
diff --git a/.chloggen/jpkroehling-configgrpc-use-own-compressors-for-zstd.yaml b/.chloggen/jpkroehling-configgrpc-use-own-compressors-for-zstd.yaml
new file mode 100644
index 00000000000..a04c4f89012
--- /dev/null
+++ b/.chloggen/jpkroehling-configgrpc-use-own-compressors-for-zstd.yaml
@@ -0,0 +1,13 @@
+# 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. otlpreceiver)
+component: Use own compressors for zstd
+
+# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
+note: Before this change, the zstd compressor we used didn't respect the max message size.
+
+# One or more tracking issues or pull requests related to the change
+issues: [10323]
diff --git a/config/configgrpc/configgrpc.go b/config/configgrpc/configgrpc.go
index 98d428857ce..b57a199461c 100644
--- a/config/configgrpc/configgrpc.go
+++ b/config/configgrpc/configgrpc.go
@@ -12,7 +12,6 @@ import (
"time"
"github.com/mostynb/go-grpc-compression/nonclobbering/snappy"
- "github.com/mostynb/go-grpc-compression/nonclobbering/zstd"
"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
"go.opentelemetry.io/otel"
"google.golang.org/grpc"
@@ -28,6 +27,7 @@ import (
"go.opentelemetry.io/collector/component"
"go.opentelemetry.io/collector/config/configauth"
"go.opentelemetry.io/collector/config/configcompression"
+ grpcInternal "go.opentelemetry.io/collector/config/configgrpc/internal"
"go.opentelemetry.io/collector/config/confignet"
"go.opentelemetry.io/collector/config/configopaque"
"go.opentelemetry.io/collector/config/configtelemetry"
@@ -426,7 +426,7 @@ func getGRPCCompressionName(compressionType configcompression.Type) (string, err
case configcompression.TypeSnappy:
return snappy.Name, nil
case configcompression.TypeZstd:
- return zstd.Name, nil
+ return grpcInternal.ZstdName, nil
default:
return "", fmt.Errorf("unsupported compression type %q", compressionType)
}
diff --git a/config/configgrpc/configgrpc_benchmark_test.go b/config/configgrpc/configgrpc_benchmark_test.go
index 1ad755f2b4f..3254655e9ec 100644
--- a/config/configgrpc/configgrpc_benchmark_test.go
+++ b/config/configgrpc/configgrpc_benchmark_test.go
@@ -10,12 +10,12 @@ import (
"testing"
"github.com/mostynb/go-grpc-compression/nonclobbering/snappy"
- "github.com/mostynb/go-grpc-compression/nonclobbering/zstd"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/encoding"
"google.golang.org/grpc/encoding/gzip"
"google.golang.org/grpc/status"
+ "go.opentelemetry.io/collector/config/configgrpc/internal"
"go.opentelemetry.io/collector/pdata/plog"
"go.opentelemetry.io/collector/pdata/pmetric"
"go.opentelemetry.io/collector/pdata/ptrace"
@@ -27,7 +27,7 @@ func BenchmarkCompressors(b *testing.B) {
compressors := make([]encoding.Compressor, 0)
compressors = append(compressors, encoding.GetCompressor(gzip.Name))
- compressors = append(compressors, encoding.GetCompressor(zstd.Name))
+ compressors = append(compressors, encoding.GetCompressor(internal.ZstdName))
compressors = append(compressors, encoding.GetCompressor(snappy.Name))
for _, payload := range payloads {
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index cca50c4ffc5..960a0d96376 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -3,6 +3,7 @@ module go.opentelemetry.io/collector/config/configgrpc
go 1.21.0
require (
+ github.com/klauspost/compress v1.17.2
github.com/mostynb/go-grpc-compression v1.2.2
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector v0.102.0
@@ -36,7 +37,6 @@ require (
github.com/golang/snappy v0.0.4 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
- github.com/klauspost/compress v1.17.2 // 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.1 // indirect
diff --git a/config/configgrpc/internal/zstd.go b/config/configgrpc/internal/zstd.go
new file mode 100644
index 00000000000..0718b73535f
--- /dev/null
+++ b/config/configgrpc/internal/zstd.go
@@ -0,0 +1,83 @@
+// Copyright The OpenTelemetry Authors
+// Copyright 2017 gRPC authors
+// SPDX-License-Identifier: Apache-2.0
+
+package internal // import "go.opentelemetry.io/collector/config/configgrpc/internal"
+
+import (
+ "errors"
+ "io"
+ "sync"
+
+ "github.com/klauspost/compress/zstd"
+ "google.golang.org/grpc/encoding"
+)
+
+const ZstdName = "zstd"
+
+func init() {
+ encoding.RegisterCompressor(NewZstdCodec())
+}
+
+type writer struct {
+ *zstd.Encoder
+ pool *sync.Pool
+}
+
+func NewZstdCodec() encoding.Compressor {
+ c := &compressor{}
+ c.poolCompressor.New = func() any {
+ zw, _ := zstd.NewWriter(nil, zstd.WithEncoderConcurrency(1), zstd.WithWindowSize(512*1024))
+ return &writer{Encoder: zw, pool: &c.poolCompressor}
+ }
+ return c
+}
+
+func (c *compressor) Compress(w io.Writer) (io.WriteCloser, error) {
+ z := c.poolCompressor.Get().(*writer)
+ z.Encoder.Reset(w)
+ return z, nil
+}
+
+func (z *writer) Close() error {
+ defer z.pool.Put(z)
+ return z.Encoder.Close()
+}
+
+type reader struct {
+ *zstd.Decoder
+ pool *sync.Pool
+}
+
+func (c *compressor) Decompress(r io.Reader) (io.Reader, error) {
+ z, inPool := c.poolDecompressor.Get().(*reader)
+ if !inPool {
+ newZ, err := zstd.NewReader(r)
+ if err != nil {
+ return nil, err
+ }
+ return &reader{Decoder: newZ, pool: &c.poolDecompressor}, nil
+ }
+ if err := z.Reset(r); err != nil {
+ c.poolDecompressor.Put(z)
+ return nil, err
+ }
+ return z, nil
+}
+
+func (z *reader) Read(p []byte) (n int, err error) {
+ n, err = z.Decoder.Read(p)
+ if errors.Is(err, io.EOF) {
+ z.pool.Put(z)
+ }
+ return n, err
+}
+
+func (c *compressor) Name() string {
+ return ZstdName
+}
+
+type compressor struct {
+ poolCompressor sync.Pool
+ poolDecompressor sync.Pool
+}
diff --git a/config/configgrpc/internal/zstd_test.go b/config/configgrpc/internal/zstd_test.go
new file mode 100644
index 00000000000..e16336c8ccb
--- /dev/null
+++ b/config/configgrpc/internal/zstd_test.go
@@ -0,0 +1,41 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package internal
+
+import (
+ "bytes"
+ "io"
+ "testing"
+
+ "github.com/stretchr/testify/require"
+)
+
+func Test_zstdCodec_CompressDecompress(t *testing.T) {
+ // prepare
+ msg := []byte("Hello world.")
+ compressed := &bytes.Buffer{}
+
+ // zstd header, for sanity checking
+ header := []byte{40, 181, 47, 253}
+
+ c := NewZstdCodec()
+ cWriter, err := c.Compress(compressed)
+ require.NoError(t, err)
+ require.NotNil(t, cWriter)
+
+ _, err = cWriter.Write(msg)
+ require.NoError(t, err)
+ cWriter.Close()
+
+ cReader, err := c.Decompress(compressed)
+ require.NoError(t, err)
+ require.NotNil(t, cReader)
+
+ uncompressed, err := io.ReadAll(cReader)
+ require.NoError(t, err)
+ require.Equal(t, msg, uncompressed)
+
+ // test header
+ require.Equal(t, header, compressed.Bytes()[:4])
+}
diff --git a/receiver/otlpreceiver/otlp_test.go b/receiver/otlpreceiver/otlp_test.go
index 51f99bb4cb8..14eecbcdac1 100644
--- a/receiver/otlpreceiver/otlp_test.go
+++ b/receiver/otlpreceiver/otlp_test.go
@@ -726,7 +726,8 @@ func TestGRPCMaxRecvSize(t *testing.T) {
require.NoError(t, err)
td := testdata.GenerateTraces(50000)
- require.Error(t, exportTraces(cc, td))
+ err = exportTraces(cc, td)
+ require.Error(t, err)
assert.NoError(t, cc.Close())
require.NoError(t, recv.Shutdown(context.Background()))
From 98af6cef64afed833372bf38dca6e9079a710867 Mon Sep 17 00:00:00 2001
From: Pablo Baeyens
Date: Thu, 6 Jun 2024 02:03:09 +1200
Subject: [PATCH 110/111] prepare release 0.102.1 (#10326)
#### Description
Step 2 of release process
> Make sure you are on release/. Prepare release commits
with prepare-release make target, e.g. make prepare-release
PREVIOUS_VERSION=0.90.0 RELEASE_CANDIDATE=0.90.1 MODSET=beta, and create
a pull request against the release/ branch.
---
cmd/builder/internal/builder/config.go | 2 +-
cmd/builder/internal/config/default.yaml | 40 ++++++------
cmd/builder/test/core.builder.yaml | 8 +--
cmd/mdatagen/go.mod | 16 ++---
cmd/otelcorecol/builder-config.yaml | 40 ++++++------
cmd/otelcorecol/go.mod | 80 ++++++++++++------------
cmd/otelcorecol/main.go | 2 +-
component/go.mod | 4 +-
config/configauth/go.mod | 10 +--
config/configgrpc/go.mod | 22 +++----
config/confighttp/go.mod | 20 +++---
config/configopaque/go.mod | 2 +-
config/internal/go.mod | 2 +-
confmap/converter/expandconverter/go.mod | 2 +-
confmap/provider/envprovider/go.mod | 2 +-
confmap/provider/fileprovider/go.mod | 2 +-
confmap/provider/httpprovider/go.mod | 2 +-
confmap/provider/httpsprovider/go.mod | 2 +-
confmap/provider/yamlprovider/go.mod | 2 +-
connector/forwardconnector/go.mod | 12 ++--
connector/go.mod | 12 ++--
consumer/go.mod | 2 +-
exporter/debugexporter/go.mod | 20 +++---
exporter/go.mod | 18 +++---
exporter/loggingexporter/go.mod | 18 +++---
exporter/nopexporter/go.mod | 12 ++--
exporter/otlpexporter/go.mod | 32 +++++-----
exporter/otlphttpexporter/go.mod | 28 ++++-----
extension/auth/go.mod | 8 +--
extension/ballastextension/go.mod | 10 +--
extension/go.mod | 6 +-
extension/memorylimiterextension/go.mod | 10 +--
extension/zpagesextension/go.mod | 12 ++--
filter/go.mod | 2 +-
go.mod | 10 +--
internal/e2e/go.mod | 34 +++++-----
otelcol/go.mod | 38 +++++------
processor/batchprocessor/go.mod | 14 ++---
processor/go.mod | 12 ++--
processor/memorylimiterprocessor/go.mod | 14 ++---
receiver/go.mod | 10 +--
receiver/nopreceiver/go.mod | 10 +--
receiver/otlpreceiver/go.mod | 30 ++++-----
service/go.mod | 28 ++++-----
versions.yaml | 2 +-
45 files changed, 332 insertions(+), 332 deletions(-)
diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go
index 823b2d6d6a6..98cd9213d2f 100644
--- a/cmd/builder/internal/builder/config.go
+++ b/cmd/builder/internal/builder/config.go
@@ -17,7 +17,7 @@ import (
"go.uber.org/zap"
)
-const defaultOtelColVersion = "0.102.0"
+const defaultOtelColVersion = "0.102.1"
// ErrInvalidGoMod indicates an invalid gomod
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")
diff --git a/cmd/builder/internal/config/default.yaml b/cmd/builder/internal/config/default.yaml
index ef856ea9137..f4e1f908b94 100644
--- a/cmd/builder/internal/config/default.yaml
+++ b/cmd/builder/internal/config/default.yaml
@@ -2,32 +2,32 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.102.0-dev
- otelcol_version: 0.102.0
+ version: 0.102.1-dev
+ otelcol_version: 0.102.1
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.1
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.1
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.1
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.1
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.1
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.1
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.1
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.1
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.1
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.1
diff --git a/cmd/builder/test/core.builder.yaml b/cmd/builder/test/core.builder.yaml
index cfe24f8e334..e4abafd2800 100644
--- a/cmd/builder/test/core.builder.yaml
+++ b/cmd/builder/test/core.builder.yaml
@@ -1,20 +1,20 @@
dist:
module: go.opentelemetry.io/collector/builder/test/core
- otelcol_version: 0.102.0
+ otelcol_version: 0.102.1
extensions:
- import: go.opentelemetry.io/collector/extension/zpagesextension
- gomod: go.opentelemetry.io/collector v0.102.0
+ gomod: go.opentelemetry.io/collector v0.102.1
path: ${WORKSPACE_DIR}
receivers:
- import: go.opentelemetry.io/collector/receiver/otlpreceiver
- gomod: go.opentelemetry.io/collector v0.102.0
+ gomod: go.opentelemetry.io/collector v0.102.1
path: ${WORKSPACE_DIR}
exporters:
- import: go.opentelemetry.io/collector/exporter/debugexporter
- gomod: go.opentelemetry.io/collector v0.102.0
+ gomod: go.opentelemetry.io/collector v0.102.1
path: ${WORKSPACE_DIR}
replaces:
diff --git a/cmd/mdatagen/go.mod b/cmd/mdatagen/go.mod
index 8134e9c77d5..a4193aedcc9 100644
--- a/cmd/mdatagen/go.mod
+++ b/cmd/mdatagen/go.mod
@@ -5,15 +5,15 @@ go 1.21.0
require (
github.com/google/go-cmp v0.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/filter v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/filter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/receiver v0.102.0
- go.opentelemetry.io/collector/semconv v0.102.0
+ go.opentelemetry.io/collector/receiver v0.102.1
+ go.opentelemetry.io/collector/semconv v0.102.1
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml
index 3f67cc06834..2a1390befe3 100644
--- a/cmd/otelcorecol/builder-config.yaml
+++ b/cmd/otelcorecol/builder-config.yaml
@@ -2,34 +2,34 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
- version: 0.102.0-dev
- otelcol_version: 0.102.0
+ version: 0.102.1-dev
+ otelcol_version: 0.102.1
receivers:
- - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
- - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
+ - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.102.1
+ - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.1
exporters:
- - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
- - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
+ - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.102.1
+ - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.1
extensions:
- - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.0
- - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
- - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
+ - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.102.1
+ - gomod: go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.1
+ - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.102.1
processors:
- - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
- - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
+ - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.102.1
+ - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.1
connectors:
- - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
+ - gomod: go.opentelemetry.io/collector/connector/forwardconnector v0.102.1
providers:
- - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
- - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
+ - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.1
+ - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.1
replaces:
- go.opentelemetry.io/collector => ../../
diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod
index d287217ea4d..92ad5205864 100644
--- a/cmd/otelcorecol/go.mod
+++ b/cmd/otelcorecol/go.mod
@@ -7,33 +7,33 @@ go 1.21.0
toolchain go1.21.11
require (
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
- go.opentelemetry.io/collector/connector v0.102.0
- go.opentelemetry.io/collector/connector/forwardconnector v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
- go.opentelemetry.io/collector/exporter/debugexporter v0.102.0
- go.opentelemetry.io/collector/exporter/loggingexporter v0.102.0
- go.opentelemetry.io/collector/exporter/nopexporter v0.102.0
- go.opentelemetry.io/collector/exporter/otlpexporter v0.102.0
- go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
- go.opentelemetry.io/collector/extension/ballastextension v0.102.0
- go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
- go.opentelemetry.io/collector/otelcol v0.102.0
- go.opentelemetry.io/collector/processor v0.102.0
- go.opentelemetry.io/collector/processor/batchprocessor v0.102.0
- go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
- go.opentelemetry.io/collector/receiver/nopreceiver v0.102.0
- go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.1
+ go.opentelemetry.io/collector/connector v0.102.1
+ go.opentelemetry.io/collector/connector/forwardconnector v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
+ go.opentelemetry.io/collector/exporter/debugexporter v0.102.1
+ go.opentelemetry.io/collector/exporter/loggingexporter v0.102.1
+ go.opentelemetry.io/collector/exporter/nopexporter v0.102.1
+ go.opentelemetry.io/collector/exporter/otlpexporter v0.102.1
+ go.opentelemetry.io/collector/exporter/otlphttpexporter v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
+ go.opentelemetry.io/collector/extension/ballastextension v0.102.1
+ go.opentelemetry.io/collector/extension/memorylimiterextension v0.102.1
+ go.opentelemetry.io/collector/extension/zpagesextension v0.102.1
+ go.opentelemetry.io/collector/otelcol v0.102.1
+ go.opentelemetry.io/collector/processor v0.102.1
+ go.opentelemetry.io/collector/processor/batchprocessor v0.102.1
+ go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
+ go.opentelemetry.io/collector/receiver/nopreceiver v0.102.1
+ go.opentelemetry.io/collector/receiver/otlpreceiver v0.102.1
golang.org/x/sys v0.20.0
)
@@ -79,23 +79,23 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.1 // indirect
go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
- go.opentelemetry.io/collector/config/configgrpc v0.102.0 // indirect
- go.opentelemetry.io/collector/config/confighttp v0.102.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configgrpc v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/confighttp v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.1 // indirect
go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configtls v0.102.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
- go.opentelemetry.io/collector/consumer v0.102.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configtls v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.1 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
- go.opentelemetry.io/collector/semconv v0.102.0 // indirect
- go.opentelemetry.io/collector/service v0.102.0 // indirect
+ go.opentelemetry.io/collector/semconv v0.102.1 // indirect
+ go.opentelemetry.io/collector/service v0.102.1 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go
index b392b8478ed..8d43a502790 100644
--- a/cmd/otelcorecol/main.go
+++ b/cmd/otelcorecol/main.go
@@ -21,7 +21,7 @@ func main() {
info := component.BuildInfo{
Command: "otelcorecol",
Description: "Local OpenTelemetry Collector binary, testing only.",
- Version: "0.102.0-dev",
+ Version: "0.102.1-dev",
}
set := otelcol.CollectorSettings{
diff --git a/component/go.mod b/component/go.mod
index 1779928a047..1f71442d7bc 100644
--- a/component/go.mod
+++ b/component/go.mod
@@ -7,8 +7,8 @@ require (
github.com/prometheus/client_model v0.6.1
github.com/prometheus/common v0.53.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/exporters/prometheus v0.49.0
diff --git a/config/configauth/go.mod b/config/configauth/go.mod
index 4fb381869be..74e02545163 100644
--- a/config/configauth/go.mod
+++ b/config/configauth/go.mod
@@ -4,9 +4,9 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
- go.opentelemetry.io/collector/extension/auth v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
+ go.opentelemetry.io/collector/extension/auth v0.102.1
go.uber.org/goleak v1.3.0
)
@@ -20,8 +20,8 @@ require (
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/config/configgrpc/go.mod b/config/configgrpc/go.mod
index 960a0d96376..b85e090a6dc 100644
--- a/config/configgrpc/go.mod
+++ b/config/configgrpc/go.mod
@@ -6,18 +6,18 @@ require (
github.com/klauspost/compress v1.17.2
github.com/mostynb/go-grpc-compression v1.2.2
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configauth v0.102.1
go.opentelemetry.io/collector/config/configcompression v1.9.0
- go.opentelemetry.io/collector/config/confignet v0.102.0
+ go.opentelemetry.io/collector/config/confignet v0.102.1
go.opentelemetry.io/collector/config/configopaque v1.9.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/config/internal v0.102.0
- go.opentelemetry.io/collector/extension/auth v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/config/internal v0.102.1
+ go.opentelemetry.io/collector/extension/auth v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
@@ -49,8 +49,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index c645eac23a6..a45afd2c48f 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -7,16 +7,16 @@ require (
github.com/klauspost/compress v1.17.8
github.com/rs/cors v1.10.1
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configauth v0.102.1
go.opentelemetry.io/collector/config/configcompression v1.9.0
go.opentelemetry.io/collector/config/configopaque v1.9.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/config/internal v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
- go.opentelemetry.io/collector/extension/auth v0.102.0
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/config/internal v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
+ go.opentelemetry.io/collector/extension/auth v0.102.1
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0
go.opentelemetry.io/otel v1.27.0
go.uber.org/goleak v1.3.0
@@ -45,8 +45,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/config/configopaque/go.mod b/config/configopaque/go.mod
index a7e1d8b16fc..c630c49e211 100644
--- a/config/configopaque/go.mod
+++ b/config/configopaque/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/config/internal/go.mod b/config/internal/go.mod
index 58a6cd39ea3..bc1c7f91db0 100644
--- a/config/internal/go.mod
+++ b/config/internal/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
+ go.opentelemetry.io/collector v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/converter/expandconverter/go.mod b/confmap/converter/expandconverter/go.mod
index a07898765bf..1ebfb017ef5 100644
--- a/confmap/converter/expandconverter/go.mod
+++ b/confmap/converter/expandconverter/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/envprovider/go.mod b/confmap/provider/envprovider/go.mod
index 6149ddd9f90..8a63caa16aa 100644
--- a/confmap/provider/envprovider/go.mod
+++ b/confmap/provider/envprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
diff --git a/confmap/provider/fileprovider/go.mod b/confmap/provider/fileprovider/go.mod
index 3957af3d889..1cd1b19ae89 100644
--- a/confmap/provider/fileprovider/go.mod
+++ b/confmap/provider/fileprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpprovider/go.mod b/confmap/provider/httpprovider/go.mod
index fb3bb4c2564..98635b9e38a 100644
--- a/confmap/provider/httpprovider/go.mod
+++ b/confmap/provider/httpprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/httpsprovider/go.mod b/confmap/provider/httpsprovider/go.mod
index 56d3a32d68b..db706391d33 100644
--- a/confmap/provider/httpsprovider/go.mod
+++ b/confmap/provider/httpsprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
)
diff --git a/confmap/provider/yamlprovider/go.mod b/confmap/provider/yamlprovider/go.mod
index 8cdfedac27e..0c95589e241 100644
--- a/confmap/provider/yamlprovider/go.mod
+++ b/confmap/provider/yamlprovider/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
)
diff --git a/connector/forwardconnector/go.mod b/connector/forwardconnector/go.mod
index ff8290dedfd..ad54a54ee28 100644
--- a/connector/forwardconnector/go.mod
+++ b/connector/forwardconnector/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/connector v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/connector v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/connector/go.mod b/connector/go.mod
index 79ea896c9e2..44e688ce725 100644
--- a/connector/go.mod
+++ b/connector/go.mod
@@ -5,11 +5,11 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -36,8 +36,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/consumer/go.mod b/consumer/go.mod
index 95294696e4c..8bf242ef3bd 100644
--- a/consumer/go.mod
+++ b/consumer/go.mod
@@ -5,7 +5,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.uber.org/goleak v1.3.0
)
diff --git a/exporter/debugexporter/go.mod b/exporter/debugexporter/go.mod
index 9d13f07b4ce..d7c19eb7302 100644
--- a/exporter/debugexporter/go.mod
+++ b/exporter/debugexporter/go.mod
@@ -4,13 +4,13 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -38,10 +38,10 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/receiver v0.102.0 // indirect
+ go.opentelemetry.io/collector v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/go.mod b/exporter/go.mod
index dcb56b9c0a6..0f69341aaf8 100644
--- a/exporter/go.mod
+++ b/exporter/go.mod
@@ -6,15 +6,15 @@ require (
github.com/cenkalti/backoff/v4 v4.3.0
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configretry v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configretry v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk v1.27.0
@@ -48,7 +48,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/text v0.15.0 // indirect
diff --git a/exporter/loggingexporter/go.mod b/exporter/loggingexporter/go.mod
index 9797bcbfb54..f43fd0be4d3 100644
--- a/exporter/loggingexporter/go.mod
+++ b/exporter/loggingexporter/go.mod
@@ -5,10 +5,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -37,11 +37,11 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configretry v0.102.0 // indirect
- go.opentelemetry.io/collector/consumer v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/receiver v0.102.0 // indirect
+ go.opentelemetry.io/collector v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configretry v0.102.1 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/nopexporter/go.mod b/exporter/nopexporter/go.mod
index 8a6bbb8d2db..0df9fd3821e 100644
--- a/exporter/nopexporter/go.mod
+++ b/exporter/nopexporter/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
)
@@ -34,8 +34,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/receiver v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/exporter/otlpexporter/go.mod b/exporter/otlpexporter/go.mod
index 49ba938a326..56481b61f9a 100644
--- a/exporter/otlpexporter/go.mod
+++ b/exporter/otlpexporter/go.mod
@@ -4,19 +4,19 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configauth v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configauth v0.102.1
go.opentelemetry.io/collector/config/configcompression v1.9.0
- go.opentelemetry.io/collector/config/configgrpc v0.102.0
+ go.opentelemetry.io/collector/config/configgrpc v0.102.1
go.opentelemetry.io/collector/config/configopaque v1.9.0
- go.opentelemetry.io/collector/config/configretry v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/config/configretry v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
@@ -53,13 +53,13 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
- go.opentelemetry.io/collector/receiver v0.102.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.1 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/exporter/otlphttpexporter/go.mod b/exporter/otlphttpexporter/go.mod
index 872a6c4820a..c4fcfbc5059 100644
--- a/exporter/otlphttpexporter/go.mod
+++ b/exporter/otlphttpexporter/go.mod
@@ -4,16 +4,16 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
go.opentelemetry.io/collector/config/configcompression v1.9.0
- go.opentelemetry.io/collector/config/confighttp v0.102.0
+ go.opentelemetry.io/collector/config/confighttp v0.102.1
go.opentelemetry.io/collector/config/configopaque v1.9.0
- go.opentelemetry.io/collector/config/configretry v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector/config/configretry v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
@@ -52,13 +52,13 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
- go.opentelemetry.io/collector/receiver v0.102.0 // indirect
+ go.opentelemetry.io/collector/receiver v0.102.1 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/extension/auth/go.mod b/extension/auth/go.mod
index 03b8df9e7ec..3a5c49234b8 100644
--- a/extension/auth/go.mod
+++ b/extension/auth/go.mod
@@ -4,8 +4,8 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.uber.org/goleak v1.3.0
google.golang.org/grpc v1.64.0
)
@@ -28,8 +28,8 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/extension/ballastextension/go.mod b/extension/ballastextension/go.mod
index ece09b10a0d..be3f83e6b6c 100644
--- a/extension/ballastextension/go.mod
+++ b/extension/ballastextension/go.mod
@@ -5,10 +5,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -39,7 +39,7 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/extension/go.mod b/extension/go.mod
index 4c0f8a46acc..7760bd86128 100644
--- a/extension/go.mod
+++ b/extension/go.mod
@@ -5,8 +5,8 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
go.uber.org/goleak v1.3.0
)
@@ -28,7 +28,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/extension/memorylimiterextension/go.mod b/extension/memorylimiterextension/go.mod
index 47b1513cc01..b6df2c9e86a 100644
--- a/extension/memorylimiterextension/go.mod
+++ b/extension/memorylimiterextension/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
)
@@ -38,7 +38,7 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/extension/zpagesextension/go.mod b/extension/zpagesextension/go.mod
index 5907cb0e5df..83f449976b8 100644
--- a/extension/zpagesextension/go.mod
+++ b/extension/zpagesextension/go.mod
@@ -4,11 +4,11 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/confignet v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/confignet v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.opentelemetry.io/contrib/zpages v0.52.0
go.opentelemetry.io/otel/sdk v1.27.0
go.opentelemetry.io/otel/trace v1.27.0
@@ -37,7 +37,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/filter/go.mod b/filter/go.mod
index 144bedf107c..8a3011a69cb 100644
--- a/filter/go.mod
+++ b/filter/go.mod
@@ -4,7 +4,7 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/confmap v0.102.0
+ go.opentelemetry.io/collector/confmap v0.102.1
)
require (
diff --git a/go.mod b/go.mod
index b943394f1d9..2cb3d857d50 100644
--- a/go.mod
+++ b/go.mod
@@ -5,12 +5,12 @@ go 1.21.0
require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/featuregate v1.9.0
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.opentelemetry.io/contrib/config v0.7.0
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
@@ -48,7 +48,7 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.27.0 // indirect
diff --git a/internal/e2e/go.mod b/internal/e2e/go.mod
index 5bcd2da7ac7..a0cbd60785f 100644
--- a/internal/e2e/go.mod
+++ b/internal/e2e/go.mod
@@ -4,19 +4,19 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configgrpc v0.102.0
- go.opentelemetry.io/collector/config/confighttp v0.102.0
- go.opentelemetry.io/collector/config/configretry v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configgrpc v0.102.1
+ go.opentelemetry.io/collector/config/confighttp v0.102.1
+ go.opentelemetry.io/collector/config/configretry v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
go.uber.org/goleak v1.3.0
)
@@ -52,15 +52,15 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.1 // indirect
go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
- go.opentelemetry.io/collector/config/confignet v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/confignet v0.102.1 // indirect
go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.1 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
diff --git a/otelcol/go.mod b/otelcol/go.mod
index 178b52042a8..40f978da2f8 100644
--- a/otelcol/go.mod
+++ b/otelcol/go.mod
@@ -5,22 +5,22 @@ go 1.21.0
require (
github.com/spf13/cobra v1.8.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.0
- go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.0
- go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.0
- go.opentelemetry.io/collector/connector v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/confmap/converter/expandconverter v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/envprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/fileprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/httpprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.102.1
+ go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.102.1
+ go.opentelemetry.io/collector/connector v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
go.opentelemetry.io/collector/featuregate v1.9.0
- go.opentelemetry.io/collector/processor v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
- go.opentelemetry.io/collector/service v0.102.0
+ go.opentelemetry.io/collector/processor v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
+ go.opentelemetry.io/collector/service v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/multierr v1.11.0
go.uber.org/zap v1.27.0
@@ -67,11 +67,11 @@ require (
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
- go.opentelemetry.io/collector v0.102.0 // indirect
- go.opentelemetry.io/collector/consumer v0.102.0 // indirect
+ go.opentelemetry.io/collector v0.102.1 // indirect
+ go.opentelemetry.io/collector/consumer v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.102.0 // indirect
- go.opentelemetry.io/collector/semconv v0.102.0 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1 // indirect
+ go.opentelemetry.io/collector/semconv v0.102.1 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/propagators/b3 v1.27.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
diff --git a/processor/batchprocessor/go.mod b/processor/batchprocessor/go.mod
index b488e925549..17fffdc8ac2 100644
--- a/processor/batchprocessor/go.mod
+++ b/processor/batchprocessor/go.mod
@@ -4,14 +4,14 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
- go.opentelemetry.io/collector/processor v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
+ go.opentelemetry.io/collector/processor v0.102.1
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
diff --git a/processor/go.mod b/processor/go.mod
index 0ed3bec0590..7b8aeedddf3 100644
--- a/processor/go.mod
+++ b/processor/go.mod
@@ -5,12 +5,12 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
go.opentelemetry.io/otel/sdk/metric v1.27.0
@@ -40,7 +40,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/sdk v1.27.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
diff --git a/processor/memorylimiterprocessor/go.mod b/processor/memorylimiterprocessor/go.mod
index 9962cdcef09..ee6c64cc8cb 100644
--- a/processor/memorylimiterprocessor/go.mod
+++ b/processor/memorylimiterprocessor/go.mod
@@ -4,12 +4,12 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/processor v0.102.0
+ go.opentelemetry.io/collector/processor v0.102.1
go.uber.org/goleak v1.3.0
)
@@ -42,8 +42,8 @@ require (
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/pdata/testdata v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
diff --git a/receiver/go.mod b/receiver/go.mod
index c9116c4966e..5603b533739 100644
--- a/receiver/go.mod
+++ b/receiver/go.mod
@@ -5,10 +5,10 @@ go 1.21.0
require (
github.com/google/uuid v1.6.0
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
go.opentelemetry.io/otel v1.27.0
go.opentelemetry.io/otel/metric v1.27.0
@@ -41,7 +41,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/confmap v0.102.0 // indirect
+ go.opentelemetry.io/collector/confmap v0.102.1 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
golang.org/x/net v0.25.0 // indirect
golang.org/x/sys v0.20.0 // indirect
diff --git a/receiver/nopreceiver/go.mod b/receiver/nopreceiver/go.mod
index 2ef1c1b7bbf..ba9b0e509e2 100644
--- a/receiver/nopreceiver/go.mod
+++ b/receiver/nopreceiver/go.mod
@@ -4,10 +4,10 @@ go 1.21.0
require (
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
go.uber.org/goleak v1.3.0
)
@@ -33,7 +33,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect
diff --git a/receiver/otlpreceiver/go.mod b/receiver/otlpreceiver/go.mod
index 779a0e15731..1b88460e0b6 100644
--- a/receiver/otlpreceiver/go.mod
+++ b/receiver/otlpreceiver/go.mod
@@ -6,17 +6,17 @@ require (
github.com/gogo/protobuf v1.3.2
github.com/klauspost/compress v1.17.8
github.com/stretchr/testify v1.9.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/configgrpc v0.102.0
- go.opentelemetry.io/collector/config/confighttp v0.102.0
- go.opentelemetry.io/collector/config/confignet v0.102.0
- go.opentelemetry.io/collector/config/configtls v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/configgrpc v0.102.1
+ go.opentelemetry.io/collector/config/confighttp v0.102.1
+ go.opentelemetry.io/collector/config/confignet v0.102.1
+ go.opentelemetry.io/collector/config/configtls v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
go.uber.org/goleak v1.3.0
go.uber.org/zap v1.27.0
google.golang.org/genproto/googleapis/rpc v0.0.0-20240520151616-dc85e6b867a5
@@ -53,13 +53,13 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
github.com/rs/cors v1.10.1 // indirect
- go.opentelemetry.io/collector/config/configauth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configauth v0.102.1 // indirect
go.opentelemetry.io/collector/config/configcompression v1.9.0 // indirect
go.opentelemetry.io/collector/config/configopaque v1.9.0 // indirect
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0 // indirect
- go.opentelemetry.io/collector/config/internal v0.102.0 // indirect
- go.opentelemetry.io/collector/extension v0.102.0 // indirect
- go.opentelemetry.io/collector/extension/auth v0.102.0 // indirect
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1 // indirect
+ go.opentelemetry.io/collector/config/internal v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension v0.102.1 // indirect
+ go.opentelemetry.io/collector/extension/auth v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/contrib/config v0.7.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect
diff --git a/service/go.mod b/service/go.mod
index 940b05d726e..ce8f2e4673a 100644
--- a/service/go.mod
+++ b/service/go.mod
@@ -10,22 +10,22 @@ require (
github.com/shirou/gopsutil/v3 v3.24.4
github.com/stretchr/testify v1.9.0
go.opencensus.io v0.24.0
- go.opentelemetry.io/collector v0.102.0
- go.opentelemetry.io/collector/component v0.102.0
- go.opentelemetry.io/collector/config/confignet v0.102.0
- go.opentelemetry.io/collector/config/configtelemetry v0.102.0
- go.opentelemetry.io/collector/confmap v0.102.0
- go.opentelemetry.io/collector/connector v0.102.0
- go.opentelemetry.io/collector/consumer v0.102.0
- go.opentelemetry.io/collector/exporter v0.102.0
- go.opentelemetry.io/collector/extension v0.102.0
- go.opentelemetry.io/collector/extension/zpagesextension v0.102.0
+ go.opentelemetry.io/collector v0.102.1
+ go.opentelemetry.io/collector/component v0.102.1
+ go.opentelemetry.io/collector/config/confignet v0.102.1
+ go.opentelemetry.io/collector/config/configtelemetry v0.102.1
+ go.opentelemetry.io/collector/confmap v0.102.1
+ go.opentelemetry.io/collector/connector v0.102.1
+ go.opentelemetry.io/collector/consumer v0.102.1
+ go.opentelemetry.io/collector/exporter v0.102.1
+ go.opentelemetry.io/collector/extension v0.102.1
+ go.opentelemetry.io/collector/extension/zpagesextension v0.102.1
go.opentelemetry.io/collector/featuregate v1.9.0
go.opentelemetry.io/collector/pdata v1.9.0
- go.opentelemetry.io/collector/pdata/testdata v0.102.0
- go.opentelemetry.io/collector/processor v0.102.0
- go.opentelemetry.io/collector/receiver v0.102.0
- go.opentelemetry.io/collector/semconv v0.102.0
+ go.opentelemetry.io/collector/pdata/testdata v0.102.1
+ go.opentelemetry.io/collector/processor v0.102.1
+ go.opentelemetry.io/collector/receiver v0.102.1
+ go.opentelemetry.io/collector/semconv v0.102.1
go.opentelemetry.io/contrib/config v0.7.0
go.opentelemetry.io/contrib/propagators/b3 v1.27.0
go.opentelemetry.io/otel v1.27.0
diff --git a/versions.yaml b/versions.yaml
index 19cb0df39a0..49c6b625c58 100644
--- a/versions.yaml
+++ b/versions.yaml
@@ -10,7 +10,7 @@ module-sets:
- go.opentelemetry.io/collector/config/configopaque
- go.opentelemetry.io/collector/config/configcompression
beta:
- version: v0.102.0
+ version: v0.102.1
modules:
- go.opentelemetry.io/collector
- go.opentelemetry.io/collector/cmd/builder
From 161ca7dcdccb2e04525555943159aa16362b806b Mon Sep 17 00:00:00 2001
From: Steve Strugnell
Date: Fri, 14 Jun 2024 12:01:37 +1200
Subject: [PATCH 111/111] go mod tidy for changed import
---
config/confighttp/go.mod | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/confighttp/go.mod b/config/confighttp/go.mod
index a45afd2c48f..0df43e44bd9 100644
--- a/config/confighttp/go.mod
+++ b/config/confighttp/go.mod
@@ -46,7 +46,6 @@ require (
github.com/prometheus/common v0.53.0 // indirect
github.com/prometheus/procfs v0.15.0 // indirect
go.opentelemetry.io/collector/confmap v0.102.1 // indirect
- go.opentelemetry.io/collector/extension v0.102.1 // indirect
go.opentelemetry.io/collector/featuregate v1.9.0 // indirect
go.opentelemetry.io/collector/pdata v1.9.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.49.0 // indirect