惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
小众软件
小众软件
博客园 - 【当耐特】
J
Java Code Geeks
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
A
About on SuperTechFans
H
Help Net Security
博客园_首页
P
Proofpoint News Feed
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
N
Netflix TechBlog - Medium
爱范儿
爱范儿
MyScale Blog
MyScale Blog
Blog — PlanetScale
Blog — PlanetScale
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Google DeepMind News
Google DeepMind News

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(status): add gateway delivery health telemetry (#8501...
clawsweeper · 2026-05-22 · via Recent Commits to openclaw:main

@@ -852,6 +852,31 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

852852

unit: "1",

853853

description: "Messages queued for processing",

854854

});

855+

const messageReceivedCounter = meter.createCounter("openclaw.message.received", {

856+

unit: "1",

857+

description: "Inbound messages received",

858+

});

859+

const messageDispatchStartedCounter = meter.createCounter(

860+

"openclaw.message.dispatch.started",

861+

{

862+

unit: "1",

863+

description: "Inbound message dispatch attempts started",

864+

},

865+

);

866+

const messageDispatchCompletedCounter = meter.createCounter(

867+

"openclaw.message.dispatch.completed",

868+

{

869+

unit: "1",

870+

description: "Inbound message dispatch attempts completed",

871+

},

872+

);

873+

const messageDispatchDurationHistogram = meter.createHistogram(

874+

"openclaw.message.dispatch.duration_ms",

875+

{

876+

unit: "ms",

877+

description: "Inbound message dispatch duration",

878+

},

879+

);

855880

const messageProcessedCounter = meter.createCounter("openclaw.message.processed", {

856881

unit: "1",

857882

description: "Messages processed by outcome",

@@ -894,6 +919,10 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

894919

unit: "1",

895920

description: "Session state transitions",

896921

});

922+

const sessionTurnCreatedCounter = meter.createCounter("openclaw.session.turn.created", {

923+

unit: "1",

924+

description: "Agent session turns created",

925+

});

897926

const sessionStuckCounter = meter.createCounter("openclaw.session.stuck", {

898927

unit: "1",

899928

description: "Sessions stuck in processing",

@@ -1430,6 +1459,37 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

14301459

}

14311460

};

143214611462+

const recordMessageReceived = (

1463+

evt: Extract<DiagnosticEventPayload, { type: "message.received" }>,

1464+

) => {

1465+

messageReceivedCounter.add(1, {

1466+

"openclaw.channel": lowCardinalityAttr(evt.channel),

1467+

"openclaw.source": lowCardinalityAttr(evt.source),

1468+

});

1469+

};

1470+1471+

const recordMessageDispatchStarted = (

1472+

evt: Extract<DiagnosticEventPayload, { type: "message.dispatch.started" }>,

1473+

) => {

1474+

messageDispatchStartedCounter.add(1, {

1475+

"openclaw.channel": lowCardinalityAttr(evt.channel),

1476+

"openclaw.source": lowCardinalityAttr(evt.source),

1477+

});

1478+

};

1479+1480+

const recordMessageDispatchCompleted = (

1481+

evt: Extract<DiagnosticEventPayload, { type: "message.dispatch.completed" }>,

1482+

) => {

1483+

const attrs = {

1484+

"openclaw.channel": lowCardinalityAttr(evt.channel),

1485+

"openclaw.outcome": evt.outcome,

1486+

"openclaw.reason": lowCardinalityAttr(evt.reason, "none"),

1487+

"openclaw.source": lowCardinalityAttr(evt.source),

1488+

};

1489+

messageDispatchCompletedCounter.add(1, attrs);

1490+

messageDispatchDurationHistogram.record(evt.durationMs, attrs);

1491+

};

1492+14331493

const recordMessageProcessed = (

14341494

evt: Extract<DiagnosticEventPayload, { type: "message.processed" }>,

14351495

) => {

@@ -1565,6 +1625,16 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

15651625

sessionStateCounter.add(1, attrs);

15661626

};

156716271628+

const recordSessionTurnCreated = (

1629+

evt: Extract<DiagnosticEventPayload, { type: "session.turn.created" }>,

1630+

) => {

1631+

sessionTurnCreatedCounter.add(1, {

1632+

"openclaw.agent": lowCardinalityAttr(evt.agentId, "unknown"),

1633+

"openclaw.channel": lowCardinalityAttr(evt.channel, "unknown"),

1634+

"openclaw.trigger": evt.trigger,

1635+

});

1636+

};

1637+15681638

const recordSessionStuck = (

15691639

evt: Extract<DiagnosticEventPayload, { type: "session.stuck" }>,

15701640

) => {

@@ -2428,6 +2498,15 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

24282498

case "message.queued":

24292499

recordMessageQueued(evt);

24302500

return;

2501+

case "message.received":

2502+

recordMessageReceived(evt);

2503+

return;

2504+

case "message.dispatch.started":

2505+

recordMessageDispatchStarted(evt);

2506+

return;

2507+

case "message.dispatch.completed":

2508+

recordMessageDispatchCompleted(evt);

2509+

return;

24312510

case "message.processed":

24322511

recordMessageProcessed(evt);

24332512

return;

@@ -2455,6 +2534,9 @@ export function createDiagnosticsOtelService(): OpenClawPluginService {

24552534

case "session.long_running":

24562535

case "session.stalled":

24572536

return;

2537+

case "session.turn.created":

2538+

recordSessionTurnCreated(evt);

2539+

return;

24582540

case "session.stuck":

24592541

recordSessionStuck(evt);

24602542

return;