reconciler-logic

Installation
SKILL.md

Reconciler Logic

Reconcilers provide the asynchronous business logic layer of a grafana-app-sdk app. When a resource is created, updated, or deleted, the SDK enqueues a reconcile event. The reconciler's job is to observe the current state of the resource and take whatever actions are needed to drive the system toward the desired state.

Reconcilers run asynchronously after a resource has been persisted — they are distinct from admission handlers, which run synchronously on ingress.

Getting Stubs

For standalone apps, generate reconciler stubs with:

grafana-app-sdk project component add operator

TypedReconciler — Preferred Pattern

The preferred implementation uses operator.TypedReconciler, which handles type assertion and provides a strongly-typed ReconcileFunc:

Related skills
Installs
171
Repository
grafana/skills
GitHub Stars
38
First Seen
Apr 15, 2026