|
| 1 | +# Collector Documentation Refactoring |
| 2 | + |
| 3 | +## Background and description |
| 4 | + |
| 5 | +The OpenTelemetry Collector is a critical component of the OpenTelemetry ecosystem, serving as a vendor-agnostic way to receive, process, and export telemetry data. The Collector documentation on [opentelemetry.io](https://opentelemetry.io/docs/collector/) is currently undergoing a significant refactoring effort to improve organization, clarity, and completeness. |
| 6 | + |
| 7 | +This project coordinates the ongoing refactoring of Collector documentation, which is being tracked through the `sig:collector:refactor` label and organized into multiple phases. |
| 8 | + |
| 9 | +**Note**: This project is already underway with active issues and a milestone. This document serves to formalize the project scope and track progress within the community projects framework. |
| 10 | + |
| 11 | +### Current challenges |
| 12 | + |
| 13 | +The current Collector documentation has several issues being addressed: |
| 14 | + |
| 15 | +- **Information architecture needs improvement**: Pages are not organized optimally for different user journeys (installation, deployment, configuration, extension). |
| 16 | +- **Large monolithic pages**: Some pages (like installation) need to be split into focused child pages. |
| 17 | +- **Inconsistent examples**: Examples sometimes use core vs. contrib inconsistently. |
| 18 | +- **Missing operational guidance**: Best practices, troubleshooting, and disaster recovery documentation is incomplete. |
| 19 | +- **Copy editing needed**: Many pages need style guide compliance, grammar fixes, and clarity improvements. |
| 20 | +- **Cross-reference maintenance**: Page renames require updating cross-references throughout the documentation. |
| 21 | + |
| 22 | +**Current structure verified in repository (`content/en/docs/collector/`):** |
| 23 | + |
| 24 | +``` |
| 25 | +collector/ |
| 26 | +├── _index.md # Landing page |
| 27 | +├── architecture.md # Architecture overview |
| 28 | +├── benchmarks.md # Performance benchmarks |
| 29 | +├── building/ # ✅ Custom collector building |
| 30 | +│ ├── _index.md |
| 31 | +│ ├── authenticator-extension.md |
| 32 | +│ ├── connector/ |
| 33 | +│ └── receiver.md |
| 34 | +├── components/ # ✅ Component documentation |
| 35 | +│ ├── connector.md |
| 36 | +│ ├── exporter.md |
| 37 | +│ ├── extension.md |
| 38 | +│ ├── processor.md |
| 39 | +│ └── receiver.md |
| 40 | +├── configuration.md # Configuration reference |
| 41 | +├── custom-collector.md # Custom collector guide |
| 42 | +├── deployment/ # ✅ Deployment patterns |
| 43 | +│ ├── _index.md |
| 44 | +│ ├── agent.md |
| 45 | +│ ├── gateway/ |
| 46 | +│ └── no-collector.md |
| 47 | +├── distributions.md # Distribution information |
| 48 | +├── installation.md # Installation (needs splitting) |
| 49 | +├── internal-telemetry.md # Internal metrics |
| 50 | +├── management.md # OpAMP management |
| 51 | +├── quick-start.md # Quick start guide |
| 52 | +├── resiliency.md # Resiliency features |
| 53 | +├── scaling.md # Scaling guide |
| 54 | +├── transforming-telemetry.md |
| 55 | +└── troubleshooting.md # Troubleshooting guide |
| 56 | +``` |
| 57 | + |
| 58 | +**Progress on refactoring:** |
| 59 | +- ✅ `building/` section exists with custom component guides |
| 60 | +- ✅ `deployment/` section has agent, gateway, no-collector patterns |
| 61 | +- ✅ `components/` section documents all component types |
| 62 | +- ⚠️ `installation.md` still monolithic (issue #8353) |
| 63 | +- ⚠️ Troubleshooting exists but needs expansion |
| 64 | + |
| 65 | +### Goals, objectives, and requirements |
| 66 | + |
| 67 | +The goal of this project is to: |
| 68 | + |
| 69 | +1. **Restructure information architecture**: Create a logical hierarchy (Install, Deploy, Extend sections). |
| 70 | +2. **Split large pages**: Break monolithic pages into focused, scannable content. |
| 71 | +3. **Standardize examples**: Ensure consistent use of Collector distributions in examples. |
| 72 | +4. **Add operational content**: Include best practices, troubleshooting, and scaling documentation. |
| 73 | +5. **Copy edit all pages**: Ensure style guide compliance and clear writing. |
| 74 | +6. **Maintain cross-references**: Update all links when pages are renamed or moved. |
| 75 | + |
| 76 | +## Deliverables |
| 77 | + |
| 78 | +### Phase 1 (otelcol-phase-1) - Current |
| 79 | + |
| 80 | +Focus on moving existing content to conform to the new information architecture: |
| 81 | + |
| 82 | +- Rename and split Collector installation page. |
| 83 | +- Rename Collector deployment pages and create new child pages. |
| 84 | +- Create new "Extend the Collector" section. |
| 85 | +- Copy edit installation, deployment, and extension pages. |
| 86 | +- Update cross-references throughout documentation. |
| 87 | + |
| 88 | +### Phase 2 (otelcol-phase-2) |
| 89 | + |
| 90 | +Focus on writing and editing content (details TBD based on Phase 1 completion). |
| 91 | + |
| 92 | +### Phase 3 (otelcol-phase-3) |
| 93 | + |
| 94 | +Gap analysis of the new documentation set: |
| 95 | + |
| 96 | +- Audit documentation for missing or incorrect content. |
| 97 | +- Identify which examples to add first. |
| 98 | +- Use AI, user interviews, and community feedback for analysis. |
| 99 | +- Address disaster recovery recommendations. |
| 100 | +- Follow up on deployment documentation improvements. |
| 101 | + |
| 102 | +## Timeline |
| 103 | + |
| 104 | +- **Phase 1**: Due December 31, 2025. |
| 105 | +- **Phase 2**: TBD. |
| 106 | +- **Phase 3**: Due March 20, 2026. |
| 107 | + |
| 108 | +## Labels |
| 109 | + |
| 110 | +- `sig:collector` |
| 111 | +- `sig:collector:refactor` |
| 112 | +- `docs:information-architecture` |
| 113 | +- `help wanted` |
| 114 | +- `good first issue` (for some tasks) |
| 115 | + |
| 116 | +## Related issues |
| 117 | + |
| 118 | +### Phase 1 issues (otelcol-phase-1 milestone) |
| 119 | + |
| 120 | +- [#8353 - Rename and split up Collector installation page](https://github.com/open-telemetry/opentelemetry.io/issues/8353) (open) |
| 121 | +- [#8354 - Copy edit the Collector installation page](https://github.com/open-telemetry/opentelemetry.io/issues/8354) (open) |
| 122 | +- [#8355 - Rename Collector deployment pages and create new child pages](https://github.com/open-telemetry/opentelemetry.io/issues/8355) (open) |
| 123 | +- [#8356 - Copy edit the Collector deployment landing, no collector, and agent pages](https://github.com/open-telemetry/opentelemetry.io/issues/8356) (closed) |
| 124 | +- [#8358 - Copy edit the Collector deployment gateway page](https://github.com/open-telemetry/opentelemetry.io/issues/8358) (closed) |
| 125 | +- [#8360 - Create new "Extend the Collector" section and rename child pages](https://github.com/open-telemetry/opentelemetry.io/issues/8360) (open) |
| 126 | +- [#8361 - Copy edit the Building a custom Collector page](https://github.com/open-telemetry/opentelemetry.io/issues/8361) (open) |
| 127 | +- [#8362 - Copy edit the custom component pages](https://github.com/open-telemetry/opentelemetry.io/issues/8362) (open) |
| 128 | + |
| 129 | +### Phase 3 issues (otelcol-phase-3 milestone) |
| 130 | + |
| 131 | +- [#5932 - Disaster recovery recommendations for Daemonset deployments](https://github.com/open-telemetry/opentelemetry.io/issues/5932) (open) |
| 132 | +- [#2692 - Follow up on collector deployment](https://github.com/open-telemetry/opentelemetry.io/issues/2692) (open) |
| 133 | + |
| 134 | +### Other related issues |
| 135 | + |
| 136 | +- [#7268 - Add example for validating internal telemetry connection](https://github.com/open-telemetry/opentelemetry.io/issues/7268) (open) |
| 137 | +- [#3699 - Benchmarks page clarity](https://github.com/open-telemetry/opentelemetry.io/issues/3699) (open) |
| 138 | + |
| 139 | +## Project Board |
| 140 | + |
| 141 | +The project is tracked via GitHub milestones: |
| 142 | + |
| 143 | +- [otelcol-phase-1](https://github.com/open-telemetry/opentelemetry.io/milestone/20) |
| 144 | +- [otelcol-phase-3](https://github.com/open-telemetry/opentelemetry.io/milestone/22) |
| 145 | + |
| 146 | +## SIG Meetings and Other Info |
| 147 | + |
| 148 | +This project is coordinated through SIG Communications and SIG Collector meetings. |
| 149 | + |
| 150 | +- **Slack channel**: `#otel-comms` |
| 151 | +- **Meeting notes**: To be linked upon project start. |
| 152 | + |
0 commit comments