From 4878d42b16e49dc4c6e93893aea45a73890af615 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Wed, 11 May 2022 13:07:33 -0700 Subject: [PATCH] Prerelease collector v0.51.0 (#5340) * Update versions.yaml Signed-off-by: Bogdan Drutu * Prepare collector-base for version v0.51.0 * Update changelog Signed-off-by: Bogdan Drutu * more upgrades Signed-off-by: Bogdan Drutu * Update CHANGELOG.md --- CHANGELOG.md | 12 +++++++++++- cmd/builder/internal/builder/config.go | 2 +- cmd/otelcorecol/builder-config.yaml | 20 ++++++++++---------- cmd/otelcorecol/go.mod | 6 +++--- cmd/otelcorecol/main.go | 2 +- examples/k8s/otel-config.yaml | 2 +- go.mod | 4 ++-- versions.yaml | 2 +- 8 files changed, 30 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2539088b6c5..94d21c93c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ ### 🛑 Breaking changes 🛑 +### 🚩 Deprecations 🚩 + +### 💡 Enhancements 💡 + +### 🧰 Bug fixes 🧰 + +## v0.51.0 Beta + +### 🛑 Breaking changes 🛑 + - Remove deprecated model module, everything is available in `pdata` and `semconv`. (#5281) - Old versions of the module are still available, but no new versions will be released. - Remove deprecated LogRecord.Name field. (#5202) @@ -25,7 +35,7 @@ ### 💡 Enhancements 💡 -- `pdata`: Expose `pcommon.NewSliceFromRay` and `pcommon.Slice.AsRaw` functions (#5298) +- `pdata`: Expose `pcommon.NewSliceFromRaw` and `pcommon.Slice.AsRaw` functions (#5311) ### 🧰 Bug fixes 🧰 diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go index 07b62e6d5d1..67ed861b3fb 100644 --- a/cmd/builder/internal/builder/config.go +++ b/cmd/builder/internal/builder/config.go @@ -25,7 +25,7 @@ import ( "go.uber.org/zap" ) -const defaultOtelColVersion = "0.50.0" +const defaultOtelColVersion = "0.51.0" // ErrInvalidGoMod indicates an invalid gomod var ErrInvalidGoMod = errors.New("invalid gomod specification for module") diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml index 47b049f9eb6..aaa45f9d1b7 100644 --- a/cmd/otelcorecol/builder-config.yaml +++ b/cmd/otelcorecol/builder-config.yaml @@ -2,29 +2,29 @@ dist: module: go.opentelemetry.io/collector/cmd/otelcorecol name: otelcorecol description: Local OpenTelemetry Collector binary, testing only. - version: 0.50.0-dev - otelcol_version: 0.50.0 + version: 0.51.0-dev + otelcol_version: 0.51.0 receivers: - import: go.opentelemetry.io/collector/receiver/otlpreceiver - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 exporters: - import: go.opentelemetry.io/collector/exporter/loggingexporter - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 - import: go.opentelemetry.io/collector/exporter/otlpexporter - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 - import: go.opentelemetry.io/collector/exporter/otlphttpexporter - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 extensions: - import: go.opentelemetry.io/collector/extension/ballastextension - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 - import: go.opentelemetry.io/collector/extension/zpagesextension - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 processors: - import: go.opentelemetry.io/collector/processor/batchprocessor - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 - import: go.opentelemetry.io/collector/processor/memorylimiterprocessor - gomod: go.opentelemetry.io/collector v0.50.0 + gomod: go.opentelemetry.io/collector v0.51.0 replaces: - go.opentelemetry.io/collector => ../../ diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index 91579cfd502..b7f662a1a19 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -6,7 +6,7 @@ go 1.17 require ( github.com/stretchr/testify v1.7.1 - go.opentelemetry.io/collector v0.50.0 + go.opentelemetry.io/collector v0.51.0 golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 ) @@ -55,8 +55,8 @@ require ( github.com/tklauser/numcpus v0.4.0 // indirect github.com/yusufpapurcu/wmi v1.2.2 // indirect go.opencensus.io v0.23.0 // indirect - go.opentelemetry.io/collector/pdata v0.50.0 // indirect - go.opentelemetry.io/collector/semconv v0.50.0 // indirect + go.opentelemetry.io/collector/pdata v0.51.0 // indirect + go.opentelemetry.io/collector/semconv v0.51.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 // indirect go.opentelemetry.io/contrib/zpages v0.32.0 // indirect diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go index 90abf37eccc..4ef143ed0c8 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.50.0-dev", + Version: "0.51.0-dev", } if err := run(service.CollectorSettings{BuildInfo: info, Factories: factories}); err != nil { diff --git a/examples/k8s/otel-config.yaml b/examples/k8s/otel-config.yaml index 0f520526120..1d78fd5bb0e 100644 --- a/examples/k8s/otel-config.yaml +++ b/examples/k8s/otel-config.yaml @@ -177,7 +177,7 @@ spec: - command: - "/otelcol" - "--config=/conf/otel-collector-config.yaml" - image: otel/opentelemetry-collector:0.50.0 + image: otel/opentelemetry-collector:0.51.0 name: otel-collector resources: limits: diff --git a/go.mod b/go.mod index 5ccc11250c0..8f415529451 100644 --- a/go.mod +++ b/go.mod @@ -20,8 +20,8 @@ require ( github.com/spf13/cobra v1.4.0 github.com/stretchr/testify v1.7.1 go.opencensus.io v0.23.0 - go.opentelemetry.io/collector/pdata v0.50.0 - go.opentelemetry.io/collector/semconv v0.50.0 + go.opentelemetry.io/collector/pdata v0.51.0 + go.opentelemetry.io/collector/semconv v0.51.0 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.32.0 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0 go.opentelemetry.io/contrib/zpages v0.32.0 diff --git a/versions.yaml b/versions.yaml index 0ad42428d9d..114cb682e49 100644 --- a/versions.yaml +++ b/versions.yaml @@ -14,7 +14,7 @@ module-sets: collector-base: - version: v0.50.0 + version: v0.51.0 modules: - go.opentelemetry.io/collector - go.opentelemetry.io/collector/cmd/builder