Index
Composition-first runtime for async gRPC services in the AIOps platform.
Features
- Async gRPC server bootstrap with graceful shutdown
- Declarative app spec instead of inheritance-heavy base classes
- Reusable lifecycle hooks
- Reusable observability configuration for logging, tracing, Sentry, and metrics
- Warmup support before the server starts accepting traffic
Installation
1 | |
Primary API
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
Reusable Components
The runtime uses callbacks instead of complex module protocols:
servicers_registerer: Function(AppContext) -> None | Awaitable[None]interceptors_factory: Function(BootstrapContext) -> Sequence[grpc.aio.ServerInterceptor] | Awaitable[Sequence[grpc.aio.ServerInterceptor]]warmers_factory: Function(AppContext) -> Sequence[AsyncWarmer] | Awaitable[Sequence[AsyncWarmer]]base_warmers: Direct list ofAsyncWarmerinstancesbase_interceptors: Direct list ofgrpc.aio.ServerInterceptorinstances
Development
1 2 | |