AsyncFast OpenTelemetry instrumentation #68
jackburridge
started this conversation in
General
Replies: 2 comments
-
|
@TomKimber I am leaning towards the class based, but I think this requires discussion/PoCs |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@tomnewport You may have some input |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It should be possible to instrument an AsyncFast application so that it can publish telemetry.
It should follow the semantic conventions https://opentelemetry.io/docs/specs/semconv/messaging/
Hooks may need to be added to support this, the hooks should also be made available to use elsewhere if added
Approaches
There are two main approaches
Hook based
Hooks should be added the the AsyncFast application, and to instrument handlers are added to the hooks, this is similar to what happens with OpenTelemetry FastAPI Instrumentation
Custom Class
A specific trace configuration class is passed into the application, this would be similar to what happens with AIOHTTP Client Tracing
Beta Was this translation helpful? Give feedback.
All reactions