server.web.otlp.manager
Server-specific OTLP manager that builds on core functionality.
Attributes
Classes
Server-specific OTLP manager that builds on core functionality. |
Functions
|
Get or create the server OTLP manager singleton. |
|
Initialize server-specific OTLP functionality. |
Module Contents
- class server.web.otlp.manager.ServerOTLPManager[source]
Server-specific OTLP manager that builds on core functionality.
- instrument_app(app: Any) None[source]
Instrument FastAPI application with OpenTelemetry.
This is server-specific functionality that should not be in core.
- classmethod instrument_requests() None[source]
Instrument requests library - server-specific implementation.
- server.web.otlp.manager._server_otlp_manager: ServerOTLPManager | None = None[source]
- server.web.otlp.manager.get_server_otlp_manager() ServerOTLPManager[source]
Get or create the server OTLP manager singleton.
- server.web.otlp.manager.initialize_server_otlp() ServerOTLPManager[source]
Initialize server-specific OTLP functionality.
This should be called by the server during startup.
- Returns:
The server OTLP manager instance