Skip to content

Commit 17f0308

Browse files
processor/drain: promote to alpha stability (#47763)
#### Description Promote the Drain Processor from `development` to `alpha` stability and add it to the `contrib` distribution. Changes: - Update `metadata.yaml`: `development` → `alpha`, `distributions: [contrib]` - Add to `cmd/otelcontribcol/builder-config.yaml` - Add to `reports/distributions/contrib.yaml` - Regenerate status and README via `mdatagen` - Add changelog entry #### Link to tracking issue Fixes #47235 #### Testing Existing tests pass. `make lint` and `go test -race ./...` clean in `processor/drainprocessor/`. #### Documentation README auto-updated by `mdatagen` to reflect alpha stability and contrib distribution.
1 parent 0f3558b commit 17f0308

6 files changed

Lines changed: 36 additions & 6 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Use this changelog template to create an entry for release notes.
2+
3+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
4+
change_type: enhancement
5+
6+
# The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog)
7+
component: processor/drain
8+
9+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
10+
note: Promote Drain Processor from development to alpha stability and add to contrib distribution.
11+
12+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
13+
issues: [47235]
14+
15+
# (Optional) One or more lines of additional information to render under the primary note.
16+
# These lines will be padded with 2 spaces and then inserted directly into the document.
17+
# Use pipe (|) for multiline entries.
18+
subtext:
19+
20+
# If your change doesn't affect end users or the exported elements of any package,
21+
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
22+
# Optional: The change log or logs in which this entry should be included.
23+
# e.g. '[user]' or '[user, api]'
24+
# Include 'user' if the change is relevant to end users.
25+
# Include 'api' if there is a change to a library API.
26+
# Default: '[user]'
27+
change_logs: [user]

cmd/otelcontribcol/builder-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ processors:
119119
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/coralogixprocessor v0.150.0
120120
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatocumulativeprocessor v0.150.0
121121
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/deltatorateprocessor v0.150.0
122+
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/drainprocessor v0.150.0
122123
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.150.0
123124
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/geoipprocessor v0.150.0
124125
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbyattrsprocessor v0.150.0

processor/drainprocessor/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ The Drain Processor applies the Drain log clustering algorithm to log records as
55

66
| Status | |
77
| ------------- |-----------|
8-
| Stability | [development]: logs |
9-
| Distributions | [] |
8+
| Stability | [alpha]: logs |
9+
| Distributions | [contrib] |
1010
| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aprocessor%2Fdrain%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aprocessor%2Fdrain) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aprocessor%2Fdrain%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aprocessor%2Fdrain) |
1111
| Code coverage | [![codecov](https://codecov.io/github/open-telemetry/opentelemetry-collector-contrib/graph/main/badge.svg?component=processor_drain)](https://app.codecov.io/gh/open-telemetry/opentelemetry-collector-contrib/tree/main/?components%5B0%5D=processor_drain&displayType=list) |
1212
| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@MikeGoldsmith](https://www.github.com/MikeGoldsmith), [@atoulme](https://www.github.com/atoulme), [@martinjt](https://www.github.com/martinjt) |
1313

14-
[development]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#development
14+
[alpha]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#alpha
15+
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib
1516
<!-- end autogenerated section -->
1617

1718
This processor **annotates**; it does not filter. Use the [filter processor](../filterprocessor/README.md) downstream to act on the `log.record.template` attribute — for example, to drop entire classes of noisy logs by pattern.

processor/drainprocessor/internal/metadata/generated_status.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

processor/drainprocessor/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ description: The Drain Processor applies the Drain log clustering algorithm to l
55
status:
66
class: processor
77
stability:
8-
development: [logs]
9-
distributions: []
8+
alpha: [logs]
9+
distributions: [contrib]
1010
codeowners:
1111
active: [MikeGoldsmith, atoulme, martinjt]
1212

reports/distributions/contrib.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ components:
104104
- cumulativetodelta
105105
- deltatocumulative
106106
- deltatorate
107+
- drain
107108
- filter
108109
- geoip
109110
- groupbyattrs

0 commit comments

Comments
 (0)