@openclaw/diagnostics-otel 2026.11.1 → 2026.11.3
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.
|
@@ -137,7 +137,8 @@ const CONTEXT_TOKENS_BUCKETS = [
|
|
|
137
137
|
2e6
|
|
138
138
|
];
|
|
139
139
|
const MAX_RETAINED_TRUSTED_SPAN_CONTEXTS = 1024;
|
|
140
|
-
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region extensions/diagnostics-otel/src/service-content-normalization.ts
|
|
141
142
|
const MAX_OTEL_CONTENT_ATTRIBUTE_CHARS = 131072;
|
|
142
143
|
const MAX_OTEL_ERROR_MESSAGE_CHARS = 4096;
|
|
143
144
|
const PRELOADED_OTEL_SDK_ENV = "OPENCLAW_OTEL_PRELOADED";
|
|
@@ -152,13 +153,24 @@ function normalizeOtelErrorMessage(value) {
|
|
|
152
153
|
function hasPreloadedOtelSdk() {
|
|
153
154
|
return process.env[PRELOADED_OTEL_SDK_ENV] === "1";
|
|
154
155
|
}
|
|
155
|
-
function
|
|
156
|
+
function createOtelContentRedactor() {
|
|
157
|
+
const redacted = /* @__PURE__ */ new Map();
|
|
158
|
+
return (value) => {
|
|
159
|
+
let result = redacted.get(value);
|
|
160
|
+
if (result === void 0) {
|
|
161
|
+
result = redactSensitiveText(value);
|
|
162
|
+
redacted.set(value, result);
|
|
163
|
+
}
|
|
164
|
+
return result;
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function normalizeOtelContentValue(value, redact) {
|
|
156
168
|
if (typeof value === "string") return normalizeOtelLogString(value, MAX_OTEL_CONTENT_ATTRIBUTE_CHARS);
|
|
157
169
|
if (Array.isArray(value)) {
|
|
158
170
|
const items = value.slice(0, 200).filter((item) => typeof item === "string");
|
|
159
171
|
if (items.length > 0) return normalizeOtelLogString(items.join("\n"), MAX_OTEL_CONTENT_ATTRIBUTE_CHARS);
|
|
160
172
|
}
|
|
161
|
-
return safeJsonString(value);
|
|
173
|
+
return safeJsonString(value, redact);
|
|
162
174
|
}
|
|
163
175
|
const TRUNCATED_JSON_TEXT_SUFFIX = "...(truncated)";
|
|
164
176
|
const JSON_TRUNCATION_STRING_BUDGETS = [
|
|
@@ -183,34 +195,38 @@ const JSON_TRUNCATION_ARRAY_ITEM_BUDGETS = [
|
|
|
183
195
|
];
|
|
184
196
|
const JSON_TRUNCATION_MAX_OBJECT_FIELDS = 64;
|
|
185
197
|
const JSON_TRUNCATION_MAX_DEPTH = 8;
|
|
186
|
-
|
|
198
|
+
const MAX_OTEL_REDACTED_JSON_CANDIDATE_CHARS = 4 * MAX_OTEL_CONTENT_ATTRIBUTE_CHARS;
|
|
199
|
+
function safeJsonString(value, redact = createOtelContentRedactor()) {
|
|
187
200
|
if (value === void 0 || typeof value === "function" || typeof value === "symbol") return;
|
|
188
|
-
const
|
|
189
|
-
|
|
201
|
+
const json = serializeJsonForOtelAttribute(value);
|
|
202
|
+
const exact = redactJsonWithinAttributeBudget(json);
|
|
203
|
+
if (exact) return exact;
|
|
190
204
|
for (const maxArrayItems of JSON_TRUNCATION_ARRAY_ITEM_BUDGETS) for (const maxStringChars of JSON_TRUNCATION_STRING_BUDGETS) {
|
|
191
|
-
const
|
|
192
|
-
if (
|
|
205
|
+
const truncated = redactJsonWithinAttributeBudget(serializeJsonForOtelAttribute(truncateJsonValueForOtelAttribute(value, maxArrayItems, maxStringChars, redact)));
|
|
206
|
+
if (truncated) return truncated;
|
|
193
207
|
}
|
|
194
|
-
|
|
208
|
+
return redactJsonWithinAttributeBudget(serializeJsonForOtelAttribute({
|
|
195
209
|
truncated: true,
|
|
196
|
-
reason:
|
|
210
|
+
reason: json ? "max_attribute_size" : "unserializable_value",
|
|
197
211
|
type: describeJsonValue(value)
|
|
198
|
-
});
|
|
199
|
-
return summary && summary.length <= MAX_OTEL_CONTENT_ATTRIBUTE_CHARS ? summary : void 0;
|
|
212
|
+
}));
|
|
200
213
|
}
|
|
201
|
-
function
|
|
214
|
+
function serializeJsonForOtelAttribute(value) {
|
|
202
215
|
try {
|
|
203
|
-
|
|
204
|
-
if (!json) return;
|
|
205
|
-
return redactSensitiveText(json);
|
|
216
|
+
return JSON.stringify(value) || void 0;
|
|
206
217
|
} catch {
|
|
207
218
|
return;
|
|
208
219
|
}
|
|
209
220
|
}
|
|
210
|
-
function
|
|
221
|
+
function redactJsonWithinAttributeBudget(json) {
|
|
222
|
+
if (!json || json.length > MAX_OTEL_REDACTED_JSON_CANDIDATE_CHARS) return;
|
|
223
|
+
const redacted = redactSensitiveText(json);
|
|
224
|
+
return redacted.length <= 131072 ? redacted : void 0;
|
|
225
|
+
}
|
|
226
|
+
function truncateJsonValueForOtelAttribute(input, maxArrayItems, maxStringChars, redact) {
|
|
211
227
|
const seen = /* @__PURE__ */ new WeakSet();
|
|
212
228
|
function visit(value, depth) {
|
|
213
|
-
if (typeof value === "string" || typeof value === "bigint") return truncateJsonTextForOtelAttribute(String(value), maxStringChars);
|
|
229
|
+
if (typeof value === "string" || typeof value === "bigint") return truncateJsonTextForOtelAttribute(redact(String(value)), maxStringChars);
|
|
214
230
|
if (typeof value === "number" || typeof value === "boolean" || value === null) return value;
|
|
215
231
|
if (typeof value !== "object") return;
|
|
216
232
|
if (depth <= 0) return {
|
|
@@ -248,8 +264,7 @@ function truncateJsonValueForOtelAttribute(input, maxArrayItems, maxStringChars)
|
|
|
248
264
|
}
|
|
249
265
|
return visit(input, JSON_TRUNCATION_MAX_DEPTH);
|
|
250
266
|
}
|
|
251
|
-
function truncateJsonTextForOtelAttribute(
|
|
252
|
-
const redacted = redactSensitiveText(value);
|
|
267
|
+
function truncateJsonTextForOtelAttribute(redacted, maxChars) {
|
|
253
268
|
if (redacted.length <= maxChars) return redacted;
|
|
254
269
|
const suffixBudget = Math.min(14, maxChars);
|
|
255
270
|
const prefixBudget = Math.max(0, maxChars - suffixBudget);
|
|
@@ -260,7 +275,8 @@ function describeJsonValue(value) {
|
|
|
260
275
|
if (value === null) return "null";
|
|
261
276
|
return typeof value;
|
|
262
277
|
}
|
|
263
|
-
|
|
278
|
+
//#endregion
|
|
279
|
+
//#region extensions/diagnostics-otel/src/service-exporter.ts
|
|
264
280
|
const SIGNAL_QUALIFIED_OTLP_PATH_PATTERN = /\/v1\/(traces|metrics|logs)$/iu;
|
|
265
281
|
function appendOrReplaceSignalPath(value, path) {
|
|
266
282
|
const base = value.replace(/\/+$/u, "");
|
|
@@ -376,7 +392,8 @@ function findOtlpExporterError(reason) {
|
|
|
376
392
|
...Array.isArray(current.errors) ? current.errors : []
|
|
377
393
|
])) if (readErrorName(candidate) === "OTLPExporterError" && candidate && typeof candidate === "object") return candidate;
|
|
378
394
|
}
|
|
379
|
-
|
|
395
|
+
//#endregion
|
|
396
|
+
//#region extensions/diagnostics-otel/src/service-events.ts
|
|
380
397
|
function createDiagnosticsEventHandler(params) {
|
|
381
398
|
const { logger, recorders, recordLogEvent } = params;
|
|
382
399
|
const handlers = {
|
|
@@ -441,7 +458,8 @@ function createDiagnosticsEventHandler(params) {
|
|
|
441
458
|
}
|
|
442
459
|
};
|
|
443
460
|
}
|
|
444
|
-
|
|
461
|
+
//#endregion
|
|
462
|
+
//#region extensions/diagnostics-otel/src/service-exporter-health.ts
|
|
445
463
|
function publicFailureKey(event) {
|
|
446
464
|
return `${event.reason ?? "unspecified"}\u0000${event.errorCategory ?? "unknown"}`;
|
|
447
465
|
}
|
|
@@ -569,7 +587,8 @@ function observeOtlpExporterHealth(exporter, params) {
|
|
|
569
587
|
};
|
|
570
588
|
return exporter;
|
|
571
589
|
}
|
|
572
|
-
|
|
590
|
+
//#endregion
|
|
591
|
+
//#region extensions/diagnostics-otel/src/service-attributes.ts
|
|
573
592
|
function assignOptionalNumberAttrs(attributes, prefix, values) {
|
|
574
593
|
for (const [key, value] of Object.entries(values)) if (value !== void 0) attributes[`${prefix}${key}`] = value;
|
|
575
594
|
}
|
|
@@ -685,7 +704,8 @@ function assignOtelSecurityAttributes(attributes, evt) {
|
|
|
685
704
|
}
|
|
686
705
|
assignOtelEventAttributes(attributes, evt.attributes, "openclaw.security.attribute.", normalizeDiagnosticValue);
|
|
687
706
|
}
|
|
688
|
-
|
|
707
|
+
//#endregion
|
|
708
|
+
//#region extensions/diagnostics-otel/src/service-trace-context.ts
|
|
689
709
|
function normalizeTraceContext(value) {
|
|
690
710
|
if (!value || typeof value !== "object" || Array.isArray(value)) return;
|
|
691
711
|
const candidate = value;
|
|
@@ -715,7 +735,8 @@ function contextForTraceContext(traceContext) {
|
|
|
715
735
|
function normalizedTrustedTraceContext(evt, metadata) {
|
|
716
736
|
return metadata.trusted || metadata.trustedTraceContext === true ? normalizeTraceContext(evt.trace) : void 0;
|
|
717
737
|
}
|
|
718
|
-
|
|
738
|
+
//#endregion
|
|
739
|
+
//#region extensions/diagnostics-otel/src/service-logs.ts
|
|
719
740
|
const LOG_SEVERITY_MAP = {
|
|
720
741
|
TRACE: 1,
|
|
721
742
|
DEBUG: 5,
|
|
@@ -826,7 +847,8 @@ function createDiagnosticsLogExporter(params) {
|
|
|
826
847
|
recordLogEvent
|
|
827
848
|
};
|
|
828
849
|
}
|
|
829
|
-
|
|
850
|
+
//#endregion
|
|
851
|
+
//#region extensions/diagnostics-otel/src/service-metrics.ts
|
|
830
852
|
const DEFAULT_METRIC_NAME_PREFIX = "openclaw.";
|
|
831
853
|
function createDiagnosticsMetrics(meter, metricNamePrefix = DEFAULT_METRIC_NAME_PREFIX) {
|
|
832
854
|
const createCounter = (name, description, unit = "1") => meter.createCounter(`${metricNamePrefix}${name}`, {
|
|
@@ -918,7 +940,8 @@ function createDiagnosticsMetrics(meter, metricNamePrefix = DEFAULT_METRIC_NAME_
|
|
|
918
940
|
telemetryExporterCounter: createCounter("telemetry.exporter.events", "Diagnostic telemetry exporter lifecycle and failure events")
|
|
919
941
|
};
|
|
920
942
|
}
|
|
921
|
-
|
|
943
|
+
//#endregion
|
|
944
|
+
//#region extensions/diagnostics-otel/src/service-propagation.ts
|
|
922
945
|
const DEFAULT_PROPAGATORS = ["tracecontext", "baggage"];
|
|
923
946
|
function createConfiguredPropagator(warn) {
|
|
924
947
|
const names = (getStringListFromEnv("OTEL_PROPAGATORS") ?? DEFAULT_PROPAGATORS).map((name) => name.toLowerCase());
|
|
@@ -952,7 +975,8 @@ function registerOwnedSdkRuntime(warn) {
|
|
|
952
975
|
if (ownsContext) context.disable();
|
|
953
976
|
};
|
|
954
977
|
}
|
|
955
|
-
|
|
978
|
+
//#endregion
|
|
979
|
+
//#region extensions/diagnostics-otel/src/service-genai-content.ts
|
|
956
980
|
function textPart(content) {
|
|
957
981
|
return {
|
|
958
982
|
type: "text",
|
|
@@ -1043,6 +1067,7 @@ function redactInternalReasoningParts(value) {
|
|
|
1043
1067
|
if (!isRecord(part)) return part;
|
|
1044
1068
|
const redacted = { ...part };
|
|
1045
1069
|
for (const field of INTERNAL_REASONING_PART_FIELDS) delete redacted[field];
|
|
1070
|
+
if (part.type === "image" && typeof redacted.data === "string" && redacted.data.length > 131072) delete redacted.data;
|
|
1046
1071
|
return redacted;
|
|
1047
1072
|
});
|
|
1048
1073
|
}
|
|
@@ -1111,12 +1136,12 @@ function normalizeGenAiToolDefinitions(value) {
|
|
|
1111
1136
|
}
|
|
1112
1137
|
return definitions;
|
|
1113
1138
|
}
|
|
1114
|
-
function assignJsonAttribute(attributes, key, value) {
|
|
1115
|
-
const json = safeJsonString(value);
|
|
1139
|
+
function assignJsonAttribute(attributes, key, value, redact) {
|
|
1140
|
+
const json = safeJsonString(value, redact);
|
|
1116
1141
|
if (json) attributes[key] = json;
|
|
1117
1142
|
}
|
|
1118
|
-
function assignOtelContentAttribute(attributes, key, value) {
|
|
1119
|
-
const normalized = normalizeOtelContentValue(value);
|
|
1143
|
+
function assignOtelContentAttribute(attributes, key, value, redact) {
|
|
1144
|
+
const normalized = normalizeOtelContentValue(value, redact);
|
|
1120
1145
|
if (normalized) attributes[key] = normalized;
|
|
1121
1146
|
}
|
|
1122
1147
|
function assignOtelToolIdentityAttributes(attributes, evt) {
|
|
@@ -1126,25 +1151,26 @@ function assignOtelToolIdentityAttributes(attributes, evt) {
|
|
|
1126
1151
|
}
|
|
1127
1152
|
function assignOtelModelContentAttributes(attributes, content, captureContent) {
|
|
1128
1153
|
if (!captureContent) return;
|
|
1154
|
+
const redact = createOtelContentRedactor();
|
|
1129
1155
|
const redactedInput = redactInternalReasoningFromMessages(content?.inputMessages);
|
|
1130
1156
|
const redactedOutput = redactInternalReasoningFromMessages(content?.outputMessages);
|
|
1131
1157
|
const inputMessages = normalizeGenAiMessages(redactedInput, "user");
|
|
1132
1158
|
if (inputMessages.length > 0) {
|
|
1133
|
-
assignJsonAttribute(attributes, ATTR_GEN_AI_INPUT_MESSAGES, inputMessages);
|
|
1134
|
-
|
|
1159
|
+
assignJsonAttribute(attributes, ATTR_GEN_AI_INPUT_MESSAGES, inputMessages, redact);
|
|
1160
|
+
if (attributes[ATTR_GEN_AI_INPUT_MESSAGES] !== void 0) attributes["input.value"] = attributes[ATTR_GEN_AI_INPUT_MESSAGES];
|
|
1135
1161
|
attributes["input.mime_type"] = "application/json";
|
|
1136
1162
|
}
|
|
1137
1163
|
const toolDefinitions = normalizeGenAiToolDefinitions(content?.toolDefinitions);
|
|
1138
|
-
if (toolDefinitions.length > 0) assignJsonAttribute(attributes, ATTR_GEN_AI_TOOL_DEFINITIONS, toolDefinitions);
|
|
1164
|
+
if (toolDefinitions.length > 0) assignJsonAttribute(attributes, ATTR_GEN_AI_TOOL_DEFINITIONS, toolDefinitions, redact);
|
|
1139
1165
|
const outputMessages = normalizeGenAiMessages(redactedOutput, "assistant");
|
|
1140
1166
|
if (outputMessages.length > 0) {
|
|
1141
|
-
assignJsonAttribute(attributes, ATTR_GEN_AI_OUTPUT_MESSAGES, outputMessages);
|
|
1142
|
-
|
|
1167
|
+
assignJsonAttribute(attributes, ATTR_GEN_AI_OUTPUT_MESSAGES, outputMessages, redact);
|
|
1168
|
+
if (attributes[ATTR_GEN_AI_OUTPUT_MESSAGES] !== void 0) attributes["output.value"] = attributes[ATTR_GEN_AI_OUTPUT_MESSAGES];
|
|
1143
1169
|
attributes["output.mime_type"] = "application/json";
|
|
1144
1170
|
}
|
|
1145
|
-
assignOtelContentAttribute(attributes, "openclaw.content.input_messages", redactedInput);
|
|
1146
|
-
assignOtelContentAttribute(attributes, "openclaw.content.tool_definitions", content?.toolDefinitions);
|
|
1147
|
-
assignOtelContentAttribute(attributes, "openclaw.content.output_messages", redactedOutput);
|
|
1171
|
+
assignOtelContentAttribute(attributes, "openclaw.content.input_messages", redactedInput, redact);
|
|
1172
|
+
assignOtelContentAttribute(attributes, "openclaw.content.tool_definitions", content?.toolDefinitions, redact);
|
|
1173
|
+
assignOtelContentAttribute(attributes, "openclaw.content.output_messages", redactedOutput, redact);
|
|
1148
1174
|
}
|
|
1149
1175
|
function assignOtelToolContentAttributes(attributes, content, captureContent) {
|
|
1150
1176
|
if (!captureContent) return;
|
|
@@ -1159,7 +1185,8 @@ function assignOtelToolContentAttributes(attributes, content, captureContent) {
|
|
|
1159
1185
|
attributes["openclaw.content.tool_output"] = toolOutput;
|
|
1160
1186
|
}
|
|
1161
1187
|
}
|
|
1162
|
-
|
|
1188
|
+
//#endregion
|
|
1189
|
+
//#region extensions/diagnostics-otel/src/service-recorders-harness.ts
|
|
1163
1190
|
function createHarnessRecorders(runtime) {
|
|
1164
1191
|
const harnessRunMetricAttrs = (evt) => ({
|
|
1165
1192
|
"openclaw.harness.id": normalizeDiagnosticValue(evt.harnessId, "unknown"),
|
|
@@ -1284,7 +1311,8 @@ function createHarnessRecorders(runtime) {
|
|
|
1284
1311
|
}
|
|
1285
1312
|
};
|
|
1286
1313
|
}
|
|
1287
|
-
|
|
1314
|
+
//#endregion
|
|
1315
|
+
//#region extensions/diagnostics-otel/src/service-genai-attributes.ts
|
|
1288
1316
|
function emitLatestGenAiSemconv() {
|
|
1289
1317
|
return process.env["OTEL_SEMCONV_STABILITY_OPT_IN"]?.split(",").map((part) => part.trim()).includes("gen_ai_latest_experimental") ?? false;
|
|
1290
1318
|
}
|
|
@@ -1366,7 +1394,8 @@ function addUpstreamRequestIdSpanEvent(span, upstreamRequestIdHash) {
|
|
|
1366
1394
|
if (boundedHash === "unknown") return;
|
|
1367
1395
|
span.addEvent?.("openclaw.provider.request", { "openclaw.upstreamRequestIdHash": boundedHash });
|
|
1368
1396
|
}
|
|
1369
|
-
|
|
1397
|
+
//#endregion
|
|
1398
|
+
//#region extensions/diagnostics-otel/src/service-recorders-model.ts
|
|
1370
1399
|
function createModelRecorders(runtime) {
|
|
1371
1400
|
return {
|
|
1372
1401
|
recordModelCallStarted(evt, metadata) {
|
|
@@ -1451,7 +1480,8 @@ function createModelRecorders(runtime) {
|
|
|
1451
1480
|
}
|
|
1452
1481
|
};
|
|
1453
1482
|
}
|
|
1454
|
-
|
|
1483
|
+
//#endregion
|
|
1484
|
+
//#region extensions/diagnostics-otel/src/service-recorders-operations.ts
|
|
1455
1485
|
function createOperationsRecorders(runtime) {
|
|
1456
1486
|
const sessionRecoveryAttrs = (evt) => {
|
|
1457
1487
|
const attrs = { "openclaw.state": evt.state };
|
|
@@ -1665,7 +1695,8 @@ function createOperationsRecorders(runtime) {
|
|
|
1665
1695
|
}
|
|
1666
1696
|
};
|
|
1667
1697
|
}
|
|
1668
|
-
|
|
1698
|
+
//#endregion
|
|
1699
|
+
//#region extensions/diagnostics-otel/src/service-recorders-tools.ts
|
|
1669
1700
|
function createToolAndSystemRecorders(runtime) {
|
|
1670
1701
|
const toolExecutionBaseAttrs = (evt) => ({
|
|
1671
1702
|
"openclaw.toolName": evt.toolName,
|
|
@@ -1871,7 +1902,8 @@ function createToolAndSystemRecorders(runtime) {
|
|
|
1871
1902
|
}
|
|
1872
1903
|
};
|
|
1873
1904
|
}
|
|
1874
|
-
|
|
1905
|
+
//#endregion
|
|
1906
|
+
//#region extensions/diagnostics-otel/src/service-recorders-usage.ts
|
|
1875
1907
|
function createUsageRecorders(runtime) {
|
|
1876
1908
|
const messageDeliveryAttrs = (evt) => ({
|
|
1877
1909
|
"openclaw.channel": normalizeDiagnosticValue(evt.channel),
|
|
@@ -2087,7 +2119,8 @@ function createUsageRecorders(runtime) {
|
|
|
2087
2119
|
}
|
|
2088
2120
|
};
|
|
2089
2121
|
}
|
|
2090
|
-
|
|
2122
|
+
//#endregion
|
|
2123
|
+
//#region extensions/diagnostics-otel/src/service-traces.ts
|
|
2091
2124
|
function createDiagnosticsTraceRuntime(tracer) {
|
|
2092
2125
|
const activeTrustedSpans = /* @__PURE__ */ new Map();
|
|
2093
2126
|
const activeTrustedSpanAliases = /* @__PURE__ */ new Map();
|
|
@@ -2248,7 +2281,8 @@ function createDiagnosticsTraceRuntime(tracer) {
|
|
|
2248
2281
|
stopActiveTrustedSpans
|
|
2249
2282
|
};
|
|
2250
2283
|
}
|
|
2251
|
-
|
|
2284
|
+
//#endregion
|
|
2285
|
+
//#region extensions/diagnostics-otel/src/service.ts
|
|
2252
2286
|
const OTLP_HTTP_PROTOBUF_PROTOCOL = "http/protobuf";
|
|
2253
2287
|
const RESOURCE_DETECTORS = [
|
|
2254
2288
|
["host", resources.hostDetector],
|
|
@@ -2619,4 +2653,5 @@ function createDiagnosticsOtelService() {
|
|
|
2619
2653
|
}
|
|
2620
2654
|
};
|
|
2621
2655
|
}
|
|
2656
|
+
//#endregion
|
|
2622
2657
|
export { createDiagnosticsOtelService as t };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createDiagnosticsOtelService } from "./.setup/runtime-api-
|
|
1
|
+
import { t as createDiagnosticsOtelService } from "./.setup/runtime-api-DmS74mVU.mjs";
|
|
2
2
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
3
|
-
|
|
3
|
+
//#region extensions/diagnostics-otel/index.ts
|
|
4
4
|
var diagnostics_otel_default = definePluginEntry({
|
|
5
5
|
id: "diagnostics-otel",
|
|
6
6
|
name: "Diagnostics OpenTelemetry",
|
|
@@ -9,4 +9,5 @@ var diagnostics_otel_default = definePluginEntry({
|
|
|
9
9
|
api.registerService(createDiagnosticsOtelService());
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
+
//#endregion
|
|
12
13
|
export { diagnostics_otel_default as default };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { t as createDiagnosticsOtelService } from "./.setup/runtime-api-DmS74mVU.mjs";
|
|
2
|
+
export { createDiagnosticsOtelService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/diagnostics-otel",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.3",
|
|
4
4
|
"description": "OpenClaw diagnostics OpenTelemetry exporter for metrics, traces, and logs.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"minHostVersion": ">=2026.4.25"
|
|
35
35
|
},
|
|
36
36
|
"compat": {
|
|
37
|
-
"pluginApi": ">=2026.11.
|
|
37
|
+
"pluginApi": ">=2026.11.3"
|
|
38
38
|
},
|
|
39
39
|
"build": {
|
|
40
|
-
"openclawVersion": "2026.11.
|
|
40
|
+
"openclawVersion": "2026.11.3"
|
|
41
41
|
},
|
|
42
42
|
"release": {
|
|
43
43
|
"publishToClawHub": true,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"assets/activity.svg"
|
|
56
56
|
],
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"openclaw": ">=2026.11.
|
|
58
|
+
"openclaw": ">=2026.11.3"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
61
61
|
"openclaw": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/diagnostics-otel/api.ts"},{"output":"index.js","source":"extensions/diagnostics-otel/index.ts"},{"output":"runtime-api.js","source":"extensions/diagnostics-otel/runtime-api.ts"}],"chunks":[{"output":".setup/runtime-api-zPM7JZH2.mjs","sha256":"bfa13e9e2ce2c68a5016bf686901a36e5c6717738bf11e470e51301fea413f27","facadeSource":null,"sources":["extensions/diagnostics-otel/src/service-attributes.ts","extensions/diagnostics-otel/src/service-constants.ts","extensions/diagnostics-otel/src/service-content-normalization.ts","extensions/diagnostics-otel/src/service-events.ts","extensions/diagnostics-otel/src/service-exporter-health.ts","extensions/diagnostics-otel/src/service-exporter.ts","extensions/diagnostics-otel/src/service-genai-attributes.ts","extensions/diagnostics-otel/src/service-genai-content.ts","extensions/diagnostics-otel/src/service-logs.ts","extensions/diagnostics-otel/src/service-metrics.ts","extensions/diagnostics-otel/src/service-propagation.ts","extensions/diagnostics-otel/src/service-recorders-harness.ts","extensions/diagnostics-otel/src/service-recorders-model.ts","extensions/diagnostics-otel/src/service-recorders-operations.ts","extensions/diagnostics-otel/src/service-recorders-tools.ts","extensions/diagnostics-otel/src/service-recorders-usage.ts","extensions/diagnostics-otel/src/service-trace-context.ts","extensions/diagnostics-otel/src/service-traces.ts","extensions/diagnostics-otel/src/service.ts"]},{"output":"api.js","sha256":"605d6cf4480221a3ccac6ae6f372770ddff3ca620ff9688c2e669643ee4525c4","facadeSource":"extensions/diagnostics-otel/api.ts","sources":[]},{"output":"index.js","sha256":"32125ccfb546f0d65c6e64bea8a30e425381538522fd9c04ac049ca6a4a94fca","facadeSource":"extensions/diagnostics-otel/index.ts","sources":["extensions/diagnostics-otel/index.ts"]},{"output":"runtime-api.js","sha256":"4f8f771ec9c12796024e6f8cbb4754b9f01cb2740477e4aff1c0c7328282e576","facadeSource":"extensions/diagnostics-otel/runtime-api.ts","sources":[]}],"unrenderedSources":["extensions/diagnostics-otel/api.ts","extensions/diagnostics-otel/runtime-api.ts"]}
|