MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / is_enabled

Method is_enabled

nodedb/src/control/trace_export.rs:91–93  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

89 }
90
91 pub fn is_enabled(&self) -> bool {
92 !self.endpoint.is_empty() && self.client.is_some()
93 }
94
95 /// Emit one span. Non-blocking: spawns a detached task that posts
96 /// to the collector. Returns immediately.

Callers 1

emitMethod · 0.45

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected