Skip to content

Commit 7c4ffca

Browse files
theletterfchalin
authored andcommitted
Fix all
1 parent 1d25c03 commit 7c4ffca

7 files changed

+610
-293
lines changed

projects/collector-docs-refactoring.md

Lines changed: 62 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,38 @@
22

33
## Background and description
44

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.
5+
The OpenTelemetry Collector is a critical component of the OpenTelemetry
6+
ecosystem, serving as a vendor-agnostic way to receive, process, and export
7+
telemetry data. The Collector documentation on
8+
[opentelemetry.io](https://opentelemetry.io/docs/collector/) is currently
9+
undergoing a significant refactoring effort to improve organization, clarity,
10+
and completeness.
611

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.
12+
This project coordinates the ongoing refactoring of Collector documentation,
13+
which is being tracked through the `sig:collector:refactor` label and organized
14+
into multiple phases.
815

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.
16+
**Note**: This project is already underway with active issues and a milestone.
17+
This document serves to formalize the project scope and track progress within
18+
the community projects framework.
1019

1120
### Current challenges
1221

1322
The current Collector documentation has several issues being addressed:
1423

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.
24+
- **Information architecture needs improvement**: Pages are not organized
25+
optimally for different user journeys (installation, deployment,
26+
configuration, extension).
27+
- **Large monolithic pages**: Some pages (like installation) need to be split
28+
into focused child pages.
29+
- **Inconsistent examples**: Examples sometimes use core vs. contrib
30+
inconsistently.
31+
- **Missing operational guidance**: Best practices, troubleshooting, and
32+
disaster recovery documentation is incomplete.
33+
- **Copy editing needed**: Many pages need style guide compliance, grammar
34+
fixes, and clarity improvements.
35+
- **Cross-reference maintenance**: Page renames require updating
36+
cross-references throughout the documentation.
2137

2238
**Current structure verified in repository (`content/en/docs/collector/`):**
2339

@@ -56,6 +72,7 @@ collector/
5672
```
5773

5874
**Progress on refactoring:**
75+
5976
-`building/` section exists with custom component guides
6077
-`deployment/` section has agent, gateway, no-collector patterns
6178
-`components/` section documents all component types
@@ -66,12 +83,17 @@ collector/
6683

6784
The goal of this project is to:
6885

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.
86+
1. **Restructure information architecture**: Create a logical hierarchy
87+
(Install, Deploy, Extend sections).
88+
2. **Split large pages**: Break monolithic pages into focused, scannable
89+
content.
90+
3. **Standardize examples**: Ensure consistent use of Collector distributions in
91+
examples.
92+
4. **Add operational content**: Include best practices, troubleshooting, and
93+
scaling documentation.
7394
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.
95+
6. **Maintain cross-references**: Update all links when pages are renamed or
96+
moved.
7597

7698
## Deliverables
7799

@@ -117,24 +139,36 @@ Gap analysis of the new documentation set:
117139

118140
### Phase 1 issues (otelcol-phase-1 milestone)
119141

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)
142+
- [#8353 - Rename and split up Collector installation page](https://github.com/open-telemetry/opentelemetry.io/issues/8353)
143+
(open)
144+
- [#8354 - Copy edit the Collector installation page](https://github.com/open-telemetry/opentelemetry.io/issues/8354)
145+
(open)
146+
- [#8355 - Rename Collector deployment pages and create new child pages](https://github.com/open-telemetry/opentelemetry.io/issues/8355)
147+
(open)
148+
- [#8356 - Copy edit the Collector deployment landing, no collector, and agent pages](https://github.com/open-telemetry/opentelemetry.io/issues/8356)
149+
(closed)
150+
- [#8358 - Copy edit the Collector deployment gateway page](https://github.com/open-telemetry/opentelemetry.io/issues/8358)
151+
(closed)
152+
- [#8360 - Create new "Extend the Collector" section and rename child pages](https://github.com/open-telemetry/opentelemetry.io/issues/8360)
153+
(open)
154+
- [#8361 - Copy edit the Building a custom Collector page](https://github.com/open-telemetry/opentelemetry.io/issues/8361)
155+
(open)
156+
- [#8362 - Copy edit the custom component pages](https://github.com/open-telemetry/opentelemetry.io/issues/8362)
157+
(open)
128158

129159
### Phase 3 issues (otelcol-phase-3 milestone)
130160

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)
161+
- [#5932 - Disaster recovery recommendations for Daemonset deployments](https://github.com/open-telemetry/opentelemetry.io/issues/5932)
162+
(open)
163+
- [#2692 - Follow up on collector deployment](https://github.com/open-telemetry/opentelemetry.io/issues/2692)
164+
(open)
133165

134166
### Other related issues
135167

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)
168+
- [#7268 - Add example for validating internal telemetry connection](https://github.com/open-telemetry/opentelemetry.io/issues/7268)
169+
(open)
170+
- [#3699 - Benchmarks page clarity](https://github.com/open-telemetry/opentelemetry.io/issues/3699)
171+
(open)
138172

139173
## Project Board
140174

@@ -145,8 +179,8 @@ The project is tracked via GitHub milestones:
145179

146180
## SIG Meetings and Other Info
147181

148-
This project is coordinated through SIG Communications and SIG Collector meetings.
182+
This project is coordinated through SIG Communications and SIG Collector
183+
meetings.
149184

150185
- **Slack channel**: `#otel-comms`
151186
- **Meeting notes**: To be linked upon project start.
152-

projects/docs-automation-cicd.md

Lines changed: 69 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,36 @@
22

33
## Background and description
44

5-
The OpenTelemetry documentation website relies on various automated processes for building, validating, and maintaining content. However, several manual processes remain, and existing automation has limitations that cause maintenance burden and occasional build failures.
5+
The OpenTelemetry documentation website relies on various automated processes
6+
for building, validating, and maintaining content. However, several manual
7+
processes remain, and existing automation has limitations that cause maintenance
8+
burden and occasional build failures.
69

7-
This project aims to enhance documentation automation, improve CI/CD pipelines, and implement systems for tracking documentation freshness and detecting outdated content.
10+
This project aims to enhance documentation automation, improve CI/CD pipelines,
11+
and implement systems for tracking documentation freshness and detecting
12+
outdated content.
813

914
### Current challenges
1015

1116
The current documentation automation has several gaps:
1217

13-
- **Manual Collector metrics maintenance**: The list of Collector internal metrics on the website is manually maintained and can become out of sync with the actual metrics generated by `mdatagen`. This leads to incomplete or inaccurate documentation.
14-
- **Version update automation issues**: The automated version update process for Collector releases can break builds when patch releases don't include all components (e.g., Collector Builder or Supervisor). The `cascade` field in Hugo front matter causes issues with partial releases.
15-
- **No automated outdated content detection**: There's no systematic way to identify documentation that has become stale or needs updating. Content can remain outdated for extended periods without maintainer awareness.
16-
- **Missing mdatagen integration**: The `mdatagen` tool generates documentation for Collector components, but this isn't integrated into the website documentation pipeline.
17-
- **Limited pre-commit checks**: Contributors may submit PRs that fail CI checks because there are no local pre-commit hooks to catch common issues before pushing.
18+
- **Manual Collector metrics maintenance**: The list of Collector internal
19+
metrics on the website is manually maintained and can become out of sync with
20+
the actual metrics generated by `mdatagen`. This leads to incomplete or
21+
inaccurate documentation.
22+
- **Version update automation issues**: The automated version update process for
23+
Collector releases can break builds when patch releases don't include all
24+
components (e.g., Collector Builder or Supervisor). The `cascade` field in
25+
Hugo front matter causes issues with partial releases.
26+
- **No automated outdated content detection**: There's no systematic way to
27+
identify documentation that has become stale or needs updating. Content can
28+
remain outdated for extended periods without maintainer awareness.
29+
- **Missing mdatagen integration**: The `mdatagen` tool generates documentation
30+
for Collector components, but this isn't integrated into the website
31+
documentation pipeline.
32+
- **Limited pre-commit checks**: Contributors may submit PRs that fail CI checks
33+
because there are no local pre-commit hooks to catch common issues before
34+
pushing.
1835

1936
**Existing automation verified in repository (`scripts/`):**
2037

@@ -38,6 +55,7 @@ scripts/
3855
```
3956

4057
**Gap analysis:**
58+
4159
- ✅ Version update scripts exist but have issues with patch releases
4260
- ⚠️ Pre-commit hook exists but is minimal (only formatting)
4361
- ⚠️ Markdown rules exist but not integrated with pre-commit
@@ -56,38 +74,53 @@ If these challenges are not addressed:
5674

5775
The goal of this project is to:
5876

59-
1. **Automate Collector metrics documentation**: Integrate mdatagen output into the website.
60-
2. **Fix version update automation**: Handle patch releases correctly without breaking builds.
61-
3. **Detect outdated content**: Implement systems to identify stale documentation.
62-
4. **Improve contributor experience**: Add pre-commit hooks and local validation tools.
63-
5. **Track documentation freshness**: Create visibility into documentation age and update needs.
77+
1. **Automate Collector metrics documentation**: Integrate mdatagen output into
78+
the website.
79+
2. **Fix version update automation**: Handle patch releases correctly without
80+
breaking builds.
81+
3. **Detect outdated content**: Implement systems to identify stale
82+
documentation.
83+
4. **Improve contributor experience**: Add pre-commit hooks and local validation
84+
tools.
85+
5. **Track documentation freshness**: Create visibility into documentation age
86+
and update needs.
6487

6588
**Motivations for starting now**:
6689

67-
- The Collector documentation refactoring project (sig:collector:refactor) would benefit from automated tooling.
68-
- Recent build failures from patch releases highlight the urgency of fixing version automation.
90+
- The Collector documentation refactoring project (sig:collector:refactor) would
91+
benefit from automated tooling.
92+
- Recent build failures from patch releases highlight the urgency of fixing
93+
version automation.
6994
- Community feedback indicates that outdated content is a significant problem.
7095

7196
## Deliverables
7297

7398
### mdatagen integration
7499

75-
- **Automated metrics documentation**: Pipeline to extract and publish Collector component metrics from mdatagen.
76-
- **Component documentation sync**: Automated sync of component READMEs to website.
77-
- **Stability level tracking**: Automated tracking and display of component stability levels.
100+
- **Automated metrics documentation**: Pipeline to extract and publish Collector
101+
component metrics from mdatagen.
102+
- **Component documentation sync**: Automated sync of component READMEs to
103+
website.
104+
- **Stability level tracking**: Automated tracking and display of component
105+
stability levels.
78106

79107
### Version automation improvements
80108

81-
- **Patch release handling**: Fix the cascade version update mechanism to handle partial releases.
82-
- **Component-specific versioning**: Separate version tracking for Collector core, contrib, Builder, and Supervisor.
83-
- **Release notes integration**: Automated linking to release notes for each version.
109+
- **Patch release handling**: Fix the cascade version update mechanism to handle
110+
partial releases.
111+
- **Component-specific versioning**: Separate version tracking for Collector
112+
core, contrib, Builder, and Supervisor.
113+
- **Release notes integration**: Automated linking to release notes for each
114+
version.
84115

85116
### Outdated content detection
86117

87118
- **Content age tracking**: System to track when content was last updated.
88-
- **Drift detection alerts**: Automated notifications when content hasn't been updated within a threshold.
119+
- **Drift detection alerts**: Automated notifications when content hasn't been
120+
updated within a threshold.
89121
- **External link validation**: Regular checks for broken external links.
90-
- **API/SDK version comparisons**: Alerts when documented versions fall behind latest releases.
122+
- **API/SDK version comparisons**: Alerts when documented versions fall behind
123+
latest releases.
91124

92125
### Contributor tooling
93126

@@ -101,9 +134,12 @@ The goal of this project is to:
101134

102135
### Freshness tracking
103136

104-
- **Documentation freshness dashboard**: Visibility into documentation age across sections.
105-
- **Update priority scoring**: System to prioritize which content needs updates most urgently.
106-
- **Maintainer notifications**: Automated notifications for high-priority updates.
137+
- **Documentation freshness dashboard**: Visibility into documentation age
138+
across sections.
139+
- **Update priority scoring**: System to prioritize which content needs updates
140+
most urgently.
141+
- **Maintainer notifications**: Automated notifications for high-priority
142+
updates.
107143

108144
## Timeline
109145

@@ -122,17 +158,21 @@ The goal of this project is to:
122158

123159
## Related issues
124160

125-
- [#4523 - Automate the Collector list of internal metrics using `mdatagen` docs](https://github.com/open-telemetry/opentelemetry.io/issues/4523) (open) - mdatagen integration for metrics documentation.
126-
- [#7546 - Collector patch release updates break build because not all components are included](https://github.com/open-telemetry/opentelemetry.io/issues/7546) (open) - Version automation issues.
127-
- [#8313 - Set up git pre-commit and other hooks to make for a smoother contributor experience](https://github.com/open-telemetry/opentelemetry.io/issues/8313) (open) - Pre-commit hooks using husky.
161+
- [#4523 - Automate the Collector list of internal metrics using `mdatagen` docs](https://github.com/open-telemetry/opentelemetry.io/issues/4523)
162+
(open) - mdatagen integration for metrics documentation.
163+
- [#7546 - Collector patch release updates break build because not all components are included](https://github.com/open-telemetry/opentelemetry.io/issues/7546)
164+
(open) - Version automation issues.
165+
- [#8313 - Set up git pre-commit and other hooks to make for a smoother contributor experience](https://github.com/open-telemetry/opentelemetry.io/issues/8313)
166+
(open) - Pre-commit hooks using husky.
128167

129168
## Project Board
130169

131170
To be created upon project approval.
132171

133172
## SIG Meetings and Other Info
134173

135-
This project will be coordinated through SIG Communications meetings with input from SIG Collector.
174+
This project will be coordinated through SIG Communications meetings with input
175+
from SIG Collector.
136176

137177
- **Slack channel**: `#otel-comms`
138178
- **Meeting notes**: To be linked upon project start.

0 commit comments

Comments
 (0)