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

Simplify "Bring You Own Backend" deployments #2052

Open
girodav opened this issue Feb 19, 2025 · 2 comments
Open

Simplify "Bring You Own Backend" deployments #2052

girodav opened this issue Feb 19, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@girodav
Copy link

girodav commented Feb 19, 2025

Feature Request

It is already possible to use any otlphttp exporter following the documentation for Bring Your Own Backend for Kubernetes.

While this approach works, it would be great to simplify the process of deploying the OpenTelemetry demo with a custom backend using an OTLP HTTP exporter. Additionally, deploying with Docker Compose currently requires either adding a new custom collector configuration or modifying the existing one.

Describe the solution you'd like:

Being able to use any otlphttp exporter, with minimal configuration required.

For Kubernetes deployments, it would be great to add a new configuration option in the Helm charts that allows users to easily configure the OTLP HTTP endpoint. For example:

helm install otel-demo charts/opentelemetry-demo --set otlp-backend=true --set opentelemetry-collector.config.exporters.otlpbackend.endpoint="my-endpoint"

For Docker Compose deployments, it would be helpful to allow overriding OTLP endpoints and headers through environment variables. Additionally, it would be useful to enable users to select which exporters to use. One potential solution could be utilizing Docker Compose Profiles, enabling users to specify the desired profile with a command like:

PROFILE=byob make start

@girodav girodav added the enhancement New feature or request label Feb 19, 2025
@rogercoll
Copy link
Contributor

I support this idea, looks like it will be optional and won't affect the current deployment mechanism. The main benefit is that it will ease the Bring your won backend strategy, and testing different vendors/backends would be a matter of defining a different otlp endpoint.

Another option would be to use docker compose overrides, but Profiles seems more suitable for this use case (we can add as many otel-collector profiles as needed)

@open-telemetry/demo-approvers wdyt?

@julianocosta89
Copy link
Member

Ohhhhh, TIL! 🤓

Profiles look great!
We could drop the minimal docker compose override and just configure the profiles.

I liked that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants