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

Add opentelemetry support #72

Merged
merged 4 commits into from
Sep 21, 2024
Merged

Add opentelemetry support #72

merged 4 commits into from
Sep 21, 2024

Conversation

sk1p
Copy link
Member

@sk1p sk1p commented Sep 21, 2024

Partially extracted from k2is branch; initialize tracing on Python module initialization and propagate tracing spans from Python on the most important method calls.

* Add `common::tracing` module with helper functions for setting up
  tracing and for span propagation from Python
* Add tracing to some important methods
* Bump egui versions for compatibility
* Add `tracing_from_env` helper that reads `OTEL_EXPORTER_OTLP_ENDPOINT`
  and `OTEL_ENABLE` env vars and starts the tracing exporter thread
  accordingly
* Add some spans to `libertem-asi-tpx3`
@sk1p sk1p merged commit 3c94cc7 into LiberTEM:main Sep 21, 2024
33 checks passed
@sk1p sk1p deleted the otel branch September 21, 2024 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant