Debian Codegraph @

docs/rfcs/README.md

raw
1 # Collector RFCs
2
3 This folder contains accepted design documents for the Collector. Proposals here imply changes only
4 on the OpenTelemetry Collector and not on other parts of OpenTelemetry; if you have a cross-cutting
5 proposal, file an [OTEP][1] instead.
6
7 # RFC Process
8
9 ## Scope
10
11 The Request For Comments (RFC) process is intended to be used for significant changes to the Collector. Major design
12 decisions, especially those that imply a change that is hard to reverse, should generally be
13 documented as an RFC. Controversial changes should also be documented as an RFC, so that the
14 community can have a chance to provide feedback. The goal of this process is to ensure we have a
15 coherent vision before embarking on significant work.
16
17 Ultimately, if any opentelemetry-collector maintainer feels that a change requires an RFC, then a
18 merged RFC is a requirement for said change.
19
20 ## Contents
21
22 We are purposefully light on the structure of RFCs, with the focus being the decision process and
23 not the document itself. When in doubt, the [OTEP template][2] can be a good starting point.
24 Regardless of the structure, the RFC should make clear what commitments are being made by the
25 Collector SIG when merging it.
26
27 ## Announcement
28
29 RFCs should be announced in a Collector SIG meeting and on the #otel-collector-dev Slack channel.
30
31 ## Approval process
32
33 An RFC is just like any other PR in this repository, with the exception of more stringent criteria
34 for merging it.
35
36 ### Stakeholders
37
38 To define merge criteria and voting, each RFC has a set of 'stakeholders'. All
39 opentelemetry-collector approvers are considered stakeholders. Additional stakeholders (e.g.
40 maintainers of related SIGs or experts) may be explicitly noted in the RFC.
41
42 ### Merge rules
43
44 We use a [Lazy Consensus](https://www.apache.org/foundation/glossary.html#LazyConsensus) method with the following rules:
45
46 1. *Quorum*: For an RFC to be mergeable, it needs to have at least **two approvals** from the
47 approvers set as well as approvals from any additional stakeholders.
48 2. *Waiting period*: Maintainers need to announce their intent to merge the RFC with a GitHub
49 comment. They will need to add a `rfc:final-comment-period` label to the PR, comment on the PR
50 and note the final comment period in the #otel-collector-dev CNCF Slack channel, and wait for at
51 least **4 business days** after making the announcement to merge the RFC.
52 3. *Objections*: Objections should be communicated as a 'request changes' review. All objections
53 must be addressed before merging an RFC. If addressing an objection does not appear feasible, any
54 maintainer may call for a vote to be made on the objection (see below). This will be signified by
55 adding a `rfc:vote-needed` label to the PR. The voting result is binding and a maintainer can
56 drop any 'request changes' reviews based on the vote results or consensus.
57 4. *Modifications*: Non-trivial modifications to an RFC reset the waiting period. RFC authors must
58 re-request any approving, comment, or 'request changes' reviews if the RFC has been modified significantly.
59 5. *All conversations are resolved*: All Github conversations on the PR must be marked as resolved
60 before merging. The RFC author may resolve conversations at their discretion, but they must
61 explain in the conversation thread why they believe it is appropriate to do so.
62
63 ### Voting
64
65 If there is no consensus on a particular issue, a vote may be called by any of the maintainers. The
66 vote will be open to all stakeholders for at least **5 business days** or until at least one third
67 of the stakeholders have voted, whichever comes last. The vote will be decided by simple majority,
68 restricting the set to approvers and then maintainers in case of a tie among stakeholders.
69
70 Voting should be done on a dedicated issue via comments. The related discussion threads should be
71 linked in the issue. The voting result should be documented in the RFC itself.
72
73 # Modifications to existing RFCs and to this document
74
75 Non-trivial modifications to this document and to existing RFCs should be done through the RFC
76 process itself and have the same merge criteria.
77
78 [1]: https://github.com/open-telemetry/oteps
79 [2]: https://github.com/open-telemetry/oteps/blob/main/0000-template.md