MCPcopy Create free account
hub / github.com/AI45Lab/Code / queue_metrics

Method queue_metrics

core/src/agent_api.rs:1273–1275  ·  view source on GitHub ↗

Get a metrics snapshot from the optional queue (if metrics are enabled).

(&self)

Source from the content-addressed store, hash-verified

1271
1272 /// Get a metrics snapshot from the optional queue (if metrics are enabled).
1273 pub async fn queue_metrics(&self) -> Option<MetricsSnapshot> {
1274 QueueControl::from_session(self).metrics().await
1275 }
1276
1277 /// Get dead letters from the optional queue's DLQ (if DLQ is enabled).
1278 pub async fn dead_letters(&self) -> Vec<DeadLetter> {

Calls 1

metricsMethod · 0.80