Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Grafana Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-grafana-knowledge-patch-nevaberry-plugins)
---
name: grafana-knowledge-patch
description: Grafana
version: "13.3.2"
license: MIT
metadata:
author: Nevaberry
---
# Grafana Knowledge Patch
Load this skill when upgrading Grafana, configuring authentication or alerting,
working with dashboards and data sources, developing plugins, or managing Git Sync.
Read the relevant topic reference for complete guidance and version-specific behavior.
## Reference index
| Reference | Topics |
| --- | --- |
| [Alerting](references/alerting.md) | Evaluation, recording rules, imports, contact points, routing, APIs, history, enrichment |
| [Dashboards and visualizations](references/dashboards-and-visualizations.md) | Dashboard models, variables, time controls, panels, transformations, reporting |
| [Data sources and observability](references/data-sources-and-observability.md) | Query behavior, provider integrations, logs, traces, profiles, metrics |
| [Identity, access, and Enterprise](references/identity-access-and-enterprise.md) | Authentication, RBAC, SCIM, Cloud Migration, audit logging, caching |
| [Plugins and frontend](references/plugins-and-frontend.md) | Installation, manifests, backend execution, extension APIs, UI components |
| [Provisioning, storage, and APIs](references/provisioning-storage-and-apis.md) | Git Sync, folders, Unified Storage, resource identifiers, HTTP APIs |
| [Upgrades and runtime](references/upgrades-and-runtime.md) | Upgrade recovery, database maintenance, rendering, containers, settings, security fixes |
## Upgrade and deprecation checks
### Git Sync upgrades and storage rollback
Upgrading self-managed 12.x instances with `provisioning`,
`kubernetesClientDashboardsFolders`, `kubernetesDashboards`, and
`grafanaAPIServerEnsureKubectlAccess` enabled to 13.0.0 can delete or revert dashboards
and folders. Use 13.0.1 because 13.0.0 was withdrawn.
If already upgraded to 13.0.0 with mixed local and Git-synced content, or unsure,
restore the pre-upgrade database backup before upgrading to 13.0.1.
For full-instance Git Sync, upgrade to 13.0.1 and resync from the Git repository.
The first 13.0 startup migrates dashboards and folders to Unified Storage.
For rollback, restore the pre-upgrade database backup: older servers read stale
legacy tables, and a later re-upgrade skips dashboard and folder changes made during
the downgrade. See the storage reference for SQLite lock recovery settings.
Upgrading from 11.x to 12.x rewrites the annotation table and rebuilds its indexes.
Back up the database and reserve free space of at least two to three times the current
table and index size. The runtime reference contains sizing and maintenance commands.
### Plugins, rendering, and runtime
Before upgrading to 13 and React 19, bring the current Grafana release line up to date,
then update and test all installed plugins before upgrading Grafana.
The Image Renderer plugin has been removed; deploy the renderer as a separate service before
upgrading if screenshots or scheduled reports use it.
`renderAuthJWT` is enabled by default. Set `[rendering] renderer_token` to a nonempty
value other than `-`, configure the renderer service with the same token, and restart
Grafana. The runtime reference includes the opaque-token authentication setting.
Replace `grafana-cli` with `grafana cli` and `grafana-server` with `grafana server`.
Use `grafana/grafana` instead of the deprecated `grafana/grafana-oss` image repository.
The 13.3.0 Alpine image drops Bash; install Bash in derived images whose scripts need it.
### HTTP APIs and identifiers
The legacy `/api` layer is deprecated in favor of versioned Kubernetes-style `/apis`
endpoints, with general removal planned for a future major release.
Numeric-ID data source endpoints are disabled by default; switch to UID-based
endpoints or temporarily enable `datasourceLegacyIdApi`.
API key endpoints and authentication have been removed; use service account tokens.
Data source creates and updates reject invalid UIDs with `failWrongDSUID` enabled.
The API reference preserves the UID rules, the audit command's underscore handling,
and the replacement steps for affected data sources.
`PUT /api/datasources/uid/:uid` returns HTTP 400 when the payload UID differs from the URL UID.
The dashboard DTO no longer includes `isStarred`; obtain star status separately.
Use `folderFilterUIDs` for the Library Elements folder filter; `folderFilter` is deprecated.
Legacy alert rule and notification provisioning endpoints are deprecated.
### Permissions and authentication
Enterprise data source queries require the **Query** permission; grant it explicitly.
Grant `datasources:explore` to roles needing Drilldown access.
Publishing to Live is subject to RBAC checks; review service accounts used to push streams.
Plugin app access must be granted explicitly after the plugin role seeder change.
Deprecated permissions can block custom role creation, updates, deletion, or assignment.
For a global Terraform `grafana_role` with a `datasources:uid:<uid>` scope, recreate it
as a non-global role with a new UID. Set `datasource_type` on data source permission
resources where possible. See the identity reference for annotation permission changes.
In 13.3.0, single-organization mode rejects creation of global roles; scope new roles
to the organization.
### Plugin manifests, APIs, and configuration
Every `plugin.json` entry under `routes` must specify `path`; every entry under
`includes` must specify `type`.
Backend plugin processes stop inheriting host environment variables by default.
See the plugin reference for version-specific AWS credential-chain and SSL certificate settings.
Use public clients from `@grafana/api-clients`; its legacy clients are internal.
Asynchronous data source APIs and hooks are available as replacements for `datasourceSrv`.
The asynchronous data source APIs are stable in 13.3.0.
`DataSourceInstanceListItem` no longer has the deprecated `isDefault` property.
`Select` is deprecated in favor of `Combobox`; `Slider` requires `inputId`.
The `[feature_toggles] enable` list and `GF_FEATURE_TOGGLES_ENABLE` are deprecated.
Set each toggle directly in configuration or through its own environment variable.
In 13.3.0, move `[marketplace]` settings to `[plugins_marketplace]` in `config.ini`.
The runtime reference records removed toggles and configuration settings.
### Data source and dashboard removals
The core Prometheus data source no longer supports Azure authentication or AWS SigV4.
Check existing configurations for either mode before upgrading.
Elasticsearch has been removed from the core data sources, and Zipkin is no longer
bundled as a core plugin. Review deployments relying on bundled Zipkin before upgrading.
Scripted dashboards are deprecated and disabled by default in 13.2.0; instances
that still use them need to opt in. The deprecated Datagrid panel has been removed.
The OpsGenie alerting integration is deprecated.
## Alert rules and notification delivery
Set `keep_firing_for` to delay resolution after the firing condition clears;
the instance enters **Recovering** and stays active during that period.
Set `missing_series_evals_to_resolve` for consecutive missing evaluations before resolution.
File provisioning uses `keepFiringFor` and `missing_series_evals_to_resolve` on rules
under `groups[].rules`. Rules in an evaluation group run sequentially.
The rule's pending period also applies to No Data and Error alerts.
Choose recording-rule write destinations separately; writes strip private labels
and include headers configured on the destination data source.
The default notification configuration starts with an empty receiver.
Add an integration to a contact point and route alerts to it to enable delivery.
Webhook contact points support HMAC signing, payload templates, and OAuth2.
Webhook contact point exports use corrected HCL field names for HMAC and TLS settings.
Regenerate affected exports before applying them with Terraform.
The notifications API migration was reverted in 13.1.0; it migrated to `v1beta1`
in 13.2.0. The Alerting reference preserves the configuration routes and permissions.
In 13.3.0, imports stage automatically, accept Mimir `alertmanager_config` files,
and lock the data source picker while staged. External Alertmanager auto-sync uses
the Config API and retires the legacy `admin_config` path.
Saving alert rules to Git-synced folders is blocked; choose a regular folder in the UI.
Apply changes to plugin-provided and provisioned rule groups through their managing source.
Use rule UIDs to distinguish rules that share a title.
## Data sources and query behavior
Loki scoped label enumeration defaults to `/labels` with a `query` parameter.
Elasticsearch field discovery uses `_field_caps` instead of `_mapping`.
Ensure the endpoints in front of those data sources support these requests.
Zipkin queries execute in the backend; the server needs access to its endpoint.
Jaeger uses gRPC for API calls; ensure the server can reach that endpoint.
CloudWatch annotation queries require dimensions. **Match Exact** defaults to off;
enable it for queries requiring an exact metric dimension match.
CloudWatch Logs OpenSearch SQL queries can reference selected log groups with `$__logGroups`.
Prometheus skips incremental querying if any query in the request uses `$__range`.
SQL Expressions support `NOT` filters and interpolate dashboard variables in schema queries.
Server-side expression pipelines can return partial results when an individual node fails.
For PostgreSQL password files, leave the data source password unset and set `PGPASSFILE`
in the server process environment.
Tempo supports instant and streaming TraceQL metrics queries and native service graph histograms.
Its streaming requests omit incoming headers and team headers.
Pyroscope supports heatmap queries and series exemplars.
Open the Drilldown apps from **Drilldown** in the main navigation.
## Dashboards, transformations, and reporting
Auto grid is the default layout for new dashboards in 13.3.0.
Dashboards support four levels of nesting, including tabs within tabs.
Section-scoped variables let sections use independent values; **Switch** variables
provide a two-state control. `$__namespace` exposes the dashboard's namespace.
All transformations support dashboard variables in their settings.
Extract fields supports `Delimiter` and `RegExp`; Grouping to matrix can fill gaps with `0`.
Convert field type preserves nulls and empty strings during string-to-number conversion.
**Merge series/tables** remains available for a single returned series.
Dashboard Logs panels save displayed fields in panel options. Select the log line body
as a field to include it in CSV exports. A missing log level is `unspecified`, separate
from `unknown`. Log downloads can be enabled on dashboards.
Enterprise Reporting supports Schema V2 dashboards and dashboard template variables
without a variable type allowlist. Streaming CSV reports wait for results to finish.
Recipient controls include a domain allowlist and an option to restrict scheduled
report recipients to organization members.
## Git Sync and storage operations
Repository uniqueness uses URL, branch, and path; distinct paths can share URL and branch.
Supply a new token when changing a provisioning repository URL.
Git Sync repository definitions use inline secrets; supply credentials inline on updates.
Configure GPG, SSH, or S/MIME commit signing through the provisioning UI.
Use the Resources tab to filter out-of-sync resources and force a full pull to reconcile
the entire repository. Git Sync conventions are enabled by default in public preview.
Provisioning sync supports a timeout for each individual resource write.
Webhooks can be disabled at repository or connection level; their connector no longer accepts `GET`.
In 13.3.0, folder metadata is always interpreted during listing and sync and protected
from direct file writes. Removing `_folder.json` preserves the folder when its resulting
UID is the same. Provisioned folder permissions can be updated.
Unified Storage garbage collection defaults to dry run off; enable dry run explicitly
to preview deletions. Automatic cleanup of deleted resources is enabled by default in 13.3.0.
The provisioning reference contains version-specific fixes for previews, repository URLs,
folder identity, reconciliation, and namespace-mismatch responses.