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
19 lines (18 loc) • 907 B
TypeScript
/**
* Recipe Catalog — Central Registry
*
* Maps recipe names to implementations. This is the lookup table the
* alloy_pipeline tool uses to match user intent to a pipeline template.
*
* The catalog is organized by signal type (metrics, logs, traces) and
* category (metrics, logs, traces, infrastructure).
*/
import type { PipelineRecipe } from "./types.js";
/** Get a recipe by name. Returns undefined if not found. */
export declare function getRecipe(name: string): PipelineRecipe | undefined;
/** List all recipes, optionally filtered by category. */
export declare function listRecipes(category?: "metrics" | "logs" | "traces" | "infrastructure" | "profiling"): PipelineRecipe[];
/** Get category counts for the recipes action response. */
export declare function categoryCounts(): Record<string, number>;
/** Total number of available recipes. */
export declare const RECIPE_COUNT: number;