Files
openclaw/extensions/diagnostics-otel/index.ts
2026-07-06 13:01:32 -07:00

13 lines
453 B
TypeScript

// Diagnostics Otel plugin entrypoint registers its OpenClaw integration.
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
import { createDiagnosticsOtelService } from "./runtime-api.js";
export default definePluginEntry({
id: "diagnostics-otel",
name: "Diagnostics OpenTelemetry",
description: "Export diagnostics events to OpenTelemetry",
register(api) {
api.registerService(createDiagnosticsOtelService());
},
});