Skip to content

Commit

Permalink
Release Prep v0.54.0 (#5576)
Browse files Browse the repository at this point in the history
* Update CHANGELOG and versions.yaml to prepare for 0.54 release

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Prepare collector-core for version v0.54.0

* Update collector versions

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* gotidy

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* make genotelcorecol

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
  • Loading branch information
Aneurysm9 authored Jun 22, 2022
1 parent a3b0b29 commit b094dbd
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 23 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## v0.54.0 Beta

### 🛑 Breaking changes 🛑

- Remove deprecated `GetLogger`. (#5504)
Expand All @@ -11,13 +13,12 @@
- Remove deprecated `config.MapConverter` (#5505)
- Remove deprecated `config.Received` (#5505)
- Remove deprecated `config.CloseFunc` (#5505)
- Deprecated `pcommon.Value.NewValueBytes` is brought back taking `pcommon.ImmutableByteSlice` as an argument instead
of `[]byte` (#5299)
- Deprecated `pcommon.Value.NewValueBytes` is brought back taking `pcommon.ImmutableByteSlice` as an argument instead of `[]byte` (#5299)

### 🚩 Deprecations 🚩

- Use immutable slices for primitive types slices to restrict mutations. (#5299)
- `Value.NewValueMBytes` func is deprecated in favor of Value.NewValueMBytes func that takes
- `Value.NewValueMBytes` func is deprecated in favor of `Value.NewValueBytes` func that takes
`ImmutableByteSlice` instead of `[]byte`
- `Value.SetMBytesVal` func is deprecated in favor of `Value.SetBytesVal` func that takes
`pcommon.ImmutableByteSlice` instead of []byte.
Expand Down Expand Up @@ -46,6 +47,7 @@
- Unconfigured receivers are not identified, this was not a real problem in final binaries since the validation of the config catch this.
- Allow configurations to contain "unused" receivers. Receivers that are configured but not used in any pipeline, this was possible already for exporters and processors.
- Remove the enforcement/check that Receiver factories create the same instance for the same config.

## v0.53.0 Beta

### 🛑 Breaking changes 🛑
Expand Down
2 changes: 1 addition & 1 deletion cmd/builder/internal/builder/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"go.uber.org/zap"
)

const defaultOtelColVersion = "0.53.0"
const defaultOtelColVersion = "0.54.0"

// ErrInvalidGoMod indicates an invalid gomod
var ErrInvalidGoMod = errors.New("invalid gomod specification for module")
Expand Down
20 changes: 10 additions & 10 deletions cmd/otelcorecol/builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ dist:
module: go.opentelemetry.io/collector/cmd/otelcorecol
name: otelcorecol
description: Local OpenTelemetry Collector binary, testing only.
version: 0.53.0-dev
otelcol_version: 0.53.0
version: 0.54.0-dev
otelcol_version: 0.54.0

receivers:
- import: go.opentelemetry.io/collector/receiver/otlpreceiver
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
exporters:
- import: go.opentelemetry.io/collector/exporter/loggingexporter
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
- import: go.opentelemetry.io/collector/exporter/otlpexporter
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
- import: go.opentelemetry.io/collector/exporter/otlphttpexporter
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
extensions:
- import: go.opentelemetry.io/collector/extension/ballastextension
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
- import: go.opentelemetry.io/collector/extension/zpagesextension
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
processors:
- import: go.opentelemetry.io/collector/processor/batchprocessor
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0
- import: go.opentelemetry.io/collector/processor/memorylimiterprocessor
gomod: go.opentelemetry.io/collector v0.53.0
gomod: go.opentelemetry.io/collector v0.54.0

replaces:
- go.opentelemetry.io/collector => ../../
Expand Down
6 changes: 3 additions & 3 deletions cmd/otelcorecol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ go 1.17

require (
github.com/stretchr/testify v1.7.4
go.opentelemetry.io/collector v0.53.0
go.opentelemetry.io/collector v0.54.0
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27
)

Expand Down Expand Up @@ -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.53.0 // indirect
go.opentelemetry.io/collector/semconv v0.53.0 // indirect
go.opentelemetry.io/collector/pdata v0.54.0 // indirect
go.opentelemetry.io/collector/semconv v0.54.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
Expand Down
2 changes: 1 addition & 1 deletion cmd/otelcorecol/main.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/k8s/otel-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
- command:
- "/otelcol"
- "--config=/conf/otel-agent-config.yaml"
image: otel/opentelemetry-collector:0.53.0
image: otel/opentelemetry-collector:0.54.0
name: otel-agent
resources:
limits:
Expand Down Expand Up @@ -177,7 +177,7 @@ spec:
- command:
- "/otelcol"
- "--config=/conf/otel-collector-config.yaml"
image: otel/opentelemetry-collector:0.53.0
image: otel/opentelemetry-collector:0.54.0
name: otel-collector
resources:
limits:
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ require (
github.com/spf13/cobra v1.4.0
github.com/stretchr/testify v1.7.4
go.opencensus.io v0.23.0
go.opentelemetry.io/collector/pdata v0.53.0
go.opentelemetry.io/collector/semconv v0.53.0
go.opentelemetry.io/collector/pdata v0.54.0
go.opentelemetry.io/collector/semconv v0.54.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
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module-sets:
collector-core:
version: v0.53.0
version: v0.54.0
modules:
- go.opentelemetry.io/collector
- go.opentelemetry.io/collector/cmd/builder
Expand Down

0 comments on commit b094dbd

Please sign in to comment.