mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
16 lines
501 B
TypeScript
16 lines
501 B
TypeScript
import type { OpenClawPluginApi } from "openclaw/plugin-sdk";
|
|
import { emptyPluginConfigSchema } from "openclaw/plugin-sdk";
|
|
import { createDiagnosticsOtelService } from "./src/service.js";
|
|
|
|
const plugin = {
|
|
id: "diagnostics-otel",
|
|
name: "Diagnostics OpenTelemetry",
|
|
description: "Export diagnostics events to OpenTelemetry",
|
|
configSchema: emptyPluginConfigSchema(),
|
|
register(api: OpenClawPluginApi) {
|
|
api.registerService(createDiagnosticsOtelService());
|
|
},
|
|
};
|
|
|
|
export default plugin;
|