Skip to content

Connect traefiks to opentelemetry #1041

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

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

mrnicegyu11
Copy link
Member

What do these changes do?

Connect traefiks to opentelemetry
Tested this successfully on osparc-master-zmt-click

Related issue/s

Related PR/s

Checklist

  • I tested and it works

mrnicegyu11 and others added 25 commits October 15, 2024 16:18
Merge remote-tracking branch 'upstream/main'
…oundation#979)

* Introduce longhorn chart

* Further longhorn configuration

* Longhorn: further settings configuration

* Fix longhorn configuration bugs

Extra: introduce longhorn pv vales for portainer

* Add comment for deletion longhorn

* Further longhorn configuration

* Add README.md for Longhorn wit FAQ

* Update Longhorn readme

* Update readme

* Futher LH configuration

* Update LH's Readme

* Update Longhorn Readme

* Improve LH's Readme

* LH: Reduce reserved default disk space to 5%

Since we use a dedicated disk for LH, we can go ahead with 5%

* Use values to set Longhorn storage class

* Update LH's Readme

* LH Readme: add requirements reference

* PR Review: bring back portainer s3 pv

* LH: decrease portinaer volume size
@mrnicegyu11 mrnicegyu11 added this to the Bazinga! milestone May 9, 2025
@mrnicegyu11 mrnicegyu11 requested a review from sanderegg May 9, 2025 13:36
@mrnicegyu11 mrnicegyu11 self-assigned this May 9, 2025
@mrnicegyu11 mrnicegyu11 added the observability alerting/monitoring label May 9, 2025
@mrnicegyu11 mrnicegyu11 marked this pull request as ready for review May 9, 2025 13:37
@mrnicegyu11 mrnicegyu11 requested a review from YuryHrytsuk as a code owner May 9, 2025 13:37
Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this be now enabled everywhere even in prod?

@mrnicegyu11
Copy link
Member Author

will this be now enabled everywhere even in prod?

I guess yes, traefik --> opentelemetry-collector --> tempo/jaeger would be on there. I can add a flag to turn it on/off via env-var. Would that be better?

@mrnicegyu11 mrnicegyu11 requested a review from bisgaard-itis May 12, 2025 07:23
@mrnicegyu11 mrnicegyu11 changed the title Connect traefiks to opentelemtry Connect traefiks to opentelemetry May 12, 2025
- "--tracing.otlp=true"
- "--tracing.otlp.http=true"
- "--tracing.serviceName=simcore-traefik"
- "--tracing.otlp.http.endpoint=http://otel-collector:4318/v1/traces"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we use env variables to avoid hardcoding host and port?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

configuration refactoring for this in mrnicegyu11#1, please review :--) thx

Copy link
Contributor

@bisgaard-itis bisgaard-itis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but maybe make clear in the description of the PR exactly what this PR adds. Do I get it correctly, that it "instruments" traefik. So that e.g. if we look into the logs of traefik we can see traceids of requests? Or is this simply to "add" a trace id to a request when it arrives?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
observability alerting/monitoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants