Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flexible collector configuration thanks to fine grain CRDs #3683

Open
Vincehood opened this issue Jan 31, 2025 · 0 comments
Open

More flexible collector configuration thanks to fine grain CRDs #3683

Vincehood opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request needs triage

Comments

@Vincehood
Copy link

Component(s)

collector

Is your feature request related to a problem? Please describe.

I experimented a bit with the OpenTelemetry Operator, and my understanding is that it currently lacks the ability to do the following: apply a configuration snippet (e.g., a specific processor configuration) using a custom object and associate it with a deployed OpenTelemetryCollector instance (itself created using the OpenTelemetryCollector CRD). The OpenTelemetryCollector CRD, as it stands, only supports defining entire collector configurations.

Describe the solution you'd like

Introduce additional CRD(s) for configuration-based resources similar to the Prometheus Operator, which provides two types of CRDs: some for instance-based resources and other for configuration-based resources—and relies on a label selector pattern to associate and combine them into desired deployments. See https://prometheus-operator.dev/docs/getting-started/design/

For example, this would allow to create an OpenTelemetry Collector deployment by combining configurations defined in custom objects under the existing OpenTelemetryCollector CRD with configurations from new CRD(s) (perhaps called OpenTelemetryCollectorProcessor). This approach would offer greater flexibility and modularity when managing OpenTelemetry Collector configurations.

Describe alternatives you've considered

No response

Additional context

No response

@Vincehood Vincehood added enhancement New feature or request needs triage labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage
Projects
None yet
Development

No branches or pull requests

1 participant