openclaw-grafana-lens
Version:
OpenClaw plugin that gives AI agents full Grafana access — 18 composable tools for PromQL/LogQL/TraceQL queries, dashboard creation, alerting, SRE investigation, security monitoring, data collection pipeline management via Grafana Alloy (29 recipes), and
14 lines (13 loc) • 499 B
TypeScript
/**
* Shared OTel Resource construction for all signal providers.
*
* Centralizes the Resource identity (service.name, service.namespace,
* service.version, service.instance.id) so that adding a new attribute
* requires touching one file instead of three.
*/
import { Resource } from "@opentelemetry/resources";
export type OtelResourceConfig = {
serviceVersion?: string;
serviceInstanceId?: string;
};
export declare function createOtelResource(config: OtelResourceConfig): Resource;