Skip to content

Commit

Permalink
[connector/otlpjson] Move stability to alpha (#34253)
Browse files Browse the repository at this point in the history
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
This is the 3rd PR for the new otlpjson connector
(#34208).
Moves its stability to `alpha`.

**Link to tracking Issue:** <Issue number if applicable>
#34208
#34239
#34249

**Testing:** <Describe what testing was performed and which tests were
added.> ~

**Documentation:** <Describe the documentation added.> Updated

---------

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
  • Loading branch information
ChrsMark authored Jul 26, 2024
1 parent 14923a8 commit 98ae65b
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 16 deletions.
27 changes: 27 additions & 0 deletions .chloggen/otlpjsoncon_alpha.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: otlpjsonconnector

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Move connector's stability to alpha.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [34208, 34253]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: [user]
2 changes: 2 additions & 0 deletions cmd/otelcontribcol/builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ connectors:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/exceptionsconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/failoverconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/grafanacloudconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/otlpjsonconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/roundrobinconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector v0.105.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector v0.105.0
Expand Down Expand Up @@ -455,6 +456,7 @@ replaces:
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/exceptionsconnector => ../../connector/exceptionsconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/failoverconnector => ../../connector/failoverconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/grafanacloudconnector => ../../connector/grafanacloudconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/otlpjsonconnector => ../../connector/otlpjsonconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/roundrobinconnector => ../../connector/roundrobinconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector => ../../connector/routingconnector
- github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector => ../../connector/servicegraphconnector
Expand Down
3 changes: 3 additions & 0 deletions cmd/otelcontribcol/components.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/connector/exceptionsconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/failoverconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/grafanacloudconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/otlpjsonconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/roundrobinconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector v0.105.0
github.com/open-telemetry/opentelemetry-collector-contrib/connector/servicegraphconnector v0.105.0
Expand Down Expand Up @@ -1266,6 +1267,8 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/connector/fail

replace github.com/open-telemetry/opentelemetry-collector-contrib/connector/grafanacloudconnector => ../../connector/grafanacloudconnector

replace github.com/open-telemetry/opentelemetry-collector-contrib/connector/otlpjsonconnector => ../../connector/otlpjsonconnector

replace github.com/open-telemetry/opentelemetry-collector-contrib/connector/roundrobinconnector => ../../connector/roundrobinconnector

replace github.com/open-telemetry/opentelemetry-collector-contrib/connector/routingconnector => ../../connector/routingconnector
Expand Down
8 changes: 4 additions & 4 deletions connector/otlpjsonconnector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
| Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aconnector%2Fotlpjson%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aconnector%2Fotlpjson) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aconnector%2Fotlpjson%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aconnector%2Fotlpjson) |
| [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@djaglowski](https://www.github.com/djaglowski), [@ChrsMark](https://www.github.com/ChrsMark) |

[development]: https://github.com/open-telemetry/opentelemetry-collector#development
[alpha]: https://github.com/open-telemetry/opentelemetry-collector#alpha
[contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib

## Supported Pipeline Types

| [Exporter Pipeline Type] | [Receiver Pipeline Type] | [Stability Level] |
| ------------------------ | ------------------------ | ----------------- |
| logs | metrics | [development] |
| logs | traces | [development] |
| logs | logs | [development] |
| logs | metrics | [alpha] |
| logs | traces | [alpha] |
| logs | logs | [alpha] |

[Exporter Pipeline Type]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/connector/README.md#exporter-pipeline-type
[Receiver Pipeline Type]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/connector/README.md#receiver-pipeline-type
Expand Down
4 changes: 0 additions & 4 deletions connector/otlpjsonconnector/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@
package otlpjsonconnector // import "github.com/open-telemetry/opentelemetry-collector-contrib/connector/otlpjsonconnector"

type Config struct{}

func (c *Config) Validate() error {
return nil
}
4 changes: 0 additions & 4 deletions connector/otlpjsonconnector/config_test.go

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion connector/otlpjsonconnector/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
type: otlpjson
scope_name: otelcol/otlpjson

status:
class: connector
stability:
development: [logs_to_metrics, logs_to_traces, logs_to_logs]
alpha: [logs_to_metrics, logs_to_traces, logs_to_logs]
distributions: [contrib]
codeowners:
active: [djaglowski, ChrsMark]

0 comments on commit 98ae65b

Please sign in to comment.