Debian Codegraph @

CHANGELOG.md

raw
1 <!-- This file is autogenerated. See CONTRIBUTING.md for instructions to add an entry. -->
2
3 # Changelog
4
5 Starting with version v0.83.0, this changelog includes only user-facing changes.
6 If you are looking for developer-facing changes, check out [CHANGELOG-API.md](./CHANGELOG-API.md).
7
8 <!-- next version -->
9
10 ## v1.47.0/v0.141.0
11
12 ### 🛑 Breaking changes 🛑
13
14 - `pkg/config/confighttp`: Use configoptional.Optional for confighttp.ClientConfig.Cookies field (#14021)
15
16 ### 💡 Enhancements 💡
17
18 - `pkg/config/confighttp`: Setting `compression_algorithms` to an empty list now disables automatic decompression, ignoring Content-Encoding (#14131)
19 - `pkg/service`: Update semantic conventions from internal telemetry to v1.37.0 (#14232)
20 - `pkg/xscraper`: Implement xscraper for Profiles. (#13915)
21
22 ### 🧰 Bug fixes 🧰
23
24 - `pkg/config/configoptional`: Ensure that configoptional.None values resulting from unmarshaling are equivalent to configoptional.Optional zero value. (#14218)
25
26 <!-- previous-version -->
27
28 ## v1.46.0/v0.140.0
29
30 ### 💡 Enhancements 💡
31
32 - `cmd/mdatagen`: `metadata.yaml` now supports an optional `entities` section to organize resource attributes into logical entities with identity and description attributes (#14051)
33 When entities are defined, mdatagen generates `AssociateWith{EntityType}()` methods on ResourceBuilder
34 that associate resources with entity types using the entity refs API. The entities section is backward
35 compatible - existing metadata.yaml files without entities continue to work as before.
36
37 - `cmd/mdatagen`: Add semconv reference for metrics (#13920)
38 - `connector/forward`: Add support for Profiles to Profiles (#14092)
39 - `exporter/debug`: Disable sending queue by default (#14138)
40 The recently added sending queue configuration in Debug exporter was enabled by default and had a problematic default size of 1.
41 This change disables the sending queue by default.
42 Users can enable and configure the sending queue if needed.
43
44 - `pkg/config/configoptional`: Mark `configoptional.AddEnabledField` as beta (#14021)
45 - `pkg/otelcol`: This feature has been improved and tested; secure-by-default redacts configopaque values (#12369)
46
47 ### 🧰 Bug fixes 🧰
48
49 - `all`: Ensure service service.instance.id is the same for all the signals when it is autogenerated. (#14140)
50
51 <!-- previous-version -->
52
53 ## v1.45.0/v0.139.0
54
55 ### 🛑 Breaking changes 🛑
56
57 - `cmd/mdatagen`: Make stability.level a required field for metrics (#14070)
58 - `cmd/mdatagen`: Replace `optional` field with `requirement_level` field for attributes in metadata schema (#13913)
59 The `optional` boolean field for attributes has been replaced with a `requirement_level` field that accepts enum values: `required`, `conditionally_required`, `recommended`, or `opt_in`.
60 - `required`: attribute is always included and cannot be excluded
61 - `conditionally_required`: attribute is included by default when certain conditions are met (replaces `optional: true`)
62 - `recommended`: attribute is included by default but can be disabled via configuration (replaces `optional: false`)
63 - `opt_in`: attribute is not included unless explicitly enabled in user config
64 When `requirement_level` is not specified, it defaults to `recommended`.
65
66 - `pdata/pprofile`: Remove deprecated `PutAttribute` helper method (#14082)
67 - `pdata/pprofile`: Remove deprecated `PutLocation` helper method (#14082)
68
69 ### 💡 Enhancements 💡
70
71 - `all`: Add FIPS and non-FIPS implementations for allowed TLS curves (#13990)
72 - `cmd/builder`: Set CGO_ENABLED=0 by default, add the `cgo_enabled` configuration to enable it. (#10028)
73 - `pkg/config/configgrpc`: Errors of type status.Status returned from an Authenticator extension are being propagated as is to the upstream client. (#14005)
74 - `pkg/config/configoptional`: Adds new `configoptional.AddEnabledField` feature gate that allows users to explicitly disable a `configoptional.Optional` through a new `enabled` field. (#14021)
75 - `pkg/exporterhelper`: Replace usage of gogo proto for persistent queue metadata (#14079)
76 - `pkg/pdata`: Remove usage of gogo proto and generate the structs with pdatagen (#14078)
77
78 ### 🧰 Bug fixes 🧰
79
80 - `exporter/debug`: add queue configuration (#14101)
81
82 <!-- previous-version -->
83
84 ## v1.44.0/v0.138.0
85
86 ### 🛑 Breaking changes 🛑
87
88 - `all`: Remove deprecated type `TracesConfig` (#14036)
89 - `pkg/exporterhelper`: Add default values for `sending_queue::batch` configuration. (#13766)
90 Setting `sending_queue::batch` to an empty value now results in the same setup as the default batch processor configuration.
91
92 - `all`: Add unified print-config command with mode support (redacted, unredacted), json support (unstable), and validation support. (#11775)
93 This replaces the `print-initial-config` command. See the `service` package README for more details. The original command name `print-initial-config` remains an alias, to be retired with the feature flag.
94
95 ### 💡 Enhancements 💡
96
97 - `all`: Add `keep_alives_enabled` option to ServerConfig to control HTTP keep-alives for all components that create an HTTP server. (#13783)
98 - `pkg/otelcol`: Avoid unnecessary mutex in collector logs, replace by atomic pointer (#14008)
99 - `cmd/mdatagen`: Add lint/ordering validation for metadata.yaml (#13781)
100 - `pdata/xpdata`: Refactor JSON marshaling and unmarshaling to use `pcommon.Value` instead of `AnyValue`. (#13837)
101 - `pkg/exporterhelper`: Expose `MergeCtx` in exporterhelper's queue batch settings` (#13742)
102
103 ### 🧰 Bug fixes 🧰
104
105 - `all`: Fix zstd decoder data corruption due to decoder pooling for all components that create an HTTP server. (#13954)
106 - `pkg/otelcol`: Remove UB when taking internal logs and move them to the final zapcore.Core (#14009)
107 This can happen because of a race on accessing `logsTaken`.
108 - `pkg/confmap`: Fix a potential race condition in confmap by closing the providers first. (#14018)
109
110 <!-- previous-version -->
111
112 ## v1.43.0/v0.137.0
113
114 ### 💡 Enhancements 💡
115
116 - `cmd/mdatagen`: Improve validation for resource attribute `enabled` field in metadata files (#12722)
117 Resource attributes now require an explicit `enabled` field in metadata.yaml files, while regular attributes
118 are prohibited from having this field. This improves validation and prevents configuration errors.
119
120 - `all`: Changelog entries will now have their component field checked against a list of valid components. (#13924)
121 This will ensure a more standardized changelog format which makes it easier to parse.
122 - `pkg/pdata`: Mark featuregate pdata.useCustomProtoEncoding as stable (#13883)
123
124 <!-- previous-version -->
125
126 ## v1.42.0/v0.136.0
127
128 ### 💡 Enhancements 💡
129
130 - `xpdata`: Add Serialization and Deserialization of AnyValue (#12826)
131 - `debugexporter`: add support for batching (#13791)
132 The default queue size is 1
133 - `configtls`: Add early validation for TLS server configurations to fail fast when certificates are missing instead of failing at runtime. (#13130, #13245)
134 - `mdatagen`: Expose stability level in generated metric documentation (#13748)
135 - `internal/tools`: Add support for modernize in Makefile (#13796)
136
137 ### 🧰 Bug fixes 🧰
138
139 - `otelcol`: Fix a potential deadlock during collector shutdown. (#13740)
140 - `otlpexporter`: fix the validation of unix socket endpoints (#13826)
141
142 <!-- previous-version -->
143
144 ## v1.41.0/v0.135.0
145
146 ### 💡 Enhancements 💡
147
148 - `exporterhelper`: Add new `exporter_queue_batch_send_size` and `exporter_queue_batch_send_size_bytes` metrics, showing the size of telemetry batches from the exporter. (#12894)
149
150 <!-- previous-version -->
151
152 ## v1.40.0/v0.134.0
153
154 ### 💡 Enhancements 💡
155
156 - `pdata`: Add custom grpc/encoding that replaces proto and calls into the custom marshal/unmarshal logic in pdata. (#13631)
157 This change should not affect other gRPC calls since it fallbacks to the default grpc/proto encoding if requests are not pdata/otlp requests.
158 - `pdata`: Avoid copying the pcommon.Map when same origin (#13731)
159 This is a very large improvement if using OTTL with map functions since it will avoid a map copy.
160 - `exporterhelper`: Respect `num_consumers` when batching and partitioning are enabled. (#13607)
161
162 ### 🧰 Bug fixes 🧰
163
164 - `pdata`: Correctly parse OTLP payloads containing non-packed repeated primitive fields (#13727, #13730)
165 This bug prevented the Collector from ingesting most Histogram, ExponentialHistogram,
166 and Profile payloads.
167
168
169 <!-- previous-version -->
170
171 ## v1.39.0/v0.133.0
172
173 ### 🛑 Breaking changes 🛑
174
175 - `all`: Increase minimum Go version to 1.24 (#13627)
176
177 ### 💡 Enhancements 💡
178
179 - `otlphttpexporter`: Add `profiles_endpoint` configuration option to allow custom endpoint for profiles data export (#13504)
180 The `profiles_endpoint` configuration follows the same pattern as `traces_endpoint`, `metrics_endpoint`, and `logs_endpoint`.
181 When specified, profiles data will be sent to the custom URL instead of the default `{endpoint}/v1development/profiles`.
182
183 - `pdata`: Add support for local memory pooling for data objects. (#13678)
184 This is still an early experimental (alpha) feature. Do not recommended to be used production. To enable use "--featuregate=+pdata.useProtoPooling"
185 - `pdata`: Optimize CopyTo messages to avoid any copy when same source and destination (#13680)
186 - `receiverhelper`: New feature flag to make receiverhelper distinguish internal vs. downstream errors using new `otelcol_receiver_failed_x` and `otelcol_receiver_requests` metrics (#12207, #12802)
187 This is a breaking change for the semantics of the otelcol_receiver_refused_metric_points, otelcol_receiver_refused_log_records and otelcol_receiver_refused_spans metrics.
188 These new metrics and semantics are enabled through the `receiverhelper.newReceiverMetrics` feature gate.
189
190 - `debugexporter`: Add support for entity references in debug exporter output (#13324)
191 - `pdata`: Fix unnecessary allocation of a new state when adding new values to pcommon.Map (#13634)
192 - `service`: Implement refcounting for pipeline data owned memory. (#13631)
193 This feature is protected by `--featuregate=+pdata.useProtoPooling`.
194 - `service`: Add a debug-level log message when a consumer returns an error. (#13357)
195 - `xpdata`: Optimize xpdata/context for persistent queue when only one value for key (#13636)
196 - `otlpreceiver`: Log the listening addresses of the receiver, rather than the configured endpoints. (#13654)
197 - `pdata`: Use the newly added proto marshaler/unmarshaler for the official proto Marshaler/Unmarshaler (#13637)
198 If any problems observed with this consider to disable the featuregate `--feature-gates=-pdata.useCustomProtoEncoding`
199 <!-- cspell:ignore MLKEM mlkem -->
200 - `configtls`: Enable X25519MLKEM768 as per draft-ietf-tls-ecdhe-mlkem (#13670)
201
202 ### 🧰 Bug fixes 🧰
203
204 - `exporterhelper`: Prevent uncontrolled goroutines in batcher due to a incorrect worker pool behaviour. (#13689)
205 - `service`: Ensure the insecure configuration is accounted for when normalizing the endpoint. (#13691)
206 - `configoptional`: Allow validating nested types (#13579)
207 `configoptional.Optional` now implements `xconfmap.Validator`
208 - `batchprocessor`: Fix UB in batch processor when trying to read bytes size after adding request to pipeline (#13698)
209 This bug only happens id detailed metrics are enabled and also an async (sending queue enabled) exporter that mutates data is configure.
210
211 <!-- previous-version -->
212
213 ## v1.38.0/v0.132.0
214
215 ### 🛑 Breaking changes 🛑
216
217 - `componentstatus`: Change the signature of the componentstatus.NewEvent to accept multiple options. (#13210)
218 Changes the signature of the component.NewEvent to accept multiple EventBuilderOption,
219 like the new WithAttributes constructor.
220
221
222 ### 🚩 Deprecations 🚩
223
224 - `service`: move service.noopTraceProvider feature gate to deprecated stage (#13492)
225 The functionality of the feature gate is available via configuration with the following telemetry settings:
226 ```
227 service:
228 telemetry:
229 traces:
230 level: none
231 ```
232
233 - `mdatagen`: Remove the deletion of `generated_component_telemetry_test.go`. (#12067)
234 This file used to be generated by mdatagen. Starting with 0.122.0, the code deletes that file.
235 It is no longer necessary to delete the file, as code has had time to upgrade to mdatagen and delete the file.
236
237 - `service`: The `telemetry.disableHighCardinalityMetrics` feature gate is deprecated (#13537)
238 The feature gate is now deprecated since metric views can be configured.
239 The feature gate will be removed in v0.134.0.
240
241 The metric attributes removed by this feature gate are no longer emitted
242 by the Collector by default, but if needed, you can achieve the same
243 functionality by configuring the following metric views:
244
245 ```yaml
246 service:
247 telemetry:
248 metrics:
249 level: detailed
250 views:
251 - selector:
252 meter_name: "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
253 stream:
254 attribute_keys:
255 excluded: ["net.sock.peer.addr", "net.sock.peer.port", "net.sock.peer.name"]
256 - selector:
257 meter_name: "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
258 stream:
259 attribute_keys:
260 excluded: ["net.host.name", "net.host.port"]
261 ```
262
263 Note that this requires setting `service::telemetry::metrics::level: detailed`.
264 If you have a strong use case for using views in combination with a different
265 level, please show your interest in
266 https://github.com/open-telemetry/opentelemetry-collector/issues/10769.
267
268
269 ### 💡 Enhancements 💡
270
271 - `pdata`: Generate Logs/Traces/Metrics/Profiles and p[log|trace|metric|profile]ExportResponse with pdatagen. (#13597)
272 This change brings consistency on how these structs are written and remove JSON marshaling/unmarshaling hand written logic.
273 - `confighttp`: Add option to configure ForceAttemptHTTP2 to support HTTP/1 specific transport settings. (#13426)
274 - `pdata`: Avoid unnecessary buffer copy when JSON marshal fails. (#13598)
275 - `cmd/mdatagen`: Use a custom host implementation for lifecycle tests (#13589)
276 Use a custom noop host implementation that implements all non-deprecated, publicly-accessible interfaces implemented by the Collector service.
277 - `processorhelper`: Add processor internal duration metric. (#13231)
278 - `pdata`: Improve RemoveIf for slices to not reference anymore the removed memory (#13522)
279
280 ### 🧰 Bug fixes 🧰
281
282 - `pdata`: Fix null pointer access when copying into a slice with larger cap but smaller len. (#13523)
283 - `confighttp`: Fix middleware configuration field name from "middleware" to "middlewares" for consistency with configgrpc (#13444)
284 - `memorylimiterextension, memorylimiterprocessor`: Memory limiter extension and processor shutdown don't throw an error if the component was not started first. (#9687)
285 The components would throw an error if they were shut down before being started.
286 With this change, they will no longer return an error, conforming to the lifecycle of components expected.
287
288 - `confighttp`: Reuse zstd Reader objects (#11824)
289
290 <!-- previous-version -->
291
292 ## v1.37.0/v0.131.0
293
294 ### 🛑 Breaking changes 🛑
295
296 - `confighttp`: Move `confighttp.framedSnappy` feature gate to beta. (#10584)
297
298 ### 💡 Enhancements 💡
299
300 - `exporter/debug`: Move to alpha stability except profiles (#13487)
301 - `exporterhelper`: Enable `exporter.PersistRequestContext` feature gate by default. (#13437)
302 Request context is now preserved by default when using persistent queues.
303 Note that Auth extensions context is not propagated through the persistent queue.
304
305 - `pdata`: Use pdatagen to generate marshalJSON without using gogo proto jsonpb. (#13450)
306 - `otlpreceiver`: Remove usage of gogo proto which uses reflect.Value.MethodByName. Removes one source of disabling DCE. (#12747)
307 - `exporterhelper`: Fix metrics split logic to consider metrics description into the size. (#13418)
308 - `service`: New pipeline instrumentation now differentiates internal failures from downstream errors (#13234)
309 With the telemetry.newPipelineTelemetry feature gate enabled, the "received" and "produced"
310 metrics related to a component now distinguish between two types of errors:
311 - "outcome = failure" indicates that the component returned an internal error;
312 - "outcome = refused" indicates that the component successfully emitted data, but returned an
313 error coming from a downstream component processing that data.
314
315 - `pdata`: Remove usage of text/template from pdata, improves DCE. (#12747)
316 - `architecture`: New Tier 3 platform riscv64 allowing the collector to be built and distributed for this platform. (#13462)
317
318 ### 🧰 Bug fixes 🧰
319
320 - `exporterhelper`: Prevents the exporter for being stuck when telemetry data is bigger than batch.max_size (#12893)
321 - `mdatagen`: Fix import paths for mdatagen component (#13069)
322 - `otlpreceiver`: Error handler correctly fallbacks to content type (#13414)
323 - `pdata/pprofiles`: Fix profiles JSON unmarshal logic for originalPayload. The bytes have to be base64 encoded. (#13483)
324 - `xpdata`: Fix unmarshaling JSON for entities, add e2e tests to avoid this in the future. (#13480)
325 - `service`: Downgrade dependency of prometheus exporter in OTel Go SDK (#13429)
326 This fixes the bug where collector's internal metrics are emitted with an unexpected suffix in their names when users configure the service::telemetry::metrics::readers with Prometheus
327 - `service`: Revert Default internal metrics config now enables `otel_scope_` labels (#12939, #13344)
328 Reverting change temporarily due to prometheus exporter downgrade. This unfortunately re-introduces the bug that instrumentation scope attributes cause errors in Prometheus exporter. See http://github.com/open-telemetry/opentelemetry-collector/issues/12939 for details.
329 - `builder`: Remove undocumented handling of `DIST_*` environment variables replacements (#13335)
330
331 <!-- previous-version -->
332
333 ## v1.36.1/v0.130.1
334
335 ### 🧰 Bug fixes 🧰
336
337 - `service`: Fixes bug where internal metrics are emitted with an unexpected suffix in their names when users configure `service::telemetry::metrics::readers` with Prometheus. (#13449)
338 See more details on https://github.com/open-telemetry/opentelemetry-go/issues/7039
339
340 <!-- previous-version -->
341
342 ## v1.36.0/v0.130.0
343
344 ### ❗ Known Issues ❗
345
346 - Due to a [bug](https://github.com/open-telemetry/opentelemetry-go/issues/7039) in the prometheus exporter, if you are configuring a prometheus exporter, the collector's internal metrics will be emitted with an unexpected suffix in its name. For example, the metric `otelcol_exporter_sent_spans__spans__total` instead of `otelcol_exporter_sent_spans_total`. The workaround is to manually configure `without_units: true` in your prometheus exporter config
347
348 ```yaml
349 service:
350 telemetry:
351 metrics:
352 readers:
353 - pull:
354 exporter:
355 prometheus:
356 host: 0.0.0.0
357 port: 8888
358 without_units: true
359 ```
360
361 If you are using the collector's default Prometheus exporter for exporting internal metrics you are unaffected.
362
363 ### 🛑 Breaking changes 🛑
364
365 - `exporter/otlp`: Remove deprecated batcher config from OTLP, use queuebatch (#13339)
366
367 ### 💡 Enhancements 💡
368
369 - `exporterhelper`: Enable items and bytes sizers for persistent queue (#12881)
370 - `exporterhelper`: Refactor persistent storage size backup to always record it. (#12890)
371 - `exporterhelper`: Add support to configure a different Sizer for the batcher than the queue (#13313)
372 - `yaml`: Replaced `sigs.k8s.io/yaml` with `go.yaml.in/yaml` for improved support and long-term maintainability. (#13308)
373
374 ### 🧰 Bug fixes 🧰
375
376 - `exporterhelper`: Fix exporter.PersistRequestContext feature gate (#13342)
377 - `exporterhelper`: Preserve all metrics metadata when batch splitting. (#13236)
378 Previously, when large batches of metrics were processed, the splitting logic in `metric_batch.go` could
379 cause the `name` field of some metrics to disappear. This fix ensures that all metric fields are
380 properly preserved when `metricRequest` objects are split.
381
382 - `service`: Default internal metrics config now enables `otel_scope_` labels (#12939, #13344)
383 By default, the Collector exports its internal metrics using a Prometheus
384 exporter from the opentelemetry-go repository. With this change, the Collector
385 no longer sets "without_scope_info" to true in its configuration.
386
387 This means that all exported metrics will have `otel_scope_name`,
388 `otel_scope_schema_url`, and `otel_scope_version` labels corresponding to the
389 instrumentation scope metadata for that metric.
390
391 This notably prevents an error when multiple metrics are only distinguished
392 by their instrumentation scopes and end up aliased during export.
393
394 If this is not desired behavior, a Prometheus exporter can be explicitly
395 configured with this option enabled.
396
397
398 <!-- previous-version -->
399
400 ## v1.35.0/v0.129.0
401
402 ### 🛑 Breaking changes 🛑
403
404 - `exporterhelper`: Remove deprecated sending_queue::blocking options, use sending_queue::block_on_overflow. (#13211)
405
406 ### 💡 Enhancements 💡
407
408 - `mdatagen`: Taught mdatagen to print the `go list` stderr output on failures, and to run `go list` where the metadata file is. (#13205)
409 - `service`: Support setting `sampler` and `limits` under `service::telemetry::traces` (#13201)
410 This allows users to enable sampling and set span limits on internal Collector traces using the
411 OpenTelemetry SDK declarative configuration.
412
413 - `pdata/pprofile`: Add new helper methods `FromLocationIndices` and `PutLocation` to read and modify the content of locations. (#13150)
414 - `exporterhelper`: Preserve request span context and client information in the persistent queue. (#11740, #13220, #13232)
415 It allows internal collector spans and client information to propagate through the persistent queue used by
416 the exporters. The same way as it's done for the in-memory queue.
417 Currently, it is behind the exporter.PersistRequestContext feature gate, which can be enabled by adding
418 `--feature-gates=exporter.PersistRequestContext` to the collector command line. An exporter buffer stored by
419 a previous version of the collector (or by a collector with the feature gate disabled) can be read by a newer
420 collector with the feature enabled. However, the reverse is not supported: a buffer stored by a newer collector with
421 the feature enabled cannot be read by an older collector (or by a collector with the feature gate disabled).
422
423
424 ### 🧰 Bug fixes 🧰
425
426 - `pdata`: Fix copying of optional fields when the source is unset. (#13268)
427 - `service`: Only allocate one set of internal log sampling counters (#13014)
428 The case where logs are only exported to stdout was fixed in v0.126.0;
429 this new fix also covers the case where logs are exported through OTLP.
430
431
432 <!-- previous-version -->
433
434 ## v1.34.0/v0.128.0
435
436 ### 🛑 Breaking changes 🛑
437
438 - `service/telemetry`: Mark "telemetry.disableAddressFieldForInternalTelemetry" as stable (#13152)
439
440 ### 💡 Enhancements 💡
441
442 - `confighttp`: Update the HTTP server span naming to use the HTTP method and route pattern instead of the path. (#12468)
443 The HTTP server span name will now be formatted as `<http.request.method> <http.route>`.
444 If a route pattern is not available, it will fall back to `<http.request.method>`.
445
446 - `service`: Use configured loggers to log errors as soon as it is available (#13081)
447 - `service`: Remove stabilized featuregate useOtelWithSDKConfigurationForInternalTelemetry (#13152)
448
449 ### 🧰 Bug fixes 🧰
450
451 - `telemetry`: Add generated resource attributes to the printed log messages. (#13110)
452 If service.name, service.version, or service.instance.id are not specified in the config, they will be generated automatically.
453 This change ensures that these attributes are also included in the printed log messages.
454
455 - `mdatagen`: Fix generation when there are no events in the metadata. (#13123)
456 - `confmap`: Do not panic on assigning nil maps to non-nil maps (#13117)
457 - `pdata`: Fix event_name skipped when unmarshalling LogRecord from JSON (#13127)
458
459 <!-- previous-version -->
460
461 ## v1.33.0/v0.127.0
462
463 ### 🚩 Deprecations 🚩
464
465 - `semconv`: Deprecating the semconv package in favour of go.opentelemetry.io/otel/semconv (#13012)
466
467 ### 💡 Enhancements 💡
468
469 - `exporter/debug`: Display resource and scope in `normal` verbosity (#10515)
470 - `service`: Add size metrics defined in Pipeline Component Telemetry RFC (#13032)
471 See [Pipeline Component Telemetry RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md) for more details:
472 - `otelcol.receiver.produced.size`
473 - `otelcol.processor.consumed.size`
474 - `otelcol.processor.produced.size`
475 - `otelcol.connector.consumed.size`
476 - `otelcol.connector.produced.size`
477 - `otelcol.exporter.consumed.size`
478
479
480 <!-- previous-version -->
481
482 ## v1.32.0/v0.126.0
483
484 ### 🛑 Breaking changes 🛑
485
486 - `configauth`: Removes deprecated `configauth.Authentication` and `extensionauthtest.NewErrorClient` (#12992)
487 The following have been removed:
488 - `configauth.Authentication` use `configauth.Config` instead
489 - `extensionauthtest.NewErrorClient` use `extensionauthtest.NewErr` instead
490
491
492 ### 💡 Enhancements 💡
493
494 - `service`: Replace `go.opentelemetry.io/collector/semconv` usage with `go.opentelemetry.io/otel/semconv` (#12991)
495 - `confmap`: Update the behavior of the confmap.enableMergeAppendOption feature gate to merge only component lists. (#12926)
496 - `service`: Add item count metrics defined in Pipeline Component Telemetry RFC (#12812)
497 See [Pipeline Component Telemetry RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md) for more details:
498 - `otelcol.receiver.produced.items`
499 - `otelcol.processor.consumed.items`
500 - `otelcol.processor.produced.items`
501 - `otelcol.connector.consumed.items`
502 - `otelcol.connector.produced.items`
503 - `otelcol.exporter.consumed.items`
504
505 - `tls`: Add trusted platform module (TPM) support to TLS authentication. (#12801)
506 Now the TLS allows the use of TPM for loading private keys (e.g. in TSS2 format).
507
508
509 ### 🧰 Bug fixes 🧰
510
511 - `exporterhelper`: Add validation error for batch config if min_size is greater than queue_size. (#12948)
512 - `telemetry`: Allocate less memory per component when OTLP exporting of logs is disabled (#13014)
513 - `confmap`: Use reflect.DeepEqual to avoid panic when confmap.enableMergeAppendOption feature gate is enabled. (#12932)
514 - `internal telemetry`: Add resource attributes from telemetry.resource to the logger (#12582)
515 Resource attributes from telemetry.resource were not added to the internal
516 console logs.
517
518 Now, they are added to the logger as part of the "resource" field.
519
520 - `confighttp and configcompression`: Fix handling of `snappy` content-encoding in a backwards-compatible way (#10584, #12825)
521 The collector used the Snappy compression type of "framed" to handle the HTTP
522 content-encoding "snappy". However, this encoding is typically used to indicate
523 the "block" compression variant of "snappy". This change allows the collector to:
524 - When receiving a request with encoding 'snappy', the server endpoints will peek
525 at the first bytes of the payload to determine if it is "framed" or "block" snappy,
526 and will decompress accordingly. This is a backwards-compatible change.
527
528 If the feature-gate "confighttp.framedSnappy" is enabled, you'll see new behavior for both client and server:
529 - Client compression type "snappy" will now compress to the "block" variant of snappy
530 instead of "framed". Client compression type "x-snappy-framed" will now compress to the "framed" variant of snappy.
531 - Servers will accept both "snappy" and "x-snappy-framed" as valid content-encodings.
532
533 - `tlsconfig`: Disable TPM tests on MacOS/Darwin (#12964)
534
535 <!-- previous-version -->
536
537 ## v1.31.0/v0.125.0
538
539 ### 🛑 Breaking changes 🛑
540
541 - `service`: Lowercase values for 'otelcol.component.kind' attributes. (#12865)
542 - `service`: Restrict the `telemetry.newPipelineTelemetry` feature gate to metrics. (#12856, #12933)
543 The "off" state of this feature gate introduced a regression, where the Collector's internal logs were missing component attributes. See issue #12870 for more details on this bug.
544
545 On the other hand, the "on" state introduced an issue with the Collector's default internal metrics, because the Prometheus exporter does not currently support instrumentation scope attributes.
546
547 To solve both of these issues, this change turns on the new scope attributes for logs and traces by default regardless of the feature gate.
548 However, the new scope attributes for metrics stay locked behind the feature gate, and will remain off by default until the Prometheus exporter is updated to support scope attributes.
549
550 Please understand that enabling the `telemetry.newPipelineTelemetry` feature gate may break the export of Collector metrics through, depending on your configuration.
551 Having a `batch` processor in multiple pipelines is a known trigger for this.
552
553 This comes with a breaking change, where internal logs exported through OTLP will now use instrumentation scope attributes to identify the source component instead of log attributes.
554 This does not affect the Collector's stderr output. See the changelog for v0.123.0 for a more detailed description of the gate's effects.
555
556
557 ### 💡 Enhancements 💡
558
559 - `mdatagen`: Add support for attributes for telemetry configuration in metadata. (#12919)
560 - `configmiddleware`: Add extensionmiddleware interface. (#12603, #9591)
561 - `configgrpc`: Add gRPC middleware support. (#12603, #9591)
562 - `confighttp`: Add HTTP middleware support. (#12603, #9591, #7441)
563 - `configmiddleware`: Add configmiddleware struct. (#12603, #9591)
564
565 ### 🧰 Bug fixes 🧰
566
567 - `exporterhelper`: Do not ignore the `num_consumers` setting when batching is enabled. (#12244)
568 - `exporterhelper`: Reject elements larger than the queue capacity (#12847)
569 - `mdatagen`: Add time and plog package imports (#12907)
570 - `confmap`: Maintain nil values when marshaling or unmarshaling nil slices (#11882)
571 Previously, nil slices were converted to empty lists, which are semantically different
572 than a nil slice. This change makes this conversion more consistent when encoding
573 or decoding config, and these values are now maintained.
574
575
576 <!-- previous-version -->
577
578 ## v1.30.0/v0.124.0
579
580 ### 💡 Enhancements 💡
581
582 - `exporterhelper`: Add support for bytes-based batching for profiles in the exporterhelper package. (#3262)
583 - `otelcol`: Enhance config validation using <validate> command to capture all validation errors that prevents the collector from starting. (#8721)
584 - `exporterhelper`: Link batcher context to all batched request's span contexts. (#12212, #8122)
585
586 ### 🧰 Bug fixes 🧰
587
588 - `confighttp`: Ensure http authentication server failures are handled by the provided error handler (#12666)
589
590 <!-- previous-version -->
591
592 ## v1.29.0/v0.123.0
593
594 ### ❗ Known Issues ❗
595
596 - This version increases memory usage by ~0.5 MB per component in the pipelines because a separate Zap Core logger is
597 initialized for each component. The issue is partially fixed in v0.126.0 for users who write logs to stdout, but do
598 not export logs via OTLP. See https://github.com/open-telemetry/opentelemetry-collector/issues/13014 for more details.
599
600 ### 🛑 Breaking changes 🛑
601
602 - `service/telemetry`: Mark `telemetry.disableAddressFieldForInternalTelemetry` as beta, usage of deprecated service::telemetry::address are ignored (#25115)
603 To restore the previous behavior disable `telemetry.disableAddressFieldForInternalTelemetry` feature gate.
604 - `exporterbatch`: Remove deprecated fields `min_size_items` and `max_size_items` from batch config. (#12684)
605
606 ### 🚩 Deprecations 🚩
607
608 - `otlpexporter`: Mark BatcherConfig as deprecated, use `sending_queue::batch` instead (#12726)
609 - `exporterhelper`: Deprecate `blocking` in favor of `block_on_overflow`. (#12710)
610 - `exporterhelper`: Deprecate configuring exporter batching separately. Use `sending_queue::batch` instead. (#12772)
611 Moving the batching configuration to `sending_queue::batch` requires setting `sending_queue::sizer` to `items`
612 which means that `sending_queue::queue_size` needs to be also increased by the average batch size number (roughly
613 x5000 for the default batching configuration).
614 See https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/exporterhelper#configuration
615
616
617 ### 💡 Enhancements 💡
618
619 - `exporterhelper`: Add support to configure batching in the sending queue. (#12746)
620 - `exporterhelper`: Add support for wait_for_result, remove disabled_queue (#12742)
621 This has a side effect for users of the experimental BatchConfig with the queue disabled, since not this is | uses only NumCPU() consumers.
622 - `exporterhelper`: Allow exporter memory queue to use different type of sizers. (#12708)
623 - `service`: Add "telemetry.newPipelineTelemetry" feature gate to inject component-identifying attributes in internal telemetry (#12217)
624 With the feature gate enabled, all internal telemetry (metrics/traces/logs) will include some of
625 the following instrumentation scope attributes:
626 - `otelcol.component.kind`
627 - `otelcol.component.id`
628 - `otelcol.pipeline.id`
629 - `otelcol.signal`
630 - `otelcol.signal.output`
631
632 These attributes are defined in the [Pipeline Component Telemetry RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md#attributes),
633 and identify the component instance from which the telemetry originates.
634 They are added automatically without changes to component code.
635
636 These attributes were already included in internal logs as regular log attributes, starting from
637 v0.120.0. For consistency with other signals, they have been switched to scope attributes (with
638 the exception of logs emitted to standard output), and are now enabled by the feature gate.
639
640 Please make sure that the exporter / backend endpoint you use has support for instrumentation
641 scope attributes before using this feature. If the internal telemetry is exported to another
642 Collector, a transform processor could be used to turn them into other kinds of attributes if
643 necessary.
644
645 - `exporterhelper`: Enable support to do batching using `bytes` sizer (#12751)
646 - `service`: Add config key to set metric views used for internal telemetry (#10769)
647 The `service::telemetry::metrics::views` config key can now be used to explicitly set the list of
648 metric views used for internal telemetry, mirroring `meter_provider::views` in the SDK config.
649 This can be used to disable specific internal metrics, among other uses.
650
651 This key will cause an error if used alongside other features which would normally implicitly create views, such as:
652 - not setting `service::telemetry::metrics::level` to `detailed`;
653 - enabling the `telemetry.disableHighCardinalityMetrics` feature flag.
654
655
656 ### 🧰 Bug fixes 🧰
657
658 - `exporterhelper`: Fix order of starting between queue and batch. (#12705)
659
660 <!-- previous-version -->
661
662 ## v1.28.1/v0.122.1
663
664 ### 🧰 Bug fixes 🧰
665
666 - `confmap`: Ensure slices with defaults containing struct values are correctly set. (#12661)
667 This reverts the changes made in https://github.com/open-telemetry/opentelemetry-collector/pull/11882.
668
669 <!-- previous-version -->
670
671 ## v1.28.0/v0.122.0
672
673 ### 🛑 Breaking changes 🛑
674
675 - `service`: Batch processor telemetry is no longer emitted at "basic" verbosity level (#7890)
676 According to the guidelines, basic-level telemetry should be reserved for core Collector APIs.
677 Components such as the batch processor should emit telemetry starting from the "normal" level
678 (which is also the default level).
679
680 Migration: If your Collector telemetry was set to `level: basic` and you want to keep seeing
681 batch processor-related metrics, consider switching to `level: normal` instead.
682
683
684 ### 💡 Enhancements 💡
685
686 - `service`: Add `service.AllowNoPipelines` feature gate to allow starting the Collector without pipelines. (#12613)
687 This can be used to start with only extensions.
688 - `mdatagen`: Delete generated_status.go if the component type doesn't require it. (#12346)
689 - `componenttest`: Improve config struct mapstructure field tag checks (#12590)
690 `remain` tags and `omitempty` tags without a custom field name will now pass validation.
691 - `service`: include component id/type in start error (#10426)
692 - `mdatagen`: Add deprecation date and migration guide fields as part of component metadata (#12359)
693 - `confmap`: Introduce a new feature flag to allow for merging lists instead of discarding the existing ones. (#8394, #8754, #10370)
694 You can enable this option via the command line by running following command:
695 otelcol --config=main.yaml --config=extra_config.yaml --feature-gates=-confmap.enableMergeAppendOption
696
697 - `zpagesextension`: Add expvar handler to zpages extension. (#11081)
698
699 ### 🧰 Bug fixes 🧰
700
701 - `confmap`: Maintain nil values when marshaling or unmarshaling nil slices (#11882)
702 Previously, nil slices were converted to empty lists, which are semantically different
703 than a nil slice. This change makes this conversion more consistent when encoding
704 or decoding config, and these values are now maintained.
705
706 - `service`: do not attempt to register process metrics if they are disabled (#12098)
707
708 <!-- previous-version -->
709
710 ## v1.27.0/v0.121.0
711
712 ### 🛑 Breaking changes 🛑
713
714 - `confighttp`: Make the client config options `max_idle_conns`, `max_idle_conns_per_host`, `max_conns_per_host`, and `idle_conn_timeout` integers (#9478)
715 All four options can be set to `0` where they were previously set to `null`
716
717 ### 🚩 Deprecations 🚩
718
719 - `exporterhelper`: Deprecate `min_size_items` and `max_size_items` in favor of `min_size` and `max_size`. (#12486)
720
721 ### 💡 Enhancements 💡
722
723 - `mdatagen`: Add `converter` and `provider` module classes (#12467)
724 - `pipeline`: output pipeline name with signal as signal[/name] format in logs. (#12410)
725 - `memorylimiter`: Add support to configure min GC intervals for soft and hard limits. (#12450)
726 - `otlpexporter`: Update the stability level for logs, it has been as stable as traces and metrics for some time. (#12423)
727 - `service`: Create a new subcommand to dump the initial configuration after resolving/merging. (#11479)
728 To use the `print-initial-config` subcommand, invoke the Collector with the subcommand and corresponding feature gate: `otelcol print-initial-config --feature-gates=otelcol.printInitialConfig --config=config.yaml`.
729 Note that the feature gate enabling this flag is currently in alpha stability, and the subcommand may
730 be changed in the future.
731
732 - `memorylimiterprocessor`: Add support for profiles. (#12453)
733 - `otelcol`: Converters are now available in the `components` command. (#11900, #12385)
734 - `component`: Mark module as stable (#9376)
735 - `confmap`: Surface YAML parsing errors when they happen at the top-level. (#12180)
736 This adds context to some instances of the error "retrieved value (type=string) cannot be used as a Conf", which typically happens because of invalid YAML documents
737
738 - `pprofile`: Add LinkIndex attribute to the generated Sample type (#12485)
739 - `exporterhelper`: Stabilize exporter.UsePullingBasedExporterQueueBatcher and remove old batch sender (#12425)
740 - `mdatagen`: Update metadata schema with new fields without enforcing them (#12359)
741
742 ### 🧰 Bug fixes 🧰
743
744 - `service`: Fix crash at startup when converting from v0.2.0 to v0.3.0 (#12438)
745 - `service`: fix bug in parsing service::telemetry configuration (#12437)
746 - `exporterhelper`: Fix bug where the error logged when conversion of data fails is always nil (#12510)
747 - `mdatagen`: Adds back missing import for filter when emitting resource attributes (#12455)
748
749 ## v1.26.0/v0.120.0
750
751 ### 🛑 Breaking changes 🛑
752
753 - `all`: Added support for go1.24, bumped minimum version to 1.23 (#12370)
754 - `mdatagen`: Removing deprecated generated funcs and a few test funcs as well. (#12304)
755 - `service`: Align component logger attributes with those defined in RFC (#12217)
756 See [Pipeline Component Telemetry RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/component-universal-telemetry.md#attributes)
757
758
759 ### 💡 Enhancements 💡
760
761 - `otlpreceiver`: Update stability for logs (#12335)
762 - `exporterhelper`: Implement sync disabled queue used when batching is enabled. (#12245)
763 - `exporterhelper`: Enable the new pull-based batcher in exporterhelper (#12291)
764 - `exporterhelper`: Update queue size after the element is done exported (#12399)
765 After this change the active queue size will include elements in the process of being exported.
766 - `otelcol`: Add featuregate command to display information about available features (#11998)
767 The featuregate command allows users to view detailed information about feature gates
768 including their status, stage, and description.
769
770
771 ### 🧰 Bug fixes 🧰
772
773 - `memorylimiter`: Logger no longer attributes to single signal, pipeline, or component. (#12217)
774 - `otlpreceiver`: Logger no longer attributes to random signal when receiving multiple signals. (#12217)
775 - `exporterhelper`: Fix undefined behavior access to request after send to next component. This causes random memory access. (#12281)
776 - `exporterhelper`: Fix default batcher to correctly call all done callbacks exactly once (#12247)
777 - `otlpreceiver`: Fix OTLP http receiver to correctly set Retry-After (#12367)
778 - `otlphttpexporter`: Fix parsing logic for Retry-After in OTLP http protocol. (#12366)
779 The value of Retry-After field can be either an HTTP-date or delay-seconds and the current logic only parsed delay-seconds.
780 - `cmd/builder`: Ensure unique aliases for modules with same suffix (#12201)
781
782 ## v1.25.0/v0.119.0
783
784 ### 🛑 Breaking changes 🛑
785
786 - `exporterhelper`: Rename exporter span signal specific attributes (e.g. "sent_spans" / "send_failed_span") to "items.sent" / "items.failed". (#12165)
787 - `cmd/mdatagen`: Remove dead field `telemetry::level` (#12144)
788 - `exporterhelper`: Change exporter ID to be a Span level attribute instead on each event. (#12164)
789 This does not have an impact on the level of information emitted, but on the structure of the Span.
790 - `cmd/mdatagen`: Remove `level` field from metrics definition (#12145)
791 This mechanism will be added back once a new views mechanism is implemented.
792 - `service`: Value for telemetry exporter `otlp.protocol` updated from `grpc/protobuf` to `grpc`. (#12337)
793 - `service`: internal metrics exported over Prometheus may differ from previous versions. (#11611)
794
795 Users who do not customize the Prometheus reader should not be impacted. The change to update the internal telemetry to use [otel-go config](https://pkg.go.dev/go.opentelemetry.io/contrib/config) can cause unexpected behaviour
796 for end users. This change is caused by the default values in `config` being different from what the Collector has used in previous versions. The
797 following changes can occur when users configure their `service::telemetry::metrics::readers`:
798 - the metric name will append a `_total` suffix if `without_type_suffix` is not configured. Set `without_type_suffix` to `true` to disable this.
799 - units will be appended to metric name if `without_units` is not configured. Set `without_units` to `true` to disable this.
800 - a `target_info` metric will be emitted if `without_scope_info` is not configured. Set `without_scope_info` to `true` to disable this.
801
802 ### 💡 Enhancements 💡
803
804 - `configtls`: Allow users to mention their preferred curve types for ECDHE handshake (#12174)
805 - `service`: remove custom code and instead use config package to instantiate meter provider. (#11611)
806 - `otelcol`: Adds support for listing config providers in components command's output (#11570)
807 - `general`: Reduce memory allocations when loading configuration and parsing component names (#11964)
808
809 ### 🧰 Bug fixes 🧰
810
811 - `exporterhelper`: Fix bug that the exporter with new batcher may have been marked as non mutation. (#12239)
812 Only affects users that manually turned on `exporter.UsePullingBasedExporterQueueBatcher` featuregate.
813 - `service`: Preserve URL normalization logic that was present before. (#12254)
814 - `confighttp`: confighttp.ToServer now sets ErrorLog with a default logger backed by Zap (#11820)
815
816 This change ensures that the http.Server's ErrorLog is correctly set using Zap's logger at the error level, addressing the issue of error logs being printed using a different logger.
817
818 - `exporterhelper`: Fix context propagation for DisabledBatcher (#12231)
819 - `mdatagen`: apply fieldalignment to generated code (#12125)
820 - `mdatagen`: Fix bug where Histograms were marked as not supporting temporal aggregation (#12168)
821 - `exporterhelper`: Fix MergeSplit issue that ignores the initial message size. (#12257)
822 - `service`: Include validation errors from telemetry.Config when validating the service config (#12100)
823 Previously validation errors were only printed to the console
824 - `service-telemetry`: pass the missing async error channel into service telemetry settings (#11417)
825
826 ## v1.24.0/v0.118.0
827
828 ### 💡 Enhancements 💡
829
830 - `exporterhelper`: Add blocking option to control queue behavior when full (#12090)
831 - `debugexporter`: Add EventName to debug exporter for Logs. EventName was added as top-level field in the LogRecord from 1.5.0 of proto definition. (#11966)
832 - `confighttp`: Added support for configuring compression levels. (#10467)
833 A new configuration option called CompressionParams has been added to confighttp. | This allows users to configure the compression levels for the confighttp client.
834 - `exporterhelper`: Change the memory queue implementation to not pre-allocate capacity objects. (#12070)
835 This change improves memory usage of the collector under low utilization and is a prerequisite for supporting different other size limitations (number of items, bytes).
836
837 ### 🧰 Bug fixes 🧰
838
839 - `mdatagen`: apply fieldalignment to generated code (#12121)
840 - `otelcoltest`: Set `DefaultScheme` to `env` in the test `ConfigProvider` to replicate the default provider used by the Collector. (#12066)
841
842 ## v1.23.0/v0.117.0
843
844 ### 🛑 Breaking changes 🛑
845
846 - `otelcol`: Remove warnings when 0.0.0.0 is used (#11713, #8510)
847
848 ### 🧰 Bug fixes 🧰
849
850 - `internal/sharedcomponent`: Fixed bug where sharedcomponent would use too much memory remembering all the previously reported statuses (#11826)
851
852 ## v1.22.0/v0.116.0
853
854 ### 🛑 Breaking changes 🛑
855
856 - `pdata/pprofile`: Remove deprecated `Profile.EndTime` and `Profile.SetEndTime` methods. (#11796)
857
858 ### 💡 Enhancements 💡
859
860 - `xconfighttp`: Add WithOtelHTTPOptions to experimental module xconfighttp (#11770)
861
862 ### 🧰 Bug fixes 🧰
863
864 - `exporterhelper`: Fix memory leak at exporter shutdown (#11401)
865 - `sharedcomponent`: Remove race-condition and cleanup locking (#11819)
866
867 ## v1.21.0/v0.115.0
868
869 ### 🛑 Breaking changes 🛑
870
871 - `otelcol`: Change all logged timestamps to ISO8601. (#10543)
872 This makes log timestamps human-readable (as opposed to epoch seconds in
873 scientific notation), but may break users trying to parse logged lines in the
874 old format.
875 - `pdata/pprofile`: Upgrade pdata to opentelemetry-proto v1.4.0 (#11722)
876
877 ### 🚩 Deprecations 🚩
878
879 - `scraperhelper`: Deprecate all Scraper helpers in scraperhelper (#11732)
880 Deprecate ScrapeFunc, ScraperOption, WithStart, WithShutdown in favor of equivalent funcs in scraper package.
881
882 ### 💡 Enhancements 💡
883
884 - `exporterqueue`: Introduce a feature gate exporter.UsePullingBasedExporterQueueBatcher to use the new pulling model in exporter queue batching. (#8122, #10368)
885 If both queuing and batching is enabled for exporter, we now use a pulling model instead of a
886 pushing model. num_consumer in queue configuration is now used to specify the maximum number of
887 concurrent workers that are sending out the request.
888
889 - `service`: label metrics as alpha to communicate their stability (#11729)
890 - `consumer`: Mark consumer as stable. (#9046)
891 - `service`: Add support for ca certificates in telemetry metrics otlp grpc exporter (#11633)
892 Before this change the Certificate value in config was silently ignored.
893
894 ### 🧰 Bug fixes 🧰
895
896 - `service`: ensure OTLP emitted logs respect severity (#11718)
897 - `featuregate`: Fix an unfriendly display message `runtime error` when featuregate is used to display command line usage. (#11651)
898 - `profiles`: Fix iteration over scope profiles while counting the samples. (#11688)
899
900 ## v1.20.0/v0.114.0
901
902 ### 💡 Enhancements 💡
903
904 - `cmd/builder`: Allow for replacing of local Providers and Converters when building custom collector with ocb. (#11649)
905 Use the property `path` under `gomod` to replace an go module with a local folder in
906 builder-config.yaml. Ex:
907 ```
908 providers:
909 - gomod: module.url/my/custom/provider v1.2.3
910 path: /path/to/local/provider
911 ```
912
913 - `cmd/builder`: Allow configuring `confmap.Converter` components in ocb. (#11582)
914 If no converters are specified, there will be no converters added.
915 Currently, the only published converter is `expandconverter` which is
916 deprecated as of v0.107.0, but can still be added for testing purposes.
917
918 To configure a custom converter, make sure your converter implements the converter
919 interface and is published as a go module (or replaced locally if not published).
920 You may then use the `converters` key in your OCB build manifest with a list of
921 Go modules (and replaces as necessary) to include your converter.
922
923 Please note that converters are order-dependent. The confmap will apply converters
924 in order of which they are listed in your manifest if there is more than one.
925
926 - `all`: shorten time period before removing an unmaintained component from 6 months to 3 months (#11664)
927
928 ### 🧰 Bug fixes 🧰
929
930 - `all`: Updates dialer timeout section documentation in confignet README (#11685)
931 - `scraperhelper`: If the scraper shuts down, do not scrape first. (#11632)
932 When the scraper is shutting down, it currently will scrape at least once.
933 With this change, upon receiving a shutdown order, the receiver's scraperhelper will exit immediately.
934
935
936 ## v1.19.0/v0.113.0
937
938 ### 🛑 Breaking changes 🛑
939
940 - `internal/fanoutconsumer`: Extract internal/fanoutconsumer as a separate go module (#11441)
941 - `builder`: Remove builder support to build old version, and the otelcol_version config (#11405)
942 User should remove this property from their config, to build older versions use older builders.
943 - `receiver`: Make receivertest into its own module (#11462)
944 - `builder`: Remove deprecated flags from Builder (#11576)
945 Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module
946 - `internal/sharedcomponent`: Extract internal/sharedcomponent as a separate go module (#11442)
947
948 ### 💡 Enhancements 💡
949
950 - `mdatagen`: Add otlp as supported distribution (#11527)
951 - `batchprocessor`: Move single shard batcher creation to the constructor (#11594)
952 - `service`: add support for using the otelzap bridge and emit logs using the OTel Go SDK (#10544)
953
954 ### 🧰 Bug fixes 🧰
955
956 - `service`: ensure traces and logs emitted by the otel go SDK use the same resource information (#11578)
957 - `config/configgrpc`: Patch for bug in the grpc-go NewClient that makes the way the hostname is resolved incompatible with the way proxy setting are applied. (#11537)
958 - `builder`: Update builder default providers to latest stable releases (#11566)
959
960 ## v1.18.0/v0.112.0
961
962 ### 🛑 Breaking changes 🛑
963
964 - `consumer/consumererror`: Extract consumer/consumererror as a separate go module (#11440)
965 - `exporter/exportertest`: Put exportertest into its own module (#11461)
966 - `service`: Remove stable gate component.UseLocalHostAsDefaultHost (#11412)
967
968 ### 🚩 Deprecations 🚩
969
970 - `processortest`: Deprecated 'NewUnhealthyProcessorCreateSettings'. Use NewNopSettings instead. (#11307)
971
972 ### 💡 Enhancements 💡
973
974 - `mdatagen`: Added generated_package_name config field to support custom generated package name. (#11231)
975 - `mdatagen`: Generate documentation for components with resource attributes only (#10705)
976 - `confighttp`: Adding support for lz4 compression into the project (#9128)
977 - `service`: Hide profiles support behind a feature gate while it remains alpha. (#11477)
978 - `exporterhelper`: Retry sender will fail fast when the context timeout is shorter than the next retry interval. (#11183)
979
980 ### 🧰 Bug fixes 🧰
981
982 - `cmd/builder`: Fix default configuration for builder for httpprovider, httpsprovider, and yamlprovider. (#11357)
983 - `processorhelper`: Fix issue where in/out parameters were not recorded when error was returned from consumer. (#11351)
984
985 ## v1.17.0/v0.111.0
986
987 ### 🛑 Breaking changes 🛑
988
989 - `service/telemetry`: Change default metrics address to "localhost:8888" instead of ":8888" (#11251)
990 This behavior can be disabled by disabling the feature gate 'telemetry.UseLocalHostAsDefaultMetricsAddress'.
991 - `loggingexporter`: Removed the deprecated logging exporter. Use the debug exporter instead. (#11037)
992
993 ### 🚩 Deprecations 🚩
994
995 - `service/telemetry`: Deprecate service::telemetry::metrics::address in favor of service::telemetry::metrics::readers. (#11205)
996 - `processorhelper`: Deprecate BuildProcessorMetricName as it's no longer needed since introduction of mdatagen (#11302)
997
998 ### 💡 Enhancements 💡
999
1000 - `ocb`: create docker images for OCB, per https://github.com/open-telemetry/opentelemetry-collector-releases/pull/671 (#5712)
1001 Adds standard Docker images for OCB to Dockerhub and GitHub, see hub.docker.com/r/otel/opentelemetry-collector-builder
1002 - `confighttp`: Snappy compression to lazy read for memory efficiency (#11177)
1003 - `httpsprovider`: Mark the httpsprovider as stable. (#11191)
1004 - `httpprovider`: Mark the httpprovider as stable. (#11191)
1005 - `yamlprovider`: Mark the yamlprovider as stable. (#11192)
1006 - `confmap`: Allow using any YAML structure as a string when loading configuration including time.Time formats (#10659)
1007 Previously, fields with time.Time formats could not be used as strings in configurations
1008
1009
1010 ### 🧰 Bug fixes 🧰
1011
1012 - `processorhelper`: Fix data race condition, concurrent writes to the err variable, causes UB (Undefined Behavior) (#11350)
1013 - `cmd/builder`: re-adds function to properly set and view version number of OpenTelemetry Collector Builder (ocb) binaries (#11208)
1014 - `pdata`: Unmarshal Span and SpanLink flags from JSON (#11267)
1015
1016 ## v1.16.0/v0.110.0
1017
1018 ### 🛑 Breaking changes 🛑
1019
1020 - `processorhelper`: Update incoming/outgoing metrics to a single metric with a `otel.signal` attributes. (#11144)
1021 The following metrics were added in the previous version
1022 - otelcol_processor_incoming_spans
1023 - otelcol_processor_outgoing_spans
1024 - otelcol_processor_incoming_metric_points
1025 - otelcol_processor_outgoing_metric_points
1026 - otelcol_processor_incoming_log_records
1027 - otelcol_processor_outgoing_log_records
1028
1029 They are being replaced with the following to more closely align with OTEP 259:
1030 - otelcol_processor_incoming_items
1031 - otelcol_processor_outgoing_items
1032
1033 - `processorhelper`: Remove deprecated `[Traces|Metrics|Logs]`Inserted funcs (#11151)
1034 - `config`: Mark UseLocalHostAsDefaultHostfeatureGate as stable (#11235)
1035
1036 ### 🚩 Deprecations 🚩
1037
1038 - `processorhelper`: deprecate accepted/refused/dropped metrics (#11201)
1039 The following metrics are being deprecated as they were only used in a single
1040 processor:
1041 - `otelcol_processor_accepted_log_records`
1042 - `otelcol_processor_accepted_metric_points`
1043 - `otelcol_processor_accepted_spans`
1044 - `otelcol_processor_dropped_log_records`
1045 - `otelcol_processor_dropped_metric_points`
1046 - `otelcol_processor_dropped_spans`
1047 - `otelcol_processor_refused_log_records`
1048 - `otelcol_processor_refused_metric_points`
1049 - `otelcol_processor_refused_spans`
1050
1051
1052 ### 💡 Enhancements 💡
1053
1054 - `pdata`: Add support to MoveTo for Map, allow avoiding copies (#11175)
1055 - `mdatagen`: Add stability field to telemetry metrics, allowing the generated description to include a stability string. (#11160)
1056 - `confignet`: Mark module as Stable. (#9801)
1057 - `confmap/provider/envprovider`: Support default values when env var is empty (#5228)
1058 - `mdatagen`: mdatagen `validateMetrics()` support validate metrics in `telemetry.metric` (#10925)
1059 - `service/telemetry`: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable (#7532)
1060 - `mdatagen`: Use cobra for the command, add version flag (#11196)
1061
1062 ### 🧰 Bug fixes 🧰
1063
1064 - `service`: Ensure process telemetry is registered when internal telemetry is configured with readers instead of an address. (#11093)
1065 - `mdatagen`: Fix incorrect generation of metric tests with boolean attributes. (#11169)
1066 - `otelcol`: Fix the Windows Event Log configuration when running the Collector as a Windows service. (#5297, #11051)
1067 - `builder`: Honor build_tags in config (#11156)
1068 - `builder`: Fix version for providers in the default config (#11123)
1069 - `cmd/builder`: Temporarily disable strict versioning checks (#11129, #11152)
1070 The strict versioning check may be enabled by default in a future version once all configuration providers are stabilized.
1071
1072 - `confmap`: Fix loading config of a component from a different source. (#11154)
1073 This issue only affected loading the whole component config, loading parts of a component config from a different source was working correctly.
1074
1075
1076 ## v1.15.0/v0.109.0
1077
1078 ### 🛑 Breaking changes 🛑
1079
1080 - `scraperhelper`: Remove deprecated `ObsReport`, `ObsReportSettings`, `NewObsReport` types/funcs (#11086)
1081 - `confmap`: Remove stable `confmap.strictlyTypedInput` gate (#11008)
1082 - `confmap`: Removes stable `confmap.unifyEnvVarExpansion` feature gate. (#11007)
1083 - `ballastextension`: Removes the deprecated ballastextension (#10671)
1084 - `service`: Removes stable `service.disableOpenCensusBridge` feature gate (#11009)
1085
1086 ### 🚩 Deprecations 🚩
1087
1088 - `processorhelper`: These funcs are not used anywhere, marking them deprecated. (#11083)
1089
1090 ### 🚀 New components 🚀
1091
1092 - `extension/experimental/storage`: Move `extension/experimental/storage` into a separate module (#11022)
1093
1094 ### 💡 Enhancements 💡
1095
1096 - `configtelemetry`: Add guidelines for each level of component telemetry (#10286)
1097 - `service`: move `useOtelWithSDKConfigurationForInternalTelemetry` gate to beta (#11091)
1098 - `service`: implement a no-op tracer provider that doesn't propagate the context (#11026)
1099 The no-op tracer provider supported by the SDK incurs a memory cost of propagating the context no matter
1100 what. This is not needed if tracing is not enabled in the Collector. This implementation of the no-op tracer
1101 provider removes the need to allocate memory when tracing is disabled.
1102
1103 - `envprovider`: Mark module as stable (#10982)
1104 - `fileprovider`: Mark module as stable (#10983)
1105 - `processor`: Add incoming and outgoing counts for processors using processorhelper. (#10910)
1106 Any processor using the processorhelper package (this is most processors) will automatically report
1107 incoming and outgoing item counts. The new metrics are:
1108 - otelcol_processor_incoming_spans
1109 - otelcol_processor_outgoing_spans
1110 - otelcol_processor_incoming_metric_points
1111 - otelcol_processor_outgoing_metric_points
1112 - otelcol_processor_incoming_log_records
1113 - otelcol_processor_outgoing_log_records
1114
1115
1116 ### 🧰 Bug fixes 🧰
1117
1118 - `configgrpc`: Change the value of max_recv_msg_size_mib from uint64 to int to avoid a case where misconfiguration caused an integer overflow. (#10948)
1119 - `exporterqueue`: Fix a bug in persistent queue that Offer can becomes deadlocked when queue is almost full (#11015)
1120
1121 ## v1.14.1/v0.108.1
1122
1123 ### 🧰 Bug fixes 🧰
1124
1125 - `mdatagen`: Fix a missing import in the generated test file (#10969)
1126
1127 ## v1.14.0/v0.108.0
1128
1129 ### 🛑 Breaking changes 🛑
1130
1131 - `all`: Added support for go1.23, bumped the minimum version to 1.22 (#10869)
1132 - `otelcol`: Remove deprecated `ConfmapProvider` interface. (#10934)
1133 - `confmap`: Mark `confmap.strictlyTypedInput` as stable (#10552)
1134
1135 ### 💡 Enhancements 💡
1136
1137 - `exporter/otlp`: Add batching option to otlp exporter (#8122)
1138 - `builder`: Add a --skip-new-go-module flag to skip creating a module in the output directory. (#9252)
1139 - `component`: Add `TelemetrySettings.LeveledMeterProvider` func to replace MetricsLevel in the near future (#10931)
1140 - `mdatagen`: Add `LeveledMeter` method to mdatagen (#10933)
1141 - `service`: Adds `level` configuration option to `service::telemetry::trace` to allow users to disable the default TracerProvider (#10892)
1142 This replaces the feature gate `service.noopTracerProvider` introduced in v0.107.0
1143 - `componentstatus`: Add new Reporter interface to define how to report a status via a `component.Host` implementation (#10852)
1144 - `mdatagen`: support using a different github project in mdatagen README issues list (#10484)
1145 - `mdatagen`: Updates mdatagen's usage to output a complete command line example, including the metadata.yaml file. (#10886)
1146 - `extension`: Add ModuleInfo to extension.Settings to allow extensions to access component go module information. (#10876)
1147 - `confmap`: Mark module as stable (#9379)
1148
1149 ### 🧰 Bug fixes 🧰
1150
1151 - `batchprocessor`: Update units for internal telemetry (#10652)
1152 - `confmap`: Fix bug where an unset env var used with a non-string field resulted in a panic (#10950)
1153 - `service`: Fix memory leaks during service package shutdown (#9165)
1154 - `mdatagen`: Update generated telemetry template to only include context import when there are async metrics. (#10883)
1155 - `mdatagen`: Fixed bug in which setting `SkipLifecycle` & `SkipShutdown` to true would result in a generated file with an unused import `confmaptest` (#10866)
1156 - `confmap`: Use string representation for field types where all primitive types are strings. (#10937)
1157 - `otelcol`: Preserve internal representation when unmarshaling component configs (#10552)
1158
1159 ## v1.13.0/v0.107.0
1160
1161 ### 🛑 Breaking changes 🛑
1162
1163 - `service`: Remove OpenCensus bridge completely, mark feature gate as stable. (#10414)
1164 - `confmap`: Set the `confmap.unifyEnvVarExpansion` feature gate to Stable. Expansion of `$FOO` env vars is no longer supported. Use `${FOO}` or `${env:FOO}` instead. (#10508)
1165 - `service`: Remove `otelcol` from Prometheus configuration. This means that any metric that isn't explicitly prefixed with `otelcol_` no longer have that prefix. (#9759)
1166
1167 ### 💡 Enhancements 💡
1168
1169 - `mdatagen`: export ScopeName in internal/metadata package (#10845)
1170 This can be used by components that need to set their scope name manually. Will save component owners from having to store a variable, which may diverge from the scope name used by the component for emitting its own telemetry.
1171 - `semconv`: Add v1.26.0 semantic conventions package (#10249, #10829)
1172 - `mdatagen`: Expose a setting on tests::host to set up your own host initialization code (#10765)
1173 Some receivers require a host that has additional capabilities such as exposing exporters.
1174 For those, we can expose a setting that allows them to place a different host in the generated code.
1175
1176 - `confmap`: Allow using any YAML structure as a string when loading configuration. (#10800)
1177 Previous to this change, slices could not be used as strings in configuration.
1178
1179 - `ocb`: migrate build and release of ocb binaries to opentelemetry-collector-releases repository (#10710)
1180 ocb binaries will now be released under open-telemetry/opentelemetry-collector-releases tagged as "cmd/builder/vX.XXX.X"
1181 - `semconv`: Add semantic conventions version v1.27.0 (#10837)
1182 - `client`: Mark module as stable. (#10775)
1183
1184 ### 🧰 Bug fixes 🧰
1185
1186 - `configtelemetry`: Add 10s read header timeout on the configtelemetry Prometheus HTTP server. (#5699)
1187 - `service`: Allow users to disable the tracer provider via the feature gate `service.noopTracerProvider` (#10858)
1188 The service is returning an instance of a SDK tracer provider regardless of whether there were any processors configured causing resources to be consumed unnecessarily.
1189 - `processorhelper`: Fix processor metrics not being reported initially with 0 values. (#10855)
1190 - `service`: Implement the `temporality_preference` setting for internal telemetry exported via OTLP (#10745)
1191 - `configauth`: Fix unmarshaling of authentication in HTTP servers. (#10750)
1192 - `confmap`: If loading an invalid YAML string through a provider, use it verbatim instead of erroring out. (#10759)
1193 This makes the ${env:ENV} syntax closer to how ${ENV} worked before unifying syntaxes.
1194
1195 - `component`: Allow component names of up to 1024 characters in length. (#10816)
1196 - `confmap`: Remove original string representation if invalid. (#10787)
1197
1198 ## v0.106.1
1199
1200 ### 🧰 Bug fixes 🧰
1201
1202 - `configauth`: Fix unmarshaling of authentication in HTTP servers. (#10750)
1203
1204 ## v0.106.0
1205
1206 ### 🛑 Breaking changes 🛑
1207
1208 - `service`: Update all metrics to include `otelcol_` prefix to ensure consistency across OTLP and Prometheus metrics (#9759)
1209 This change is marked as a breaking change as anyone that was using OTLP for metrics will
1210 see the new prefix which was not present before. Prometheus generated metrics remain
1211 unchanged.
1212
1213 - `confighttp`: Delete `ClientConfig.CustomRoundTripper` (#8627)
1214 Set (*http.Client).Transport on the *http.Client returned from ToClient to configure this.
1215 - `confmap`: When passing configuration for a string field using any provider, use the verbatim string representation as the value. (#10605, #10405)
1216 This matches the behavior of `${ENV}` syntax prior to the promotion of the `confmap.unifyEnvVarExpansion` feature gate
1217 to beta. It changes the behavior of the `${env:ENV}` syntax with escaped strings.
1218
1219 - `component`: Adds restrictions on the character set for component.ID name. (#10673)
1220 - `processor/memorylimiter`: The memory limiter processor will no longer account for ballast size. (#10696)
1221 If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
1222 - `extension/memorylimiter`: The memory limiter extension will no longer account for ballast size. (#10696)
1223 If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
1224 - `service`: The service will no longer be able to get a ballast size from the deprecated ballast extension. (#10696)
1225 If you are already using GOMEMLIMIT instead of the ballast extension this does not affect you.
1226
1227 ### 🚀 New components 🚀
1228
1229 - `client`: Create a new go module `go.opentelemetry.io/collector/client` (#9804)
1230 This module contains generic representations of clients connecting to different receivers.
1231
1232 ### 💡 Enhancements 💡
1233
1234 - `exporterhelper`: Add data_type attribute to `otelcol_exporter_queue_size` metric to report the type of data being processed. (#9943)
1235 - `confighttp`: Add option to include query params in auth context (#4806)
1236 - `configgrpc`: gRPC auth errors now return gRPC status code UNAUTHENTICATED (16) (#7646)
1237 - `httpprovider, httpsprovider`: Validate URIs in HTTP and HTTPS providers before fetching. (#10468)
1238
1239 ### 🧰 Bug fixes 🧰
1240
1241 - `processorhelper`: update units for internal telemetry (#10647)
1242 - `confmap`: Increase the amount of recursion and URI expansions allowed in a single line (#10712)
1243 - `exporterhelper`: There is no guarantee that after the exporterhelper sends the plog/pmetric/ptrace data downstream that the data won't be mutated in some way. (e.g by the batch_sender) This mutation could result in the proceeding call to req.ItemsCount() to provide inaccurate information to be logged. (#10033)
1244 - `exporterhelper`: Update units for internal telemetry (#10648)
1245 - `receiverhelper`: Update units for internal telemetry (#10650)
1246 - `scraperhelper`: Update units for internal telemetry (#10649)
1247 - `service`: Use Command/Version to populate service name/version attributes (#10644)
1248
1249 ## v1.12.0/v0.105.0
1250
1251 ### 🛑 Breaking changes 🛑
1252
1253 - `service`: add `service.disableOpenCensusBridge` feature gate which is enabled by default to remove the dependency on OpenCensus (#10414)
1254 - `confmap`: Promote `confmap.strictlyTypedInput` feature gate to beta. (#10552)
1255 This feature gate changes the following:
1256 - Configurations relying on the implicit type casting behaviors listed on [#9532](https://github.com/open-telemetry/opentelemetry-collector/issues/9532) will start to fail.
1257 - Configurations using URI expansion (i.e. `field: ${env:ENV}`) for string-typed fields will use the value passed in `ENV` verbatim without intermediate type casting.
1258
1259
1260 ### 💡 Enhancements 💡
1261
1262 - `configtls`: Mark module as stable. (#9377)
1263 - `confmap`: Remove extra closing parenthesis in sub-config error (#10480)
1264 - `configgrpc`: Update the default load balancer strategy to round_robin (#10319)
1265 To restore the behavior that was previously the default, set `balancer_name` to `pick_first`.
1266 - `cmd/builder`: Add go module info the builder generated code. (#10570)
1267 - `otelcol`: Add go module to components subcommand. (#10570)
1268 - `confmap`: Add explanation to errors related to `confmap.strictlyTypedInput` feature gate. (#9532)
1269 - `confmap`: Allow using `map[string]any` values in string interpolation (#10605)
1270
1271 ### 🧰 Bug fixes 🧰
1272
1273 - `builder`: provide context when a module in the config is missing its gomod value (#10474)
1274 - `confmap`: Fixes issue where confmap could not escape `$$` when `confmap.unifyEnvVarExpansion` is enabled. (#10560)
1275 - `mdatagen`: fix generated comp test for extensions and unused imports in templates (#10477)
1276 - `otlpreceiver`: Fixes a bug where the otlp receiver's http response was not properly translating grpc error codes to http status codes. (#10574)
1277 - `exporterhelper`: Fix incorrect deduplication of otelcol_exporter_queue_size and otelcol_exporter_queue_capacity metrics if multiple exporters are used. (#10444)
1278 - `service/telemetry`: Add ability to set service.name for spans emitted by the Collector (#10489)
1279 - `internal/localhostgate`: Correctly log info message when `component.UseLocalHostAsDefaultHost` is enabled (#8510)
1280
1281 ## v1.11.0/v0.104.0
1282
1283 This release includes 2 very important breaking changes.
1284 1. The `otlpreceiver` will now use `localhost` by default instead of `0.0.0.0`. This may break the receiver in containerized environments like Kubernetes. If you depend on `0.0.0.0` disable the `component.UseLocalHostAsDefaultHost` feature gate or explicitly set the endpoint to `0.0.0.0`.
1285 2. Expansion of BASH-style environment variables, such as `$FOO` will no longer be supported by default. If you depend on this syntax, disable the `confmap.unifyEnvVarExpansion` feature gate, but know that the feature will be removed in the future in favor of `${env:FOO}`.
1286
1287 ### 🛑 Breaking changes 🛑
1288
1289 - `filter`: Remove deprecated `filter.CombinedFilter` (#10348)
1290 - `otelcol`: By default, `otelcol.NewCommand` and `otelcol.NewCommandMustSetProvider` will set the `DefaultScheme` to `env`. (#10435)
1291 - `expandconverter`: By default expandconverter will now error if it is about to expand `$FOO` syntax. Update configuration to use `${env:FOO}` instead or disable the `confmap.unifyEnvVarExpansion` feature gate. (#10435)
1292 - `otlpreceiver`: Switch to `localhost` as the default for all endpoints. (#8510)
1293 Disable the `component.UseLocalHostAsDefaultHost` feature gate to temporarily get the previous default.
1294
1295
1296 ### 💡 Enhancements 💡
1297
1298 - `confighttp`: Add support for cookies in HTTP clients with `cookies::enabled`. (#10175)
1299 The method `confighttp.ToClient` will return a client with a `cookiejar.Jar` which will reuse cookies from server responses in subsequent requests.
1300 - `exporter/debug`: In `normal` verbosity, display one line of text for each telemetry record (log, data point, span) (#7806)
1301 - `exporter/debug`: Add option `use_internal_logger` (#10226)
1302 - `configretry`: Mark module as stable. (#10279)
1303 - `debugexporter`: Print Span.TraceState() when present. (#10421)
1304 Enables viewing sampling threshold information (as by OTEP 235 samplers).
1305 - `processorhelper`: Add "inserted" metrics for processors. (#10353)
1306 This includes the following metrics for processors:
1307 - `processor_inserted_spans`
1308 - `processor_inserted_metric_points`
1309 - `processor_inserted_log_records`
1310
1311
1312 ### 🧰 Bug fixes 🧰
1313
1314 - `otlpexporter`: Update validation to support both dns:// and dns:/// (#10449)
1315 - `service`: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#10011)
1316
1317 ## v1.10.0/v0.103.0
1318
1319 ### 🛑 Breaking changes 🛑
1320
1321 - `exporter/debug`: Disable sampling by default (#9921)
1322 To restore the behavior that was previously the default, set `sampling_thereafter` to `500`.
1323
1324 ### 💡 Enhancements 💡
1325
1326 - `cmd/builder`: Allow setting `otelcol.CollectorSettings.ResolverSettings.DefaultScheme` via the builder's `conf_resolver.default_uri_scheme` configuration option (#10296)
1327 - `mdatagen`: add support for optional internal metrics (#10316)
1328 - `otelcol/expandconverter`: Add `confmap.unifyEnvVarExpansion` feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#10391)
1329 When enabled, this feature gate will:
1330 - Disable expansion of BASH-style env vars (`$FOO`)
1331 - `${FOO}` will be expanded as if it was `${env:FOO}
1332 See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md for more details.
1333
1334 - `confmap`: Add `confmap.unifyEnvVarExpansion` feature gate to allow enabling Collector/Configuration SIG environment variable expansion rules. (#10259)
1335 When enabled, this feature gate will:
1336 - Disable expansion of BASH-style env vars (`$FOO`)
1337 - `${FOO}` will be expanded as if it was `${env:FOO}
1338 See https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/env-vars.md for more details.
1339
1340 - `confighttp`: Allow the compression list to be overridden (#10295)
1341 Allows Collector administrators to control which compression algorithms to enable for HTTP-based receivers.
1342 - `configgrpc`: Revert the zstd compression for gRPC to the third-party library we were using previously. (#10394)
1343 We switched back to our compression logic for zstd when a CVE was found on the third-party library we were using. Now that the third-party library has been fixed, we can revert to that one. For end-users, this has no practical effect. The reproducers for the CVE were tested against this patch, confirming we are not reintroducing the bugs.
1344 - `confmap`: Adds alpha `confmap.strictlyTypedInput` feature gate that enables strict type checks during configuration resolution (#9532)
1345 When enabled, the configuration resolution system will:
1346 - Stop doing most kinds of implicit type casting when resolving configuration values
1347 - Use the original string representation of configuration values if the ${} syntax is used in inline position
1348
1349 - `confighttp`: Use `confighttp.ServerConfig` as part of zpagesextension. See [server configuration](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/confighttp/README.md#server-configuration) options. (#9368)
1350
1351 ### 🧰 Bug fixes 🧰
1352
1353 - `exporterhelper`: Fix potential deadlock in the batch sender (#10315)
1354 - `expandconverter`: Fix bug where an warning was logged incorrectly. (#10392)
1355 - `exporterhelper`: Fix a bug when the retry and timeout logic was not applied with enabled batching. (#10166)
1356 - `exporterhelper`: Fix a bug where an unstarted batch_sender exporter hangs on shutdown (#10306)
1357 - `exporterhelper`: Fix small batch due to unfavorable goroutine scheduling in batch sender (#9952)
1358 - `confmap`: Fix issue where structs with only yaml tags were not marshaled correctly. (#10282)
1359
1360 ## v0.102.1
1361
1362 **This release addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `configgrpc`.**
1363
1364 ### 🧰 Bug fixes 🧰
1365
1366 - `configrpc`: Use own compressors for zstd. Before this change, the zstd compressor we used didn't respect the max message size. This addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `configgrpc` (#10323)
1367
1368 ## v1.9.0/v0.102.0
1369
1370 **This release addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `confighttp`.**
1371
1372 ### 🛑 Breaking changes 🛑
1373
1374 - `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)
1375 - `confighttp`: Apply MaxRequestBodySize to the result of a decompressed body. This addresses [GHSA-c74f-6mfw-mm4v](https://github.com/open-telemetry/opentelemetry-collector/security/advisories/GHSA-c74f-6mfw-mm4v) for `confighttp` (#10289)
1376 When using compressed payloads, the Collector would verify only the size of the compressed payload.
1377 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.
1378 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
1379 client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.
1380
1381
1382 ### 💡 Enhancements 💡
1383
1384 - `mdatagen`: auto-generate utilities to test component telemetry (#19783)
1385 - `mdatagen`: support setting an AttributeSet for async instruments (#9674)
1386 - `mdatagen`: support using telemetry level in telemetry builder (#10234)
1387 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.
1388 - `mdatagen`: add support for bucket boundaries for histograms (#10218)
1389 - `releases`: add documentation in how to verify the image signatures using cosign (#9610)
1390
1391 ### 🧰 Bug fixes 🧰
1392
1393 - `batchprocessor`: ensure attributes are set on cardinality metadata metric (#9674)
1394 - `batchprocessor`: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 (#10231)
1395 - `batchprocessor`: respect telemetry level for all metrics (#10234)
1396 - `exporterhelper`: Fix potential deadlocks in BatcherSender shutdown (#10255)
1397
1398 ## v1.8.0/v0.101.0
1399
1400 ### 💡 Enhancements 💡
1401
1402 - `mdatagen`: generate documentation for internal telemetry (#10170)
1403 - `mdatagen`: add ability to use metadata.yaml to automatically generate instruments for components (#10054)
1404 The `telemetry` section in metadata.yaml is used to generate
1405 instruments for components to measure telemetry about themselves.
1406
1407 - `confmap`: Allow Converters to write logs during startup (#10135)
1408 - `otelcol`: Enable logging during configuration resolution (#10056)
1409
1410 ### 🧰 Bug fixes 🧰
1411
1412 - `mdatagen`: Run package tests when goleak is skipped (#10125)
1413
1414 ## v1.7.0/v0.100.0
1415
1416 ### 🛑 Breaking changes 🛑
1417
1418 - `service`: The `validate` sub-command no longer validates that each pipeline's type is the same as its component types (#10031)
1419
1420 ### 💡 Enhancements 💡
1421
1422 - `semconv`: Add support for v1.25.0 semantic convention (#10072)
1423 - `builder`: remove the need to go get a module to address ambiguous import paths (#10015)
1424 - `pmetric`: Support parsing metric.metadata from OTLP JSON. (#10026)
1425
1426 ### 🧰 Bug fixes 🧰
1427
1428 - `exporterhelper`: Fix enabled config option for batch sender (#10076)
1429
1430 ## v1.6.0/v0.99.0
1431
1432 ### 🛑 Breaking changes 🛑
1433
1434 - `builder`: Add strict version checking when using the builder. Add the temporary flag `--skip-strict-versioning `for skipping this check. (#9896)
1435 Strict version checking will error on major and minor version mismatches
1436 between the `otelcol_version` configured and the builder version or versions
1437 in the go.mod. This check can be temporarily disabled by using the `--skip-strict-versioning`
1438 flag. This flag will be removed in a future minor version.
1439
1440 - `telemetry`: Distributed internal metrics across different levels. (#7890)
1441 The internal metrics levels are updated along with reported metrics:
1442 - The default level is changed from `basic` to `normal`, which can be overridden with `service::telemetry::metrics::level` configuration.
1443 - Batch processor metrics are updated to be reported starting from `normal` level:
1444 - `processor_batch_batch_send_size`
1445 - `processor_batch_metadata_cardinality`
1446 - `processor_batch_timeout_trigger_send`
1447 - `processor_batch_size_trigger_send`
1448 - GRPC/HTTP server and client metrics are updated to be reported starting from `detailed` level:
1449 - http.client.* metrics
1450 - http.server.* metrics
1451 - rpc.server.* metrics
1452 - rpc.client.* metrics
1453
1454
1455 ### 💡 Enhancements 💡
1456
1457 - `confighttp`: Disable concurrency in zstd compression (#8216)
1458 - `cmd/builder`: Allow configuring `confmap.Provider`s in the builder. (#4759)
1459 If no providers are specified, the defaults are used.
1460 The default providers are: env, file, http, https, and yaml.
1461
1462 To configure providers, use the `providers` key in your OCB build
1463 manifest with a list of Go modules for your providers.
1464 The modules will work the same as other Collector components.
1465
1466 - `mdatagen`: enable goleak tests by default via mdatagen (#9959)
1467 - `cmd/mdatagen`: support excluding some metrics based on string and regexes in resource_attributes (#9661)
1468 - `cmd/mdatagen`: Generate config and factory tests covering their requirements. (#9940)
1469 The tests are moved from cmd/builder.
1470
1471 - `confmap`: Add `ProviderSettings`, `ConverterSettings`, `ProviderFactories`, and `ConverterFactories` fields to `confmap.ResolverSettings` (#9516)
1472 This allows configuring providers and converters, which are instantiated by `NewResolver` using the given factories.
1473
1474 ### 🧰 Bug fixes 🧰
1475
1476 - `exporter/otlp`: Allow DNS scheme to be used in endpoint (#4274)
1477 - `service`: fix record sampler configuration (#9968)
1478 - `service`: ensure the tracer provider is configured via go.opentelemetry.io/contrib/config (#9967)
1479 - `otlphttpexporter`: Fixes a bug that was preventing the otlp http exporter from propagating status. (#9892)
1480 - `confmap`: Fix decoding negative configuration values into uints (#9060)
1481
1482 ## v1.5.0/v0.98.0
1483
1484 ### 🛑 Breaking changes 🛑
1485
1486 - `service`: emit internal collector metrics with _ instead of / with OTLP export (#9774)
1487 This is addressing an issue w/ the names of the metrics generated by the Collector for its
1488 internal metrics. Note that this change only impacts users that emit telemetry using OTLP, which
1489 is currently still in experimental support. The prometheus metrics already replaced `/` with `_`
1490 and they will do the same with `_`.
1491
1492
1493 ### 💡 Enhancements 💡
1494
1495 - `mdatagen`: Adds unsupported platforms to the README header (#9794)
1496 - `confmap`: Clarify the use of embedded structs to make unmarshaling composable (#7101)
1497 - `nopexporter`: Promote the nopexporter to beta (#7316)
1498 - `nopreceiver`: Promote the nopreceiver to beta (#7316)
1499 - `otlpexporter`: Checks for port in the config validation for the otlpexporter (#9505)
1500 - `service`: Validate pipeline type against component types (#8007)
1501
1502 ### 🧰 Bug fixes 🧰
1503
1504 - `configtls`: Fix issue where `IncludeSystemCACertsPool` was not consistently used between `ServerConfig` and `ClientConfig`. (#9835)
1505 - `component`: Fix issue where the `components` command wasn't properly printing the component type. (#9856)
1506 - `otelcol`: Fix issue where the `validate` command wasn't properly printing valid component type. (#9866)
1507 - `receiver/otlp`: Fix bug where the otlp receiver did not properly respond with a retryable error code when possible for http (#9357)
1508
1509 ## v1.4.0/v0.97.0
1510
1511 ### 🛑 Breaking changes 🛑
1512
1513 - `telemetry`: Remove telemetry.useOtelForInternalMetrics stable feature gate (#9752)
1514
1515 ### 🚀 New components 🚀
1516
1517 - `exporter/nop`: Add the `nopexporter` to serve as a placeholder exporter in a pipeline (#7316)
1518 This is primarily useful for starting the Collector with only extensions enabled
1519 or to test Collector pipeline throughput.
1520
1521 - `receiver/nop`: Add the `nopreceiver` to serve as a placeholder receiver in a pipeline (#7316)
1522 This is primarily useful for starting the Collector with only extensions enabled.
1523
1524 ### 💡 Enhancements 💡
1525
1526 - `configtls`: Validates TLS min_version and max_version (#9475)
1527 Introduces `Validate()` method in TLSSetting.
1528 - `configcompression`: Mark module as Stable. (#9571)
1529 - `cmd/mdatagen`: Use go package name for the scope name by default and add an option to provide the scope name in metadata.yaml. (#9693)
1530 - `cmd/mdatagen`: Generate the lifecycle tests for components by default. (#9683)
1531 It's encouraged to have lifecycle tests for all components enabled, but they can be disabled if needed
1532 in metadata.yaml with `skip_lifecycle: true` and `skip_shutdown: true` under `tests` section.
1533
1534 - `cmd/mdatagen`: optimize the mdatagen for the case like batchprocessor which use a common struct to implement consumer.Traces, consumer.Metrics, consumer.Logs in the meantime. (#9688)
1535
1536 ### 🧰 Bug fixes 🧰
1537
1538 - `exporterhelper`: Fix persistent queue size backup on reads. (#9740)
1539 - `processor/batch`: Prevent starting unnecessary goroutines. (#9739)
1540 - `otlphttpexporter`: prevent error on empty response body when content type is application/json (#9666)
1541 - `confmap`: confmap honors `Unmarshal` methods on config embedded structs. (#6671)
1542 - `otelcol`: Respect telemetry configuration when running as a Windows service (#5300)
1543
1544 ## v1.3.0/v0.96.0
1545
1546 ### 🛑 Breaking changes 🛑
1547
1548 - `configgrpc`: Remove deprecated `GRPCClientSettings`, `GRPCServerSettings`, and `ServerConfig.ToListenerContext`. (#9616)
1549 - `confighttp`: Remove deprecated `HTTPClientSettings`, `NewDefaultHTTPClientSettings`, and `CORSSettings`. (#9625)
1550 - `confignet`: Removes deprecated `NetAddr` and `TCPAddr` (#9614)
1551
1552 ### 💡 Enhancements 💡
1553
1554 - `configtls`: Add `include_system_ca_certs_pool` to configtls, allowing to load system certs and additional custom certs. (#7774)
1555 - `otelcol`: Add `ConfigProviderSettings` to `CollectorSettings` (#4759)
1556 This allows passing a custom list of `confmap.Provider`s to `otelcol.NewCommand`.
1557 - `pdata`: Update to OTLP v1.1.0 (#9587)
1558 Introduces Span and SpanLink flags.
1559 - `confmap`: Update mapstructure to use a maintained fork, github.com/go-viper/mapstructure/v2. (#9634)
1560 See https://github.com/mitchellh/mapstructure/issues/349 for context.
1561
1562
1563 ### 🧰 Bug fixes 🧰
1564
1565 - `configretry`: Allow max_elapsed_time to be set to 0 for indefinite retries (#9641)
1566 - `client`: Make `Metadata.Get` thread safe (#9595)
1567
1568 ## v1.2.0/v0.95.0
1569
1570 ### 🛑 Breaking changes 🛑
1571
1572 - `all`: scope name for all generated Meter/Tracer funcs now includes full package name (#9494)
1573
1574 ### 💡 Enhancements 💡
1575
1576 - `confighttp`: Adds support for Snappy decompression of HTTP requests. (#7632)
1577 - `configretry`: Validate `max_elapsed_time`, ensure it is larger than `max_interval` and `initial_interval` respectively. (#9489)
1578 - `configopaque`: Mark module as stable (#9167)
1579 - `otlphttpexporter`: Add support for json content encoding when exporting telemetry (#6945)
1580 - `confmap/converter/expandconverter, confmap/provider/envprovider, confmap/provider/fileprovider, confmap/provider/httpprovider, confmap/provider/httpsprovider, confmap/provider/yamlprovider`: Split confmap.Converter and confmap.Provider implementation packages out of confmap. (#4759, #9460)
1581
1582 ## v1.1.0/v0.94.0
1583
1584 ### 🛑 Breaking changes 🛑
1585
1586 - `receiver/otlp`: Update gRPC code from `codes.InvalidArgument` to `codes.Internal` when a permanent error doesn't contain a gRPC status (#9415)
1587
1588 ### 🚩 Deprecations 🚩
1589
1590 - `configgrpc`: Deprecate GRPCClientSettings, use ClientConfig instead (#6767)
1591
1592 ### 💡 Enhancements 💡
1593
1594 - `mdatagen`: Add a generated test that checks the config struct using `componenttest.CheckConfigStruct` (#9438)
1595 - `component`: Add `component.UseLocalHostAsDefaultHost` feature gate that changes default endpoints from 0.0.0.0 to localhost (#8510)
1596 The only component in this repository affected by this is the OTLP receiver.
1597
1598 - `confighttp`: Add support of Host header (#9395)
1599 - `mdatagen`: Remove use of ReportFatalError in generated tests (#9439)
1600
1601 ### 🧰 Bug fixes 🧰
1602
1603 - `service`: fix opencensus bridge configuration in periodic readers (#9361)
1604 - `otlpreceiver`: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful (#9165)
1605 - `otlpexporter`: PartialSuccess is treated as success, logged as warning. (#9243)
1606
1607 ## v0.93.0
1608
1609 ### 🛑 Breaking changes 🛑
1610
1611 - `exporterhelper`: remove deprecated exporterhelper.RetrySettings and exporterhelper.NewDefaultRetrySettings (#9256)
1612 - `configopaque`: configopaque.String implements `fmt.Stringer` and `fmt.GoStringer`, outputting [REDACTED] when formatted with the %s, %q or %#v verbs` (#9213)
1613 This may break applications that rely on the previous behavior of opaque strings with `fmt.Sprintf` to e.g. build URLs or headers.
1614 Explicitly cast the opaque string to a string before using it in `fmt.Sprintf` to restore the previous behavior.
1615
1616
1617 ### 🚀 New components 🚀
1618
1619 - `extension/memory_limiter`: Introduce a `memory_limiter` extension which receivers can use to reject incoming requests when collector doesn't have enough memory (#8632)
1620 The extension has the same configuration interface and behavior as the existing `memory_limiter` processor, which potentially can be deprecated and removed in the future
1621
1622 ### 💡 Enhancements 💡
1623
1624 - `configtls`: add `cipher_suites` to configtls. (#8105)
1625 Users can specify a list of cipher suites to pick from. If left blank, a safe default list is used.
1626
1627 - `service`: mark `telemetry.useOtelForInternalMetrics` as stable (#816)
1628 - `exporters`: Cleanup log messages for export failures (#9219)
1629 1. Ensure an error message is logged every time and only once when data is dropped/rejected due to export failure.
1630 2. Update the wording. Specifically, don't use "dropped" term when an error is reported back to the pipeline.
1631 Keep the "dropped" wording for failures happened after the enabled queue.
1632 3. Properly report any error reported by a queue. For example, a persistent storage error must be reported as a storage error, not as "queue overflow".
1633
1634
1635 ### 🧰 Bug fixes 🧰
1636
1637 - `configgrpc`: Update dependency to address a potential crash in the grpc instrumentation (#9296)
1638 - `otlpreceiver`: Ensure OTLP receiver handles consume errors correctly (#4335)
1639 Make sure OTLP receiver returns correct status code and follows the receiver contract (gRPC)
1640 - `zpagesextension`: Remove mention of rpcz page from zpages extension (#9328)
1641
1642 ## v1.0.1/v0.92.0
1643
1644 ### 🛑 Breaking changes 🛑
1645
1646 - `exporters/sending_queue`: Do not re-enqueue failed batches, rely on the retry_on_failure strategy instead. (#8382)
1647 The current re-enqueuing behavior is not obvious and cannot be configured. It takes place only for persistent queue
1648 and only if `retry_on_failure::enabled=true` even if `retry_on_failure` is a setting for a different backoff retry
1649 strategy. This change removes the re-enqueuing behavior. Consider increasing `retry_on_failure::max_elapsed_time`
1650 to reduce chances of data loss or set it to 0 to keep retrying until requests succeed.
1651
1652 - `confmap`: Make the option `WithErrorUnused` enabled by default when unmarshaling configuration (#7102)
1653 The option `WithErrorUnused` is now enabled by default, and a new option `WithIgnoreUnused` is introduced to ignore
1654 errors about unused fields.
1655
1656 - `status`: Deprecate `ReportComponentStatus` in favor of `ReportStatus`. This new function does not return an error. (#9148)
1657
1658 ### 🚩 Deprecations 🚩
1659
1660 - `connectortest`: Deprecate connectortest.New[Metrics|Logs|Traces]Router in favour of connector.New[Metrics|Logs|Traces]Router (#9095)
1661 - `exporterhelper`: Deprecate exporterhelper.RetrySettings in favor of configretry.BackOffConfig (#9091)
1662 - `extension/ballast`: Deprecate `memory_ballast` extension. (#8343)
1663 Use `GOMEMLIMIT` environment variable instead.
1664
1665 - `connector`: Deprecate [Metrics|Logs|Traces]Router in favour of [Metrics|Logs|Traces]RouterAndConsumer (#9095)
1666
1667 ### 💡 Enhancements 💡
1668
1669 - `exporterhelper`: Add RetrySettings validation function (#9089)
1670 Validate that time.Duration, multiplier values in configretry are non-negative, and randomization_factor is between 0 and 1
1671
1672 - `service`: Enable `telemetry.useOtelForInternalMetrics` by updating the flag to beta (#7454)
1673 The metrics generated should be consistent with the metrics generated
1674 previously with OpenCensus. Users can disable the behaviour
1675 by setting `--feature-gates -telemetry.useOtelForInternalMetrics` at
1676 collector start.
1677
1678 - `mdatagen`: move component from contrib to core (#9172)
1679 - `semconv`: Generated Semantic conventions 1.22.0. (#8686)
1680 - `confignet`: Add `dialer_timeout` config option. (#9066)
1681 - `processor/memory_limiter`: Update config validation errors (#9059)
1682 - Fix names of the config fields that are validated in the error messages
1683 - Move the validation from start to the initialization phrase
1684
1685 - `exporterhelper`: Add config Validate for TimeoutSettings (#9104)
1686
1687 ### 🧰 Bug fixes 🧰
1688
1689 - `memorylimiterprocessor`: Fixed leaking goroutines from memorylimiterprocessor (#9099)
1690 - `cmd/otelcorecol`: Fix the code detecting if the collector is running as a service on Windows. (#7350)
1691 Removed the `NO_WINDOWS_SERVICE` environment variable given it is not needed anymore.
1692 - `otlpexporter`: remove dependency of otlphttpreceiver on otlpexporter (#6454)
1693
1694 ## v0.91.0
1695
1696 ### 💡 Enhancements 💡
1697
1698 - `statusreporting`: Automates status reporting upon the completion of component.Start(). (#7682)
1699 - `service`: add resource attributes as labels to otel metrics to ensures backwards compatibility with OpenCensus metrics. (#9029)
1700 - `semconv`: Generated Semantic conventions 1.21. (#9056)
1701 - `config/confighttp`: Exposes http/2 transport settings to enable health check and workaround golang http/2 issue https://github.com/golang/go/issues/59690 (#9022)
1702 - `cmd/builder`: running builder version on binaries installed with `go install` will output the version specified at the suffix. (#8770)
1703
1704 ### 🧰 Bug fixes 🧰
1705
1706 - `exporterhelper`: fix missed metric aggregations (#9048)
1707 This ensures that context cancellation in the exporter doesn't interfere with metric aggregation. The OTel
1708 SDK currently returns if there's an error in the context used in `Add`. This means that if there's a
1709 cancelled context in an export, the metrics are now recorded.
1710
1711 - `service`: Fix bug where MutatesData would not correctly propagate through connectors. (#9053)
1712
1713 ## v0.90.1
1714
1715 ### 🧰 Bug fixes 🧰
1716
1717 - `exporterhelper`: Remove noisy log (#9017)
1718
1719 ## v1.0.0/v0.90.0
1720
1721 ### 🛑 Breaking changes 🛑
1722
1723 - `service`: To remain backwards compatible w/ the metrics generated today, otel generated metrics will be generated without the `_total` suffix (#7454)
1724 - `service`: use WithNamespace instead of WrapRegistererWithPrefix (#8988)
1725 Using this functionality in the otel prom exporter fixes a bug where the
1726 target_info was prefixed as otelcol_target_info previously.
1727
1728
1729 ### 💡 Enhancements 💡
1730
1731 - `exporter/debug`: Change default `verbosity` from `normal` to `basic` (#8844)
1732 This change has currently no effect, as `basic` and `normal` verbosity share the same behavior. This might change in the future though, with the `normal` verbosity being more verbose than it currently is (see https://github.com/open-telemetry/opentelemetry-collector/issues/7806). This is why we are changing the default to `basic`, which is expected to stay at the current level of verbosity (one line per batch).
1733 - `exporterhelper`: Fix shutdown logic in persistent queue to not require consumers to be closed first (#8899)
1734 - `confighttp`: Support proxy configuration field in all exporters that support confighttp (#5761)
1735
1736 ### 🧰 Bug fixes 🧰
1737
1738 - `exporterhelper`: Fix invalid write index updates in the persistent queue (#8115)
1739
1740 ## v1.0.0-rcv0018/v0.89.0
1741
1742 ### 💡 Enhancements 💡
1743
1744 - `builder`: remove replace statement in builder template (#8763)
1745 - `service/extensions`: Allow extensions to declare dependencies on other extensions and guarantee start/stop/notification order accordingly. (#8732)
1746 - `exporterhelper`: Log export errors when retry is not used by the component. (#8791)
1747 - `cmd/builder`: Add --verbose flag to log `go` subcommands output that are ran as part of a build (#8715)
1748 - `exporterhelper`: Remove internal goroutine loop for persistent queue (#8868)
1749 - `exporterhelper`: Simplify usage of storage client, avoid unnecessary allocations (#8830)
1750 - `exporterhelper`: Simplify logic in boundedMemoryQueue, use channels len/cap (#8829)
1751
1752 ### 🧰 Bug fixes 🧰
1753
1754 - `exporterhelper`: fix bug with queue size and capacity metrics (#8682)
1755 - `obsreporttest`: split handler for otel vs oc test path in TestTelemetry (#8758)
1756 - `builder`: Fix featuregate late initialization (#4967)
1757 - `service`: Fix connector logger zap kind key (#8878)
1758
1759 ## v1.0.0-rcv0017/v0.88.0
1760
1761 ### 💡 Enhancements 💡
1762
1763 - `fanoutconsumer`: Enable runtime assertions to catch incorrect pdata mutations in the components claiming as non-mutating pdata. (#6794)
1764 This change enables the runtime assertions to catch unintentional pdata mutations in components that are claimed
1765 as non-mutating pdata. Without these assertions, runtime errors may still occur, but thrown by unrelated components,
1766 making it very difficult to troubleshoot.
1767
1768
1769 ### 🧰 Bug fixes 🧰
1770
1771 - `exporterhelper`: make enqueue failures available for otel metrics (#8673)
1772 - `exporterhelper`: Fix nil pointer dereference when stopping persistent queue after a start encountered an error (#8718)
1773 - `cmd/builder`: Fix ocb ignoring `otelcol_version` when set to v0.86.0 or later (#8692)
1774
1775 ## v1.0.0-rcv0016/v0.87.0
1776
1777 ### 💡 Enhancements 💡
1778
1779 - `service/telemetry exporter/exporterhelper`: Enable sampling logging by default and apply it to all components. (#8134)
1780 The sampled logger configuration can be disabled easily by setting the `service::telemetry::logs::sampling::enabled` to `false`.
1781 - `core`: Adds the ability for components to report status and for extensions to subscribe to status events by implementing an optional StatusWatcher interface. (#7682)
1782
1783 ### 🧰 Bug fixes 🧰
1784
1785 - `telemetry`: remove workaround to ignore errors when an instrument includes a `/` (#8346)
1786
1787 ## v1.0.0-rcv0015/v0.86.0
1788
1789 ### 🚩 Deprecations 🚩
1790
1791 - `loggingexporter`: Mark the logging exporter as deprecated, in favour of debug exporter (#7769)
1792
1793 ### 🚀 New components 🚀
1794
1795 - `debugexporter`: Add debug exporter, which replaces the logging exporter (#7769)
1796
1797 ### 💡 Enhancements 💡
1798
1799 - `featuregate`: List valid feature gates when failing to load invalid gate (#8505)
1800 - `supported platforms`: Add `linux/s390x` architecture to cross build tests in CI (#8213)
1801
1802 ### 🧰 Bug fixes 🧰
1803
1804 - `builder`: fix setting `dist.*` keys from env (#8239)
1805 - `configtls`: fix incorrect use of fsnotify (#8438)
1806
1807 ## v0.85.0
1808
1809 ### 💡 Enhancements 💡
1810
1811 - `components command`: The "components" command now lists the component's stability levels. (#8289)
1812 Note that the format of this output is NOT stable and can change between versions.
1813 - `confighttp`: Add option to disable HTTP keep-alives (#8260)
1814
1815 ### 🧰 Bug fixes 🧰
1816
1817 - `confmap`: fix bugs of unmarshalling slice values (#4001)
1818 - `exporterhelper`: Stop logging error messages suggesting user to enable `retry_on_failure` or `sending_queue` when they are not available. (#8369)
1819
1820 ## v0.84.0
1821
1822 ### 💡 Enhancements 💡
1823
1824 - `loggingexporter`: Adds exemplars logging to the logging exporter when `detailed` verbosity level is set. (#7912)
1825 - `configgrpc`: Allow any registered gRPC load balancer name to be used. (#8262)
1826 - `service`: add OTLP export for internal traces (#8106)
1827 - `configgrpc`: Add support for :authority pseudo-header in grpc client (#8228)
1828
1829 ### 🧰 Bug fixes 🧰
1830
1831 - `otlphttpexporter`: Fix the handling of the HTTP response to ignore responses not encoded as protobuf (#8263)
1832
1833 ## v0.83.0
1834
1835 ### 💡 Enhancements 💡
1836
1837 - `extension`: Add optional `ConfigWatcher` interface (#6596)
1838 Extensions implementing this interface will be notified of the Collector's effective config.
1839 - `otelcol`: Add optional `ConfmapProvider` interface for Config Providers (#6596)
1840 This allows providing the Collector's configuration as a marshaled confmap.Conf object
1841 from a ConfigProvider
1842
1843 - `service`: Add `CollectorConf` field to `service.Settings` (#6596)
1844 This field is intended to be used by the Collector to pass its effective configuration to the service.
1845
1846
1847 ## v1.0.0-rcv0014/v0.82.0
1848
1849 ### 🛑 Breaking changes 🛑
1850
1851 - `service`: Enable configuration of collector telemetry through prometheus reader (#7641)
1852 These options are still experimental. To enable them, users must enable both
1853 `telemetry.useOtelForInternalMetrics` and `telemetry.useOtelWithSDKConfigurationForInternalTelemetry`
1854 feature gates. This change updates `metric_readers` to `readers` to align with the configuration
1855 working group.
1856
1857 - `service`: Remove experimental `metric_readers.args` and `metric_reader.type` config options. (#7641)
1858 These options were experimental and did not have any effect on the configuration of
1859 the collector's telemetry. The change aligns the configuration with the latest iteration
1860 of the configuration json schema, which may still change in the future.
1861
1862 ### 💡 Enhancements 💡
1863
1864 - `service`: Add support for exporting internal metrics to the console (#7641)
1865 Internal collector metrics can now be exported to the console
1866 using the otel-go stdout exporter.
1867
1868 - `service`: Add support for `interval` and `timeout` configuration in periodic reader (#7641)
1869 - `service`: Add support for span processor configuration for internal traces (#8106)
1870 These options are still experimental. To enable them, users must enable both
1871 `telemetry.useOtelForInternalMetrics` and `telemetry.useOtelWithSDKConfigurationForInternalTelemetry`
1872 feature gates.
1873
1874 - `service`: Add support for OTLP export for internal metrics (#7641)
1875 Internal collector metrics can now be exported via OTLP
1876 using the otel-go otlpgrpc and otlphttp exporters.
1877
1878 - `scraperhelper`: Adding optional timeout field to scrapers (#7951)
1879 - `otlpreceiver`: Add http url paths per signal config options to otlpreceiver (#7511)
1880 - `otlphttpexporter`: Add support for trailing slash in endpoint URL (#8084)
1881 URLs like `http://localhost:4318/` will now be treated as if they were `http://localhost:4318`
1882
1883 ### 🧰 Bug fixes 🧰
1884
1885 - `connector`: Fix connector validation (#7892)
1886 Validation of connectors was too aggressive such that a connector that was used in any combination of unsupported roles would fail.
1887 Instead, validation should pass as long as each use of the connector has a supported corresponding use.
1888
1889
1890 ## v0.81.0
1891
1892 ### 🛑 Breaking changes 🛑
1893
1894 - `service`: Remove 'service.connectors' featuregate (#7952)
1895
1896 ### 💡 Enhancements 💡
1897
1898 - `HTTPServerSettings`: Add zstd support to HTTPServerSettings (#7927)
1899 This adds ability to decompress zstd-compressed HTTP requests to| all receivers that use HTTPServerSettings.
1900 - `cmd/builder`: Add "--skip-generate" option to make builder skip source generation (#7541)
1901 - `confighttp`: Add support for additional content decoders via `WithDecoder` server option (#7977)
1902 - `connectortest`: Add helpers to aid the construction of `connector.TracesRouter`, `connector.MetricsRouter`, and `connector.LogsRouter` instances to `connectortest`. (#7672)
1903 - `confighttp`: Add `response_headers` configuration option on HTTPServerSettings. It allows for additional headers to be attached to each HTTP response sent to the client (#7328)
1904 - `otlpreceiver, otlphttpexporter, otlpexporter, configgrpc`: Upgrade github.com/mostynb/go-grpc-compression and switch to nonclobbering imports (#7920)
1905 consumers of this library should not have their grpc codecs overridden
1906 - `otlphttpexporter`: Treat partial success responses as errors (#6686)
1907
1908 ### 🧰 Bug fixes 🧰
1909
1910 - `HTTPServerSettings`: Ensure requests with unsupported Content-Encoding return HTTP 400 Bad Request (#7927)
1911
1912 ## v1.0.0-rcv0013/v0.80.0
1913
1914 ### 🚩 Deprecations 🚩
1915
1916 - `service`: Deprecate service.PipelineConfig in favor of pipelines.Config. (#7854)
1917
1918 ### 💡 Enhancements 💡
1919
1920 - `service`: Added dry run flag to validate config file without running collector. (#4671)
1921 - `configtls`: Allow TLS Settings to be provided in memory in addition to filepath. (#7313)
1922 - `connector`: Updates the way connector nodes are built to always pass a fanoutconsumer to their factory functions. (#7672, #7673)
1923 - `otlp`: update otlp protos to v0.20.0 (#7839)
1924 - `configauth`: Split config/configauth into its own module (#7895)
1925 - `configgrpc, confighttp, config/internal`: Split confighttp, configgrpc, and config/internal into separate modules (#7895)
1926 - `confignet`: Split config/confignet into its own module (#7895)
1927 - `configopaque`: Split config/configopaque into its own module (#7895)
1928 - `configtelemetry`: Split config/configtelemetry into its own module (#7895)
1929 - `configtls`: Split config/configtls into its own module (#7895)
1930 - `configcompression`: Split config/configcompression into its own module (#7895)
1931 - `extension`: Splitting `extension/auth` into separate module (#7054)
1932 - `connector`: Split connector into its own module (#7895)
1933 - `extension`: split extension module into its own module (#7306)
1934 - `processor`: Split the processor into its own go module (#7307)
1935 - `confighttp`: Avoid re-creating the compressors for every request. (#7859)
1936 - `otlpexporter`: Treat partial success responses as errors (#6686)
1937 - `service/pipelines`: Add pipelines.Config to remove duplicate of the pipelines configuration (#7854)
1938
1939 ## v0.79.0
1940
1941 ### 🚩 Deprecations 🚩
1942
1943 - `component`: Deprecate Host.GetExporters function (#7370)
1944
1945 ### 💡 Enhancements 💡
1946
1947 - `otelcol`: Add connectors to output of the `components` command (#7809)
1948 - `scraperhelper`: Will start calling scrapers on component start. (#7635)
1949 The change allows scrapes to perform their initial scrape on component start
1950 and provide an initial delay. This means that scrapes will be delayed by `initial_delay`
1951 before first scrape and then run on `collection_interval` for each consecutive interval.
1952
1953 - `batchprocessor`: Change multiBatcher to use sync.Map, avoid global lock on fast path (#7714)
1954
1955 ### 🧰 Bug fixes 🧰
1956
1957 - `connectors`: When replicating data to connectors, consider whether the next pipeline will mutate data (#7776)
1958
1959 ## v0.78.2
1960
1961 ### 🧰 Bug fixes 🧰
1962
1963 - `batchprocessor`: Fix return error for batch processor when consuming Metrics and Logs (#7711)
1964
1965 ## v0.78.1
1966
1967 ### 🧰 Bug fixes 🧰
1968
1969 - `batchprocessor`: Fix start/stop logic for batch processor (#7708)
1970
1971 ## v1.0.0-rcv0012/v0.78.0
1972
1973 ### 💡 Enhancements 💡
1974
1975 - `batchprocessor`: Add support for batching by metadata keys. (#4544)
1976 - `service`: Add feature gate `telemetry.useOtelWithSDKConfigurationForInternalTelemetry` that will add support for configuring the export of internal telemetry to additional destinations in future releases (#7641)
1977 - `forwardconnector`: Promote to beta (#7579)
1978 - `featuregate`: Promote `featuregate` to the stable module-set (#7693)
1979
1980 ### 🧰 Bug fixes 🧰
1981
1982 - `featuregate`: Fix issue where `StageDeprecated` was not usable (#7586)
1983 - `exporterhelper`: Fix persistent storage behaviour with no available space on device (#7198)
1984
1985 ## v0.77.0
1986
1987 ### 🛑 Breaking changes 🛑
1988
1989 - `exporterhelper`: Reduce the default queue size to 1000 from 5000 (#7359)
1990 Affects any exporter which enables the queue by default and doesn't set its own default size.
1991 For example: otlphttp.
1992
1993 - `featuregate`: Remove deprecated `RemovalVersion` and `WithRegisterRemovalVersion` functions. (#7587)
1994
1995 ### 💡 Enhancements 💡
1996
1997 - `service`: Adds ResourceAttributes map to telemetry settings and thus CreateSettings. (#6599)
1998 - `service`: Allows users to disable high cardinality OTLP attributes behind a feature flag. (#7517)
1999 - `featuregate`: Finalize purpose of `toVersion`. Allow stable gates to be explicitly set to true, but produce a warning log. (#7626)
2000
2001 ### 🧰 Bug fixes 🧰
2002
2003 - `config/confighttp`: Ensure Auth RoundTripper follows compression/header changes (#7574)
2004 - `otlpreceiver`: do not reject requests having 'content-type' header with optional parameters (#7452)
2005
2006 ## v1.0.0-rcv0011/v0.76.1
2007
2008 ### 🛑 Breaking changes 🛑
2009
2010 - `confmap`: Using an Invalid Scheme in a URI will throw an error. (#7504)
2011
2012 ### 🚩 Deprecations 🚩
2013
2014 - `featuregate`: Deprecate Gate.RemovalVersion and WithRegisterRemovalVersion in favor of ToVersion. (#7043)
2015
2016 ### 💡 Enhancements 💡
2017
2018 - `batchprocessor`: Support zero timeout. (#7508)
2019 This allows the batchprocessor to limit request sizes without introducing delay in a pipeline, to act only as a splitter.
2020 - `service`: use the otel opencensus bridge when telemetry.useOtelForInternalMetrics is enabled (#7483)
2021 - `connector`: Mark 'service.connectors' featuregate as stable (#2336)
2022 - `featuregate`: Add a new Deprecated stage for feature gates, when features are abandoned. (#7043)
2023 - `loggingexporter`: Show more counters in not detailed verbosity (#7461)
2024 The logging exporter now shows more counters when the verbosity is not detailed. The following numbers are added:
2025 - Number of resource logs
2026 - Number of resource spans
2027 - Number of resource metrics
2028 - Number of data points
2029
2030 - `configtls`: Reload mTLS ClientCA certificates on file change (#6524)
2031 - `confmap`: Add support for nested URIs. (#7117)
2032 - `featuregate`: Add concept of gate lifetime, [fromVersion, toVersion]. (#7043)
2033
2034 ### 🧰 Bug fixes 🧰
2035
2036 - `obsreport`: fix issue where send_failed_requests counter was reporting an incorrect value. (#7456)
2037
2038 ## v1.0.0-rc9/v0.75.0
2039
2040 ### 🛑 Breaking changes 🛑
2041
2042 - `featuregate`: Remove deprecated featuregate.FlagValue (#7401)
2043
2044 ### 💡 Enhancements 💡
2045
2046 - `provider`: Added userfriendly error on incorrect type. (#7399)
2047
2048 ### 🧰 Bug fixes 🧰
2049
2050 - `loggingexporter`: Fix display of bucket boundaries of exponential histograms to correctly reflect inclusive/exclusive bounds. (#7445)
2051 - `exporterhelper`: Fix a deadlock in persistent queue initialization (#7400)
2052
2053 ## v1.0.0-rc8/v0.74.0
2054
2055 ### 🛑 Breaking changes 🛑
2056
2057 - `consumererror`: Remove deprecated funcs in consumererror (#7357)
2058
2059 ### 🚩 Deprecations 🚩
2060
2061 - `featuregate`: Deprecate `FlagValue` in favor of `NewFlag`. (#7042)
2062
2063 ### 💡 Enhancements 💡
2064
2065 - `service`: Enable connectors by default by moving service.connectors featuregate to beta (#7369)
2066
2067 ## v0.73.0/v1.0.0-rc7
2068
2069 ### 🛑 Breaking changes 🛑
2070
2071 - `consumererror`: Remove `Get` prefix from methods returning failed signal data (#7048)
2072 - `service`: Feature gate `service.graph` is now stable and cannot be disabled. It will be removed in the next version. (#2336)
2073
2074 ### 💡 Enhancements 💡
2075
2076 - `exporter`: split exporter into its own module (#7239)
2077 - `receiver`: split receiver into its own module (#7174)
2078 - `connectors`: Provide connectors with a mechanism to route data to specific pipelines (#7152)
2079 - `confmap`: Mark `confmap.expandEnabled` as stable (#7323)
2080
2081 ## v1.0.0-rc6/v0.72.0
2082
2083 ### 🛑 Breaking changes 🛑
2084
2085 - `all`: Remove go 1.18 support, bump minimum to go 1.19 and add testing for 1.20 (#7151)
2086 - `pdata`: Remove deprecated `[Metrics|Traces|Logs]MoveTo` methods. (#7165)
2087 - `featuregate`: Remove deprecated funcs in featuregate. (#7173)
2088
2089 ### 💡 Enhancements 💡
2090
2091 - `semconv`: Generated Semantic conventions 1.17 that now contains the `event` type. (#7170)
2092 - `semconv`: Generated Semantic conventions 1.18. (#7168)
2093
2094 ### 🧰 Bug fixes 🧰
2095
2096 - `memorylimiterprocessor`: Fix incorrect parsing of cgroups when running Collector with host mount (#6826)
2097 - `confmap`: Clear list of old already closed closers. (#7215)
2098
2099 ## v1.0.0-rc5/v0.71.0
2100
2101 ### 🛑 Breaking changes 🛑
2102
2103 - `pdata`: Add private method to GrpcServer interface, disallow direct implementation (#6966)
2104 - `featuregate`: Remove deprecated GetRegistry (#7011)
2105 - `pcommon`: Remove deprecated Map.Sort (#6688)
2106
2107 ### 🚩 Deprecations 🚩
2108
2109 - `featuregate`: Deprecate Registry.List in favor of Registry.VisitAll. (#7041)
2110 - `featuregate`: Deprecate Apply in favor of Set (#7018)
2111 - `pdata`: Deprecate [Metrics|Logs|Traces].MoveTo methods. (#7091)
2112 - `featuregate`: Deprecate RegistryOption in favor of RegisterOption (#7012)
2113 - `featuregate`: Deprecate featuregate.Registry.[IsEnabled, RegisterID, MustRegister] (#6998)
2114
2115 ### 🚀 New components 🚀
2116
2117 - `httpsprovider`: Add the httpsprovider. This component allows the collector to fetch configurations from web servers using the HTTPS protocol. (#6683)
2118
2119 ### 💡 Enhancements 💡
2120
2121 - `exporter`: Allow configuration of fields, `RandomizationFactor` and `Multiplier`, for exponential backoff algorithm when retry on failure is enabled (#6610)
2122 - `connectors`: Add "connectors", a new type of pipeline component (#2336)
2123 - Connectors connect pipelines by acting as an exporter in one or more pipelines and simultaneously
2124 as a receiver of corresponding data in one or more other pipelines. For example:
2125 - The `forward` connector can export data to another pipeline of the same type. This allows you
2126 to merge data from multiple pipelines onto a common pipeline. Or, you can replicate data onto multiple
2127 pipelines so that it may be processed in different ways and/or exported to different backends.
2128 - The `count` connector can count data of any type. Regardless of the type of data that is counted, it
2129 emits counts as metrics onto a metrics pipeline.
2130 - Connectors are currently disabled by default but can be enabled with the `service.connectors` feature gate.
2131 - See the [connectors README](https://github.com/open-telemetry/opentelemetry-collector/blob/main/connector/README.md)
2132 for more details on how to use connectors.
2133
2134 - `service`: Enable new pipelines implementation using graphs. Controlled by the `service.graph` featuregate. (#2336)
2135 - `builder`: added ldflags command option (#6940)
2136 - `proctelemetry`: Instrument `proctelemetry.ProcessMetrics` metrics with otel-go (#6886)
2137 - `capabilityconsumer`: If the consumer has already the desired capability, don't wrap (#7116)
2138 - `confmap`: Add support to resolve embedded uris inside a string, concatenate results. (#6932)
2139
2140 ### 🧰 Bug fixes 🧰
2141
2142 - `confmap`: Fix bug in confmap validation that allowed the usage of case-insensitive keys in the configurations, despite them failing silently. (#6876)
2143 - `logging`: Fix the attribute key used to identify the receiver data type in logging configuration (#7033)
2144
2145 ## v1.0.0-RC4/v0.70.0
2146
2147 ### 🛑 Breaking changes 🛑
2148
2149 - `pdata`: Start enforcing grpc server implementation to embed UnimplementedGRPCServer, disallow client implementation (#6966)
2150 - `config/configgrpc`: Change configgrpc.GRPCClientSettings.Headers type to map[string]configopaque.String (#6852)
2151 Use `configopaque.String(str)` and `string(opaque)` to turn a string opaque/clear.
2152 - `pdata`: Remove deprecated pcommon.Value.Equal (#6860)
2153
2154 ### 🚩 Deprecations 🚩
2155
2156 - `pdata`: Deprecate pcommon.Map.Sort(). (#6688)
2157 - `featuregate`: Deprecate GetRegistry in favor of GlobalRegistry (#6979)
2158
2159 ### 💡 Enhancements 💡
2160
2161 - `builder`: Add remote debug option for otel-collector to builder (#6149)
2162 - `connector`: Add Builder (#6867)
2163 - `cmd/builder`: Add support for connector configurations (#6789)
2164 - `exporter/otlphttp`: Retry only on status code 429/502/503/504 (#6845)
2165 - `featuregate`: Reduce contention in featuregate by using sync.Map instead of mutex. (#6980)
2166
2167 ### 🧰 Bug fixes 🧰
2168
2169 - `loggingexporter`: Fix undefined symbol errors on building otelcorecol for other platforms than darwin, linux, windows. (#6924)
2170 - `otlpexporter`: Fix a dataloss bug in persistent storage when collector shuts down or restarts (#6771)
2171
2172 ## v0.69.1
2173
2174 ### 🧰 Bug fixes 🧰
2175
2176 - `various modules`: Fix issue where some collector modules imported previous version of other modules (#6929)
2177
2178 ## v1.0.0-RC3/v0.69.0
2179
2180 ### 🛑 Breaking changes 🛑
2181
2182 - `component`: Remove deprecated Exporter types (#6880)
2183 - `component`: Remove deprecated Extension types (#6865)
2184 - `component`: Remove deprecated ProcessorFactoryOptions (#6881)
2185 - `component`: Remove deprecated Receiver types (#6882)
2186 - `componenttest`: Remove deprecated funcs from componenttest (#6836)
2187 - `batchprocessor`: Remove deprecated batchprocessor.MetricViews and batchprocessor.OtelMetricViews (#6861)
2188 - `component`: Remove deprecated component.[Factories|MakeProcessorFactoryMap] and componenttest.NewNopFactories (#6835)
2189 - `config`: Remove deprecated config.*Settings (#6837)
2190 - `obsreporttest`: Remove deprecated obsreporttest.SetupTelemetryWithID (#6861)
2191 - `component`: Remove deprecated component [Traces|Metrics|Logs]Processor and ProcessorFactory (#6884)
2192 - `service`: Remove deprecated service service.ConfigService and service.ConfigServicePipeline (#6859)
2193
2194 ### 💡 Enhancements 💡
2195
2196 - `connector`: Add MakeFactoryMap (#6889)
2197 - `semconv`: Add semantic conventions for specification v1.16.0 (#6714)
2198
2199 ### 🧰 Bug fixes 🧰
2200
2201 - `config`: use [REDACTED] when marshaling to text a configopaque.String, instead of disclosing secret length. (#6868)
2202
2203 ## v1.0.0-RC2/v0.68.0
2204
2205 ### 🛑 Breaking changes 🛑
2206
2207 - `componenttest`: Move NopFactories to otelcoltest (#6792)
2208 - `config/confighttp`: Change confighttp.HTTPClientSettings.Headers type to map[string]configopaque.String (#5653)
2209 - `config`: Remove deprecated `component.Config.[ID|SetIDName]`. (#4714)
2210 - `configauth`: Remove deprecated funcs/types from `configauth` (#6719)
2211 - `component`: Remove deprecated funcs/types from component package (#6769)
2212 - `component.[Exporter|Processor|Receiver|Extension]Config`
2213 - `component.Unmarshal[Exporter|Processor|Receiver|Extension]Config`
2214 - `component.[Exporter|Processor|Receiver|Extension]CreateDefaultConfigFunc`
2215 - `component.[Exporter|Receiver|Extension]FactoryOption`
2216 - `component.New[Exporter|Receiver|Extension]Factory`
2217 - `component.With[Traces|Metrics|Logs][Exporter|Receiver]`
2218 - `component.Create[Traces|Metrics|Logs][Exporter|Receiver]Func`
2219 - `component.CreateExtensionFunc`
2220 - `componenttest`: Remove deprecated componenttest.NewNop*CreateSettings (#6761)
2221 - `service`: Remove deprecated `service.[Collector|New|CollectorSettings|ConfigProvider]` (#5564)
2222 - `service`: Remove deprecated funcs `service.NewCommand` and `service.NewSvcHandler`. (#5564)
2223 - `obsreporttest`: Remove deprecate obsreporttest.Check* (#6720)
2224 - `service`: Remove deprecated `service.Config`. (#6774)
2225 - `servicetest`: Remove deprecated `servicetest` package. (#5564)
2226
2227 ### 🚩 Deprecations 🚩
2228
2229 - `service`: Deprecate `service.ConfigService` in favor of `service.Config` and `service.ConfigServicePipeline` in favor of `service.PipelineConfig`. (#6787)
2230 - `pdata`: Deprecate `pcommon.Value.Equal` method (#6811)
2231 - `component`: Deprecate `Processor` related structs and functions in favor of `processor` package (#6709)
2232 - `component`: Deprecate component.Factories in favor of otelcol.Factories (#6723)
2233 - `config`: Deprecate `config.[Extension|Exporter|Connector|Receiver|Processor]Settings`. (#6718)
2234 - `batchprocessor`: Deprecate metric views funcs, for OC and Otel. (#6730)
2235 - `obsreporttest`: Deprecate obsreporttest.SetupTelemetryWithID in favor of obsreporttest.SetupTelemetry (#6720)
2236
2237 ### 🚀 New components 🚀
2238
2239 - `forwardconnector`: Add forward connector (#6763)
2240
2241 ### 💡 Enhancements 💡
2242
2243 - `components`: Add [receiver|processor|exporter|extension].Builder to help with creating components form a set of configs and factories (#6803)
2244 - `configunmarshaler`: Consolidate package into generic implementation (#6801)
2245 - `service`: Shutdown internal telemetry with the Service (every time config changes). (#5564)
2246
2247 ### 🧰 Bug fixes 🧰
2248
2249 - `configgrpc`: Fix todo to add MeterProvider to grpc instrumentation (#4030)
2250 - `otlpreceiver`: Fix otlpreceiver transport metrics attribute (#6695)
2251
2252 ## v1.0.0-RC1/v0.67.0
2253
2254 We are excited to announce that the `pdata` module is now available as a
2255 v1.0.0 release candidate. While breaking changes may still happen in this
2256 module before v1.0.0, we believe it is ready for final assessment and validation
2257 and hope to make a v1.0.0 release soon.
2258
2259 ### 🛑 Breaking changes 🛑
2260
2261 - `overwritepropertiesconverter`: Remove deprecated package `overwritepropertiesconverter` (#6656)
2262 - `pdata`: Change [...Slice|Map].Sort methods to not return any value (#6660)
2263 - `featuregate`: remove deprecated functions (#6594)
2264 - `featuregate.GetID()`
2265 - `featuregate.GetDescription()`
2266 - `obsreport`: remove deprecated functions. (#6595)
2267 - `obsreport.MustNewExporter`
2268 - `obsreport.MustNewProcessor`
2269 - `obsreport.MustNewReceiver`
2270 - `obsreport.MustNewScraper`
2271 - `service`: Remove deprecated `service.State` enum values. (#6605)
2272 - `component`: Remove deprecated func/types from component (#6606)
2273 - `config`: Remove deprecated config.Pipelines and config.Pipeline (#6664)
2274 - `ballastextension`: Remove deprecated `ballastextension.MemoryBallast` type (#6628)
2275 - `component`: Remove `Validate()` from component.*Config interfaces and make it optional interface (#6544)
2276 - `confmap`: Splitting confmap into its own module (#6185)
2277 The import path for the confmap module can now be access directly:
2278 - `go.opentelemetry.io/collector/confmap`
2279
2280 ### 🚩 Deprecations 🚩
2281
2282 - `service`: Deprecate service.[Collector|NewSvcHandler|CollectorSettings|State|NewCommand] in favor of otelcol package" (#6608)
2283 - Deprecate `service.Config` in favor of `otelcol.Config`.
2284 - Deprecate `service.ConfigProvider` in favor of `otelcol.ConfigProvider`.
2285 - Deprecate `service.NewConfigProvider` in favor of `otelcol.NewConfigProvider`.
2286 - Deprecate `service.CollectorSettings` in favor of `otelcol.CollectorSettings`.
2287 - Deprecate `service.Collector` in favor of `otelcol.Collector`.
2288 - Deprecate `service.New` in favor of `otelcol.NewCollector`.
2289 - Deprecate `service.State` in favor of `otelcol.State`.
2290 - Deprecate `service.NewSvcHandler` in favor of `otelcol.NewSvcHandler`.
2291 - Deprecate `service.NewCommand` in favor of `otelcol.NewCommand`.
2292 - `obsreporttest`: Deprecate obsreporttest.Check* in favor of TestTelemetry.Check (#6678)
2293 - `component`: Deprecate Exporter related types/funcs from component package in favor of exporter package. (#6578)
2294 - `component.ExporterCreateSettings` -> `exporter.CreateSettings`
2295 - `component.CreateTracesExporterFunc` -> `exporter.CreateTracesFunc`
2296 - `component.CreateMetricsExporterFunc` -> `exporter.CreateMetricsFunc`
2297 - `component.CreateLogsExporterFunc` -> `exporter.CreateLogsFunc`
2298 - `component.ExporterFactory` -> `exporter.Factory`
2299 - `component.NewExporterFactory` -> `exporter.NewFactory`
2300 - `component.MakeExporterFactoryMap` -> `exporter.MakeFactoryMap`
2301 - `componenttest.NewNopExporterCreateSettings` -> `exportertest.NewNopCreateSettings`
2302 - `componenttest.NewNopExporterFactory` -> `exportertest.NewNopFactory`
2303 - `component`: Change Config to be opaque for otel collector core. (#4714)
2304 - Deprecate `component.Config.ID()` in favor of `component.[*]CreateSettings.ID`.
2305 - Deprecate `component.Config.SetIDName()`, no replacement needed since ID in settings is public member.
2306 - Deprecate `obsreporttest.SetupTelemetry` in favor of `obsreporttest.SetupTelemetryWithID`.
2307
2308 - `component`: Deprecate `component.Unmarshal[*]Config` in favor of `component.UnmarshalConfig` (#6613)
2309 - `component`: Deprecate Extension related types/funcs from component package in favor of extension package. (#6578)
2310 - `component.Extension` -> `extension.Extension`
2311 - `component.PipelineWatcher` -> extension.PipelineWatcher
2312 - `component.ExtensionCreateSettings` -> `extension.CreateSettings`
2313 - `component.CreateExtensionFunc` -> `extension.CreateFunc`
2314 - `component.ExtensionFactory` -> `extension.Factory`
2315 - `component.NewExtensionFactory` -> `extension.NewFactory`
2316 - `component.MakeExtensionFactoryMap` -> `extension.MakeFactoryMap`
2317 - `componenttest.NewNopExtensionCreateSettings` -> `extensiontest.NewNopCreateSettings`
2318 - `componenttest.NewNopExtensionFactory` -> `extensiontest.NewNopFactory`
2319 - `component`: Deprecate `Receiver` related structs and functions in favor of `receiver` package (#6687)
2320 - `component`: Deprecate `component.[Exporter|Extension|Processor|Receiver]Config` in favor of `component.Config` (#6578)
2321 - `pdata`: Remove deprecated funcs `pdata.[Span|Trace]ID.HexString` (#6627)
2322
2323 ### 💡 Enhancements 💡
2324
2325 - `config/configopaque`: Add new `configopaque.String` type alias for opaque strings. (#5653)
2326 - `service`: Added components sub command which outputs components in collector distribution. (#4671)
2327 - `component`: Define new component type 'connectors' (#6577)
2328 - `connector`: Add connector factory (#6611)
2329 - `connector`: Add connector types (TracesConnector, MetricsConnector, LogsConnector) (#6689)
2330 - `connectortest`: Add connector/connectortest package (#6711)
2331 - `component`: Add recursive validation check for configs (#4584)
2332 - `service`: Improve config error messages, split Validate functionality (#6665)
2333 - `extension/authextension`: Define new authextension package and use new package in collector repo (#6467)
2334 - configauth.ClientAuthenticator -> auth.Client
2335 - configauth.NewClientAuthenticator -> auth.NewClient
2336 - configauth.ClientOption -> auth.ClientOption
2337 - configauth.WithClientStart -> auth.WithClientStart
2338 - configauth.WithClientShutdown -> auth.WithClientShutdown
2339 - configauth.WithClientRoundTripper -> auth.WithClientRoundTripper
2340 - configauth.WithPerRPCCredentials -> auth.WithClientPerRPCCredentials
2341 - configauth.ServerAuthenticator -> auth.Server
2342 - configauth.NewServerAuthenticator -> auth.NewServer
2343 - configauth.Option -> auth.ServerOption
2344 - configauth.AuthenticateFunc -> auth.ServerAuthenticateFunc
2345 - configauth.WithAuthenticate -> auth.WithServerAuthenticate
2346 - configauth.WithStart -> auth.WithServerStart
2347 - configauth.WithShutdown -> auth.WithServerShutdown
2348 - `obsreport`: Instrument `obsreport.Processor` metrics with otel-go (#6607)
2349 - `pdata`: Add ability to clear optional fields (#6474)
2350
2351 ### 🧰 Bug fixes 🧰
2352
2353 - `otlpexporter`: Fix nil panic from otlp exporter in case of errors during Start. (#6633)
2354 - `service`: Stop notification for signals before shutdown, increase channel size. (#6522)
2355 - `confmap`: Fix support for concatenating envvars with colon (#6580)
2356 - `otlpexporter`: Fix a bug that exporter persistent queue is sending duplicate data after restarting. (#6692)
2357
2358 ## v0.65.0
2359
2360 ### 🛑 Breaking changes 🛑
2361
2362 - `featuregate`: Capitalize `featuregate.Stage` string values, remove Stage prefix. (#6490)
2363 - `configtelemetry`: Update values returned by `Level.String` and `Level.MarshalText` method. (#6490)
2364 - All returned strings are capitalized.
2365 - "" is returned for integers that are out of Level enum range.
2366 - It also affects `Level.Marshal` output, but it's not a problem because `Unmarshal` method accepts strings in
2367 all cases, e.g. "normal", "Normal" and "NORMAL".
2368
2369 - `featuregate`: Make impossible to implement RegistryOption outside `featuregate` package (#6532)
2370 - `service/telemetry`: Remove unit suffixes from metrics exported by the otel-go prometheus exporter. (#6403)
2371 - `obsreport`: `obsreport.New[Receiver|Scraper|Processor|Exporter]` returns error now (#6458)
2372 - `configgrpc`: Remove deprecated funcs in `configgrpc`. (#6529)
2373 - `configgrpc.GRPCClientSettings.ToDialOptions`
2374 - `configgrpc.GRPCServerSettings.ToServerOption`
2375
2376 - `config/configtest`: Remove deprecated `configtest` package. (#6542)
2377 - `config`: Remove deprecated types and funcs from config. Use `component` package. (#6511)
2378 - config.ComponentID
2379 - config.Type
2380 - config.DataType
2381 - config.Receiver
2382 - config.UnmarshalReceiver
2383 - config.Processor
2384 - config.UnmarshalProcessor
2385 - config.Exporter
2386 - config.UnmarshalExporter
2387 - config.Extension
2388 - config.UnmarshalExtension
2389
2390 - `featuregate`: Remove deprecated funcs and struct members from `featuregate` package (#6523)
2391 - featuregate.Gate.ID
2392 - featuregate.Gate.Description
2393 - featuregate.Gate.Enabled
2394 - featuregate.Registry.Register
2395 - featuregate.Registry.MustRegister
2396
2397 - `experimental`: Remove experimental configsource code. (#6558)
2398 - `component`: Update values returned by `StabilityLevel.String` method. (#6490)
2399 - All returned strings are capitalized.
2400 - "Undefined" is returned only for `StabilityLevelUndefined`.
2401 - "" is returned for integers that are out of StabilityLevel enum range.
2402
2403
2404 ### 🚩 Deprecations 🚩
2405
2406 - `pdata`: Deprecate `pcommon.[Span|Trace]ID.HexString` methods. Call `hex.EncodeToString` explicitly instead. (#6514)
2407 - `obsreport`: deprecate `obsreport.MustNew[Receiver|Scraper|Processor|Exporter]` in favor of `obsreport.New[Receiver|Scraper|Processor|Exporter]` (#6458)
2408 - Deprecate `obsreport.MustNewReceiver()` in favor of `obsreport.NewReceiver()`
2409 - Deprecate `obsreport.MustNewScraper()` in favor of `obsreport.NewScraper()`
2410 - Deprecate `obsreport.MustNewProcessor()` in favor of `obsreport.NewProcessor()`
2411 - Deprecate `obsreport.MustNewExporter()` in favor of `obsreport.NewExporter()`
2412
2413 - `component`: Deprecate `component.Receiver`, `component.Processor`, and `component.Exporter`. (#6553)
2414 - `featuregate`: Deprecate Get prefix funcs for `featuregate.Gate` (#6528)
2415 `featuregate.Gate.GetID` -> `featuregate.Gate.ID`
2416 `featuregate.Gate.GetDescription` -> `featuregate.Gate.Description`
2417
2418 - `component`: Deprecate `component.Config.Validate` in favor of `component.ValidateConfig` (#6572)
2419 - `component`: Deprecate `StabilityLevelInDevelopment` enum const in favor of `StabilityLevelDevelopment`. (#6561)
2420 Also rename all mentions of "In development" stability level to "Development".
2421 - `service`: Deprecate `service.[Starting|Running|Closing|Closed]` in favor of `service.State[Starting|Running|Closing|Closed]` (#6492)
2422
2423 ### 💡 Enhancements 💡
2424
2425 - `component`: `component.Extension` is temporarily set to be an alias of `component.Component` which will be reverted once it's moved to the `extension` package. Change your `component.Host.GetExtensions()` implementation to return `map[ID]component.Component` instead of `map[ID]component.Extension` (#6553)
2426 - `pdata`: Return error from `pcommon.[Value|Map|Slice].FromRaw` when unsupported type. (#6579)
2427 - `batchprocessor`: instrument the `batch` processor with OpenTelemetry Go SDK (#6423)
2428 - `obsreport`: Instrument `obsreport.Scraper` metrics with otel-go (#6460)
2429 - `service/collector`: Support SIGHUP configuration reloading (#5966)
2430 - `component`: Split component into its own package (#6187)
2431 The import path for the component module can now be access directly:
2432 - `go.opentelemetry.io/collector/component`
2433 - `consumer`: Split consumer into its own package (#6186)
2434 The import path for the consumer module can now be accessed directly:
2435 - `go.opentelemetry.io/collector/consumer`
2436 - `featuregate`: Split featuregate into its own package (#6526)
2437 The import path for the featuregate module can now be accessed directly:
2438 - `go.opentelemetry.io/collector/featuregate`
2439
2440 ### 🧰 Bug fixes 🧰
2441
2442 - `service`: Disallow duplicate references to processors within a single pipeline (#6540)
2443
2444 ## v0.64.1
2445
2446 ### 🧰 Bug fixes 🧰
2447
2448 - `loggingexporter`: Fix logging exporter to not mutate the data (#6420)
2449
2450 ## 0.64.0
2451
2452 ### 🛑 Breaking changes 🛑
2453
2454 - `config`: Remove already deprecates `config.Service`. (#6395)
2455 - `pdata`: Change output of String() method of the following enum types to more a concise form: (#6251)
2456 - plog.SeverityNumber
2457 - ptrace.SpanKind
2458 - ptrace.StatusCode
2459
2460 - `config`: Remove already deprecates `config.Config`. (#6394)
2461 - `pdata`: Remove deprecated code from pdata (#6417)
2462 - `p[trace|metric|log]otlp.[Request|Response]`
2463 - `p[trace|metric|log]otlp.New[Request|Response]`
2464 - `p[trace|metric|log]otlp.NewRequestFrom[Traces|Metrics|Logs]`
2465 - `p[trace|metric|log]otlp.NewClient`
2466 - `p[trace|metric|log]New[JSON|Proto][Marshaler|Unmarshaler]`
2467
2468 - `extension`: Splitting ballast/zpages extension into their own modules (#6191)
2469 The import path for the extension modules can now be accessed directly:
2470 - `go.opentelemetry.io/collector/extension/ballastextension`
2471 - `go.opentelemetry.io/collector/extension/zpagesextension`
2472
2473 If using one of these extensions, modify your Collector builder configuration to use `gomod` directly, such as:
2474 - `gomod: go.opentelemetry.io/collector/extension/ballastextension v0.64.0`
2475 - `processor`: Splitting batch/memorylimiter processors into their own modules (#6188, #6192, #6193)
2476 The import path for the processor modules can now be access directly:
2477 - `go.opentelemetry.io/collector/processor/batchprocessor`
2478 - `go.opentelemetry.io/collector/processor/memorylimiter`
2479
2480 If using this processor, modify your Collector builder configuration to use `gomod` directly, such as:
2481 - `gomod: go.opentelemetry.io/collector/processor/batchprocessor v0.64.0`
2482 - `otlpreceiver`: Splitting otlp receiver into its own module (#6190)
2483 The import path for the OTLP receiver can now be access directly:
2484 - `go.opentelemetry.io/collector/receiver/otlpreceiver`
2485
2486 If using this receiver, modify your Collector builder configuration to use `gomod` directly, such as:
2487 - `gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.64.0`
2488
2489 - `confmap`: Remove unused public member `sync.Mutex` from `confmap.Resolver`. (#6489)
2490 This is an exception from the deprecation rule since this is not used anywhere and it is very unlikely that is used by external users.
2491
2492 ### 🚩 Deprecations 🚩
2493
2494 - `config`: Deprecate multiple types and funcs in `config` package (#6422)
2495 - config.ComponentID => component.ID
2496 - config.Type => component.Type
2497 - config.DataType => component.DataType
2498 - config.[Traces|Metrics|Logs]DataType => component.DataType[Traces|Metrics|Logs]
2499 - config.Receiver => component.ReceiverConfig
2500 - config.UnmarshalReceiver => component.UnmarshalReceiverConfig
2501 - config.Processor => component.ProcessorConfig
2502 - config.UnmarshalProcessor => component.UnmarshalProcessorConfig
2503 - config.Exporter => component.ExporterConfig
2504 - config.UnmarshalExporter => component.UnmarshalExporterConfig
2505 - config.Extension => component.ExtensionConfig
2506 - config.UnmarshalExtension => component.UnmarshalExtensionConfig
2507
2508 - `obsreport`: deprecate `obsreport.New[Receiver|Scraper|Processor|Exporter]` in favor of `obsreport.MustNew[Receiver|Scraper|Processor|Exporter]` (#6458)
2509 - `config/configgrpc`: Provide better helpers for configgrpc, consistent with confighttp (#6441)
2510 - Deprecate `GRPCClientSettings.ToDialOptions` in favor of `GRPCClientSettings.ToClientConn`.
2511 - Deprecate `GRPCServerSettings.ToServerOption` in favor of `GRPCServerSettings.ToServer`.
2512
2513 - `featuregates`: Removing Gates being configurable externally to the Registry (#6167)
2514 - Deprecate `Gate.ID` in favour of `Registry.RegisterID`
2515 - Deprecate `Gate.Enabled` in favour of `Gate.IsEnabled()`
2516 - Deprecate `Gate.Description` in favour of `WithRegisterDescription` to be used with `Registry.RegisterID`
2517 - Deprecate `Registry.Register` in favour of `Registry.RegisterID`
2518 - Deprecate `Registry.MustRegister` in favour of `Registry.MustRegisterID`
2519
2520
2521 ### 💡 Enhancements 💡
2522
2523 - `service/telemetry`: Allow to configure sampling config for logs. (#4554)
2524 - `featuregates`: Extend feature gate definition to include support for issue links and expected deprecated version (#6167)
2525 - `receiver/otlp`: Add warning when using unspecified (`0.0.0.0`) address on HTTP or gRPC servers (#6151)
2526 - `obsreport`: Instrument `obsreport.Exporter` metrics with otel-go (#6346)
2527 - `config`: Add validation for empty address [telemetry::metrics::address] (#5661)
2528
2529 ### 🧰 Bug fixes 🧰
2530
2531 - `cgroups`: split line into exactly 3 parts while parsing /proc/{pid}/cgroup (#6389)
2532 - `cgroups`: Use int64 for cgroup v1 parsing (#6443)
2533
2534 ## v0.63.1
2535
2536 ### 🧰 Bug fixes 🧰
2537
2538 - `service`: Fix running collector as a windows service. (#6433)
2539
2540 ## v0.63.0
2541
2542 ### 🛑 Breaking changes 🛑
2543
2544 - `pdata`: JSON marshaler emits enums as ints per spec requirements. This may be a breaking change if receivers were not confirming with the spec. (#6338)
2545 - `confmap`: Remove deprecated `confmap.Conf.UnmarshalExact` API in 0.62.0 (#6315)
2546 - `pdata`: Remove API deprecated in 0.62.0 (#6314)
2547 - Remove deprecated `pcommon.NewValueString`
2548 - Remove deprecated `pcommon.Map.PutString`
2549 - Remove deprecated `plog.SeverityNumberUndefined`
2550 - Remove deprecated `p[metric|log|trace]otlp.RegisterServer`
2551 - Remove deprecated `pmetric.[Default]?MetricDataPointFlags`
2552 - Remove deprecated `pmetric.MetricAggregationTemporality*`
2553 - Remove deprecated `pmetric.MetricTypeNone`
2554 - Remove deprecated `pmetric.NumberDataPointValueTypeNone`
2555 - Remove deprecated `pmetric.ExemplarValueTypeNone`
2556 - Remove deprecated `pmetric.[New]?Buckets`
2557 - Remove deprecated `pmetric.[New]?ValueAtQuantile`
2558 - Remove deprecated `pmetric.[New]?ValueAtQuantileSlice`
2559 - Remove deprecated `ptrace.[New]?SpanStatus`
2560
2561 - `exporter`: Splitting otlp, otlphttp and logging exporters into their own modules (#6343)
2562 The import path for these exporters can now be access directly:
2563 - `go.opentelemetry.io/collector/exporter/loggingexporter`
2564 - `go.opentelemetry.io/collector/exporter/otlpexporter`
2565 - `go.opentelemetry.io/collector/exporter/otlphttpexporter`
2566
2567 If using these exporters, modify your Collector builder configuration to use `gomod` directly, such as:
2568 - `gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.63.0`
2569
2570 ### 🚩 Deprecations 🚩
2571
2572 - `overwritepropertiesconverter`: Deprecate `overwritepropertiesconverter`, only used by non builder distributions. (#6294)
2573 - `pdata`: Add `Export` prefix to `p[trace|metric|log]otlp.[Request|Response]` (#6365)
2574 - Deprecate `p[trace|metric|log]otlp.[Request|Response]` in favor of `p[trace|metric|log]otlp.Export[Request|Response]`
2575 - Deprecate `p[trace|metric|log]otlp.New[Request|Response]` in favor of `p[trace|metric|log]otlp.NewExport[Request|Response]`
2576 - Deprecate `p[trace|metric|log]otlp.NewRequestFrom[Traces|Metrics|Logs]` in favor of
2577 `p[trace|metric|log]otlp.NewExportRequestFrom[Traces|Metrics|Logs]`
2578
2579 - `pdata`: Deprecate `p[trace|metric|log]otlp.NewClient` in favor of `p[trace|metric|log]otlp.NewGRPCClient` (#6350)
2580 - `exporter/logging`: Deprecate 'loglevel' in favor of 'verbosity' option (#5878)
2581 - `pdata`: Deprecate `New[JSON|Proto][Marshaler|Unmarshaler]` in favor of exposing the underlying structs (#6340)
2582
2583 ### 💡 Enhancements 💡
2584
2585 - `pdata`: Introduce partial success fields in ExportResponse. (#5815, #5816, #6365)
2586 - `obsreport`: Instrument `obsreport.Receiver` metrics with otel-go (#6222)
2587 - `service/telemetry`: Move logging and tracing initialization to service/telemetry (#5564)
2588 - `confmap`: Fail fast when a resolver has URIs with unsupported schemes. (#6274)
2589 - `service`: Use the same `prometheus.Registry` for the OpenCensus and OpenTelemetry Go prometheus exporters to act as a bridge for internal telemetry (#6297)
2590
2591 ### 🧰 Bug fixes 🧰
2592
2593 - `pdata`: Because of wrong deprecation/rename in proto, services still send the fake 1000 proto id. See https://github.com/open-telemetry/opentelemetry-proto/issues/431 (#6342)
2594 - `confmap`: When a sub-config implements Unmarshaler, do not reinitialized it unless necessary. (#6392)
2595 - `pdata`: Enable enums as ints for otlp messages, switch to jsoniter for responses. (#6345)
2596 - `collector`: Fixed collector service not cleaning up if it failed during Start (#6352)
2597
2598 ## v0.62.1 Beta
2599
2600 - Fix support for new line in config URI location. (#6306)
2601
2602 ## v0.62.0 Beta
2603
2604 ### 🛑 Breaking changes 🛑
2605
2606 - Delete deprecated `go.opentelemetry.io/collector/service/featuregate`. (#6178)
2607 - Delete deprecated `pmetric.OptionalType`. (#6178)
2608 - Delete deprecated `ptrace.Span[Link]?.TraceStateStruct`. (#6178)
2609 - Delete deprecated `pcommon.NewValueBytesEmpty`. (#6178)
2610 - Delete deprecated `pmetric.MetricDataType`. (#6178)
2611 - Delete deprecated `pmetric.Metric.DataType()`. (#6178)
2612 - Delete deprecated `pmetric.NumberDataPoint.[Set]?[Int|Double]Val()`. (#6178)
2613 - Delete deprecated `pmetric.Exemplar.[Set]?[Int|Double]Val()`. (#6178)
2614 - Delete deprecated `p[metric|log|trace]otlp.[Client|Server]`. (#6178)
2615 - Delete deprecated pdata Clone methods. (#6178)
2616 - Delete deprecated `pcommon.Value` getter/setter methods with `Val` suffix. (#6178)
2617 - Delete deprecated `StringVal` and `SetStringVal` methods. (#6178)
2618 - Delete deprecated `ValueTypeString` method. (#6178)
2619 - Change AggregationTemporality.String to simpler, easier to read. (#6117)
2620 - Update `pcommon.ValueType.String` output to string representation of corresponding type identifiers. The following
2621 values will be returned: (#6247)
2622 - ValueTypeEmpty.String() -> "Empty"
2623 - ValueTypeStr.String() -> "Str"
2624 - ValueTypeBool.String() -> "Bool"
2625 - ValueTypeInt.String() -> "Int"
2626 - ValueTypeDouble.String() -> "Double"
2627 - ValueTypeMap.String() -> "Map"
2628 - ValueTypeSlice.String() -> "Slice"
2629 - ValueTypeBytes.String() -> "Bytes"
2630 - Rename output of `[MetricType|NumberDataPointValueType|ExemplarValueType].String()` for zero values from `"None"` to
2631 `"Empty"` (#6270)
2632
2633 ### 🚩 Deprecations 🚩
2634
2635 - Deprecate `p[metric|log|trace]otlp.RegisterServer` in favor of `p[metric|log|trace]otlp.RegisterGRPCServer` (#6182)
2636 - Deprecate `pcommon.Map.PutString` in favor of `pcommon.Map.PutStr` (#6210)
2637 - Deprecate `pcommon.NewValueString` in favor of `pcommon.NewValueStr` (#6209)
2638 - Deprecate `pmetric.MetricAggregationTemporality` enum type in favor of `pmetric.AggregationTemporality` (#6253)
2639 - Deprecate `confmap.Conf.UnmarshalExact` in favor of `confmap.Conf.Unmarshal(.., WithErrorUnused)` (#6231)
2640 - Deprecate `pmetric.[Default]?MetricDataPointFlags` favor of `pmetric.[Default]?DataPointFlags` (#6259)
2641 - Deprecate `ptrace.[New]?SpanStatus` favor of `ptrace.[New]?Status` (#6258)
2642 - Deprecate `pmetric.[New]?Buckets` in favor of `pmetric.[New]?ExponentialHistogramDataPointBuckets` (#6261)
2643 - Deprecate `plog.SeverityNumberUndefined` in favor of `plog.SeverityNumberUnspecified` (#6269)
2644 - Deprecate `pmetric.[New]?ValueAtQuantile[Slice]?` in favor of `pmetric.[New]?SummaryDataPointValueAtQuantile[Slice]?` (#6262)
2645 - Deprecate enum zero constants ending with `None` (#6270)
2646 - Deprecate `pmetric.MetricTypeNone` in favor of `pmetric.MetricTypeEmpty`
2647 - Deprecate `pmetric.NumberDataPointValueTypeNone` in favor of `pmetric.NumberDataPointValueTypeEmpty`
2648 - Deprecate `pmetric.ExemplarValueTypeNone` in favor of `pmetric.ExemplarValueTypeEmpty`
2649
2650 ### 💡 Enhancements 💡
2651
2652 - Add config marshaler (#5566)
2653 - Add semantic conventions for specification v1.10-v1.13 (#6213)
2654 - `receiver/otlp`: Make logs related to gRCPC and HTTP server startup clearer (#6174)
2655 - Add prometheus metric prefix to Collector's own telemetry when using OpenTelemetry for internal telemetry (#6223)
2656 - `exporter/logging`: Apply consistent rendering of map values (#6244)
2657 - Add support in the confmap.Resolver to expand embedded config URIs inside configuration. (#6276)
2658
2659 ### 🧰 Bug fixes 🧰
2660
2661 - Fixed bug where `telemetryInitializer` is not cleaned up when `newService` errors (#6239)
2662
2663 ## v0.61.0 Beta
2664
2665 ### 🛑 Breaking changes 🛑
2666
2667 - Change `ptrace.Span[Link]?.TraceState` signature to match `ptrace.Span[Link]?.TraceStateStruct` (#6085)
2668 - Delete deprecated `pmetric.NewMetricDataPointFlagsImmutable` func. (#6097)
2669 - Delete deprecated `pmetric.*DataPoint.[Set]FlagsImmutable()` funcs. (#6097)
2670 - Delete deprecated `config.Unmarshalable` interface. (#6084)
2671 - Delete deprecated `p[metric|log|trace].MarshalerSizer` interfaces (#6083)
2672 - Delete deprecated `pcommon.Map.Insert*` funcs. (#6088)
2673 - Delete deprecated `pcommon.Map.Upsert*` funcs. (#6088)
2674 - Delete deprecated `pcommon.Map.Update*` funcs. (#6088)
2675 - Change `pcommon.NewValueBytes` signature to match `pcommon.NewValueBytesEmpty`. (#6088)
2676 - Delete deprecated `pcommon.Empty[Trace|Span]ID`. (#6098)
2677 - Delete deprecated `pcommon.[Trace|Span]ID.Bytes()`. (#6098)
2678 - Delete deprecated `pcommon.New[Trace|Span]ID()`. (#6098)
2679 - Delete deprecated `pcommon.Value.SetBytesVal`. (#6088)
2680 - Delete deprecated `pmetric.Metric.SetDataType`. (#6095)
2681 - Delete deprecated `plog.LogRecord.[Set]FlagStruct` funcs. (#6100)
2682 - Delete deprecated `pcommon.ImmutableByteSlice` and `pcommon.NewImmutableByteSlice`. (#6107)
2683 - Delete deprecated `pcommon.ImmutableFloat64Slice` and `pcommon.NewImmutableFloat64Slice`. (#6107)
2684 - Delete deprecated `pcommon.ImmutableUInt64Slice` and `pcommon.NewImmutableUInt64Slice`. (#6107)
2685 - Delete deprecated `*DataPoint.SetBucketCounts` and `*DataPoint.SetExplicitBounds`. (#6108)
2686
2687 ### 🚩 Deprecations 🚩
2688
2689 - Deprecate `go.opentelemetry.io/collector/service/featuregate` in favor of `go.opentelemetry.io/collector/featuregate`. (#6094)
2690 - Deprecate `pmetric.OptionalType`, unused enum type. (#6096)
2691 - Deprecate `ptrace.Span[Link]?.TraceStateStruct` in favor of `ptrace.Span[Link]?.TraceState` (#6085)
2692 - Deprecate `pcommon.NewValueBytesEmpty` in favor of `pcommon.NewValueBytes` that now has the same signature. (#6105)
2693 - Deprecate `pmetric.MetricDataType` and related constants in favor of `pmetric.MetricType`. (#6127)
2694 - Deprecate `pmetric.Metric.DataType()` in favor of `pmetric.Metric.Type()`. (#6127)
2695 - Deprecate `pmetric.NumberDataPoint.[Set]?[Int|Double]Val()` in favor of `pmetric.NumberDataPoint.[Set]?[Int|Double]Value()`. (#6134)
2696 - Deprecate `pmetric.Exemplar.[Set]?[Int|Double]Val()` in favor of `pmetric.Exemplar.[Set]?[Int|Double]Value()`. (#6134)
2697 - Deprecate `p[metric|log|trace]otlp.[Client|Server]` in favor of `p[metric|log|trace]otlp.GRPC[Client|Server]` (#6165)
2698 - Deprecate pdata Clone methods in favor of CopyTo for consistency with other pdata structs (#6164)
2699 - `pmetric.Metrics.Clone` is deprecated in favor of `pmetric.Metrics.CopyTo`
2700 - `ptrace.Traces.Clone` is deprecated in favor of `pmetric.Traces.CopyTo`
2701 - `plog.Logs.Clone` is deprecated in favor of `plogs.Logs.CopyTo`
2702 - Rename all `pcommon.Value` getter/setter methods by removing `Val` suffix. (#6092)
2703 - Old methods with `Val` suffix are deprecated.
2704 - `StringVal` and `SetStringVal` are deprecated in favor of `Str` and `SetStr` to avoid implementing `fmt.Stringer` interface.
2705 - Therefore, `ValueTypeString` is deprecated in favour of `ValueTypeStr` for consistency.
2706
2707 ### 💡 Enhancements 💡
2708
2709 - Add AppendEmpty and EnsureCapacity method to primitive pdata slices (#6060)
2710 - Expose `AsRaw` and `FromRaw` `pcommon.Value` methods (#6090)
2711 - Convert `ValueTypeBytes` attributes in logging exporter (#6153)
2712 - 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)
2713 - Updated how `telemetryInitializer` is created so it's instanced per Collector instance rather than global to the process (#6138)
2714
2715 ## v0.60.0 Beta
2716
2717 ### 🛑 Breaking changes 🛑
2718
2719 - Replace deprecated `*DataPoint.Flags()` with `*DataPoint.[Set]FlagsImmutable()`. (#6017)
2720 - Remove deprecated `MetricDataPointFlagsStruct` struct and `NewMetricDataPointFlagsStruct` func. (#6017)
2721 - Replace deprecated `MetricDataPointFlags` with `MetricDataPointFlagsImmutable`. (#6017)
2722 - Replace deprecated `LogRecord.[Set]Flags()` with `LogRecord.[Set]FlagsStruct()`. (#6007)
2723 - Remove deprecated components helpers funcs (#6006)
2724 - `exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext`
2725 - `processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings`
2726 - `component.NewExtensionFactoryWithStabilityLevel`
2727 - Remove deprecated `pcommon.InvalidTraceID` and `pcommon.InvalidSpanID` funcs (#6008)
2728 - Remove deprecated `pcommon.Map` methods: `Update`, `Upsert`, `InsertNull` (#6019)
2729
2730 ### 🚩 Deprecations 🚩
2731
2732 - Deprecate pmetric.Metric.SetDataType, in favor of empty setters for each type. (#5979)
2733 - Deprecate `p[metric|log|trace].MarshalerSizer` in favor of `p[metric|log|trace].MarshalSizer`. (#6033)
2734 - Deprecate `pcommon.Map.Update+` in favor of `pcommon.Map.Get` + `pcommon.Value.Set+` (#6013)
2735 - Deprecate `pcommon.Empty[Trace|Span]ID` in favor of `pcommon.New[Trace|Span]IDEmpty` (#6008)
2736 - Deprecate `pcommon.[Trace|Span]ID.Bytes` in favor direct conversion. (#6008)
2737 - Deprecate `pcommon.New[Trace|Span]ID` in favor direct conversion. (#6008)
2738 - Deprecate `MetricDataPointFlagsImmutable` type. (#6017)
2739 - Deprecate `*DataPoint.[Set]FlagsImmutable()` funcs in favor of `*DataPoint.[Set]Flags()`. (#6017)
2740 - Deprecate `LogRecord.FlagsStruct()` and `LogRecord.SetFlagsStruct()` in favor of `LogRecord.Flags()` and `LogRecord.SetFlags()`. (#6007)
2741 - Deprecate `config.Unmarshallable` in favor of `confmap.Unmarshaler`. (#6031)
2742 - Primitive slice wrapper are now mutable (#5971):
2743 - `pcommon.ImmutableByteSlice` is deprecated in favor of `pcommon.ByteSlice`
2744 - `pcommon.ImmutableFloat64Slice` is deprecated in favor of `pcommon.Float64Slice`
2745 - `pcommon.ImmutableUInt64Slice` is deprecated in favor of `pcommon.UInt64Slice`
2746 - Temporarily deprecate `pcommon.NewValueBytes` that will be replaced with `pcommon.NewValueBytesEmpty` in 0.60.0
2747 - Deprecate `pcommon.Map.UpsertBytes` in favor of `pcommon.Map.PutEmptyBytes` (#6064)
2748 - Deprecate `pcommon.Value.SetBytesVal` in favor of `pcommon.Value.SetEmptyBytesVal`
2749 - Deprecate `pcommon.New[Slice|Map]FromRaw` functions in favor of `New[Slice|Map]().FromRaw` (#6045)
2750 - Deprecate `pcommon.Map.Insert*` methods (#6051)
2751 - Deprecate `pcommon.Map.Upsert*` methods in favor of `pcommon.Map.Put*` (#6064)
2752 - Deprecate `ptrace.TraceState` in favor of `pcommon.TraceState`. (#6052)
2753 - `ptrace.Span.TraceState` in favor of `ptrace.Span.TraceStateStruct().AsRaw()`
2754 - `ptrace.Span.SetTraceState` in favor of `ptrace.Span.TraceStateStruct().FromRaw`
2755 - `ptrace.SpanLink.TraceState` in favor of `ptrace.SpanLink.TraceStateStruct().AsRaw()`
2756 - `ptrace.SpanLink.SetTraceState` in favor of `ptrace.SpanLink.TraceStateStruct().FromRaw`
2757 - `TraceStateStruct` is a temporary name that will be replaced back to `TraceState` in the next release.
2758
2759 ### 💡 Enhancements 💡
2760
2761 - Add `skip-get-modules` builder flag to support isolated environment executions (#6009)
2762 - Skip unnecessary Go binary path validation when the builder is used with `skip-compilation` and `skip-get-modules` flags (#6026)
2763 - Make the otlpreceiver support to use jsoniter to unmarshal JSON payloads. (#6040)
2764 - Add mapstructure hook function for confmap.Unmarshaler interface (#6029)
2765 - Add CopyTo and MoveTo methods to primitive slices (#6044)
2766 - Add support to unmarshalls bytes into plogs.Logs with `jsoniter` in jsonUnmarshaler (#6021)
2767 - Instead of exiting, `ocb` now generates a default Collector when no build configuration is supplied (#5752)
2768
2769 ### 🧰 Bug fixes 🧰
2770
2771 - otlpjson: Correctly skip unknown JSON value types. (#6038)
2772 - Fix reading resource attributes from trace JSON. (#6023)
2773
2774 ## v0.59.0 Beta
2775
2776 ### 🛑 Breaking changes 🛑
2777
2778 - Remove deprecated fields/funcs from `service` (#5907)
2779 - Remove `ConfigProviderSettings.Location`
2780 - Remove `ConfigProviderSettings.MapProviders`
2781 - Remove `ConfigProviderSettings.MapConverters`
2782 - Remove `featuregate.Registry.MustAppy`
2783 - Remove deprecated funcs from `pdata` module. (#5911)
2784 - Remove `pmetric.MetricDataPointFlags.String()`
2785 - Remove `pmetric.NumberDataPoint.FlagsStruct()`
2786 - Remove `pmetric.HistogramDataPoint.FlagsStruct()`
2787 - Remove `pmetric.ExponentialHistogramDataPoint.FlagsStruct()`
2788 - Remove `pmetric.SummaryDataPoint.FlagsStruct()`
2789 - Remove deprecated settings from `obsreport`, `ProcessorSettings.Level` and `ExporterSettings.Level` (#5918)
2790 - Replace `processorhelper.New[Traces|Metrics|Logs]Exporter` with `processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings` definition (#5915)
2791 - Replace `exporterhelper.New[Traces|Metrics|Logs]Exporter` with `exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext` definition (#5914)
2792 - Replace ``component.NewExtensionFactory`` with `component.NewExtensionFactoryWithStabilityLevel` definition (#5917)
2793 - Set TLS 1.2 as default for `min_version` for TLS configuration in case this property is not defined (affects servers). (#5956)
2794
2795 ### 🚩 Deprecations 🚩
2796
2797 - Deprecate `processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings` in favor of `processorhelper.New[Traces|Metrics|Logs]Exporter` (#5915)
2798 - Deprecates `LogRecord.Flags()` and `LogRecord.SetFlags()` in favor of `LogRecord.FlagsStruct()` and `LogRecord.SetFlagsStruct()`. (#5972)
2799 - Deprecate `exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext` in favor of `exporterhelper.New[Traces|Metrics|Logs]Exporter` (#5914)
2800 - Deprecate `component.NewExtensionFactoryWithStabilityLevel` in favor of `component.NewExtensionFactory` (#5917)
2801 - Deprecate `plog.SeverityNumber[UPPERCASE]` constants (#5927)
2802 - Deprecate `pcommon.Map.InsertNull` method (#5955)
2803 - Deprecate FlagsStruct types (#5933):
2804 - `MetricDataPointFlagsStruct` -> `MetricDataPointFlags`
2805 - `NewMetricDataPointFlagsStruct` -> `NewMetricDataPointFlags`
2806 - Deprecate builder distribution flags, use configuration. (#5946)
2807 - Enforce naming conventions for Invalid[Trace|Span]ID: (#5969)
2808 - Deprecate funcs `pcommon.InvalidTraceID` and `pcommon.InvalidSpanID` in favor of vars `pcommon.EmptyTraceID` and `pcommon.EmptySpanID`
2809 - Deprecate `Update` and `Upsert` methods of `pcommon.Map` (#5975)
2810 - Deprecated the current MetricDataPointFlags API. The new API provides functions to check and set Flags. (#5999)
2811 - `NumberDataPoint.Flags` -> `NumberDataPoint.FlagsImmutable`
2812 - `HistogramDataPoint.Flags` -> `HistogramDataPoint.FlagsImmutable`
2813 - `ExponentialHistogramDataPoint.Flags` -> `ExponentialHistogramDataPoint.FlagsImmutable`
2814 - `SummaryDataPoint.Flags` -> `SummaryDataPoint.FlagsImmutable`
2815 - `MetricDataPointFlags` -> `MetricDataPointFlagsImmutable`
2816 - `NewMetricDataPointFlags` -> `MetricDataPointFlagsImmutable`
2817
2818 ### 💡 Enhancements 💡
2819
2820 - Added `MarshalerSizer` interface to `ptrace`, `plog`, and `pmetric` packages. `NewProtoMarshaler` now returns a `MarshalerSizer` (#5929)
2821 - Add support to unmarshalls bytes into pmetric.Metrics with `jsoniter` in jsonUnmarshaler(#5433)
2822 - Add httpprovider to allow loading config files stored in HTTP (#5810)
2823 - Added `service.telemetry.traces.propagators` configuration to set propagators for collector's internal spans. (#5572)
2824 - Remove unnecessary duplicate code and allocations for reading enums in JSON. (#5928)
2825 - Add "dist.build_tags" configuration option to support passing go build flags to builder. (#5659)
2826 - Add an AsRaw func on the flags, lots of places to encode these flags. (#5934)
2827 - Change pdata generated types to use type definition instead of aliases. (#5936)
2828 - Improves documentation, and makes code easier to read/understand.
2829 - Log `InstrumentationScope` attributes in `loggingexporter` (#5976)
2830 - Add `UpsertEmpty`, `UpsertEmptyMap` and `UpsertEmptySlice` methods to `pcommon.Map` (#5975)
2831 - Add `SetEmptyMapVal` and `SetEmptySliceVal` methods to `pcommon.Value` (#5975)
2832
2833 ### 🧰 Bug fixes 🧰
2834
2835 - Fix reading scope attributes for trace JSON, remove duplicate code. (#5930)
2836 - otlpjson/trace: skip unknown fields instead of error. (#5931)
2837 - Fix bug in setting the correct collector state after a configuration change event. (#5830)
2838 - Fix json trace unmarshalling for numbers (#5924):
2839 - Accept both string and number for float64.
2840 - Accept both string and number for int32/uint32.
2841 - Read uint64 numbers without converting from int64.
2842 - Fix persistent storage client not closing when shutting down (#6003)
2843
2844 ## v0.58.0 Beta
2845
2846 ### 🛑 Breaking changes 🛑
2847
2848 - Remove the InstrumentationLibrary to Scope translation (part of transition to OTLP 0.19). (#5819)
2849 - This has a side effect that when sending JSON encoded telemetry using OTLP proto <= 0.15.0, telemetry will be dropped.
2850 - Require the storage to be explicitly set for the (experimental) persistent queue (#5784)
2851 - Remove deprecated `confighttp.HTTPClientSettings.ToClientWithHost` (#5803)
2852 - Remove deprecated component stability helpers (#5802):
2853 - `component.WithTracesExporterAndStabilityLevel`
2854 - `component.WithMetricsExporterAndStabilityLevel`
2855 - `component.WithLogsExporterAndStabilityLevel`
2856 - `component.WithTracesReceiverAndStabilityLevel`
2857 - `component.WithMetricsReceiverAndStabilityLevel`
2858 - `component.WithLogsReceiverAndStabilityLevel`
2859 - `component.WithTracesProcessorAndStabilityLevel`
2860 - `component.WithMetricsProcessorAndStabilityLevel`
2861 - `component.WithLogsProcessorAndStabilityLevel`
2862 - ABI breaking change: `featuregate.Registry.Apply` returns error now.
2863 - Update minimum go version to 1.18 (#5795)
2864 - Remove deprecated `Flags` API from pdata (#5814)
2865 - Change `confmap.Provider` to return pointer to `Retrieved` (#5839)
2866
2867 ### 🚩 Deprecations 🚩
2868
2869 - Deprecate duplicate settings in service.ConfigProvider, embed ResolverSettings (#5843)
2870 - Deprecate `featuregate.Registry.MustApply` in favor of `featuregate.Registry.Apply`. (#5801)
2871 - Deprecate the `component.Factory.StabilityLevel(config.DataType)` in favor of Stability per component (#5762):
2872 - `component.ExporterFactory.TracesExporterStability`
2873 - `component.ExporterFactory.MetricsExporterStability`
2874 - `component.ExporterFactory.LogsExporterStability`
2875 - `component.ProcessorFactory.TracesProcessorStability`
2876 - `component.ProcessorFactory.MetricsProcessorStability`
2877 - `component.ProcessorFactory.LogsProcessorStability`
2878 - `component.ReceiverFactory.TracesReceiverStability`
2879 - `component.ReceiverFactory.MetricsReceiverStability`
2880 - `component.ReceiverFactory.LogsReceiverStability`
2881 - Deprecate `obsreport.ProcessorSettings.Level` and `obsreport.ExporterSettings.Level`, use MetricsLevel from CreateSettings (#5824)
2882 - Deprecate `processorhelper.New[Traces|Metrics|Logs]Processor` in favor of `processorhelper.New[Traces|Metrics|Logs]ProcessorWithCreateSettings` (#5833)
2883 - Deprecate MetricDataPointFlags.String(), no other pdata flags have this method (#5868)
2884 - Deprecates `FlagsStruct` in favor of `Flags` (#5842)
2885 - `FlagsStruct` -> `Flags`
2886 - Deprecate `exporterhelper.New[Traces|Metrics|Logs]Exporter` in favor of `exporterhelper.New[Traces|Metrics|Logs]ExporterWithContext` (#5834)
2887
2888 ### 💡 Enhancements 💡
2889
2890 - Enable persistent queue in the build by default (#5828)
2891 - Bump to opentelemetry-proto v0.19.0. (#5823)
2892 - Expose `Scope.Attributes` in pdata (#5826)
2893 - Remove unnecessary limitation on `pcommon.Value.Equal` that slices have only primitive values. (#5865)
2894 - Add support to handle 404, 405 http error code as permanent errors in OTLP exporter (#5827)
2895 - Enforce scheme name restrictions to all `confmap.Provider` implementations. (#5861)
2896
2897 ## v0.57.2 Beta
2898
2899 See the changelog for v0.57.0.
2900
2901 ## v0.57.1 Beta
2902
2903 This was a failed release.
2904
2905 ## v0.57.0 Beta
2906
2907 There isn't a valid core binary for this release. Use v0.57.2 instead.
2908
2909 ### 🛑 Breaking changes 🛑
2910
2911 - Remove deprecated funcs/types from service related to `Config` (#5755)
2912 - Change`confighttp.ToClient` to accept a `component.Host` (#5737)
2913 - Remove deprecated funcs from pdata related to mutable slices (#5754)
2914 - Change the following deprecated component functions to ensure a stability level is set:
2915 - `component.WithTracesExporter`
2916 - `component.WithMetricsExporter`
2917 - `component.WithLogsExporter`
2918 - `component.WithTracesReceiver`
2919 - `component.WithMetricsReceiver`
2920 - `component.WithLogsReceiver`
2921 - `component.WithTracesProcessor`
2922 - `component.WithMetricsProcessor`
2923 - `component.WithLogsProcessor`
2924
2925 ### 🚩 Deprecations 🚩
2926
2927 - Deprecated the current Flag API. The new API provides functions to check and set Flags (#5790) (#5602):
2928 - `NumberDataPoint.Flags` -> `NumberDataPoint.FlagsStruct`
2929 - `NumberDataPoint.SetFlags` -> `NumberDataPoint.FlagsStruct`
2930 - `HistogramDataPoint.Flags` -> `HistogramDataPoint.FlagsStruct`
2931 - `HistogramDataPoint.SetFlags` -> `HistogramDataPoint.FlagsStruct`
2932 - `ExponentialHistogramDataPoint.Flags` -> `ExponentialHistogramDataPoint.FlagsStruct`
2933 - `ExponentialHistogramDataPoint.SetFlags` -> `ExponentialHistogramDataPoint.FlagsStruct`
2934 - `SummaryDataPoint.Flags` -> `SummaryDataPoint.FlagsStruct`
2935 - `SummaryDataPoint.SetFlags` -> `SummaryDataPoint.FlagsStruct`
2936 - `MetricDataPointFlags` -> `MetricDataPointFlagsStruct`
2937 - `NewMetricDataPointFlags` -> `NewMetricDataPointFlagsStruct`
2938 - `MetricDataPointFlagsNone` -> `MetricDataPointFlagsStruct.NoRecordedValue`
2939 - `MetricDataPointFlagNoRecordedValue` -> `MetricDataPointFlagsStruct.NoRecordedValue`
2940 - `MetricDataPointFlag`
2941 - Deprecate the following component functions added to ensure a stability level is set:
2942 - `component.WithTracesExporterAndStabilityLevel` -> `component.WithTracesExporter`
2943 - `component.WithMetricsExporterAndStabilityLevel` -> `component.WithMetricsExporter`
2944 - `component.WithLogsExporterAndStabilityLevel` -> `component.WithLogsExporter`
2945 - `component.WithTracesReceiverAndStabilityLevel` -> `component.WithTracesReceiver`
2946 - `component.WithMetricsReceiverAndStabilityLevel` -> `component.WithMetricsReceiver`
2947 - `component.WithLogsReceiverAndStabilityLevel` -> `component.WithLogsReceiver`
2948 - `component.WithTracesProcessorAndStabilityLevel` -> `component.WithTracesProcessor`
2949 - `component.WithMetricsProcessorAndStabilityLevel` -> `component.WithMetricsProcessor`
2950 - `component.WithLogsProcessorAndStabilityLevel` -> `component.WithLogsProcessor`
2951
2952 ### 💡 Enhancements 💡
2953
2954 - Make the in-memory and persistent queues more consistent (#5764)
2955 - `ocb` now exits with an error if it fails to load the build configuration. (#5731)
2956 - Deprecate `HTTPClientSettings.ToClientWithHost` (#5737)
2957
2958 ### 🧰 Bug fixes 🧰
2959
2960 - Fix bug in ocb where flags did not take precedence. (#5726)
2961
2962 ## v0.56.0 Beta
2963
2964 ### 💡 Enhancements 💡
2965
2966 - Add `linux-ppc64le` architecture to cross build tests in CI (#5645)
2967 - `client`: perform case insensitive lookups in case the requested metadata value isn't found (#5646)
2968 - `loggingexporter`: Decouple `loglevel` field from level of logged messages (#5678)
2969 - Expose `pcommon.NewSliceFromRaw` function (#5679)
2970 - `loggingexporter`: create the exporter's logger from the service's logger (#5677)
2971 - Add `otelcol_exporter_queue_capacity` metrics show the collector's exporter queue capacity (#5475)
2972 - Add support to handle 402, 413, 414, 431 http error code as permanent errors in OTLP exporter (#5685)
2973
2974 ### 🧰 Bug fixes 🧰
2975
2976 - Fix Collector panic when disabling telemetry metrics (#5642)
2977 - Fix Collector panic when featuregate value is empty (#5663)
2978 - Fix confighttp.compression panic due to nil request.Body. (#5628)
2979
2980 ## v0.55.0 Beta
2981
2982 ### 🛑 Breaking changes 🛑
2983
2984 - Remove deprecated `config.ServiceTelemetry` (#5565)
2985 - Remove deprecated `config.ServiceTelemetryLogs` (#5565)
2986 - Remove deprecated `config.ServiceTelemetryMetrics` (#5565)
2987
2988 ### 🚩 Deprecations 🚩
2989
2990 - Deprecate `service.ConfigServiceTelemetry`, `service.ConfigServiceTelemetryLogs`, and `service.ConfigServiceTelemetryMetrics` (#5565)
2991 - Deprecate the following component functions to ensure a stability level is set (#5580):
2992 - `component.WithTracesExporter` -> `component.WithTracesExporterAndStabilityLevel`
2993 - `component.WithMetricsExporter` -> `component.WithMetricsExporterAndStabilityLevel`
2994 - `component.WithLogsExporter` -> `component.WithLogsExporterAndStabilityLevel`
2995 - `component.WithTracesReceiver` -> `component.WithTracesReceiverAndStabilityLevel`
2996 - `component.WithMetricsReceiver` -> `component.WithMetricsReceiverAndStabilityLevel`
2997 - `component.WithLogsReceiver` -> `component.WithLogsReceiverAndStabilityLevel`
2998 - `component.WithTracesProcessor` -> `component.WithTracesProcessorAndStabilityLevel`
2999 - `component.WithMetricsProcessor` -> `component.WithMetricsProcessorAndStabilityLevel`
3000 - `component.WithLogsProcessor` -> `component.WithLogsProcessorAndStabilityLevel`
3001 - Deprecate `Registry.Apply` in `service.featuregate` (#5660)
3002
3003 ### 💡 Enhancements 💡
3004
3005 - Components stability levels are now logged. By default components which haven't defined their stability levels, or which are
3006 unmaintained, deprecated or in development will log a message. (#5580)
3007 - `exporter/logging`: Skip "bad file descriptor" sync errors (#5585)
3008
3009 ### 🧰 Bug fixes 🧰
3010
3011 - Fix initialization of the OpenTelemetry MetricProvider. (#5571)
3012 - Set log level for `undefined` stability level to debug. (#5635)
3013
3014 ## v0.54.0 Beta
3015
3016 ### 🛑 Breaking changes 🛑
3017
3018 - Remove deprecated `GetLogger`. (#5504)
3019 - Remove deprecated `configtest.LoadConfigMap` (#5505)
3020 - Remove deprecated `config.Map` (#5505)
3021 - Remove deprecated `config.MapProvider` (#5505)
3022 - Remove deprecated `config.MapConverter` (#5505)
3023 - Remove deprecated `config.Received` (#5505)
3024 - Remove deprecated `config.CloseFunc` (#5505)
3025 - Deprecated `pcommon.Value.NewValueBytes` is brought back taking `pcommon.ImmutableByteSlice` as an argument instead of `[]byte` (#5299)
3026
3027 ### 🚩 Deprecations 🚩
3028
3029 - Use immutable slices for primitive types slices to restrict mutations. (#5299)
3030 - `Value.NewValueMBytes` func is deprecated in favor of `Value.NewValueBytes` func that takes
3031 `ImmutableByteSlice` instead of `[]byte`
3032 - `Value.SetMBytesVal` func is deprecated in favor of `Value.SetBytesVal` func that takes
3033 `pcommon.ImmutableByteSlice` instead of []byte.
3034 - `Value.BytesVal` func is deprecated in favor of `Value.BytesVal` func that returns `pcommon.ImmutableByteSlice`
3035 instead of []byte.
3036 - `<HistogramDataPoint|Buckets>.SetMBucketCounts` funcs are deprecated in favor of
3037 `<HistogramDataPoint|Buckets>.SetBucketCounts` funcs that take `pcommon.ImmutableUInt64Slice` instead of []uint64.
3038 - `<HistogramDataPoint|Buckets>.MBucketCounts` funcs are deprecated in favor of
3039 `<HistogramDataPoint|Buckets>.BucketCounts` funcs that return `pcommon.ImmutableUInt64Slice` instead of []uint64.
3040 - `HistogramDataPoint.SetMExplicitBounds` func is deprecated in favor of `HistogramDataPoint.SetExplicitBounds` func
3041 that takes `pcommon.ImmutableFloat64Slice` instead of []float64.
3042 - `HistogramDataPoint.MExplicitBounds` func func is deprecated in favor of `HistogramDataPoint.ExplicitBounds`
3043 returns `pcommon.ImmutableFloat64Slice` instead of []float64.
3044
3045 ### 💡 Enhancements 💡
3046
3047 - Deprecate `HTTPClientSettings.ToClient` in favor of `HTTPClientSettings.ToClientWithHost` (#5584)
3048 - Use OpenCensus `metric` package for process metrics instead of `stats` package (#5486)
3049 - Update OTLP to v0.18.0 (#5530)
3050 - Log histogram min/max fields with `logging` exporter (#5520)
3051
3052 ### 🧰 Bug fixes 🧰
3053
3054 - Update sum field of exponential histograms to make it optional (#5530)
3055 - Remove redundant extension shutdown call (#5532)
3056 - Refactor pipelines builder, fix some issues (#5512)
3057 - Unconfigured receivers are not identified, this was not a real problem in final binaries since the validation of the config catch this.
3058 - Allow configurations to contain "unused" receivers. Receivers that are configured but not used in any pipeline, this was possible already for exporters and processors.
3059 - Remove the enforcement/check that Receiver factories create the same instance for the same config.
3060
3061 ## v0.53.0 Beta
3062
3063 ### 🛑 Breaking changes 🛑
3064
3065 - Remove deprecated `componenterror` package. (#5420)
3066 - Remove deprecated `config.MapConverterFunc`. (#5419)
3067 - Remove `AddCollectorVersionTag`, enabled for long time already. (#5471)
3068
3069 ### 🚩 Deprecations 🚩
3070
3071 - Move `config.Map` to its own package `confmap` which does not depend on any component concept (#5237)
3072 - `config.Map` -> `confmap.ConfMap`
3073 - `config.MapProvider` -> `confmap.Provider`
3074 - `config.Received` -> `confmap.Received`
3075 - `config.NewReceivedFromMap` -> `confmap.NewReceived`
3076 - `config.CloseFunc` -> `confmap.CloseFunc`
3077 - `config.ChangeEvent` -> `confmap.ChangeEvent`
3078 - `config.MapConverter` -> `confmap.Converter`
3079 - Package `envmapprovider` -> `envprovider`
3080 - Package `filemapprovider` -> `fileprovider`
3081 - Package `yamlmapprovider` -> `yamlprovider`
3082 - Package `expandmapconverter` -> `expandconverter`
3083 - Package `filemapprovider` -> `fileprovider`
3084 - Package `overwritepropertiesmapconverter` -> `overwritepropertiesconverter`
3085 - Deprecate `component.ExtensionDefaultConfigFunc` in favor of `component.ExtensionCreateDefaultConfigFunc` (#5451)
3086 - Deprecate `confmap.Received.AsMap` in favor of `confmap.Received.AsConf` (#5465)
3087 - Deprecate `confmap.Conf.Set`, not used anywhere for the moment (#5485)
3088
3089 ### 💡 Enhancements 💡
3090
3091 - Move `service.mapResolver` to `confmap.Resolver` (#5444)
3092 - Add `linux-arm` architecture to cross build tests in CI (#5472)
3093
3094 ### 🧰 Bug fixes 🧰
3095
3096 - Fixes the "service.version" label value for internal metrics, always was "latest" in core/contrib distros. (#5449).
3097 - Send correct batch stats when SendBatchMaxSize is set (#5385)
3098 - TLS `MinVersion` and `MaxVersion` defaults will be handled by `crypto/tls` (#5480)
3099
3100 ## v0.52.0 Beta
3101
3102 ### 🛑 Breaking changes 🛑
3103
3104 - Remove `configunmarshaler.Unmarshaler` interface, per deprecation comment (#5348)
3105 - Remove deprecated pdata funcs/structs from v0.50.0 (#5345)
3106 - Remove deprecated pdata getters and setters of primitive slice values: `Value.BytesVal`, `Value.SetBytesVal`,
3107 `Value.UpdateBytes`, `Value.InsertBytes`, `Value.UpsertBytes`, `<HistogramDataPoint|Buckets>.BucketCounts`,
3108 `<HistogramDataPoint|Buckets>.SetBucketCounts`, `HistogramDataPoint.ExplicitBounds`,
3109 `HistogramDataPoint.SetExplicitBounds` (#5347)
3110 - Remove deprecated featuregate funcs/structs from v0.50.0 (#5346)
3111 - Remove access to deprecated members of the config.Retrieved struct (#5363)
3112 - Replace usage of `config.MapConverterFunc` with `config.MapConverter` (#5382)
3113
3114 ### 🚩 Deprecations 🚩
3115
3116 - Deprecate `config.Config` and `config.Service`, use `service.Config*` (#4608)
3117 - Deprecate `componenterror` package, move everything to `component` (#5383)
3118 - `pcommon.Value.NewValueBytes` is deprecated in favor of `Value.NewValueMBytes` in preparation of migration to
3119 immutable slices (#5367)
3120
3121 ### 💡 Enhancements 💡
3122
3123 - Update OTLP to v0.17.0 (#5335)
3124 - Add optional min/max fields to histograms (#5399)
3125 - User-defined Resource attributes can be specified under `service.telemetry.resource`
3126 configuration key and will be included as metric labels for own telemetry.
3127 If `service.instance.id` is not specified it will be auto-generated. Previously
3128 `service.instance.id` was always auto-generated, so the default of the new
3129 behavior matches the old behavior. (#5402)
3130
3131 ## v0.51.0 Beta
3132
3133 ### 🛑 Breaking changes 🛑
3134
3135 - Remove deprecated model module, everything is available in `pdata` and `semconv`. (#5281)
3136 - Old versions of the module are still available, but no new versions will be released.
3137 - Remove deprecated LogRecord.Name field. (#5202)
3138
3139 ### 🚩 Deprecations 🚩
3140
3141 - In preparation of migration to immutable slices for primitive type items, the following methods are renamed (#5344)
3142 - `Value.BytesVal` func is deprecated in favor of `Value.MBytesVal`.
3143 - `Value.SetBytesVal` func is deprecated in favor of `Value.SetMBytesVal`.
3144 - `Value.UpdateBytes` func is deprecated in favor of `Value.UpdateMBytes`.
3145 - `Value.InsertBytes` func is deprecated in favor of `Value.InsertMBytes`.
3146 - `Value.UpsertBytes` func is deprecated in favor of `Value.UpsertMBytes`.
3147 - `<HistogramDataPoint|Buckets>.BucketCounts` funcs are deprecated in favor of
3148 `<HistogramDataPoint|Buckets>.MBucketCounts`.
3149 - `<HistogramDataPoint|Buckets>.SetBucketCounts` funcs are deprecated in favor of
3150 `<HistogramDataPoint|Buckets>.SetMBucketCounts`.
3151 - `HistogramDataPoint.ExplicitBounds` func is deprecated in favor of `HistogramDataPoint.MExplicitBounds`.
3152 - `HistogramDataPoint.SetExplicitBounds` func is deprecated in favor of `HistogramDataPoint.SetMExplicitBounds`.
3153
3154 ### 💡 Enhancements 💡
3155
3156 - `pdata`: Expose `pcommon.NewSliceFromRaw` and `pcommon.Slice.AsRaw` functions (#5311)
3157
3158 ### 🧰 Bug fixes 🧰
3159
3160 - Fix Windows Event Logs ignoring user-specified logging options (#5298)
3161
3162 ## v0.50.0 Beta
3163
3164 ### 🛑 Breaking changes 🛑
3165
3166 - Remove pdata deprecated funcs from 2 versions (v0.48.0) ago. (#5219)
3167 - Remove non pdata deprecated funcs/structs (#5220)
3168 - `pmetric.Exemplar.ValueType()` now returns new type `ExemplarValueType` (#5233)
3169 - Remove deprecated `Delete` pdata func in favor of `pdata.Remove` from (v0.47.0). (#5307)
3170
3171 ### 🚩 Deprecations 🚩
3172
3173 - Deprecate `configunmarshaler` package, move it to internal (#5151)
3174 - Deprecate all API in `model/semconv`. The package is moved to a new `semconv` module (#5196)
3175 - Deprecate access to `config.Retrieved` fields, use the newly added funcs to interact with the internal fields (#5198)
3176 - Deprecate `p<signal>otlp.Request.Set<Logs|Metrics|Traces>` (#5234)
3177 - `plogotlp.Request.SetLogs` func is deprecated in favor of `plogotlp.NewRequestFromLogs`
3178 - `pmetricotlp.Request.SetMetrics` func is deprecated in favor of `pmetricotlp.NewRequestFromMetrics`
3179 - `ptraceotlp.Request.SetTraces` func is deprecated in favor of `ptraceotlp.NewRequestFromTraces`
3180 - `pmetric.NumberDataPoint.ValueType()` now returns new type `NumberDataPointValueType` (#5233)
3181 - `pmetric.MetricValueType` is deprecated in favor of `NumberDataPointValueType`
3182 - `pmetric.MetricValueTypeNone` is deprecated in favor of `NumberDataPointValueTypeNone`
3183 - `pmetric.MetricValueTypeInt` is deprecated in favor of `NumberDataPointValueTypeInt`
3184 - `pmetric.MetricValueTypeDouble` is deprecated in favor of `NumberDataPointValueTypeDouble`
3185 - Deprecate `plog.LogRecord.SetName()` function (#5230)
3186 - Deprecate global `featuregate` funcs in favor of `GetRegistry` and a public `Registry` type (#5160)
3187
3188 ### 💡 Enhancements 💡
3189 - Add `jsoniter` Unmarshaller (#4817)
3190
3191 - Extend config.Map.Unmarshal hook to check map key string to any TextUnmarshaler not only ComponentID (#5244)
3192 - Collector will no longer print error with stack trace when the collector is shutdown due to a context cancel. (#5258)
3193
3194 ### 🧰 Bug fixes 🧰
3195 - Fix translation from otlp.Request to pdata representation, changes to the returned pdata not all reflected to the otlp.Request (#5197)
3196 - `exporterhelper` now properly consumes any remaining items on stop (#5203)
3197 - `pdata`: Fix copying of `Value` with `ValueTypeBytes` type (#5267)
3198 - `pdata`: Fix copying of metric fields of primitive items slice type (#5271)
3199
3200 ## v0.49.0 Beta
3201
3202 ### 🛑 Breaking changes 🛑
3203
3204 - Remove deprecated structs/funcs from previous versions (#5131)
3205 - Do not set TraceProvider to global otel (#5138)
3206 - Remove deprecated funcs from otlpgrpc (#5144)
3207 - Add Scheme to MapProvider interface (#5068)
3208 - Do not set MeterProvider to global otel (#5146)
3209 - Make `InstrumentationLibrary<signal>ToScope` helper functions unexported (#5164)
3210 - Remove Log's "ShortName" from logging exporter output (#5172)
3211 - `exporter/otlp`: Retry RESOURCE_EXHAUSTED only if the server returns RetryInfo (#5147)
3212
3213 ### 🚩 Deprecations 🚩
3214
3215 - All pdata related APIs from model (model/pdata, model/otlp and model/otlpgrpc) are deprecated in
3216 favor of packages in the new pdata module separated by telemetry signal type (#5168)
3217 - `model/pdata`, `model/otlp` -> `pdata/pcommon`, `pdata/plog`, `pdata/pmetric`, `pdata/ptrace`
3218 - `model/otlpgrpc` -> `pdata/plog/plogotlp`, `pdata/pmetric/pmetricotlp`, `pdata/ptrace/ptraceotlp`
3219 - Deprecate configmapprovider package, replace with mapconverter (#5167)
3220 - Deprecate `service.MustNewConfigProvider` and `service.MustNewDefaultConfigProvider`in favor of `service.NewConfigProvider` (#4936)
3221
3222 ### 💡 Enhancements 💡
3223
3224 - OTLP HTTP receiver will use HTTP/2 over TLS if client supports it (#5109)
3225 - Add `ObservedTimestamp` field to `pdata.LogRecord` (#5171)
3226
3227 ### 🧰 Bug fixes 🧰
3228
3229 - Setup the correct meter provider if telemetry.useOtelForInternalMetrics featuregate enabled (#5146)
3230 - Fix pdata.Value.asRaw() to correctly return elements of Slice and Map type (#5153)
3231 - Update pdata.Slice.asRaw() to return raw representation of Slice and Map elements (#5157)
3232 - The codepath through the OTLP receiver for gRPC was not translating the InstrumentationLibrary* to Scope* (#5189)
3233
3234 ## v0.48.0 Beta
3235
3236 ### 🛑 Breaking changes 🛑
3237
3238 - Remove deprecated `consumerhelper` package (#5028)
3239 - Remove pdata `InternalRep` deprecated funcs (#5018)
3240 - Remove service/defaultcomponents deprecated package (#5019)
3241 - Remove deprecated UseOpenTelemetryForInternalMetrics (#5026)
3242 - Change outcome of `pdata.Value.MapVal()` and `pdata.Value.SliceVal()` functions misuse. In case of
3243 type mismatch, they now return an invalid zero-initialized instance instead of a detached
3244 collection (#5034)
3245 - OTLP JSON field changes following upgrade to OTLP v0.15.0:
3246 - "instrumentationLibraryLogs" is now "scopeLogs"
3247 - "instrumentationLibraryMetrics" is now "scopeMetrics"
3248 - "instrumentationLibrarySpans" is now "scopeSpans"
3249 - "instrumentationLibrary" is now "scope"
3250 - AsString for pdata.Value now returns the JSON-encoded string of floats. (#4934)
3251
3252 ### 🚩 Deprecations 🚩
3253
3254 - Move MapProvider to config, split providers in their own package (#5030)
3255 - API related to `pdata.AttributeValue` is deprecated in favor of `pdata.Value` (#4978)
3256 - `pdata.AttributeValue` struct is deprecated in favor of `pdata.Value`
3257 - `pdata.AttributeValueType` type is deprecated in favor of `pdata.ValueType`
3258 - `pdata.AttributeValueType...` constants are deprecated in favor of `pdata.ValueType...`
3259 - `pdata.NewAttributeValue...` funcs are deprecated in favor of `pdata.NewValue...`
3260 - Deprecate featureflags.FlagValue.SetSlice, unnecessary public (#5053)
3261 - Remove "Attribute" part from common pdata collections names (#5001)
3262 - Deprecate `pdata.AttributeMap` struct in favor of `pdata.Map`
3263 - Deprecate `pdata.NewAttributeMap` func in favor of `pdata.NewMap`
3264 - Deprecate `pdata.NewAttributeMapFromMap` func in favor of `pdata.NewMapFromRaw`
3265 - Deprecate `pdata.AttributeValueSlice` struct in favor of `pdata.Slice`
3266 - Deprecate `pdata.NewAttributeValueSlice` func in favor of `pdata.NewSlice`
3267 - Deprecate LogRecord.Name(), it was deprecated in the data model (#5054)
3268 - Rename `Array` type of `pdata.Value` to `Slice` (#5066)
3269 - Deprecate `pdata.AttributeValueTypeArray` type in favor of `pdata.ValueTypeSlice`
3270 - Deprecate `pdata.NewAttributeValueArray` func in favor of `pdata.NewValueSlice`
3271 - Deprecate global flag in `featuregates` (#5060)
3272 - Deprecate last funcs/structs in componenthelper (#5069)
3273 - Change structs in otlpgrpc to follow standard go encoding interfaces (#5062)
3274 - Deprecate `UnmarshalJSON[Traces|Metrics|Logs][Request|Response]` in favor of `UnmarshalJSON`.
3275 - Deprecate `[Traces|Metrics|Logs][Request|Response].Marshal` in favor of `MarshalProto`.
3276 - Deprecate `UnmarshalJSON[Traces|Metrics|Logs][Request|Response]` in favor of `UnmarshalProto`.
3277 - Deprecating following pdata methods/types following OTLP v0.15.0 upgrade (#5076):
3278 - InstrumentationLibrary is now InstrumentationScope
3279 - NewInstrumentationLibrary is now NewInstrumentationScope
3280 - InstrumentationLibraryLogsSlice is now ScopeLogsSlice
3281 - NewInstrumentationLibraryLogsSlice is now NewScopeLogsSlice
3282 - InstrumentationLibraryLogs is now ScopeLogs
3283 - NewInstrumentationLibraryLogs is now NewScopeLogs
3284 - InstrumentationLibraryMetricsSlice is now ScopeMetricsSlice
3285 - NewInstrumentationLibraryMetricsSlice is now NewScopeMetricsSlice
3286 - InstrumentationLibraryMetrics is now ScopeMetrics
3287 - NewInstrumentationLibraryMetrics is now NewScopeMetrics
3288 - InstrumentationLibrarySpansSlice is now ScopeSpansSlice
3289 - NewInstrumentationLibrarySpansSlice is now NewScopeSpansSlice
3290 - InstrumentationLibrarySpans is now ScopeSpans
3291 - NewInstrumentationLibrarySpans is now NewScopeSpans
3292
3293 ### 💡 Enhancements 💡
3294
3295 - Add semconv definitions for v1.9.0 (#5090)
3296 - Change outcome of `pdata.Metric.<Gauge|Sum|Histogram|ExponentialHistogram>()` functions misuse.
3297 In case of type mismatch, they don't panic right away but return an invalid zero-initialized
3298 instance for consistency with other OneOf field accessors (#5035)
3299 - Update OTLP to v0.15.0 (#5064)
3300 - Adding support for transition from older versions of OTLP to OTLP v0.15.0 (#5085)
3301
3302 ### 🧰 Bug fixes 🧰
3303
3304 - Add missing files for semconv definitions v1.7.0 and v1.8.0 (#5091)
3305 - The `featuregates` were not configured from the "--feature-gates" flag on windows service (#5060)
3306 - Fix Semantic Convention Schema URL definition for 1.5.0 and 1.6.1 versions (#5103)
3307
3308 ## v0.47.0 Beta
3309
3310 ### 🛑 Breaking changes 🛑
3311
3312 - Remove `Type` funcs in pdata (#4933)
3313 - Remove all deprecated funcs/structs from v0.46.0 (#4995)
3314
3315 ### 🚩 Deprecations 🚩
3316
3317 - pdata: deprecate funcs working with InternalRep (#4957)
3318 - Deprecate `pdata.AttributeMap.Delete` in favor of `pdata.AttributeMap.Remove` (#4914)
3319 - Deprecate consumerhelper, move helpers to consumer (#5006)
3320
3321 ### 💡 Enhancements 💡
3322
3323 - Add `pdata.AttributeMap.RemoveIf`, which is a more performant way to remove multiple keys (#4914)
3324 - Add `pipeline` key with pipeline identifier to processor loggers (#4968)
3325 - Add a new yaml provider, allows providing yaml bytes (#4998)
3326
3327 ### 🧰 Bug fixes 🧰
3328
3329 - Collector `Run` will now exit when a context cancels (#4954)
3330 - Add missing droppedAttributesCount to pdata generated resource (#4979)
3331 - Collector `Run` will now set state to `Closed` if startup fails (#4974)
3332
3333 ## v0.46.0 Beta
3334
3335 ### 🛑 Breaking changes 🛑
3336
3337 - Change otel collector to enable open telemetry metrics through feature gate instead of a constant (#4912)
3338 - Remove support for legacy otlp/http port. (#4916)
3339 - Remove deprecated funcs in pdata (#4809)
3340 - Remove deprecated Retrieve funcs/calls (#4922)
3341 - Remove deprecated NewConfigProvider funcs (#4937)
3342
3343 ### 🚩 Deprecations 🚩
3344
3345 - Deprecated funcs `config.DefaultConfig`, `confighttp.DefaultHTTPSettings`, `exporterhelper.DefaultTimeoutSettings`,
3346 `exporthelper.DefaultQueueSettings`, `exporterhelper.DefaultRetrySettings`, `testcomponents.DefaultFactories`, and
3347 `scraperhelper.DefaultScraperControllerSettings` in favour for their `NewDefault` method to adhere to contribution guidelines (#4865)
3348 - Deprecated funcs `componenthelper.StartFunc`, `componenthelper.ShutdownFunc` in favour of `component.StartFunc` and `component.ShutdownFunc` (#4803)
3349 - Move helpers from extensionhelper to component (#4805)
3350 - Deprecated `extensionhelper.CreateDefaultConfig` in favour of `component.ExtensionDefaultConfigFunc`
3351 - Deprecated `extensionhelper.CreateServiceExtension` in favour of `component.CreateExtensionFunc`
3352 - Deprecated `extensionhelper.NewFactory` in favour of `component.NewExtensionFactory`
3353 - Move helpers from processorhelper to component (#4889)
3354 - Deprecated `processorhelper.CreateDefaultConfig` in favour of `component.ProcessorDefaultConfigFunc`
3355 - Deprecated `processorhelper.WithTraces` in favour of `component.WithTracesProcessor`
3356 - Deprecated `processorhelper.WithMetrics` in favour of `component.WithMetricsProcessor`
3357 - Deprecated `processorhelper.WithLogs` in favour of `component.WithLogsProcessor`
3358 - Deprecated `processorhelper.NewFactory` in favour of `component.NewProcessorFactory`
3359 - Move helpers from exporterhelper to component (#4899)
3360 - Deprecated `exporterhelper.CreateDefaultConfig` in favour of `component.ExporterDefaultConfigFunc`
3361 - Deprecated `exporterhelper.WithTraces` in favour of `component.WithTracesExporter`
3362 - Deprecated `exporterhelper.WithMetrics` in favour of `component.WithMetricsExporter`
3363 - Deprecated `exporterhelper.WithLogs` in favour of `component.WithLogsExporter`
3364 - Deprecated `exporterhelper.NewFactory` in favour of `component.NewExporterFactory`
3365 - Move helpers from receiverhelper to component (#4891)
3366 - Deprecated `receiverhelper.CreateDefaultConfig` in favour of `component.ReceiverDefaultConfigFunc`
3367 - Deprecated `receiverhelper.WithTraces` in favour of `component.WithTracesReceiver`
3368 - Deprecated `receiverhelper.WithMetrics` in favour of `component.WithMetricsReceiver`
3369 - Deprecated `receiverhelper.WithLogs` in favour of `component.WithLogsReceiver`
3370 - Deprecated `receiverhelper.NewFactory` in favour of `component.NewReceiverFactory`
3371
3372 ### 💡 Enhancements 💡
3373
3374 - Add validation to check at least one endpoint is specified in otlphttpexporter's configuration (#4860)
3375 - Implement default client authenticators (#4837)
3376
3377 ## 🧰 Bug fixes 🧰
3378
3379 - Initialized logger with collector to avoid potential race condition panic on `Shutdown` (#4827)
3380 - In addition to traces, now logs and metrics processors will start the memory limiter.
3381 Added thread-safe logic so only the first processor can launch the `checkMemLimits` go-routine and the last processor
3382 that calls shutdown to terminate it; this is done per memory limiter instance.
3383 Added memory limiter factory to cache initiated object and be reused by similar config. This guarantees a single
3384 running `checkMemLimits` per config (#4886)
3385 - Resolved race condition in collector when calling `Shutdown` (#4878)
3386
3387 ## v0.45.0 Beta
3388
3389 ### 🛑 Breaking changes 🛑
3390
3391 - Remove deprecated funcs in configtelemetry (#4808)
3392 - `otlphttp` and `otlp` exporters enable gzip compression by default (#4632)
3393
3394 ### 🚩 Deprecations 🚩
3395
3396 - Deprecate `service/defaultcomponents` go package (#4622)
3397 - Deprecate `pdata.NumberDataPoint.Type()` and `pdata.Exemplar.Type()` in favor of `NumberDataPoint.ValueType()` and
3398 `Exemplar.ValueType()` (#4850)
3399
3400 ### 💡 Enhancements 💡
3401
3402 - Reject invalid queue size exporterhelper (#4799)
3403 - Transform configmapprovider.Retrieved interface to a struct (#4789)
3404 - Added feature gate summary to zpages extension (#4834)
3405 - Add support for reloading TLS certificates (#4737)
3406
3407 ### 🧰 Bug fixes 🧰
3408
3409 - `confighttp`: Allow CORS requests with configured auth (#4869)
3410
3411 ## v0.44.0 Beta
3412
3413 ### 🛑 Breaking changes 🛑
3414
3415 - Updated to OTLP 0.12.0. Deprecated traces and metrics messages that existed
3416 in 0.11.0 are no longer converted to the messages and fields that replaced the deprecated ones.
3417 Received deprecated messages and fields will be now ignored. In OTLP/JSON in the
3418 instrumentationLibraryLogs object the "logs" field is now named "logRecords" (#4724)
3419 - Deprecate `service.NewWindowsService`, add `service.NewSvcHandler` (#4783).
3420
3421 ### 🚩 Deprecations 🚩
3422
3423 - Deprecate `service.NewConfigProvider`, and a new version `service.MustNewConfigProvider` (#4734).
3424
3425 ### 💡 Enhancements 💡
3426
3427 - Invalid requests now return an appropriate unsupported (`405`) or method not allowed (`415`) response (#4735)
3428 - `client.Info`: Add Host property for Metadata (#4736)
3429
3430 ## v0.43.1 Beta
3431
3432 ### 🧰 Bug fixes 🧰
3433
3434 - ExpandStringValues function support to map[string]interface{} (#4748)
3435
3436 ## v0.43.0 Beta
3437
3438 ### 🛑 Breaking changes 🛑
3439
3440 - Change configmapprovider.Provider to accept a location for retrieve (#4657)
3441 - Change Properties Provider to be a Converter (#4666)
3442 - Define a type `WatcherFunc` for onChange func instead of func pointer (#4656)
3443 - Remove deprecated `configtest.LoadConfig` and `configtest.LoadConfigAndValidate` (#4659)
3444 - Move service.ConfigMapConverterFunc to config.MapConverterFunc (#4673)
3445 - Add context to config.MapConverterFunc (#4678)
3446 - Builder: the skip compilation should only be supplied as a CLI flag. Previously, it was possible to specify that in the YAML file, contrary to the original intention (#4645)
3447 - Builder: Remove deprecated config option module::core (#4693)
3448 - Remove deprecate flags --metrics-level and --metrics-addr (#4695)
3449 - Usages of `--metrics-level={VALUE}` can be replaced by `--set=service.telemetry.metrics.level={VALUE}`;
3450 - Usages of `--metrics-addr={VALUE}` can be replaced by `--set=service.telemetry.metrics.address={VALUE}`;
3451 - Updated confighttp `ToClient` to support passing telemetry settings for instrumenting otlphttp exporter(#4449)
3452 - Remove support to some arches and platforms from `ocb` (opentelemetry-collector-builder) (#4710)
3453 - Remove deprecated legacy path ("v1/trace") support for otlp http receiver (#4720)
3454 - Change the `service.NewDefaultConfigProvider` to accept a slice of location strings (#4727).
3455
3456 ### 🚩 Deprecations 🚩
3457
3458 - Deprecate `configtelemetry.Level.Set()` (#4700)
3459
3460 ### 🧰 Bug fixes 🧰
3461
3462 - Ensure Windows path (e.g: C:) is recognized as a file path (#4726)
3463 - Fix structured logging issue for windows service (#4686)
3464
3465 ### 💡 Enhancements 💡
3466
3467 - Expose experimental API `configmapprovider.NewExpandConverter()` (#4672)
3468 - `service.NewConfigProvider`: copy slice argument, disallow changes from caller to the input slice (#4729)
3469 - `confighttp` and `configgrpc`: New config option `include_metadata` to persist request metadata/headers in `client.Info.Metadata` (experimental) (#4547)
3470 - Remove expand cases that cannot happen with config.Map (#4649)
3471 - Add `max_request_body_size` to confighttp.HTTPServerSettings (#4677)
3472 - Move `compression.go` into `confighttp.go` to internalize functions in `compression.go` file. (#4651)
3473 - create `configcompression` package to manage compression methods in `confighttp` and `configgrpc`
3474 - Add support for cgroupv2 memory limit (#4654)
3475 - Enable end users to provide multiple files for config location (#4727)
3476
3477 ## v0.42.0 Beta
3478
3479 ### 🛑 Breaking changes 🛑
3480
3481 - Remove `configmapprovider.NewInMemory()` (#4507)
3482 - Disallow direct implementation of `configmapprovider.Retrieved` (#4577)
3483 - `configauth`: remove interceptor functions from the ServerAuthenticator interface (#4583)
3484 - Replace ConfigMapProvider and ConfigUnmarshaler in collector settings by one simpler ConfigProvider (#4590)
3485 - Remove deprecated consumererror.Combine (#4597)
3486 - Remove `configmapprovider.NewDefault`, `configmapprovider.NewExpand`, `configmapprovider.NewMerge` (#4600)
3487 - The merge functionality is now embedded into `service.NewConfigProvider` (#4637).
3488 - Move `configtest.LoadConfig` and `configtest.LoadConfigAndValidate` to `servicetest` (#4606)
3489 - Builder: Remove deprecated `include-core` flag (#4616)
3490 - Collector telemetry level must now be accessed through an atomic function. (#4549)
3491
3492 ### 💡 Enhancements 💡
3493
3494 - `confighttp`: add client-side compression support. (#4441)
3495 - Each exporter should remove `compression` field if they have and should use `confighttp.HTTPClientSettings`
3496 - Allow more zap logger configs: `disable_caller`, `disable_stacktrace`, `output_paths`, `error_output_paths`, `initial_fields` (#1048)
3497 - Allow the custom zap logger encoding (#4532)
3498 - Collector self-metrics may now be configured through the configuration file. (#4069)
3499 - CLI flags for configuring self-metrics are deprecated and will be removed
3500 in a future release.
3501 - `service.telemetry.metrics.level` and `service.telemetry.metrics.address`
3502 should be used to configure collector self-metrics.
3503 - `configauth`: add helpers to create new server authenticators. (#4558)
3504 - Refactor `configgrpc` for compression methods (#4624)
3505 - Add an option to allow `config.Map` conversion in the `service.ConfigProvider` (#4634)
3506 - Added support to expose gRPC framework's logs as part of collector logs (#4501)
3507 - Builder: Enable unmarshal exact to help finding hard to find typos #4644
3508
3509 ### 🧰 Bug fixes 🧰
3510
3511 - Fix merge config map provider to close the watchers (#4570)
3512 - Fix expand map provider to call close on the base provider (#4571)
3513 - Fix correct the value of `otelcol_exporter_send_failed_requests` (#4629)
3514 - `otlp` receiver: Fix legacy port cfg value override and HTTP server starting bug (#4631)
3515
3516 ## v0.41.0 Beta
3517
3518 ### 🛑 Breaking changes 🛑
3519
3520 - Remove reference to `defaultcomponents` in core and deprecate `include_core` flag (#4087)
3521 - Remove `config.NewConfigMapFrom[File|Buffer]`, add testonly version (#4502)
3522 - `configtls`: TLS 1.2 is the new default minimum version (#4503)
3523 - `confighttp`: `ToServer` now accepts a `component.Host`, in line with gRPC's counterpart (#4514)
3524 - CORS configuration for OTLP/HTTP receivers has been moved into a `cors:` block, instead of individual `cors_allowed_origins` and `cors_allowed_headers` settings (#4492)
3525
3526 ### 💡 Enhancements 💡
3527
3528 - OTLP/HTTP receivers now support setting the `Access-Control-Max-Age` header for CORS caching. (#4492)
3529 - `client.Info` pre-populated for all receivers using common helpers like `confighttp` and `configgrpc` (#4423)
3530
3531 ### 🧰 Bug fixes 🧰
3532
3533 - Fix handling of corrupted records by persistent buffer (experimental) (#4475)
3534
3535 ### 💡 Enhancements 💡
3536
3537 - Extending the contribution guide to help clarify what is acceptable defaults and recommendations.
3538
3539 ## v0.40.0 Beta
3540
3541 ### 🛑 Breaking changes 🛑
3542
3543 - Package `client` refactored (#4416) and auth data included in it (#4422). Final PR to be merged in the next release (#4423)
3544 - Remove `pdata.AttributeMap.InitFromMap` (#4429)
3545 - Updated configgrpc `ToDialOptions` to support passing providers to instrumentation library (#4451)
3546 - Make state information propagation non-blocking on the collector (#4460)
3547
3548 ### 💡 Enhancements 💡
3549
3550 - Add semconv 1.7.0 and 1.8.0 (#4452)
3551 - Added `feature-gates` CLI flag for controlling feature gate state. (#4368)
3552 - Add a default user-agent header to the OTLP/gRPC and OTLP/HTTP exporters containing collector build information (#3970)
3553
3554 ## v0.39.0 Beta
3555
3556 ### 🛑 Breaking changes 🛑
3557
3558 - Remove deprecated config (already no-op) `ballast_size_mib` in memorylimiterprocessor (#4365)
3559 - Remove `config.Receivers`, `config.Exporters`, `config.Processors`, and `config.Extensions`. Use map directly (#4344)
3560 - Remove `component.BaseProcessorFactory`, use `processorhelper.NewFactory` instead (#4175)
3561 - Force usage of `exporterhelper.NewFactory` to implement `component.ExporterFactory` (#4338)
3562 - Force usage of `receiverhelper.NewFactory` to implement `component.ReceiverFactory` (#4338)
3563 - Force usage of `extensionhelper.NewFactory` to implement `component.ExtensionFactory` (#4338)
3564 - Move `service/parserprovider` package to `config/configmapprovider` (#4206)
3565 - Rename `MapProvider` interface to `Provider`
3566 - Remove `MapProvider` from helper names
3567 - Renamed slice-valued `pdata` types and functions for consistency. (#4325)
3568 - Rename `pdata.AnyValueArray` to `pdata.AttributeValueSlice`
3569 - Rename `ArrayVal()` to `SliceVal()`
3570 - Rename `SetArrayVal()` to `SetSliceVal()`
3571 - Remove `config.Pipeline.Name` (#4326)
3572 - Rename `config.Mapprovider` as `configmapprovider.Provider` (#4337)
3573 - Move `config.WatchableRetrieved` and `config.Retrieved` interfaces to `config/configmapprovider` package (#4337)
3574 - Remove `config.Pipeline.InputDataType` (#4343)
3575 - otlpexporter: Do not retry on PermissionDenied and Unauthenticated (#4349)
3576 - Enable configuring collector metrics through service config file. (#4069)
3577 - New `service::telemetry::metrics` structure added to configuration
3578 - Existing metrics configuration CLI flags are deprecated and to be
3579 removed in the future.
3580 - `--metrics-prefix` is no longer operative; the prefix is determined by
3581 the value of `service.buildInfo.Command`.
3582 - `--add-instance-id` is no longer operative; an instance ID will always be added.
3583 - Remove deprecated funcs `consumererror.As[Traces|Metrics|Logs]` (#4364)
3584 - Remove support to expand env variables in default configs (#4366)
3585
3586 ### 💡 Enhancements 💡
3587
3588 - Supports more compression methods(`snappy` and `zstd`) for configgrpc, in addition to current `gzip` (#4088)
3589 - Moved the OpenTelemetry Collector Builder to core (#4307)
3590
3591 ### 🧰 Bug fixes 🧰
3592
3593 - Fix AggregationTemporality and IsMonotonic when metric descriptors are split in the batch processor (#4389)
3594
3595 ## v0.38.0 Beta
3596
3597 ### 🛑 Breaking changes 🛑
3598
3599 - Removed `configauth.HTTPClientAuthenticator` and `configauth.GRPCClientAuthenticator` in favor of `configauth.ClientAuthenticator`. (#4255)
3600 - Rename `parserprovider.MapProvider` as `config.MapProvider`. (#4178)
3601 - Rename `parserprovider.Watchable` as `config.WatchableMapProvider`. (#4178)
3602 - Remove deprecated no-op flags to setup Collector's logging "--log-level", "--log-profile", "--log-format". (#4213)
3603 - Move `cmd/pdatagen` as internal package `model/internal/cmd/pdatagen`. (#4243)
3604 - Use directly the ComponentID in configauth. (#4238)
3605 - Refactor configauth, getters use the map instead of iteration. (#4234)
3606 - Change scraperhelper to follow the recommended append model for pdata. (#4202)
3607
3608 ### 💡 Enhancements 💡
3609
3610 - Update proto to 0.11.0. (#4209)
3611 - Change pdata to use the newly added [Traces|Metrics|Logs]Data. (#4214)
3612 - Add ExponentialHistogram field to pdata. (#4219)
3613 - Make sure otlphttp exporter tests include TraceID and SpanID. (#4268)
3614 - Use multimod tool in release process. (#4229)
3615 - Change queue metrics to use opencensus metrics instead of stats, close to otel-go. (#4220)
3616 - Make receiver data delivery guarantees explicit (#4262)
3617 - Simplify unmarshal logic by adding more supported hooks. (#4237)
3618 - Add unmarshaler for otlpgrpc.[*]Request and otlpgrpc.[*]Response (#4215)
3619
3620 ## v0.37.0 Beta
3621
3622 ### 🛑 Breaking changes 🛑
3623
3624 - Move `configcheck.ValidateConfigFromFactories` as internal function in service package (#3876)
3625 - Rename `configparser.Parser` as `config.Map` (#4075)
3626 - Rename `component.DefaultBuildInfo()` to `component.NewDefaultBuildInfo()` (#4129)
3627 - Rename `consumererror.Permanent` to `consumererror.NewPermanent` (#4118)
3628 - Rename `config.NewID` to `config.NewComponentID` and `config.NewIDFromString` to `config.NewComponentIDFromString` (#4137)
3629 - Rename `config.NewIDWithName` to `config.NewComponentIDWithName` (#4151)
3630 - Move `extension/storage` to `extension/experimental/storage` (#4082)
3631 - Rename `obsreporttest.SetupRecordedMetricsTest()` to `obsreporttest.SetupTelemetry()` and `obsreporttest.TestTelemetrySettings` to `obsreporttest.TestTelemetry` (#4157)
3632
3633 ### 💡 Enhancements 💡
3634
3635 - Add Gen dependabot into CI (#4083)
3636 - Update OTLP to v0.10.0 (#4045).
3637 - Add Flags field to NumberDataPoint, HistogramDataPoint, SummaryDataPoint (#4081).
3638 - Add feature gate library (#4108)
3639 - Add version to the internal telemetry metrics (#4140)
3640
3641 ### 🧰 Bug fixes 🧰
3642
3643 - Fix panic when not using `service.NewCommand` (#4139)
3644
3645 ## v0.36.0 Beta
3646
3647 ### 🛑 Breaking changes 🛑
3648
3649 - Remove deprecated pdata.AttributeMapToMap (#3994)
3650 - Move ValidateConfig from configcheck to configtest (#3956)
3651 - Remove `mem-ballast-size-mib`, already deprecated and no-op (#4005)
3652 - Remove `semconv.AttributeMessageType` (#4020)
3653 - Remove `semconv.AttributeHTTPStatusText` (#4015)
3654 - Remove squash on `configtls.TLSClientSetting` and move TLS client configs under `tls` (#4063)
3655 - Rename TLS server config `*configtls.TLSServerSetting` from `tls_settings` to `tls` (#4063)
3656 - Split `service.Collector` from the `cobra.Command` (#4074)
3657 - Rename `memorylimiter` to `memorylimiterprocessor` (#4064)
3658
3659 ### 💡 Enhancements 💡
3660
3661 - Create new semconv package for v1.6.1 (#3948)
3662 - Add AttributeValueBytes support to AsString (#4002)
3663 - Add AttributeValueTypeBytes support to AttributeMap.AsRaw (#4003)
3664 - Add MeterProvider to TelemetrySettings (#4031)
3665 - Add configuration to setup collector logs via config file. (#4009)
3666
3667 ## v0.35.0 Beta
3668
3669 ### 🛑 Breaking changes 🛑
3670
3671 - Remove the legacy gRPC port(`55680`) support in OTLP receiver (#3966)
3672 - Rename configparser.Parser to configparser.ConfigMap (#3964)
3673 - Remove obsreport.ScraperContext, embed into StartMetricsOp (#3969)
3674 - Remove dependency on deprecated go.opentelemetry.io/otel/oteltest (#3979)
3675 - Remove deprecated pdata.AttributeValueToString (#3953)
3676 - Remove deprecated pdata.TimestampFromTime. Closes: #3925 (#3935)
3677
3678 ### 💡 Enhancements 💡
3679
3680 - Add TelemetryCreateSettings (#3984)
3681 - Only initialize collector telemetry once (#3918)
3682 - Add trace context info to LogRecord log (#3959)
3683 - Add new view for AWS ECS health check extension. (#3776)
3684
3685 ## v0.34.0 Beta
3686
3687 ### 🛑 Breaking changes 🛑
3688
3689 - Artifacts are no longer published in this repository, check [here](https://github.com/open-telemetry/opentelemetry-collector-releases) (#3941)
3690 - Remove deprecated `tracetranslator.AttributeValueToString` and `tracetranslator.AttributeMapToMap` (#3873)
3691 - Change semantic conventions for status (code, msg) as per specifications (#3872)
3692 - Move `fileexporter` to contrib (#3474)
3693 - Move `jaegerexporter` to contrib (#3474)
3694 - Move `kafkaexporter` to contrib (#3474)
3695 - Move `opencensusexporter` to contrib (#3474)
3696 - Move `prometheusexporter` to contrib (#3474)
3697 - Move `prometheusremotewriteexporter` to contrib (#3474)
3698 - Move `zipkinexporter` to contrib (#3474)
3699 - Move `attributeprocessor` to contrib (#3474)
3700 - Move `filterprocessor` to contrib (#3474)
3701 - Move `probabilisticsamplerprocessor` to contrib (#3474)
3702 - Move `resourceprocessor` to contrib (#3474)
3703 - Move `spanprocessor` to contrib (#3474)
3704 - Move `hostmetricsreceiver` to contrib (#3474)
3705 - Move `jaegerreceiver` to contrib (#3474)
3706 - Move `kafkareceiver` to contrib (#3474)
3707 - Move `opencensusreceiver` to contrib (#3474)
3708 - Move `prometheusreceiver` to contrib (#3474)
3709 - Move `zipkinreceiver` to contrib (#3474)
3710 - Move `bearertokenauthextension` to contrib (#3474)
3711 - Move `healthcheckextension` to contrib (#3474)
3712 - Move `oidcauthextension` to contrib (#3474)
3713 - Move `pprofextension` to contrib (#3474)
3714 - Move `translator/internaldata` to contrib (#3474)
3715 - Move `translator/trace/jaeger` to contrib (#3474)
3716 - Move `translator/trace/zipkin` to contrib (#3474)
3717 - Move `testbed` to contrib (#3474)
3718 - Move `exporter/exporterhelper/resource_to_telemetry` to contrib (#3474)
3719 - Move `processor/processorhelper/attraction` to contrib (#3474)
3720 - Move `translator/conventions` to `model/semconv` (#3901)
3721
3722 ### 🚩 Deprecations 🚩
3723
3724 - Add `pdata.NewTimestampFromTime`, deprecate `pdata.TimestampFromTime` (#3868)
3725 - Add `pdata.NewAttributeMapFromMap`, deprecate `pdata.AttributeMap.InitFromMap` (#3936)
3726
3727 ## v0.33.0 Beta
3728
3729 ### 🛑 Breaking changes 🛑
3730
3731 - Rename `configloader` interface to `configunmarshaler` (#3774)
3732 - Remove `LabelsMap` from all the metrics points (#3706)
3733 - Update generated K8S attribute labels to fix capitalization (#3823)
3734
3735 ### 💡 Enhancements 💡
3736
3737 - Collector has now full support for metrics proto v0.9.0.
3738
3739 ## v0.32.0 Beta
3740
3741 This release is marked as "bad" since the metrics pipelines will produce bad data.
3742
3743 - See https://github.com/open-telemetry/opentelemetry-collector/issues/3824
3744
3745 ### 🛑 Breaking changes 🛑
3746
3747 - Rename `CustomUnmarshable` interface to `Unmarshallable` (#3774)
3748
3749 ### 💡 Enhancements 💡
3750
3751 - Change default OTLP/HTTP port number from 55681 to 4318 (#3743)
3752 - Update OTLP proto to v0.9.0 (#3740)
3753 - Remove `SetValue`/`Value` func for `NumberDataPoint`/`Exemplar` (#3730)
3754 - Remove `IntGauge`/`IntSum`from pdata (#3731)
3755 - Remove `IntDataPoint` from pdata (#3735)
3756 - Add support for `Bytes` attribute type (#3756)
3757 - Add `SchemaUrl` field (#3759)
3758 - Add `Attributes` to `NumberDataPoint`, `HistogramDataPoint`, `SummaryDataPoint` (#3761)
3759 - `conventions` translator: Replace with conventions generated from spec v1.5.0 (#3494)
3760 - `prometheus` receiver: Add `ToMetricPdata` method (#3695)
3761 - Make configsource `Watchable` an optional interface (#3792)
3762 - `obsreport` exporter: Change to accept `ExporterCreateSettings` (#3789)
3763
3764 ### 🧰 Bug fixes 🧰
3765
3766 - `configgrpc`: Use chained interceptors in the gRPC server (#3744)
3767 - `prometheus` receiver: Use actual interval startTimeMs for cumulative types (#3694)
3768 - `jaeger` translator: Fix bug that could generate empty proto spans (#3808)
3769
3770 ## v0.31.0 Beta
3771
3772 ### 🛑 Breaking changes 🛑
3773
3774 - Remove Resize() from pdata slice APIs (#3675)
3775 - Remove the ballast allocation when `mem-ballast-size-mib` is set in command line (#3626)
3776 - Use `ballast extension` to set memory ballast instead.
3777 - Rename `DoubleDataPoint` to `NumberDataPoint` (#3633)
3778 - Remove `IntHistogram` (#3676)
3779
3780 ### 💡 Enhancements 💡
3781
3782 - Update to OTLP 0.8.0:
3783 - Translate `IntHistogram` to `Histogram` in `otlp_wrappers` (#3676)
3784 - Translate `IntGauge` to `Gauge` in `otlp_wrappers` (#3619)
3785 - Translate `IntSum` to `Sum` in `otlp_wrappers` (#3621)
3786 - Update `NumberDataPoint` to support `DoubleVal` and `IntVal` (#3689)
3787 - Update `Exemplar` to use `oneOfPrimitiveValue` (#3699)
3788 - Remove `IntExemplar` and `IntExemplarSlice` from `pdata` (#3705)
3789 - Mark `IntGauge`/`IntSum`/`IntDataPoint` as deprecated (#3707)
3790 - Remove `IntGauge`/`IntSum` from `batchprocessor` (#3718)
3791 - `prometheusremotewrite` exporter: Convert to new Number metrics (#3714)
3792 - `prometheus` receiver: Convert to new Number metrics (#3716)
3793 - `prometheus` exporter: Convert to new Number metrics (#3709)
3794 - `hostmetrics` receiver: Convert to new Number metrics (#3710)
3795 - `opencensus`: Convert to new Number metrics (#3708)
3796 - `scraperhelper` receiver: Convert to new Number metrics (#3717)
3797 - `testbed`: Convert to new Number metrics (#3719)
3798 - `exporterhelper`: Convert `resourcetolabel` to new Number metrics (#3723)
3799 - `configauth`: Prepare auth API to return a context (#3618)
3800 - `pdata`:
3801 - Implement `Equal()` for map-valued `AttributeValues` (#3612)
3802 - Add `[Type]Slice.Sort(func)` to sort slices (#3671)
3803 - `memorylimiter`:
3804 - Add validation on ballast size between `memorylimiter` and `ballastextension` (#3532)
3805 - Access Ballast extension via `Host.GetExtensions` (#3634)
3806 - `prometheusremotewrite` exporter: Add a WAL implementation without wiring up (#3597)
3807 - `prometheus` receiver: Add `metricGroup.toDistributionPoint` pdata conversion (#3667)
3808 - Use `ComponentID` as identifier instead of config (#3696)
3809 - `zpages`: Move config validation from factory to `Validate` (#3697)
3810 - Enable `tracez` z-pages from otel-go, disable opencensus (#3698)
3811 - Convert temporality and monotonicity for deprecated sums (#3729)
3812
3813 ### 🧰 Bug fixes 🧰
3814
3815 - `otlpexporter`: Allow endpoint to be configured with a scheme of `http` or `https` (#3575)
3816 - Handle errors when reloading the collector service (#3615)
3817 - Do not report fatal error when `cmux.ErrServerClosed` (#3703)
3818 - Fix bool attribute equality in `pdata` (#3688)
3819
3820 ## v0.30.0 Beta
3821
3822 ### 🛑 Breaking changes 🛑
3823
3824 - Rename `pdata.DoubleSum` to `pdata.Sum` (#3583)
3825 - Rename `pdata.DoubleGauge` to `pdata.Gauge` (#3599)
3826 - Migrated `pdata` to a dedicated package (#3483)
3827 - Change Marshaler/Unmarshaler to be consistent with other interfaces (#3502)
3828 - Remove consumer/simple package (#3438)
3829 - Remove unnecessary interfaces from pdata (#3506)
3830 - zipkinv1 implement directly Unmarshaler interface (#3504)
3831 - zipkinv2 implement directly Marshaler/Unmarshaler interface (#3505)
3832 - Change exporterhelper to accept ExporterCreateSettings instead of just logger (#3569)
3833 - Use Func pattern in processorhelper, consistent with others (#3570)
3834
3835 ### 🚩 Deprecations 🚩
3836
3837 - Deprecate Resize() from pdata slice APIs (#3573)
3838
3839 ### 💡 Enhancements 💡
3840
3841 - Update OTLP to v0.8.0 (#3572)
3842 - Migrate from OpenCensus to OpenTelemetry for internal tracing (#3567)
3843 - Move internal/pdatagrpc to model/otlpgrpc (#3507)
3844 - Move internal/otlp to model/otlp (#3508)
3845 - Create http Server via Config, enable cors and decompression (#3513)
3846 - Allow users to set min and max TLS versions (#3591)
3847 - Support setting ballast size in percentage of total Mem in ballast extension (#3456)
3848 - Publish go.opentelemetry.io/collector/model as a separate module (#3530)
3849 - Pass a TracerProvider via construct settings to all the components (#3592)
3850 - Make graceful shutdown optional (#3577)
3851
3852 ### 🧰 Bug fixes 🧰
3853
3854 - `scraperhelper`: Include the scraper name in log messages (#3487)
3855 - `scraperhelper`: fix case when returned pdata is empty (#3520)
3856 - Record the correct number of points not metrics in Kafka receiver (#3553)
3857 - Validate the Prometheus configuration (#3589)
3858
3859 ## v0.29.0 Beta
3860
3861 ### 🛑 Breaking changes 🛑
3862
3863 - Rename `service.Application` to `service.Collector` (#3268)
3864 - Provide case sensitivity in config yaml mappings by using Koanf instead of Viper (#3337)
3865 - Move zipkin constants to an internal package (#3431)
3866 - Disallow renaming metrics using metric relabel configs (#3410)
3867 - Move cgroup and iruntime utils from memory_limiter to internal folder (#3448)
3868 - Move model pdata interfaces to pdata, expose them publicly (#3455)
3869
3870 ### 💡 Enhancements 💡
3871
3872 - Change obsreport helpers for scraper to use the same pattern as Processor/Exporter (#3327)
3873 - Convert `otlptext` to implement Marshaler interfaces (#3366)
3874 - Add encoder/decoder and marshaler/unmarshaler for OTLP protobuf (#3401)
3875 - Use the new marshaler/unmarshaler in `kafka` exporter (#3403)
3876 - Convert `zipkinv2` to to/from translator interfaces (#3409)
3877 - `zipkinv1`: Move to translator and encoders interfaces (#3419)
3878 - Use the new marshaler/unmarshaler in `kafka` receiver #3402
3879 - Change `oltp` receiver to use the new unmarshaler, avoid grpc-gateway dependency (#3406)
3880 - Use the new Marshaler in the `otlphttp` exporter (#3433)
3881 - Add grpc response struct for all signals instead of returning interface in `otlp` receiver/exporter (#3437)
3882 - `zipkinv2`: Add encoders, decoders, marshalers (#3426)
3883 - `scrapererror` receiver: Return concrete error type (#3360)
3884 - `kafka` receiver: Add metrics support (#3452)
3885 - `prometheus` receiver:
3886 - Add store to track stale metrics (#3414)
3887 - Add `up` and `scrape_xxxx` internal metrics (#3116)
3888
3889 ### 🧰 Bug fixes 🧰
3890
3891 - `prometheus` receiver:
3892 - Reject datapoints with duplicate label keys (#3408)
3893 - Scrapers are not stopped when receiver is shutdown (#3450)
3894 - `prometheusremotewrite` exporter: Adjust default retry settings (#3416)
3895 - `hostmetrics` receiver: Fix missing startTimestamp for `processes` scraper (#3461)
3896
3897 ## v0.28.0 Beta
3898
3899 ### 🛑 Breaking changes 🛑
3900
3901 - Remove unused logstest package (#3222)
3902 - Introduce `AppSettings` instead of `Parameters` (#3163)
3903 - Remove unused testutil.TempSocketName (#3291)
3904 - Move BigEndian helper functions in `tracetranslator` to an internal package.(#3298)
3905 - Rename `configtest.LoadConfigFile` to `configtest.LoadConfigAndValidate` (#3306)
3906 - Replace `ExtensionCreateParams` with `ExtensionCreateSettings` (#3294)
3907 - Replace `ProcessorCreateParams` with `ProcessorCreateSettings`. (#3181)
3908 - Replace `ExporterCreateParams` with `ExporterCreateSettings` (#3164)
3909 - Replace `ReceiverCreateParams` with `ReceiverCreateSettings`. (#3167)
3910 - Change `batchprocessor` logic to limit data points rather than metrics (#3141)
3911 - Rename `PrwExporter` to `PRWExporter` and `NewPrwExporter` to `NewPRWExporter` (#3246)
3912 - Avoid exposing OpenCensus reference in public APIs (#3253)
3913 - Move `config.Parser` to `configparser.Parser` (#3304)
3914 - Remove deprecated funcs inside the obsreceiver (#3314)
3915 - Remove `obsreport.GRPCServerWithObservabilityEnabled`, enable observability in config (#3315)
3916 - Remove `obsreport.ProcessorMetricViews`, use `BuildProcessorCustomMetricName` where needed (#3316)
3917 - Remove "Receive" from `obsreport.Receiver` funcs (#3326)
3918 - Remove "Export" from `obsreport.Exporter` funcs (#3333)
3919 - Hide unnecessary public struct `obsreport.StartReceiveOptions` (#3353)
3920 - Avoid exposing internal implementation public in OC/OTEL receivers (#3355)
3921 - Updated configgrpc `ToDialOptions` and confighttp `ToClient` apis to take extensions configuration map (#3340)
3922 - Remove `GenerateSequentialTraceID` and `GenerateSequentialSpanIDin` functions in testbed (#3390)
3923 - Change "grpc" to "GRPC" in configauth function/type names (#3285)
3924
3925 ### 💡 Enhancements 💡
3926
3927 - Add `doc.go` files to the consumer package and its subpackages (#3270)
3928 - Improve documentation of consumer package and subpackages (#3269, #3361)
3929 - Automate triggering of doc-update on release (#3234)
3930 - Enable Dependabot for Github Actions (#3312)
3931 - Remove the proto dependency in `goldendataset` for traces (#3322)
3932 - Add telemetry for dropped data due to exporter sending queue overflow (#3328)
3933 - Add initial implementation of `pdatagrpc` (#3231)
3934 - Change receiver obsreport helpers pattern to match the Processor/Exporter (#3227)
3935 - Add model translation and encoding interfaces (#3200)
3936 - Add otlpjson as a serializer implementation (#3238)
3937 - `prometheus` receiver:
3938 - Add `createNodeAndResourcePdata` for Prometheus->OTLP pdata (#3139)
3939 - Direct metricfamily Prometheus->OTLP (#3145)
3940 - Add `componenttest.NewNop*CreateSettings` to simplify tests (#3375)
3941 - Add support for markdown generation (#3100)
3942 - Refactor components for the Client Authentication Extensions (#3287)
3943
3944 ### 🧰 Bug fixes 🧰
3945
3946 - Use dedicated `zapcore.Core` for Windows service (#3147)
3947 - Hook up start and shutdown functions in fileexporter (#3260)
3948 - Fix oc to pdata translation for sum non-monotonic cumulative (#3272)
3949 - Fix `timeseriesSignature` in prometheus receiver (#3310)
3950
3951 ## v0.27.0 Beta
3952
3953 ### 🛑 Breaking changes 🛑
3954
3955 - Change `Marshal` signatures in kafkaexporter's Marshalers to directly convert pdata to `sarama.ProducerMessage` (#3162)
3956 - Remove `tracetranslator.DetermineValueType`, only used internally by Zipkin (#3114)
3957 - Remove OpenCensus conventions, should not be used (#3113)
3958 - Remove Zipkin specific translation constants, move to internal (#3112)
3959 - Remove `tracetranslator.TagHTTPStatusCode`, use `conventions.AttributeHTTPStatusCode` (#3111)
3960 - Remove OpenCensus status constants and transformation (#3110)
3961 - Remove `tracetranslator.AttributeArrayToSlice`, not used in core or contrib (#3109)
3962 - Remove `internaldata.MetricsData`, same APIs as for traces (#3156)
3963 - Rename `config.IDFromString` to `NewIDFromString`, remove `MustIDFromString` (#3177)
3964 - Move consumerfanout package to internal (#3207)
3965 - Canonicalize enum names in pdata. Fix usage of uppercase names (#3208)
3966
3967 ### 💡 Enhancements 💡
3968
3969 - Use `config.ComponentID` for obsreport receiver/scraper (#3098)
3970 - Add initial implementation of the consumerhelper (#3146)
3971 - Add Collector version to Prometheus Remote Write Exporter user-agent header (#3094)
3972 - Refactor processorhelper to use consumerhelper, split by signal type (#3180)
3973 - Use consumerhelper for exporterhelper, add WithCapabilities (#3186)
3974 - Set capabilities for all core exporters, remove unnecessary funcs (#3190)
3975 - Add an internal sharedcomponent to be shared by receivers with shared resources (#3198)
3976 - Allow users to configure the Prometheus remote write queue (#3046)
3977 - Mark internaldata traces translation as deprecated for external usage (#3176)
3978
3979 ### 🧰 Bug fixes 🧰
3980
3981 - Fix Prometheus receiver metric start time and reset determination logic. (#3047)
3982 - The receiver will no longer drop the first sample for `counter`, `summary`, and `histogram` metrics.
3983 - The Prometheus remote write exporter will no longer force `counter` metrics to have a `_total` suffix. (#2993)
3984 - Remove locking from jaeger receiver start and stop processes (#3070)
3985 - Fix batch processor metrics reorder, improve performance (#3034)
3986 - Fix batch processor traces reorder, improve performance (#3107)
3987 - Fix batch processor logs reorder, improve performance (#3125)
3988 - Avoid one unnecessary allocation in grpc OTLP exporter (#3122)
3989 - `batch` processor: Validate that batch config max size is greater than send size (#3126)
3990 - Add capabilities to consumer, remove from processor (#2770)
3991 - Remove internal protos usage in Prometheusremotewrite exporter (#3184)
3992 - `prometheus` receiver: Honor Prometheus external labels (#3127)
3993 - Validate that remote write queue settings are not negative (#3213)
3994
3995 ## v0.26.0 Beta
3996
3997 ### 🛑 Breaking changes 🛑
3998
3999 - Change `With*Unmarshallers` signatures in Kafka exporter/receiver (#2973)
4000 - Rename `marshall` to `marshal` in all the occurrences (#2977)
4001 - Remove `componenterror.ErrAlreadyStarted` and `componenterror.ErrAlreadyStopped`, components should not protect against this, Service will start/stop once.
4002 - Rename `ApplicationStartInfo` to `BuildInfo`
4003 - Rename `ApplicationStartInfo.ExeName` to `BuildInfo.Command`
4004 - Rename `ApplicationStartInfo.LongName` to `BuildInfo.Description`
4005
4006 ### 🚩 Deprecations 🚩
4007
4008 - Add AppendEmpty and deprecate Append for slices (#2970)
4009
4010 ### 💡 Enhancements 💡
4011
4012 - `kafka` exporter: Add logs support (#2943)
4013 - Update mdatagen to create factories of init instead of new (#2978)
4014 - `zipkin` receiver: Reduce the judgment of zipkin v1 version (#2990)
4015 - Custom authenticator logic to accept a `component.Host` which will extract the authenticator to use based on a new authenticator name property (#2767)
4016 - `prometheusremotewrite` exporter: Add `resource_to_telemetry_conversion` config option (#3031)
4017 - `logging` exporter: Extract OTLP text logging (#3082)
4018 - Format timestamps as strings instead of int in otlptext output (#3088)
4019 - Add darwin arm64 build (#3090)
4020
4021 ### 🧰 Bug fixes 🧰
4022
4023 - Fix Jaeger receiver to honor TLS Settings (#2866)
4024 - `zipkin` translator: Handle missing starttime case for zipkin json v2 format spans (#2506)
4025 - `prometheus` exporter: Fix OTEL resource label drops (#2899)
4026 - `prometheusremotewrite` exporter:
4027 - Enable the queue internally (#2974)
4028 - Don't drop instance and job labels (#2979)
4029 - `jaeger` receiver: Wait for server goroutines exit on shutdown (#2985)
4030 - `logging` exporter: Ignore invalid handle on close (#2994)
4031 - Fix service zpages (#2996)
4032 - `batch` processor: Fix to avoid reordering and send max size (#3029)
4033
4034 ## v0.25.0 Beta
4035
4036 ### 🛑 Breaking changes 🛑
4037
4038 - Rename ForEach (in pdata) with Range to be consistent with sync.Map (#2931)
4039 - Rename `componenthelper.Start` to `componenthelper.StartFunc` (#2880)
4040 - Rename `componenthelper.Stop` to `componenthelper.StopFunc` (#2880)
4041 - Remove `exporterhelper.WithCustomUnmarshaler`, `processorhelper.WithCustomUnmarshaler`, `receiverhelper.WithCustomUnmarshaler`, `extensionhelper.WithCustomUnmarshaler`, implement `config.CustomUnmarshaler` interface instead (#2867)
4042 - Remove `component.CustomUnmarshaler` implement `config.CustomUnmarshaler` interface instead (#2867)
4043 - Remove `testutil.HostPortFromAddr`, users can write their own parsing helper (#2919)
4044 - Remove `configparser.DecodeTypeAndName`, use `config.IDFromString` (#2869)
4045 - Remove `config.NewViper`, users should use `config.NewParser` (#2917)
4046 - Remove `testutil.WaitFor`, use `testify.Eventually` helper if needed (#2920)
4047 - Remove testutil.WaitForPort, users can use testify.Eventually (#2926)
4048 - Rename `processorhelper.NewTraceProcessor` to `processorhelper.NewTracesProcessor` (#2935)
4049 - Rename `exporterhelper.NewTraceExporter` to `exporterhelper.NewTracesExporter` (#2937)
4050 - Remove InitEmptyWithCapacity, add EnsureCapacity and Clear (#2845)
4051 - Rename traces methods/objects to include Traces in Kafka receiver (#2966)
4052
4053 ### 💡 Enhancements 💡
4054
4055 - Add `validatable` interface with `Validate()` to all `config.<component>` (#2898)
4056 - add the empty `Validate()` implementation for all component configs
4057 - **Experimental**: Add a config source manager that wraps the interaction with config sources (#2857, #2903, #2948)
4058 - `kafka` exporter: Key jaeger messages on traceid (#2855)
4059 - `scraperhelper`: Don't try to count metrics if scraper returns an error (#2902)
4060 - Extract ConfigFactory in a ParserProvider interface (#2868)
4061 - `prometheus` exporter: Allows Summary metrics to be exported to Prometheus (#2900)
4062 - `prometheus` receiver: Optimize `dpgSignature` function (#2945)
4063 - `kafka` receiver: Add logs support (#2944)
4064
4065 ### 🧰 Bug fixes 🧰
4066
4067 - `prometheus` receiver:
4068 - Treat Summary and Histogram metrics without "\_sum" counter as valid metric (#2812)
4069 - Add `job` and `instance` as well-known labels (#2897)
4070 - `prometheusremotewrite` exporter:
4071 - Sort Sample by Timestamp to avoid out of order errors (#2941)
4072 - Remove incompatible queued retry (#2951)
4073 - `kafka` receiver: Fix data race with batchprocessor (#2957)
4074 - `jaeger` receiver: Jaeger agent should not report ErrServerClosed (#2965)
4075
4076 ## v0.24.0 Beta
4077
4078 ### 🛑 Breaking changes 🛑
4079
4080 - Remove legacy internal metrics for memorylimiter processor, `spans_dropped` and `trace_batches_dropped` (#2841)
4081 - For `spans_dropped` use `processor/refused_spans` with `processor=memorylimiter`
4082 - Rename pdata._.[Start|End]Time to pdata._.[Start|End]Timestamp (#2847)
4083 - Rename pdata.DoubleExemplar to pdata.Exemplar (#2804)
4084 - Rename pdata.DoubleHistogram to pdata.Histogram (#2797)
4085 - Rename pdata.DoubleSummary to pdata.Summary (#2774)
4086 - Refactor `consumererror` package (#2768)
4087 - Remove `PartialError` type in favor of signal-specific types
4088 - Rename `CombineErrors()` to `Combine()`
4089 - Refactor `componenthelper` package (#2778)
4090 - Remove `ComponentSettings` and `DefaultComponentSettings()`
4091 - Rename `NewComponent()` to `New()`
4092 - obsReport.NewExporter accepts a settings struct (#2668)
4093 - Remove ErrorWaitingHost from `componenttest` (#2582)
4094 - Move `config.Load` to `configparser.Load` (#2796)
4095 - Remove `configtest.NewViperFromYamlFile()`, use `config.Parser.NewParserFromFile()` (#2806)
4096 - Remove `config.ViperSubExact()`, use `config.Parser.Sub()` (#2806)
4097 - Update LoadReceiver signature to remove unused params (#2823)
4098 - Move `configerror.ErrDataTypeIsNotSupported` to `componenterror.ErrDataTypeIsNotSupported` (#2886)
4099 - Rename`CreateTraceExporter` type to `CreateTracesExporter` in `exporterhelper` (#2779)
4100 - Move `fluentbit` extension to contrib (#2795)
4101 - Move `configmodels` to `config` (#2808)
4102 - Move `fluentforward` receiver to contrib (#2723)
4103
4104 ### 🚩 Deprecations 🚩
4105
4106 - Deprecate `consumetest.New[${SIGNAL}]Nop` in favor of `consumetest.NewNop` (#2878)
4107 - Deprecate `consumetest.New[${SIGNAL}]Err` in favor of `consumetest.NewErr` (#2878)
4108
4109 ### 💡 Enhancements 💡
4110
4111 - `batch` processor: - Support max batch size for logs (#2736)
4112 - Use `Endpoint` for health check extension (#2782)
4113 - Use `confignet.TCPAddr` for `pprof` and `zpages` extensions (#2829)
4114 - Add watcher to values retrieved via config sources (#2803)
4115 - Updates for cloud semantic conventions (#2809)
4116 - `cloud.infrastructure_service` -> `cloud.platform`
4117 - `cloud.zone` -> `cloud.availability_zone`
4118 - Add systemd environment file for deb/rpm packages (#2822)
4119 - Add validate interface in `configmodels` to force each component do configuration validation (#2802, #2856)
4120 - Add `aws.ecs.task.revision` to semantic conventions list (#2816)
4121 - Set unprivileged user to container image (#2838)
4122 - Add New funcs for extension, exporter, processor config settings (#2872)
4123 - Report metric about current size of the exporter retry queue (#2858)
4124 - Allow adding new signals in `ProcessorFactory` by forcing everyone to embed `BaseProcessorFactory` (#2885)
4125
4126 ### 🧰 Bug fixes 🧰
4127
4128 - `pdata.TracesFromOtlpProtoBytes`: Fixes to handle backwards compatibility changes in proto (#2798)
4129 - `jaeger` receiver: Escape user input used in output (#2815)
4130 - `prometheus` exporter: Ensure same time is used for updated time (#2745)
4131 - `prometheusremotewrite` exporter: Close HTTP response body (#2875)
4132
4133 ## v0.23.0 Beta
4134
4135 ### 🛑 Breaking changes 🛑
4136
4137 - Move fanout consumers to fanoutconsumer package (#2615)
4138 - Rename ExporterObsReport to Exporter (#2658)
4139 - Rename ProcessorObsReport to Processor (#2657)
4140 - Remove ValidateConfig and add Validate on the Config struct (#2665)
4141 - Rename pdata Size to OtlpProtoSize (#2726)
4142 - Rename [Traces|Metrics|Logs]Consumer to [Traces|Metrics|Logs] (#2761)
4143 - Remove public access for `componenttest.Example*` components:
4144 - Users of these structs for testing configs should use the newly added `componenttest.Nop*` (update all components name in the config `example*` -> `nop` and use `componenttest.NopComponents()`).
4145 - Users of these structs for sink like behavior should use `consumertest.*Sink`.
4146
4147 ### 💡 Enhancements 💡
4148
4149 - `hostmetrics` receiver: List labels along with respective metrics in metadata (#2662)
4150 - `exporter` helper: Remove obsreport.ExporterContext, always add exporter name as a tag to the metrics (#2682)
4151 - `jaeger` exporter: Change to not use internal data (#2698)
4152 - `kafka` receiver: Change to not use internal data (#2697)
4153 - `zipkin` receiver: Change to not use internal data (#2699)
4154 - `kafka` exporter: Change to not use internal data (#2696)
4155 - Ensure that extensions can be created and started multiple times (#2679)
4156 - Use otlp request in logs wrapper, hide members in the wrapper (#2692)
4157 - Add MetricsWrapper to disallow access to internal representation (#2693)
4158 - Add TracesWrapper to disallow access to internal representation (#2721)
4159 - Allow multiple OTLP receivers to be created (#2743)
4160
4161 ### 🧰 Bug fixes 🧰
4162
4163 - `prometheus` exporter: Fix to work with standard labels that follow the naming convention of using periods instead of underscores (#2707)
4164 - Propagate name and transport for `prometheus` receiver and exporter (#2680)
4165 - `zipkin` receiver: Ensure shutdown correctness (#2765)
4166
4167 ## v0.22.0 Beta
4168
4169 ### 🛑 Breaking changes 🛑
4170
4171 - Rename ServiceExtension to just Extension (#2581)
4172 - Remove `consumerdata.TraceData` (#2551)
4173 - Move `consumerdata.MetricsData` to `internaldata.MetricsData` (#2512)
4174 - Remove custom OpenCensus sematic conventions that have equivalent in otel (#2552)
4175 - Move ScrapeErrors and PartialScrapeError to `scrapererror` (#2580)
4176 - Remove support for deprecated unmarshaler `CustomUnmarshaler`, only `Unmarshal` is supported (#2591)
4177 - Remove deprecated componenterror.CombineErrors (#2598)
4178 - Rename `pdata.TimestampUnixNanos` to `pdata.Timestamp` (#2549)
4179
4180 ### 💡 Enhancements 💡
4181
4182 - `prometheus` exporter: Re-implement on top of `github.com/prometheus/client_golang/prometheus` and add `metric_expiration` option
4183 - `logging` exporter: Add support for AttributeMap (#2609)
4184 - Add semantic conventions for instrumentation library (#2602)
4185
4186 ### 🧰 Bug fixes 🧰
4187
4188 - `otlp` receiver: Fix `Shutdown()` bug (#2564)
4189 - `batch` processor: Fix Shutdown behavior (#2537)
4190 - `logging` exporter: Fix handling the loop for empty attributes (#2610)
4191 - `prometheusremotewrite` exporter: Fix counter name check (#2613)
4192
4193 ## v0.21.0 Beta
4194
4195 ### 🛑 Breaking changes 🛑
4196
4197 - Remove deprecated function `IsValid` from trace/span ID (#2522)
4198 - Remove accessors for deprecated status code (#2521)
4199
4200 ### 💡 Enhancements 💡
4201
4202 - `otlphttp` exporter: Add `compression` option for gzip encoding of outgoing http requests (#2502)
4203 - Add `ScrapeErrors` struct to `consumererror` to simplify errors usage (#2414)
4204 - Add `cors_allowed_headers` option to `confighttp` (#2454)
4205 - Add SASL/SCRAM authentication mechanism on `kafka` receiver and exporter (#2503)
4206
4207 ### 🧰 Bug fixes 🧰
4208
4209 - `otlp` receiver: Sets the correct deprecated status code before sending data to the pipeline (#2521)
4210 - Fix `IsPermanent` to account for wrapped errors (#2455)
4211 - `otlp` exporter: Preserve original error messages (#2459)
4212
4213 ## v0.20.0 Beta
4214
4215 ### 🛑 Breaking changes 🛑
4216
4217 - Rename `samplingprocessor/probabilisticsamplerprocessor` to `probabilisticsamplerprocessor` (#2392)
4218
4219 ### 💡 Enhancements 💡
4220
4221 - `hostmetrics` receiver: Refactor to use metrics metadata utilities (#2405, #2406, #2421)
4222 - Add k8s.node semantic conventions (#2425)
4223
4224 ## v0.19.0 Beta
4225
4226 ### 🛑 Breaking changes 🛑
4227
4228 - Remove deprecated `queued_retry` processor
4229 - Remove deprecated configs from `resource` processor: `type` (set "opencensus.type" key in "attributes.upsert" map instead) and `labels` (use "attributes.upsert" instead).
4230
4231 ### 💡 Enhancements 💡
4232
4233 - `hostmetrics` receiver: Refactor load metrics to use generated metrics (#2375)
4234 - Add uptime to the servicez debug page (#2385)
4235 - Add new semantic conventions for AWS (#2365)
4236
4237 ### 🧰 Bug fixes 🧰
4238
4239 - `jaeger` exporter: Improve connection state logging (#2239)
4240 - `pdatagen`: Fix slice of values generated code (#2403)
4241 - `filterset` processor: Avoid returning always nil error in strict filterset (#2399)
4242
4243 ## v0.18.0 Beta
4244
4245 ### 🛑 Breaking changes 🛑
4246
4247 - Rename host metrics according to metrics spec and rename `swap` scraper to `paging` (#2311)
4248
4249 ### 💡 Enhancements 💡
4250
4251 - Add check for `NO_WINDOWS_SERVICE` environment variable to force interactive mode on Windows (#2272)
4252 - `hostmetrics` receiver: Add `disk/weighted_io_time` metric (Linux only) (#2312)
4253 - `opencensus` exporter: Add queue-retry (#2307)
4254 - `filter` processor: Filter metrics using resource attributes (#2251)
4255
4256 ### 🧰 Bug fixes 🧰
4257
4258 - `fluentforward` receiver: Fix string conversions (#2314)
4259 - Fix zipkinv2 translation error tag handling (#2253)
4260
4261 ## v0.17.0 Beta
4262
4263 ### 💡 Enhancements 💡
4264
4265 - Default config environment variable expansion (#2231)
4266 - `prometheusremotewrite` exporter: Add batched exports (#2249)
4267 - `memorylimiter` processor: Introduce soft and hard limits (#2250)
4268
4269 ### 🧰 Bug fixes 🧰
4270
4271 - Fix nits in pdata usage (#2235)
4272 - Convert status to not be a pointer in the Span (#2242)
4273 - Report the error from `pprof.StartCPUProfile` (#2263)
4274 - Rename `service.Application.SignalTestComplete` to `Shutdown` (#2277)
4275
4276 ## v0.16.0 Beta
4277
4278 ### 🛑 Breaking changes 🛑
4279
4280 - Rename Push functions to be consistent across signals in `exporterhelper` (#2203)
4281
4282 ### 💡 Enhancements 💡
4283
4284 - Change default OTLP/gRPC port number to 4317, also continue receiving on legacy port
4285 55680 during transition period (#2104).
4286 - `kafka` exporter: Add support for exporting metrics as otlp Protobuf. (#1966)
4287 - Move scraper helpers to its own `scraperhelper` package (#2185)
4288 - Add `componenthelper` package to help build components (#2186)
4289 - Remove usage of custom init/stop in `scraper` and use start/shutdown from `component` (#2193)
4290 - Add more trace annotations, so zpages are more useful to determine failures (#2206)
4291 - Add support to skip TLS verification (#2202)
4292 - Expose non-nullable metric types (#2208)
4293 - Expose non-nullable elements from slices of pointers (#2200)
4294
4295 ### 🧰 Bug fixes 🧰
4296
4297 - Change InstrumentationLibrary to be non-nullable (#2196)
4298 - Add support for slices to non-pointers, use non-nullable AnyValue (#2192)
4299 - Fix `--set` flag to work with `{}` in configs (#2162)
4300
4301 ## v0.15.0 Beta
4302
4303 ### 🛑 Breaking changes 🛑
4304
4305 - Remove legacy metrics, they were marked as legacy for ~12 months #2105
4306
4307 ### 💡 Enhancements 💡
4308
4309 - Implement conversion between OpenCensus and OpenTelemetry Summary Metric (#2048)
4310 - Add ability to generate non nullable messages (#2005)
4311 - Implement Summary Metric in Prometheus RemoteWrite Exporter (#2083)
4312 - Add `resource_to_telemetry_conversion` to exporter helper expose exporter settings (#2060)
4313 - Add `CustomRoundTripper` function to httpclientconfig (#2085)
4314 - Allow for more logging options to be passed to `service` (#2132)
4315 - Add config parameters for `jaeger` receiver (#2068)
4316 - Map unset status code for `jaeger` translator as per spec (#2134)
4317 - Add more trace annotations to the queue-retry logic (#2136)
4318 - Add config settings for component telemetry (#2148)
4319 - Use net.SplitHostPort for IPv6 support in `prometheus` receiver (#2154)
4320 - Add --log-format command line option (default to "console") #2177.
4321
4322 ### 🧰 Bug fixes 🧰
4323
4324 - `logging` exporter: Add Logging for Summary Datapoint (#2084)
4325 - `hostmetrics` receiver: use correct TCP state labels on Unix systems (#2087)
4326 - Fix otlp_log receiver wrong use of trace measurement (#2117)
4327 - Fix "process/memory/rss" metric units (#2112)
4328 - Fix "process/cpu_seconds" metrics (#2113)
4329 - Add check for nil logger in exporterhelper functions (#2141)
4330 - `prometheus` receiver:
4331 - Upgrade Prometheus version to fix race condition (#2121)
4332 - Fix the scraper/discover manager coordination (#2089)
4333 - Fix panic when adjusting buckets (#2168)
4334
4335 ## v0.14.0 Beta
4336
4337 ### 🚀 New components 🚀
4338
4339 - `otlphttp` exporter which implements OTLP over HTTP protocol.
4340
4341 ### 🛑 Breaking changes 🛑
4342
4343 - Rename consumer.TraceConsumer to consumer.TracesConsumer #1974
4344 - Rename component.TraceReceiver to component.TracesReceiver #1975
4345 - Rename component.TraceProcessor to component.TracesProcessor #1976
4346 - Rename component.TraceExporter to component.TracesExporter #1975
4347 - Move `tailsampling` processor to contrib (#2012)
4348 - Remove NewAttributeValueSlice (#2028) and mark NewAttributeValue as deprecated (#2022)
4349 - Remove pdata.StringValue (#2021)
4350 - Remove pdata.InitFromAttributeMap, use CopyTo if needed (#2042)
4351 - Remove SetMapVal and SetArrayVal for pdata.AttributeValue (#2039)
4352
4353 ### 🚩 Deprecations 🚩
4354
4355 - Deprecate NopExporter, add NopConsumer (#1972)
4356 - Deprecate SinkExporter, add SinkConsumer (#1973)
4357
4358 ### 💡 Enhancements 💡
4359
4360 - `zipkin` exporter: Add queue retry to zipkin (#1971)
4361 - `prometheus` exporter: Add `send_timestamps` option (#1951)
4362 - `filter` processor: Add `expr` pdata.Metric filtering support (#1940, #1996)
4363 - `attribute` processor: Add log support (#1934)
4364 - `logging` exporter: Add index for histogram buckets count (#2009)
4365 - `otlphttp` exporter: Add correct handling of server error responses (#2016)
4366 - `prometheusremotewrite` exporter:
4367 - Add user agent header to outgoing http request (#2000)
4368 - Convert histograms to cumulative (#2049)
4369 - Return permanent errors (#2053)
4370 - Add external labels (#2044)
4371 - `hostmetrics` receiver: Use scraper controller (#1949)
4372 - Change Span/Trace ID to be byte array (#2001)
4373 - Add `simple` metrics helper to facilitate building pdata.Metrics in receivers (#1540)
4374 - Improve diagnostic logging for exporters (#2020)
4375 - Add obsreport to receiverhelper scrapers (#1961)
4376 - Update OTLP to 0.6.0 and use the new Span Status code (#2031)
4377 - Add support of partial requests for logs and metrics to the exporterhelper (#2059)
4378
4379 ### 🧰 Bug fixes 🧰
4380
4381 - `logging` exporter: Added array serialization (#1994)
4382 - `zipkin` receiver: Allow receiver to parse string tags (#1893)
4383 - `batch` processor: Fix shutdown race (#1967)
4384 - Guard for nil data points (#2055)
4385
4386 ## v0.13.0 Beta
4387
4388 ### 🛑 Breaking changes 🛑
4389
4390 - Host metric `system.disk.time` renamed to `system.disk.operation_time` (#1887)
4391 - Use consumer for sender interface, remove unnecessary receiver address from Runner (#1941)
4392 - Enable sending queue by default in all exporters configured to use it (#1924)
4393 - Removed `groupbytraceprocessor` (#1891)
4394 - Remove ability to configure collection interval per scraper (#1947)
4395
4396 ### 💡 Enhancements 💡
4397
4398 - Host Metrics receiver now reports both `system.disk.io_time` and `system.disk.operation_time` (#1887)
4399 - Match spans against the instrumentation library and resource attributes (#928)
4400 - Add `receiverhelper` for creating flexible "scraper" metrics receiver (#1886, #1890, #1945, #1946)
4401 - Migrate `tailsampling` processor to new OTLP-based internal data model and add Composite Sampler (#1894)
4402 - Metadata Generator: Change Metrics fields to implement an interface with new methods (#1912)
4403 - Add unmarshalling for `pdata.Traces` (#1948)
4404 - Add debug-level message on error for `jaeger` exporter (#1964)
4405
4406 ### 🧰 Bug fixes 🧰
4407
4408 - Fix bug where the service does not correctly start/stop the log exporters (#1943)
4409 - Fix Queued Retry Unusable without Batch Processor (#1813) - (#1930)
4410 - `prometheus` receiver: Log error message when `process_start_time_seconds` gauge is missing (#1921)
4411 - Fix trace jaeger conversion to internal traces zero time bug (#1957)
4412 - Fix panic in otlp traces to zipkin (#1963)
4413 - Fix OTLP/HTTP receiver's path to be /v1/traces (#1979)
4414
4415 ## v0.12.0 Beta
4416
4417 ### 🚀 New components 🚀
4418
4419 - `configauth` package with the auth settings that can be used by receivers (#1807, #1808, #1809, #1810)
4420 - `perfcounters` package that uses perflib for host metrics receiver (#1835, #1836, #1868, #1869, #1870)
4421
4422 ### 💡 Enhancements 💡
4423
4424 - Remove `queued_retry` and enable `otlp` metrics receiver in default config (#1823, #1838)
4425 - Add `limit_percentage` and `spike_limit_percentage` options to `memorylimiter` processor (#1622)
4426 - `hostmetrics` receiver:
4427 - Collect additional labels from partitions in the filesystems scraper (#1858)
4428 - Add filters for mount point and filesystem type (#1866)
4429 - Add cloud.provider semantic conventions (#1865)
4430 - `attribute` processor: Add log support (#1783)
4431 - Introduce SpanID data type, not yet used in Protobuf messages ($1854, #1855)
4432 - Enable `otlp` trace by default in the released docker image (#1883)
4433 - `tailsampling` processor: Combine batches of spans into a single batch (#1864)
4434 - `filter` processor: Update to use pdata (#1885)
4435 - Allow MSI upgrades (#1914)
4436
4437 ### 🚩 Deprecations 🚩
4438
4439 - Deprecate OpenCensus-based internal data structures (#1843)
4440
4441 ### 🧰 Bug fixes 🧰
4442
4443 - `prometheus` receiver: Print a more informative message about 'up' metric value (#1826)
4444 - Use custom data type and custom JSON serialization for traceid (#1840)
4445 - Skip creation of redundant nil resource in translation from OC if there are no combined metrics (#1803)
4446 - `tailsampling` processor: Only send to next consumer once (#1735)
4447 - Report Windows pagefile usage in bytes (#1837)
4448 - Fix issue where Prometheus SD config cannot be parsed (#1877)
4449
4450 ## v0.11.0 Beta
4451
4452 ### 🛑 Breaking changes 🛑
4453
4454 - Rename service.Start() to Run() since it's a blocking call
4455 - Fix slice Append to accept by value the element in pdata
4456 - Change CreateTraceProcessor and CreateMetricsProcessor to use the same parameter order as receivers/logs processor and exporters.
4457 - Prevent accidental use of LogsToOtlp and LogsFromOtlp and the OTLP data structs (#1703)
4458 - Remove SetType from configmodels, ensure all registered factories set the type in config (#1798)
4459 - Move process telemetry to service/internal (#1794)
4460
4461 ### 💡 Enhancements 💡
4462
4463 - Add map and array attribute value type support (#1656)
4464 - Add authentication support to kafka (#1632)
4465 - Implement InstrumentationLibrary translation to jaeger (#1645)
4466 - Add public functions to export pdata to ExportXServicesRequest Protobuf bytes (#1741)
4467 - Expose telemetry level in the configtelemetry (#1796)
4468 - Add configauth package (#1807)
4469 - Add config to docker image (#1792)
4470
4471 ### 🧰 Bug fixes 🧰
4472
4473 - Use zap int argument for int values instead of conversion (#1779)
4474 - Add support for gzip encoded payload in OTLP/HTTP receiver (#1581)
4475 - Return proto status for OTLP receiver when failed (#1788)
4476
4477 ## v0.10.0 Beta
4478
4479 ### 🛑 Breaking changes 🛑
4480
4481 - **Update OTLP to v0.5.0, incompatible metrics protocol.**
4482 - Remove support for propagating summary metrics in OtelCollector.
4483 - This is a temporary change, and will affect mostly OpenCensus users who use metrics.
4484
4485 ### 💡 Enhancements 💡
4486
4487 - Support zipkin proto in `kafka` receiver (#1646)
4488 - Prometheus Remote Write Exporter supporting Cortex (#1577, #1643)
4489 - Add deployment environment semantic convention (#1722)
4490 - Add logs support to `batch` and `resource` processors (#1723, #1729)
4491
4492 ### 🧰 Bug fixes 🧰
4493
4494 - Identify config error when expected map is other value type (#1641)
4495 - Fix Kafka receiver closing ready channel multiple times (#1696)
4496 - Fix a panic issue while processing Zipkin spans with an empty service name (#1742)
4497 - Zipkin Receiver: Always set the endtime (#1750)
4498
4499 ## v0.9.0 Beta
4500
4501 ### 🛑 Breaking changes 🛑
4502
4503 - **Remove old base factories**:
4504 - `ReceiverFactoryBase` (#1583)
4505 - `ProcessorFactoryBase` (#1596)
4506 - `ExporterFactoryBase` (#1630)
4507 - Remove logs factories and merge with normal factories (#1569)
4508 - Remove `reconnection_delay` from OpenCensus exporter (#1516)
4509 - Remove `ConsumerOld` interfaces (#1631)
4510
4511 ### 🚀 New components 🚀
4512
4513 - `prometheusremotewrite` exporter: Send metrics data in Prometheus TimeSeries format to Cortex or any Prometheus (#1544)
4514 - `kafka` receiver: Receive traces from Kafka (#1410)
4515
4516 ### 💡 Enhancements 💡
4517
4518 - `kafka` exporter: Enable queueing, retry, timeout (#1455)
4519 - Add `Headers` field in HTTPClientSettings (#1552)
4520 - Change OpenCensus receiver (#1556) and exporter (#1571) to the new interfaces
4521 - Add semantic attribute for `telemetry.auto.version` (#1578)
4522 - Add uptime and RSS memory self-observability metrics (#1549)
4523 - Support conversion for OpenCensus `SameProcessAsParentSpan` (#1629)
4524 - Access application version in components (#1559)
4525 - Make Kafka payload encoding configurable (#1584)
4526
4527 ### 🧰 Bug fixes 🧰
4528
4529 - Stop further processing if `filterprocessor` filters all data (#1500)
4530 - `processscraper`: Use same scrape time for all data points coming from same process (#1539)
4531 - Ensure that time conversion for 0 returns nil timestamps or Time where IsZero returns true (#1550)
4532 - Fix multiple exporters panic (#1563)
4533 - Allow `attribute` processor for external use (#1574)
4534 - Do not duplicate filesystem metrics for devices with many mount points (#1617)
4535
4536 ## v0.8.0 Beta
4537
4538 ### 🚀 New components 🚀
4539
4540 - `groupbytrace` processor that waits for a trace to be completed (#1362)
4541
4542 ### 💡 Enhancements 💡
4543
4544 - Migrate `zipkin` receiver/exporter to the new interfaces (#1484)
4545 - Migrate `prometheus` receiver/exporter to the new interfaces (#1477, #1515)
4546 - Add new FactoryUnmarshaler support to all components, deprecate old way (#1468)
4547 - Update `fileexporter` to write data in OTLP (#1488)
4548 - Add extension factory helper (#1485)
4549 - Host scrapers: Use same scrape time for all data points coming from same source (#1473)
4550 - Make logs SeverityNumber publicly available (#1496)
4551 - Add recently included conventions for k8s and container resources (#1519)
4552 - Add new config StartTimeMetricRegex to `prometheus` receiver (#1511)
4553 - Convert Zipkin receiver and exporter to use OTLP (#1446)
4554
4555 ### 🧰 Bug fixes 🧰
4556
4557 - Infer OpenCensus resource type based on OpenTelemetry's semantic conventions (#1462)
4558 - Fix log adapter in `prometheus` receiver (#1493)
4559 - Avoid frequent errors for process telemetry on Windows (#1487)
4560
4561 ## v0.7.0 Beta
4562
4563 ### 🚀 New components 🚀
4564
4565 - Receivers
4566 - `fluentforward` runs a TCP server that accepts events via the [Fluent Forward protocol](https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1) (#1173)
4567 - Exporters
4568 - `kafka` exports traces to Kafka (#1439)
4569 - Extensions
4570 - **Experimental** `fluentbit` facilitates running a FluentBit subprocess of the collector (#1381)
4571
4572 ### 💡 Enhancements 💡
4573
4574 - Updated `golang/protobuf` from v1.3.5 to v1.4.2 (#1308)
4575 - Updated `opencensus-proto` from v0.2.1 to v0.3.0 (#1308)
4576 - Added round_robin `balancer_name` as an option to gRPC client settings (#1353)
4577 - `hostmetrics` receiver
4578 - Switch to using perf counters to get disk io metrics on Windows (#1340)
4579 - Add device filter for file system (#1379) and disk (#1378) scrapers
4580 - Record process physical & virtual memory stats separately (#1403)
4581 - Scrape system.disk.time on Windows (#1408)
4582 - Add disk.pending_operations metric (#1428)
4583 - Add network interface label to network metrics (#1377)
4584 - Add `exporterhelper` (#1351) and `processorhelper` (#1359) factories
4585 - Update OTLP to latest version (#1384)
4586 - Disable timeout, retry on failure and sending queue for `logging` exporter (#1400)
4587 - Add support for retry and sending queue for `jaeger` exporter (#1401)
4588 - Add batch size bytes metric to `batch` processor (#1270)
4589 - `otlp` receiver: Add Log Support (#1444)
4590 - Allow to configure read/write buffer sizes for http Client (#1447)
4591 - Update DB conventions to latest and add exception conventions (#1452)
4592
4593 ### 🧰 Bug fixes 🧰
4594
4595 - Fix `resource` processor for old metrics (#1412)
4596 - `jaeger` receiver: Do not try to stop if failed to start. Collector service will do that (#1434)
4597
4598 ## v0.6.0 Beta
4599
4600 ### 🛑 Breaking changes 🛑
4601
4602 - Renamed the metrics generated by `hostmetrics` receiver to match the (currently still pending) OpenTelemetry system metric conventions (#1261) (#1269)
4603 - Removed `vmmetrics` receiver (#1282)
4604 - Removed `cpu` scraper `report_per_cpu` config option (#1326)
4605
4606 ### 💡 Enhancements 💡
4607
4608 - Added disk merged (#1267) and process count (#1268) metrics to `hostmetrics`
4609 - Log metric data points in `logging` exporter (#1258)
4610 - Changed the `batch` processor to not ignore the errors returned by the exporters (#1259)
4611 - Build and publish MSI (#1153) and DEB/RPM packages (#1278, #1335)
4612 - Added batch size metric to `batch` processor (#1241)
4613 - Added log support for `memorylimiter` processor (#1291) and `logging` exporter (#1298)
4614 - Always add tags for `observability`, other metrics may use them (#1312)
4615 - Added metrics support (#1313) and allow partial retries in `queued_retry` processor (#1297)
4616 - Update `resource` processor: introduce `attributes` config parameter to specify actions on attributes similar to `attributes` processor, old config interface is deprecated (#1315)
4617 - Update memory state labels for non-Linux OSs (#1325)
4618 - Ensure tcp connection value is provided for all states, even when count is 0 (#1329)
4619 - Set `batch` processor channel size to num cpus (#1330)
4620 - Add `send_batch_max_size` config parameter to `batch` processor enforcing hard limit on batch size (#1310)
4621 - Add support for including a per-RPC authentication to gRPC settings (#1250)
4622
4623 ### 🧰 Bug fixes 🧰
4624
4625 - Fixed OTLP waitForReady, not set from config (#1254)
4626 - Fixed all translation diffs between OTLP and Jaeger (#1222)
4627 - Disabled `process` scraper for any non Linux/Windows OS (#1328)
4628
4629 ## v0.5.0 Beta
4630
4631 ### 🛑 Breaking changes 🛑
4632
4633 - **Update OTLP to v0.4.0 (#1142)**: Collector will be incompatible with any other sender or receiver of OTLP protocol
4634 of different versions
4635 - Make "--new-metrics" command line flag the default (#1148)
4636 - Change `endpoint` to `url` in Zipkin exporter config (#1186)
4637 - Change `tls_credentials` to `tls_settings` in Jaeger receiver config (#1233)
4638 - OTLP receiver config change for `protocols` to support mTLS (#1223)
4639 - Remove `export_resource_labels` flag from Zipkin exporter (#1163)
4640
4641 ### 🚀 New components 🚀
4642
4643 - Receivers
4644 - Added process scraper to the `hostmetrics` receiver (#1047)
4645
4646 ### 💡 Enhancements 💡
4647
4648 - otlpexporter: send configured headers in request (#1130)
4649 - Enable Collector to be run as a Windows service (#1120)
4650 - Add config for HttpServer (#1196)
4651 - Allow cors in HTTPServerSettings (#1211)
4652 - Add a generic grpc server settings config, cleanup client config (#1183)
4653 - Rely on gRPC to batch and loadbalance between connections instead of custom logic (#1212)
4654 - Allow to tune the read/write buffers for gRPC clients (#1213)
4655 - Allow to tune the read/write buffers for gRPC server (#1218)
4656
4657 ### 🧰 Bug fixes 🧰
4658
4659 - Handle overlapping metrics from different jobs in prometheus exporter (#1096)
4660 - Fix handling of SpanKind INTERNAL in OTLP OC translation (#1143)
4661 - Unify zipkin v1 and v2 annotation/tag parsing logic (#1002)
4662 - mTLS: Add support to configure client CA and enforce ClientAuth (#1185)
4663 - Fixed untyped Prometheus receiver bug (#1194)
4664 - Do not embed ProtocolServerSettings in gRPC (#1210)
4665 - Add Context to the missing CreateMetricsReceiver method (#1216)
4666
4667 ## v0.4.0 Beta
4668
4669 Released 2020-06-16
4670
4671 ### 🛑 Breaking changes 🛑
4672
4673 - `isEnabled` configuration option removed (#909)
4674 - `thrift_tchannel` protocol moved from `jaeger` receiver to `jaeger_legacy` in contrib (#636)
4675
4676 ### ⚠️ Major changes ⚠️
4677
4678 - Switch from `localhost` to `0.0.0.0` by default for all receivers (#1006)
4679 - Internal API Changes (only impacts contributors)
4680 - Add context to `Start` and `Stop` methods in the component (#790)
4681 - Rename `AttributeValue` and `AttributeMap` method names (#781)
4682 (other breaking changes in the internal trace data types)
4683 - Change entire repo to use the new vanityurl go.opentelemetry.io/collector (#977)
4684
4685 ### 🚀 New components 🚀
4686
4687 - Receivers
4688 - `hostmetrics` receiver with CPU (#862), disk (#921), load (#974), filesystem (#926), memory (#911), network (#930), and virtual memory (#989) support
4689 - Processors
4690 - `batch` for batching received metrics (#1060)
4691 - `filter` for filtering (dropping) received metrics (#1001)
4692
4693 ### 💡 Enhancements 💡
4694
4695 - `otlp` receiver implement HTTP X-Protobuf (#1021)
4696 - Exporters: Support mTLS in gRPC exporters (#927)
4697 - Extensions: Add `zpages` for service (servicez, pipelinez, extensions) (#894)
4698
4699 ### 🧰 Bug fixes 🧰
4700
4701 - Add missing logging for metrics at `debug` level (#1108)
4702 - Fix setting internal status code in `jaeger` receivers (#1105)
4703 - `zipkin` export fails on span without timestamp when used with `queued_retry` (#1068)
4704 - Fix `zipkin` receiver status code conversion (#996)
4705 - Remove extra send/receive annotations with using `zipkin` v1 (#960)
4706 - Fix resource attribute mutation bug when exporting in `jaeger` proto (#907)
4707 - Fix metric/spans count, add tests for nil entries in the slices (#787)
4708
4709 ### 🧩 Components 🧩
4710
4711 #### Traces
4712
4713 | Receivers | Processors | Exporters |
4714 |:----------:|:--------------:|:----------:|
4715 | Jaeger | Attributes | File |
4716 | OpenCensus | Batch | Jaeger |
4717 | OTLP | Memory Limiter | Logging |
4718 | Zipkin | Queued Retry | OpenCensus |
4719 | | Resource | OTLP |
4720 | | Sampling | Zipkin |
4721 | | Span | |
4722
4723 #### Metrics
4724
4725 | Receivers | Processors | Exporters |
4726 |:-----------:|:--------------:|:----------:|
4727 | HostMetrics | Batch | File |
4728 | OpenCensus | Filter | Logging |
4729 | OTLP | Memory Limiter | OpenCensus |
4730 | Prometheus | | OTLP |
4731 | VM Metrics | | Prometheus |
4732
4733 #### Extensions
4734
4735 - Health Check
4736 - Performance Profiler
4737 - zPages
4738
4739 ## v0.3.0 Beta
4740
4741 Released 2020-03-30
4742
4743 ### Breaking changes
4744
4745 - Make prometheus receiver config loading strict. #697
4746 Prometheus receiver will now fail fast if the config contains unused keys in it.
4747
4748 ### Changes and fixes
4749
4750 - Enable best effort serve by default of Prometheus Exporter (https://github.com/orijtech/prometheus-go-metrics-exporter/pull/6)
4751 - Fix null pointer exception in the logging exporter #743
4752 - Remove unnecessary condition to have at least one processor #744
4753
4754 ### Components
4755
4756 | Receivers / Exporters | Processors | Extensions |
4757 |:---------------------:|:--------------:|:--------------------:|
4758 | Jaeger | Attributes | Health Check |
4759 | OpenCensus | Batch | Performance Profiler |
4760 | OpenTelemetry | Memory Limiter | zPages |
4761 | Zipkin | Queued Retry | |
4762 | | Resource | |
4763 | | Sampling | |
4764 | | Span | |
4765
4766 ## v0.2.8 Alpha
4767
4768 Alpha v0.2.8 of OpenTelemetry Collector
4769
4770 - Implemented OTLP receiver and exporter.
4771 - Added ability to pass config to the service programmatically (useful for custom builds).
4772 - Improved own metrics / observability.
4773 - Refactored component and factory interface definitions (breaking change #683)
4774
4775 ## v0.2.7 Alpha
4776
4777 Alpha v0.2.7 of OpenTelemetry Collector
4778
4779 - Improved error handling on shutdown
4780 - Partial implementation of new metrics (new obsreport package)
4781 - Include resource labels for Zipkin exporter
4782 - New `HASH` action to attribute processor
4783
4784 ## v0.2.6 Alpha
4785
4786 Alpha v0.2.6 of OpenTelemetry Collector.
4787
4788 - Update metrics prefix to `otelcol` and expose command line argument to modify the prefix value.
4789 - Extend Span processor to have include/exclude span logic.
4790 - Batch dropped span now emits zero when no spans are dropped.
4791
4792 ## v0.2.5 Alpha
4793
4794 Alpha v0.2.5 of OpenTelemetry Collector.
4795
4796 - Regexp-based filtering of spans based on service names.
4797 - Ability to choose strict or regexp matching for include/exclude filters.
4798
4799 ## v0.2.4 Alpha
4800
4801 Alpha v0.2.4 of OpenTelemetry Collector.
4802
4803 - Regexp-based filtering of span names.
4804 - Ability to extract attributes from span names and rename span.
4805 - File exporter for debugging.
4806 - Span processor is now enabled by default.
4807
4808 ## v0.2.3 Alpha
4809
4810 Alpha v0.2.3 of OpenTelemetry Collector.
4811
4812 Changes:
4813 21a70d6 Add a memory limiter processor (#498)
4814 9778b16 Refactor Jaeger Receiver config (#490)
4815 ec4ad0c Remove workers from OpenCensus receiver implementation (#497)
4816 4e01fa3 Update k8s config to use opentelemetry docker image and configuration (#459)
4817
4818 ## v0.2.2 Alpha
4819
4820 Alpha v0.2.2 of OpenTelemetry Collector.
4821
4822 Main changes visible to users since previous release:
4823
4824 - Improved Testbed and added more E2E tests.
4825 - Made component interfaces more uniform (this is a breaking change).
4826
4827 Note: v0.2.1 never existed and is skipped since it was tainted in some dependencies.
4828
4829 ## v0.2.0 Alpha
4830
4831 Alpha v0.2 of OpenTelemetry Collector.
4832
4833 Docker image: omnition/opentelemetry-collector:v0.2.0 (we are working on getting this under an OpenTelemetry org)
4834
4835 Main changes visible to users since previous release:
4836
4837 - Rename from `service` to `collector`, the binary is now named `otelcol`
4838
4839 - Configuration reorganized and using strict mode
4840
4841 - Concurrency issues for pipelines transforming data addressed
4842
4843 Commits:
4844
4845 ```terminal
4846 0e505d5 Refactor config: pipelines now under service (#376)
4847 402b80c Add Capabilities to Processor and use for Fanout cloning decision (#374)
4848 b27d824 Use strict mode to read config (#375)
4849 d769eb5 Fix concurrency handling when data is fanned out (#367)
4850 dc6b290 Rename all github paths from opentelemetry-service to opentelemetry-collector (#371)
4851 d038801 Rename otelsvc to otelcol (#365)
4852 c264e0e Add Include/Exclude logic for Attributes Processor (#363)
4853 8ce427a Pin a commit for Prometheus dependency in go.mod (#364)
4854 2393774 Bump Jaeger version to 1.14.0 (latest) (#349)
4855 63362d5 Update testbed modules (#360)
4856 c0e2a27 Change dashes to underscores to separate words in config files (#357)
4857 7609eaa Rename OpenTelemetry Service to Collector in docs and comments (#354)
4858 bc5b299 Add common gRPC configuration settings (#340)
4859 b38505c Remove network access popups on macos (#348)
4860 f7727d1 Fixed loop variable pointer bug in jaeger translator (#341)
4861 958beed Ensure that ConsumeMetricsData() is not passed empty metrics in the Prometheus receiver (#345)
4862 0be295f Change log statement in Prometheus receiver from info to debug. (#344)
4863 d205393 Add Owais to codeowners (#339)
4864 8fa6afe Translate OC resource labels to Jaeger process tags (#325)
4865 ```
4866
4867 ## v0.0.2 Alpha
4868
4869 Alpha release of OpenTelemetry Service.
4870
4871 Docker image: omnition/opentelemetry-service:v0.0.2 (we are working on getting this under an OpenTelemetry org)
4872
4873 Main changes visible to users since previous release:
4874
4875 ```terminal
4876 8fa6afe Translate OC resource labels to Jaeger process tags (#325)
4877 047b0f3 Allow environment variables in config (#334)
4878 96c24a3 Add exclude/include spans option to attributes processor (#311)
4879 4db0414 Allow metric processors to be specified in pipelines (#332)
4880 c277569 Add observability instrumentation for Prometheus receiver (#327)
4881 f47aa79 Add common configuration for receiver tls (#288)
4882 a493765 Refactor extensions to new config format (#310)
4883 41a7afa Add Span Processor logic
4884 97a71b3 Use full name for the metrics and spans created for observability (#316)
4885 fed4ed2 Add support to record metrics for metricsexporter (#315)
4886 5edca32 Add include_filter configuration to prometheus receiver (#298)
4887 0068d0a Passthrough CORS allowed origins (#260)
4888 ```
4889
4890 ## v0.0.1 Alpha
4891
4892 This is the first alpha release of OpenTelemetry Service.
4893
4894 Docker image: omnition/opentelemetry-service:v0.0.1
4895
4896 [v0.3.0]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.10...v0.3.0
4897 [v0.2.10]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.8...v0.2.10
4898 [v0.2.8]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.7...v0.2.8
4899 [v0.2.7]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.6...v0.2.7
4900 [v0.2.6]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.5...v0.2.6
4901 [v0.2.5]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.4...v0.2.5
4902 [v0.2.4]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.3...v0.2.4
4903 [v0.2.3]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.2...v0.2.3
4904 [v0.2.2]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.2.0...v0.2.2
4905 [v0.2.0]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.0.2...v0.2.0
4906 [v0.0.2]: https://github.com/open-telemetry/opentelemetry-collector/compare/v0.0.1...v0.0.2
4907 [v0.0.1]: https://github.com/open-telemetry/opentelemetry-collector/tree/v0.0.1