Configuration for the [`MetricServer`]
| 13 | |
| 14 | /// Configuration for the [`MetricServer`] |
| 15 | pub struct MetricServerConfig { |
| 16 | listen_addr: SocketAddr, |
| 17 | hooks: Hooks, |
| 18 | /// Optional commonware runtime context for merging runtime metrics into the response. |
| 19 | /// Arc-wrapped so every connection handler can encode the registry: the 2026.5.0 |
| 20 | /// runtime context is not Clone. |
| 21 | cw_context: Option<Arc<Context>>, |
| 22 | } |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected