| 1 |
# Collector v1 Roadmap |
| 2 |
|
| 3 |
This document contains the roadmap for the Collector. The main goal of this roadmap is to provide clarity on the areas of focus in order to release a v1 of the Collector. |
| 4 |
|
| 5 |
## Proposal |
| 6 |
|
| 7 |
The proposed approach to delivering a stable release of the OpenTelemetry Collector is to produce a distribution of the Collector that contains a minimum set of components which have been stabilized. By doing so, the project contributors will ensure dependencies of those components have also been released under a stable version. |
| 8 |
|
| 9 |
The proposed distribution is set to include the following components only: |
| 10 |
|
| 11 |
- OTLP receiver |
| 12 |
- OTLP exporter |
| 13 |
- OTLP HTTP exporter |
| 14 |
|
| 15 |
These modules depend on a list of other modules, the full list is available in issue [#9375](https://github.com/open-telemetry/opentelemetry-collector/issues/9375). |
| 16 |
|
| 17 |
All stabilized modules will conform to the API expectations outlined in the [VERSIONING.md](../VERSIONING.md) document. |
| 18 |
|
| 19 |
### Scope within each module |
| 20 |
|
| 21 |
The Collector is already used in production at scale and has been tested in a variety of |
| 22 |
environments. The focus of the stabilization is primarily not to add missing features but to ensure |
| 23 |
the maintainability of the project and to provide a predictable and consistent experience for |
| 24 |
end-users. |
| 25 |
|
| 26 |
In particular when considering enhancement proposals we will focus on: |
| 27 |
1. Binary end-users impact above other audiences. |
| 28 |
2. Parts of the proposals that imply breaking changes to end-users. |
| 29 |
3. Small, predictable or self-contained changes that don't imply a major change in the end-user |
| 30 |
experience. |
| 31 |
|
| 32 |
Additionally, when considering bug reports we will prioritize: |
| 33 |
1. [Critical bugs](release.md#bugfix-release-criteria) that affect the stability of the Collector. |
| 34 |
2. Regressions from previous behavior caused by 1.0-related changes. |
| 35 |
|
| 36 |
## Out of scope |
| 37 |
|
| 38 |
Explicitly, the following are not in the scope of v1 for the purposes of this document: |
| 39 |
|
| 40 |
* stabilization of additional components/APIs needed by distribution maintainers. Vendors are not the audience |
| 41 |
* This explicitly excludes the `service` and `otelcol` modules, for which we will only guarantee that there are no breaking changes impacting end-users of the binary after 1.0, while Go API only changes will continue to be admissible until these modules are tagged as 1.0. |
| 42 |
* Collector Builder |
| 43 |
* telemetrygen |
| 44 |
* mdatagen |
| 45 |
* Operator |
| 46 |
|
| 47 |
Those components are free to pursue v1 at their own pace and may be the focus of future stability work. |
| 48 |
|
| 49 |
## Additional Requirements |
| 50 |
|
| 51 |
The following is a list of requirements for this minimal Collector distribution to be deemed as 1.0: |
| 52 |
|
| 53 |
* The Collector must be observable |
| 54 |
* Metrics and traces should be produced for data in the hot path |
| 55 |
* Metrics should be documented in the end-user documentation |
| 56 |
* Metrics, or a subset of them, should be marked as stable in the documentation |
| 57 |
* Logs should be produced for Collector lifecycle events |
| 58 |
* Stability expectations and lifecycle for telemetry should be documented, so that users can know what they can rely on for their dashboards and alerts |
| 59 |
* The Collector must be scalable |
| 60 |
* Backpressure from the exporter all the way back to the receiver should be supported |
| 61 |
* Queueing must be supported to handle increased loads |
| 62 |
* Performance metrics are in place and follow best practices for benchmarking |
| 63 |
* Individual components must: |
| 64 |
* Have their lifecycle expectations enshrined in tests |
| 65 |
* Have goleak enabled |
| 66 |
* End-user documentation should be provided as part of the official project’s documentation under opentelemetry.io, including: |
| 67 |
* Getting started with the Collector |
| 68 |
* Available (stable) components and how to use them |
| 69 |
* Blueprints for common use cases |
| 70 |
* Error scenarios and error propagation |
| 71 |
* Troubleshooting and how to obtain telemetry from the Collector for the purposes of bug reporting |
| 72 |
* Queueing, batching, and handling of backpressure |
| 73 |
* The Collector must be supported |
| 74 |
* Processes, workflows and expectations regarding support, bug reporting and questions should be documented. |
| 75 |
* A minimum support period for 1.0 is documented, similarly to [API and SDK](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/versioning-and-stability.md#api-support) stability guarantees. |