Skip to content

Template Plugin Scaffold

The Template plugin is a scaffold for CE plugin development, not an operational runtime target. It collects starter examples for manifest, schema, dashboard, metric catalog, mapping packs, alert rules, and managed collection.

Highlights

  • Demonstrates a resource_manager plus managed_metric_collector baseline.
  • Includes host-rendered dashboard, monitoring route, metric route, and mapping-pack route skeletons.
  • Provides plugin-owned i18n, schema metadata, and conformance test structure.
  • Acts as a starting point for replacing identifiers, module path, manifest data, route payloads, and collector logic.

Before Use

  • Do not ship this scaffold as a runtime plugin.
  • After copying it, adjust PluginMap and implemented interfaces to match the real plugin.
  • Replace template sample metrics with real target-system collection logic.

Operations Tips

  • Prefer schemas and route contributions over plugin-specific Core or frontend branches.
  • Metric collection should produce samples; scheduling and remote write remain Core responsibilities.
  • Add README and manual source with each new plugin so operators can see the feature boundary immediately.