mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-15 11:36:06 +00:00
13 lines
453 B
TypeScript
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());
|
|
},
|
|
});
|