@openclaw/diagnostics-prometheus 2026.5.3 → 2026.5.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -327,13 +327,13 @@ function recordDiagnosticEvent(store, evt, metadata) {
|
|
|
327
327
|
case "message.delivery.error":
|
|
328
328
|
store.counter("openclaw_message_delivery_total", "Outbound message delivery attempts by outcome.", {
|
|
329
329
|
channel: lowCardinalityLabel(evt.channel),
|
|
330
|
-
delivery_kind: evt.deliveryKind,
|
|
330
|
+
delivery_kind: lowCardinalityLabel(evt.deliveryKind, "other"),
|
|
331
331
|
error_category: evt.type === "message.delivery.error" ? lowCardinalityLabel(evt.errorCategory, "other") : "none",
|
|
332
332
|
outcome: evt.type === "message.delivery.error" ? "error" : "completed"
|
|
333
333
|
});
|
|
334
334
|
store.histogram("openclaw_message_delivery_duration_seconds", "Outbound message delivery duration in seconds.", {
|
|
335
335
|
channel: lowCardinalityLabel(evt.channel),
|
|
336
|
-
delivery_kind: evt.deliveryKind,
|
|
336
|
+
delivery_kind: lowCardinalityLabel(evt.deliveryKind, "other"),
|
|
337
337
|
error_category: evt.type === "message.delivery.error" ? lowCardinalityLabel(evt.errorCategory, "other") : "none",
|
|
338
338
|
outcome: evt.type === "message.delivery.error" ? "error" : "completed"
|
|
339
339
|
}, seconds(evt.durationMs));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/diagnostics-prometheus",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.4-beta.1",
|
|
4
4
|
"description": "OpenClaw diagnostics Prometheus exporter",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"minHostVersion": ">=2026.4.25"
|
|
22
22
|
},
|
|
23
23
|
"compat": {
|
|
24
|
-
"pluginApi": ">=2026.5.
|
|
24
|
+
"pluginApi": ">=2026.5.4-beta.1"
|
|
25
25
|
},
|
|
26
26
|
"build": {
|
|
27
|
-
"openclawVersion": "2026.5.
|
|
27
|
+
"openclawVersion": "2026.5.4-beta.1"
|
|
28
28
|
},
|
|
29
29
|
"release": {
|
|
30
30
|
"publishToClawHub": true,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"openclaw.plugin.json"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.5.
|
|
42
|
+
"openclaw": ">=2026.5.4-beta.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependenciesMeta": {
|
|
45
45
|
"openclaw": {
|