From d01b50bd8c0288ff3a23677a099964f25597bd6c Mon Sep 17 00:00:00 2001 From: Daniel Jaglowski Date: Mon, 9 Jan 2023 11:14:26 -0500 Subject: [PATCH] [chore] prepare release v1.0.0-RC3/v0.69.0 (#6910) --- .chloggen/connector-factory-map.yaml | 16 ------ .chloggen/opaque-fixed-length.yaml | 16 ------ .chloggen/rm-deprecated-exporter.yaml | 16 ------ .chloggen/rm-deprecated-extension.yaml | 16 ------ .chloggen/rm-deprecated-processor.yaml | 16 ------ .chloggen/rm-deprecated-receiver.yaml | 16 ------ .chloggen/rmcomptest.yaml | 11 ---- .chloggen/rmdepbatch.yaml | 11 ---- .chloggen/rmdepcompfact.yaml | 11 ---- .chloggen/rmdepconfig.yaml | 11 ---- .chloggen/rmdepobsreptest.yaml | 11 ---- .chloggen/rmdepprocs.yaml | 11 ---- .chloggen/rmdepservcfg.yaml | 11 ---- .chloggen/semconv_v1.16.0.yaml | 16 ------ CHANGELOG.md | 73 ++++++++++++++++-------- cmd/builder/internal/builder/config.go | 2 +- cmd/builder/internal/config/default.yaml | 20 +++---- cmd/builder/test/core.builder.yaml | 8 +-- cmd/otelcorecol/builder-config.yaml | 20 +++---- cmd/otelcorecol/go.mod | 18 +++--- cmd/otelcorecol/main.go | 2 +- versions.yaml | 4 +- 22 files changed, 86 insertions(+), 250 deletions(-) delete mode 100755 .chloggen/connector-factory-map.yaml delete mode 100644 .chloggen/opaque-fixed-length.yaml delete mode 100755 .chloggen/rm-deprecated-exporter.yaml delete mode 100755 .chloggen/rm-deprecated-extension.yaml delete mode 100755 .chloggen/rm-deprecated-processor.yaml delete mode 100755 .chloggen/rm-deprecated-receiver.yaml delete mode 100755 .chloggen/rmcomptest.yaml delete mode 100644 .chloggen/rmdepbatch.yaml delete mode 100755 .chloggen/rmdepcompfact.yaml delete mode 100755 .chloggen/rmdepconfig.yaml delete mode 100755 .chloggen/rmdepobsreptest.yaml delete mode 100755 .chloggen/rmdepprocs.yaml delete mode 100755 .chloggen/rmdepservcfg.yaml delete mode 100755 .chloggen/semconv_v1.16.0.yaml diff --git a/.chloggen/connector-factory-map.yaml b/.chloggen/connector-factory-map.yaml deleted file mode 100755 index 47061053302..00000000000 --- a/.chloggen/connector-factory-map.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: connector - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add MakeFactoryMap - -# One or more tracking issues or pull requests related to the change -issues: [6889] - -# (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: diff --git a/.chloggen/opaque-fixed-length.yaml b/.chloggen/opaque-fixed-length.yaml deleted file mode 100644 index 4e80ba575cf..00000000000 --- a/.chloggen/opaque-fixed-length.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: config - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: use [REDACTED] when marshaling to text a configopaque.String, instead of disclosing secret length. - -# One or more tracking issues or pull requests related to the change -issues: [6868] - -# (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: diff --git a/.chloggen/rm-deprecated-exporter.yaml b/.chloggen/rm-deprecated-exporter.yaml deleted file mode 100755 index c924e98775e..00000000000 --- a/.chloggen/rm-deprecated-exporter.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated Exporter types - -# One or more tracking issues or pull requests related to the change -issues: [6880] - -# (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: diff --git a/.chloggen/rm-deprecated-extension.yaml b/.chloggen/rm-deprecated-extension.yaml deleted file mode 100755 index 467ee9c6edc..00000000000 --- a/.chloggen/rm-deprecated-extension.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated Extension types - -# One or more tracking issues or pull requests related to the change -issues: [6865] - -# (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: diff --git a/.chloggen/rm-deprecated-processor.yaml b/.chloggen/rm-deprecated-processor.yaml deleted file mode 100755 index d4a5722480a..00000000000 --- a/.chloggen/rm-deprecated-processor.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated ProcessorFactoryOptions - -# One or more tracking issues or pull requests related to the change -issues: [6881] - -# (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: diff --git a/.chloggen/rm-deprecated-receiver.yaml b/.chloggen/rm-deprecated-receiver.yaml deleted file mode 100755 index 9db0d54539c..00000000000 --- a/.chloggen/rm-deprecated-receiver.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated Receiver types - -# One or more tracking issues or pull requests related to the change -issues: [6882] - -# (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: diff --git a/.chloggen/rmcomptest.yaml b/.chloggen/rmcomptest.yaml deleted file mode 100755 index 460272dbc13..00000000000 --- a/.chloggen/rmcomptest.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: componenttest - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated funcs from componenttest - -# One or more tracking issues or pull requests related to the change -issues: [6836] diff --git a/.chloggen/rmdepbatch.yaml b/.chloggen/rmdepbatch.yaml deleted file mode 100644 index 80bb935e1de..00000000000 --- a/.chloggen/rmdepbatch.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: batchprocessor - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated batchprocessor.MetricViews and batchprocessor.OtelMetricViews - -# One or more tracking issues or pull requests related to the change -issues: [6861] diff --git a/.chloggen/rmdepcompfact.yaml b/.chloggen/rmdepcompfact.yaml deleted file mode 100755 index 88c40635a74..00000000000 --- a/.chloggen/rmdepcompfact.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated component.[Factories|MakePorcessorFactoryMap] and componenttest.NewNopFactories - -# One or more tracking issues or pull requests related to the change -issues: [6835] diff --git a/.chloggen/rmdepconfig.yaml b/.chloggen/rmdepconfig.yaml deleted file mode 100755 index f1313b3d2a0..00000000000 --- a/.chloggen/rmdepconfig.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: config - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated cofig.*Settings - -# One or more tracking issues or pull requests related to the change -issues: [6837] diff --git a/.chloggen/rmdepobsreptest.yaml b/.chloggen/rmdepobsreptest.yaml deleted file mode 100755 index 9a24deee689..00000000000 --- a/.chloggen/rmdepobsreptest.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: obsereporttest - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated obsereporttest.SetupTelemetryWithID - -# One or more tracking issues or pull requests related to the change -issues: [6861] diff --git a/.chloggen/rmdepprocs.yaml b/.chloggen/rmdepprocs.yaml deleted file mode 100755 index a811fd43e46..00000000000 --- a/.chloggen/rmdepprocs.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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: component - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Remove deprecated component [Traces|Metrics|Logs]Processor and ProcessorFactory - -# One or more tracking issues or pull requests related to the change -issues: [6884] \ No newline at end of file diff --git a/.chloggen/rmdepservcfg.yaml b/.chloggen/rmdepservcfg.yaml deleted file mode 100755 index 81c3e2b9599..00000000000 --- a/.chloggen/rmdepservcfg.yaml +++ /dev/null @@ -1,11 +0,0 @@ -# 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 service service.ConfigService and service.ConfigServicePipeline - -# One or more tracking issues or pull requests related to the change -issues: [6859] diff --git a/.chloggen/semconv_v1.16.0.yaml b/.chloggen/semconv_v1.16.0.yaml deleted file mode 100755 index f6492546aa9..00000000000 --- a/.chloggen/semconv_v1.16.0.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# 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: semconv - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Add semantic conventions for specification v1.16.0 - -# One or more tracking issues or pull requests related to the change -issues: [6714] - -# (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: diff --git a/CHANGELOG.md b/CHANGELOG.md index afc4b8b76e1..a78151f99b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,31 @@ +## v1.0.0-RC3/v0.69.0 + +### 🛑 Breaking changes 🛑 + +- `component`: Remove deprecated Exporter types (#6880) +- `component`: Remove deprecated Extension types (#6865) +- `component`: Remove deprecated ProcessorFactoryOptions (#6881) +- `component`: Remove deprecated Receiver types (#6882) +- `componenttest`: Remove deprecated funcs from componenttest (#6836) +- `batchprocessor`: Remove deprecated batchprocessor.MetricViews and batchprocessor.OtelMetricViews (#6861) +- `component`: Remove deprecated component.[Factories|MakePorcessorFactoryMap] and componenttest.NewNopFactories (#6835) +- `config`: Remove deprecated cofig.*Settings (#6837) +- `obsereporttest`: Remove deprecated obsereporttest.SetupTelemetryWithID (#6861) +- `component`: Remove deprecated component [Traces|Metrics|Logs]Processor and ProcessorFactory (#6884) +- `service`: Remove deprecated service service.ConfigService and service.ConfigServicePipeline (#6859) + +### 💡 Enhancements 💡 + +- `connector`: Add MakeFactoryMap (#6889) +- `semconv`: Add semantic conventions for specification v1.16.0 (#6714) + +### 🧰 Bug fixes 🧰 + +- `config`: use [REDACTED] when marshaling to text a configopaque.String, instead of disclosing secret length. (#6868) + ## v1.0.0-RC2/v0.68.0 ### 🛑 Breaking changes 🛑 @@ -108,7 +133,7 @@ and hope to make a v1.0.0 release soon. - Deprecate `component.Config.ID()` in favor of `component.[*]CreateSettings.ID`. - Deprecate `component.Config.SetIDName()`, no replacement needed since ID in settings is public member. - Deprecate `obsreporttest.SetupTelemetry` in favor of `obsreporttest.SetupTelemetryWithID`. - + - `component`: Deprecate `component.Unmarshal[*]Config` in favor of `component.UnmarshalConfig` (#6613) - `component`: Deprecate Extension related types/funcs from component package in favor of extension package. (#6578) - `component.Extension` -> `extension.Extension` @@ -169,14 +194,14 @@ and hope to make a v1.0.0 release soon. - "" is returned for integers that are out of Level enum range. - It also affects `Level.Marshal` output, but it's not a problem because `Unmarshal` method accepts strings in all cases, e.g. "normal", "Normal" and "NORMAL". - + - `featuregate`: Make impossible to implement RegistryOption outside `featuregate` package (#6532) - `service/telemetry`: Remove unit suffixes from metrics exported by the otel-go prometheus exporter. (#6403) - `obsreport`: `obsreport.New[Receiver|Scraper|Processor|Exporter]` returns error now (#6458) - `configgrpc`: Remove deprecated funcs in `configgrpc`. (#6529) - `configgrpc.GRPCClientSettings.ToDialOptions` - `configgrpc.GRPCServerSettings.ToServerOption` - + - `config/configtest`: Remove deprecated `configtest` package. (#6542) - `config`: Remove deprecated types and funcs from config. Use `component` package. (#6511) - config.ComponentID @@ -190,20 +215,20 @@ and hope to make a v1.0.0 release soon. - config.UnmarshalExporter - config.Extension - config.UnmarshalExtension - + - `featuregate`: Remove deprecated funcs and struct members from `featuregate` package (#6523) - featuregate.Gate.ID - featuregate.Gate.Description - featuregate.Gate.Enabled - featuregate.Registry.Register - featuregate.Registry.MustRegister - + - `experimental`: Remove experimental configsource code. (#6558) - `component`: Update values returned by `StabilityLevel.String` method. (#6490) - All returned strings are capitalized. - "Undefined" is returned only for `StabilityLevelUndefined`. - "" is returned for integers that are out of StabilityLevel enum range. - + ### 🚩 Deprecations 🚩 @@ -213,12 +238,12 @@ and hope to make a v1.0.0 release soon. - Deprecate `obsreport.MustNewScraper()` in favor of `obsreport.NewScraper()` - Deprecate `obsreport.MustNewProcessor()` in favor of `obsreport.NewProcessor()` - Deprecate `obsreport.MustNewExporter()` in favor of `obsreport.NewExporter()` - + - `component`: Deprecate `component.Receiver`, `component.Processor`, and `component.Exporter`. (#6553) - `featuregate`: Deprecate Get prefix funcs for `featuregate.Gate` (#6528) `featuregate.Gate.GetID` -> `featuregate.Gate.ID` `featuregate.Gate.GetDescription` -> `featuregate.Gate.Description` - + - `component`: Deprecate `component.Config.Validate` in favor of `component.ValidateConfig` (#6572) - `component`: Deprecate `StabilityLevelInDevelopment` enum const in favor of `StabilityLevelDevelopment`. (#6561) Also rename all mentions of "In development" stability level to "Development". @@ -260,7 +285,7 @@ and hope to make a v1.0.0 release soon. - plog.SeverityNumber - ptrace.SpanKind - ptrace.StatusCode - + - `config`: Remove already deprecates `config.Config`. (#6394) - `pdata`: Remove deprecated code from pdata (#6417) - `p[trace|metric|log]otlp.[Request|Response]` @@ -268,25 +293,25 @@ and hope to make a v1.0.0 release soon. - `p[trace|metric|log]otlp.NewRequestFrom[Traces|Metrics|Logs]` - `p[trace|metric|log]otlp.NewClient` - `p[trace|metric|log]New[JSON|Proto][Marshaler|Unmarshale]` - + - `extension`: Splitting ballast/zpages extension into their own modules (#6191) The import path for the extension modules can now be accessed directly: - `go.opentelemetry.io/collector/extension/ballastextension` - `go.opentelemetry.io/collector/extension/zpagesextension` - + If using one of these extensions, modify your Collector builder configuration to use `gomod` directly, such as: - `gomod: go.opentelemetry.io/collector/extension/ballastextension v0.64.0` - `processor`: Splitting batch/memorylimiter processors into their own modules (#6188, #6192, #6193) The import path for the processor modules can now be access directly: - `go.opentelemetry.io/collector/processor/batchprocessor` - `go.opentelemetry.io/collector/processor/memorylimiter` - + If using this processor, modify your Collector builder configuration to use `gomod` directly, such as: - `gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.64.0` - `otlpreceiver`: Splitting otlp receiver into its own module (#6190) The import path for the OTLP receiver can now be access directly: - `go.opentelemetry.io/collector/receiver/otlpreceiver` - + If using this receiver, modify your Collector builder configuration to use `gomod` directly, such as: - `gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.64.0` @@ -308,12 +333,12 @@ and hope to make a v1.0.0 release soon. - config.UnmarshalExporter => component.UnmarshalExporterConfig - config.Extension => component.ExtensionConfig - config.UnmarshalExtension => component.UnmarshalExtensionConfig - + - `obsreport`: deprecate `obsreport.New[Receiver|Scraper|Processor|Exporter]` in favor of `obsreport.MustNew[Receiver|Scraper|Processor|Exporter]` (#6458) - `config/configgrpc`: Provide better helpers for configgrpc, consistent with confighttp (#6441) - Deprecate `GRPCClientSettings.ToDialOptions` in favor of `GRPCClientSettings.ToClientConn`. - Deprecate `GRPCServerSettings.ToServerOption` in favor of `GRPCServerSettings.ToServer`. - + ### 💡 Enhancements 💡 @@ -354,13 +379,13 @@ and hope to make a v1.0.0 release soon. - Remove deprecated `pmetric.[New]?ValueAtQuantile` - Remove deprecated `pmetric.[New]?ValueAtQuantileSlice` - Remove deprecated `ptrace.[New]?SpanStatus` - + - `exporter`: Splitting otlp, otlphttp and logging exporters into their own modules (#6343) The import path for these exporters can now be access directly: - `go.opentelemetry.io/collector/exporter/loggingexporter` - `go.opentelemetry.io/collector/exporter/otlpexporter` - `go.opentelemetry.io/collector/exporter/otlphttpexporter` - + If using these exporters, modify your Collector builder configuration to use `gomod` directly, such as: - `gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.63.0` @@ -370,9 +395,9 @@ and hope to make a v1.0.0 release soon. - `pdata`: Add `Export` prefix to `p[trace|metric|log]otlp.[Request|Response]` (#6365) - Deprecate `p[trace|metric|log]otlp.[Request|Response]` in favor of `p[trace|metric|log]otlp.Export[Request|Response]` - Deprecate `p[trace|metric|log]otlp.New[Request|Response]` in favor of `p[trace|metric|log]otlp.NewExport[Request|Response]` - - Deprecate `p[trace|metric|log]otlp.NewRequestFrom[Traces|Metrics|Logs]` in favor of + - Deprecate `p[trace|metric|log]otlp.NewRequestFrom[Traces|Metrics|Logs]` in favor of `p[trace|metric|log]otlp.NewExportRequestFrom[Traces|Metrics|Logs]` - + - `pdata`: Deprecate `p[trace|metric|log]otlp.NewClient` in favor of `p[trace|metric|log]otlp.NewGRPCClient` (#6350) - `exporter/logging`: Deprecate 'loglevel' in favor of 'verbosity' option (#5878) - `pdata`: Deprecate `New[JSON|Proto][Marshaler|Unmarshale]` in favor of exposing the underlying structs (#6340) @@ -414,7 +439,7 @@ and hope to make a v1.0.0 release soon. - Delete deprecated `StringVal` and `SetStringVal` methods. (#6178) - Delete deprecated `ValueTypeString` method. (#6178) - Change AggregationTemporality.String to simpler, easier to read. (#6117) -- Update `pcommon.ValueType.String` output to string representation of corresponding type identifiers. The following +- Update `pcommon.ValueType.String` output to string representation of corresponding type identifiers. The following values will be returned: (#6247) - ValueTypeEmpty.String() -> "Empty" - ValueTypeStr.String() -> "Str" @@ -424,7 +449,7 @@ and hope to make a v1.0.0 release soon. - ValueTypeMap.String() -> "Map" - ValueTypeSlice.String() -> "Slice" - ValueTypeBytes.String() -> "Bytes" -- Rename output of `[MetricType|NumberDataPointValueType|ExemplarValueType].String()` for zero values from `"None"` to +- Rename output of `[MetricType|NumberDataPointValueType|ExemplarValueType].String()` for zero values from `"None"` to `"Empty"` (#6270) ### 🚩 Deprecations 🚩 @@ -496,9 +521,9 @@ and hope to make a v1.0.0 release soon. - `pmetric.Metrics.Clone` is deprecated in favor of `pmetric.Metrics.CopyTo` - `ptrace.Traces.Clone` is deprecated in favor of `pmetric.Traces.CopyTo` - `plog.Logs.Clone` is deprecated in favor of `plogs.Logs.CopyTo` -- Rename all `pcommon.Value` getter/setter methods by removing `Val` suffix. (#6092) +- Rename all `pcommon.Value` getter/setter methods by removing `Val` suffix. (#6092) - Old methods with `Val` suffix are deprecated. - - `StringVal` and `SetStringVal` are deprecated in favor of `Str` and `SetStr` to avoid implementing `fmt.Stringer` interface. + - `StringVal` and `SetStringVal` are deprecated in favor of `Str` and `SetStr` to avoid implementing `fmt.Stringer` interface. - Therefore, `ValueTypeString` is deprecated in favour of `ValueTypeStr` for consistency. ### 💡 Enhancements 💡 @@ -506,7 +531,7 @@ and hope to make a v1.0.0 release soon. - Add AppendEmpty and EnsureCapacity method to primitive pdata slices (#6060) - Expose `AsRaw` and `FromRaw` `pcommon.Value` methods (#6090) - Convert `ValueTypeBytes` attributes in logging exporter (#6153) -- service.name Resource attribute is added to Collector's own telemetry, defaults to the value of `BuildInfo.Command` and can be overridden in the config (#6152) +- service.name Resource attribute is added to Collector's own telemetry, defaults to the value of `BuildInfo.Command` and can be overridden in the config (#6152) - Updated how `telemetryInitializer` is created so it's instanced per Collector instance rather than global to the process (#6138) ## v0.60.0 Beta diff --git a/cmd/builder/internal/builder/config.go b/cmd/builder/internal/builder/config.go index 5b64543f064..c515660c72b 100644 --- a/cmd/builder/internal/builder/config.go +++ b/cmd/builder/internal/builder/config.go @@ -26,7 +26,7 @@ import ( "go.uber.org/zap" ) -const defaultOtelColVersion = "0.68.0" +const defaultOtelColVersion = "0.69.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 742db41d1d2..371a8f5db3b 100644 --- a/cmd/builder/internal/config/default.yaml +++ b/cmd/builder/internal/config/default.yaml @@ -2,19 +2,19 @@ dist: module: go.opentelemetry.io/collector/cmd/otelcorecol name: otelcorecol description: Local OpenTelemetry Collector binary, testing only. - version: 0.68.0-dev - otelcol_version: 0.68.0 + version: 0.69.0-dev + otelcol_version: 0.69.0 receivers: - - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.68.0 + - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.69.0 exporters: - - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.68.0 - - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.68.0 - - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.68.0 + - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.69.0 + - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.69.0 + - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.69.0 extensions: - - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.68.0 - - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.68.0 + - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.69.0 + - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.69.0 processors: - - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.68.0 - - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.68.0 + - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.69.0 + - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.69.0 diff --git a/cmd/builder/test/core.builder.yaml b/cmd/builder/test/core.builder.yaml index 81b8854f9fd..d2fe306b690 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.68.0 + otelcol_version: 0.69.0 extensions: - import: go.opentelemetry.io/collector/extension/zpagesextension - gomod: go.opentelemetry.io/collector v0.68.0 + gomod: go.opentelemetry.io/collector v0.69.0 path: ${WORKSPACE_DIR} receivers: - import: go.opentelemetry.io/collector/receiver/otlpreceiver - gomod: go.opentelemetry.io/collector v0.68.0 + gomod: go.opentelemetry.io/collector v0.69.0 path: ${WORKSPACE_DIR} exporters: - import: go.opentelemetry.io/collector/exporter/loggingexporter - gomod: go.opentelemetry.io/collector v0.68.0 + gomod: go.opentelemetry.io/collector v0.69.0 path: ${WORKSPACE_DIR} replaces: diff --git a/cmd/otelcorecol/builder-config.yaml b/cmd/otelcorecol/builder-config.yaml index 4e1949ebf49..dbd96eda34d 100644 --- a/cmd/otelcorecol/builder-config.yaml +++ b/cmd/otelcorecol/builder-config.yaml @@ -2,21 +2,21 @@ dist: module: go.opentelemetry.io/collector/cmd/otelcorecol name: otelcorecol description: Local OpenTelemetry Collector binary, testing only. - version: 0.68.0-dev - otelcol_version: 0.68.0 + version: 0.69.0-dev + otelcol_version: 0.69.0 receivers: - - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.68.0 + - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.69.0 exporters: - - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.68.0 - - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.68.0 - - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.68.0 + - gomod: go.opentelemetry.io/collector/exporter/loggingexporter v0.69.0 + - gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.69.0 + - gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.69.0 extensions: - - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.68.0 - - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.68.0 + - gomod: go.opentelemetry.io/collector/extension/ballastextension v0.69.0 + - gomod: go.opentelemetry.io/collector/extension/zpagesextension v0.69.0 processors: - - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.68.0 - - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.68.0 + - gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.69.0 + - gomod: go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.69.0 replaces: - go.opentelemetry.io/collector => ../../ diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index ac77d2119e4..3a4a2129027 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -6,16 +6,16 @@ go 1.18 require ( github.com/stretchr/testify v1.8.1 - go.opentelemetry.io/collector v0.68.0 + go.opentelemetry.io/collector v0.69.0 go.opentelemetry.io/collector/component v0.68.0 - go.opentelemetry.io/collector/exporter/loggingexporter v0.68.0 - go.opentelemetry.io/collector/exporter/otlpexporter v0.68.0 - go.opentelemetry.io/collector/exporter/otlphttpexporter v0.68.0 - go.opentelemetry.io/collector/extension/ballastextension v0.68.0 - go.opentelemetry.io/collector/extension/zpagesextension v0.68.0 - go.opentelemetry.io/collector/processor/batchprocessor v0.68.0 - go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.68.0 - go.opentelemetry.io/collector/receiver/otlpreceiver v0.68.0 + go.opentelemetry.io/collector/exporter/loggingexporter v0.69.0 + go.opentelemetry.io/collector/exporter/otlpexporter v0.69.0 + go.opentelemetry.io/collector/exporter/otlphttpexporter v0.69.0 + go.opentelemetry.io/collector/extension/ballastextension v0.69.0 + go.opentelemetry.io/collector/extension/zpagesextension v0.69.0 + go.opentelemetry.io/collector/processor/batchprocessor v0.69.0 + go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.69.0 + go.opentelemetry.io/collector/receiver/otlpreceiver v0.69.0 golang.org/x/sys v0.3.0 ) diff --git a/cmd/otelcorecol/main.go b/cmd/otelcorecol/main.go index d23c222c130..55e39ddca3c 100644 --- a/cmd/otelcorecol/main.go +++ b/cmd/otelcorecol/main.go @@ -19,7 +19,7 @@ func main() { info := component.BuildInfo{ Command: "otelcorecol", Description: "Local OpenTelemetry Collector binary, testing only.", - Version: "0.68.0-dev", + Version: "0.69.0-dev", } if err := run(otelcol.CollectorSettings{BuildInfo: info, Factories: factories}); err != nil { diff --git a/versions.yaml b/versions.yaml index d37cce359ca..b66e7a08f01 100644 --- a/versions.yaml +++ b/versions.yaml @@ -14,11 +14,11 @@ module-sets: stable: - version: v1.0.0-rc2 + version: v1.0.0-rc3 modules: - go.opentelemetry.io/collector/pdata beta: - version: v0.68.0 + version: v0.69.0 modules: - go.opentelemetry.io/collector - go.opentelemetry.io/collector/component