Skip to main content

Module observability

Module observability 

Source
Expand description

Bounded, privacy-safe operator observability models and exporters. Versioned, bounded operator observability for a running node.

Observability is the synchronous adapter installed at the core swarm boundary. It keeps process-lifetime counters, a fixed-size recent-event ring, and bounded DHT lookup correlation state. The native HTTP layer combines that state with live session, mailbox, peer-rating, and overlay snapshots in the authenticated /status?view=observability JSON response. No payload, key material, message identifier, mailbox identifier, or lookup correlation key crosses the export boundary.

Structs§

DhtLookupSnapshot
Public DHT lookup counters and latency distribution.
HealthSnapshot
Explicit separation of HTTP-process liveness and overlay readiness.
LatencyBucket
One cumulative DHT latency histogram bucket.
MailboxSnapshot
Aggregate live relay-mailbox state.
MessageTotals
Process-lifetime message counters with node-local semantics.
Observability
Process-local observability recorder shared by the processor and core swarm.
OperatorSnapshot
Complete JSON response returned by the v1 operator endpoint.
PeerRatingSnapshot
Bounded structured local assessment of one peer.
RecentMessageEvent
One privacy-safe recent message record.
RuntimeSnapshot
Recorder-owned part of an operator snapshot.
SessionKeySnapshot
Active session-key lifecycle without key material or key-derived identifiers.

Constants§

OPERATOR_SCHEMA_VERSION
Version of the observability object nested in the HTTP status response.
PEER_RATING_CAPACITY
Maximum number of peer-rating records returned by one structured snapshot.
RECENT_MESSAGE_CAPACITY
Maximum number of recent message records retained in process memory and one status response.