MCPcopy Create free account
hub / github.com/SeismicSystems/summit / MetricServerConfig

Class MetricServerConfig

node/src/prom/server.rs:15–20  ·  view source on GitHub ↗

Configuration for the [`MetricServer`]

Source from the content-addressed store, hash-verified

13
14/// Configuration for the [`MetricServer`]
15pub 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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected