Skip to content
Back to skills

Grafana Knowledge Patch

ASecurity

Grafana

  • 25 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added September 5, 2026
developmentbashsqlreactnodeexpresskubernetesawsazureterraformgit

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill grafana-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grafana Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Grafana Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-grafana-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-grafana-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grafana-knowledge-patch
description: Grafana
version: "13.3.2"
license: MIT
metadata:
  author: Nevaberry
---


# Grafana compatibility guidance

Load this skill when upgrading Grafana, adapting integrations, configuring
alerting or Git Sync, or developing dashboards and plugins. Use the topic
references for complete guidance and the release-specific conditions.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrading and breaking changes](references/upgrading-and-breaking-changes.md) | Upgrade recovery, database migration, API and CLI changes, feature toggles, container images, security fixes |
| [Authentication and access](references/authentication-and-access.md) | Service accounts, login protection, OAuth, SAML, JWT, RBAC, SCIM, Enterprise audit logging |
| [Alerting](references/alerting.md) | Evaluation, rule APIs, recording rules, imports, contact points, templates, routing, Alertmanager, enrichment |
| [Dashboards and provisioning](references/dashboards-and-provisioning.md) | Dashboard APIs, variables, panels, transformations, Git Sync, folder metadata, migration, Enterprise reporting |
| [Data sources and observability](references/data-sources-and-observability.md) | Query configuration, metrics, logs, traces, profiles, SQL Expressions, Explore, Drilldown |
| [Plugins, frontend APIs, and runtime](references/plugins-frontend-and-runtime.md) | Plugin installation, manifests, extensions, UI components, build toolchains, runtime configuration, Unified Storage |

## Upgrade recovery and database migration

Upgrading self-managed 12.x instances with the Git Sync flags `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 you already upgraded to 13.0.0 and used a mix of local and Git-synced content,
or are 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 Git.

The first 13.0 startup migrates dashboards and folders to Unified Storage and
records completion in `unifiedstorage_migration_log`. 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.

If SQLite lock errors persist after the temporary Parquet-buffer retry,
increase `[unified_storage] migration_cache_size_kb` above its default `1000000`
or set `migration_parquet_buffer = true` in the same section.

The annotation migration from 11.x to 12.x rewrites the table and rebuilds its
indexes. Back up the database and reserve free space on the database volume of
at least two to three times the current table and index size. The upgrade
reference includes sizing queries and post-upgrade maintenance commands that
acquire locks and need a planned maintenance window.

## Removed commands, authentication, and API routes

For Grafana 13, replace `grafana-cli` with `grafana cli` and `grafana-server`
with `grafana server` in scripts, service units, and container entrypoints.
The legacy `/api` layer is deprecated in favor of versioned Kubernetes-style
`/apis` endpoints; general removal is planned for a future major release.

Numeric-ID data source endpoints are disabled by default in Grafana 13.
Switch integrations to UID-based endpoints, or temporarily enable
`datasourceLegacyIdApi`. The dashboard and folder APIs graduate to `v1`, and
the dashboard API adds `v2` with updated transformation and preference schemas.

API key authentication and endpoints were removed in 12.1.0. Use service
account tokens for API clients. Passwordless sign-in through emailed magic
links was removed in 13.0.0.

From 12.0, REST and provisioning reject data source creates and updates with
invalid UIDs. Use 1–40 ASCII letters, digits, or hyphens for new UIDs. Check `/api/datasources` or
`Invalid datasource uid` in server logs. The data source reference preserves
the supplied audit command, whose validation pattern also accepts underscores.
Create replacements for affected data sources and update dashboard and alert
rule references. From 12.2.10, `PUT /api/datasources/uid/:uid` returns HTTP 400
when the payload UID differs from the URL UID.

## Plugin, renderer, and configuration migrations

Before upgrading to Grafana 13 and React 19, bring your current Grafana release
line up to date, then update and test all installed plugins.

The Image Renderer plugin was removed in Grafana 13. Deploy the renderer as a
separate service before upgrading if you use it for screenshots or scheduled reports.
`renderAuthJWT` is enabled by default. Set `[rendering] renderer_token` to a
nonempty value other than `-`, configure the service with the same token, and
restart Grafana. The upgrade reference includes the opaque-token fallback.

The `[feature_toggles] enable` list and `GF_FEATURE_TOGGLES_ENABLE` are
deprecated in 13.0.0. Set toggles individually in configuration or through
their own environment variables. For example:

```ini
[feature_toggles]
alertingUIUseBackendFilters = false
```

In 13.3.0, move `[marketplace]` settings to `[plugins_marketplace]` in
`config.ini`. The Alpine image drops Bash; install Bash in derived images
that run scripts requiring it. The `grafana/grafana-oss` image repository is
deprecated; use `grafana/grafana` for the open-source image.

Every `plugin.json` entry under `routes` must specify `path` from 12.4.0;
every entry under `includes` must specify `type` from 13.0.0. Backend plugins
stop inheriting host environment variables by default in 12.4.0. The plugin
reference records the later AWS credential-chain and SSL certificate exceptions.

The core Prometheus data source removes Azure authentication and AWS SigV4
support in 13.1.0. Check existing configurations before upgrading. Elasticsearch
was removed from core data sources in 13.0.0; Zipkin is no longer bundled as a
core data source plugin in 13.1.0.

## Access control and alerting compatibility

Enterprise data source queries require the **Query** permission from 11.6.0;
grant it explicitly to users or roles that need it. Drilldown access requires
`datasources:explore`. The Enterprise plugin role seeder no longer grants app
access through basic roles. Grant app access explicitly where users need it.

Deprecated custom-role permissions can block role creation, updates, deletion,
or assignment in Grafana 13. The access reference gives the exact replacements
for global roles with data source UID scopes and deprecated annotation scopes.
In 13.3.0, global role creation is rejected in single-organization mode; scope
new roles to the organization.

The alert rule pending period also applies to No Data and Error alerts from
12.4.0. The default notification configuration starts with an empty receiver:
add an integration to a contact point and route alerts to it to enable delivery.

The legacy alert rule provisioning endpoints are deprecated in 13.0.0, and
legacy notification provisioning endpoints are deprecated in 13.1.0. The
notification API migration was reverted in 13.1.0 and controlled by a toggle;
13.2.0 migrates the notifications API to `v1beta1`. In 13.3.0, `AlertRule`,
`RecordingRule`, and `RuleSequence` resources are promoted to `v1beta1`.

The alerting reference contains the removed Alertmanager routes, routes that
now require Admin access, replacement resource suffixes, and the dedicated
`alert.notifications.system-status:read` permission for status requests.
OpsGenie contact points are deprecated.

## Alert evaluation, routing, and imports

Use `keep_firing_for` to delay resolution after the firing condition clears;
the instance enters **Recovering** and stays active during that period.
`missing_series_evals_to_resolve` controls consecutive missing evaluations
before resolution; the alerting APIs expose `MissingSeriesEvalsToResolve`.
File provisioning supports the following on a rule under `groups[].rules`:

```yaml
keepFiringFor: 5m
missing_series_evals_to_resolve: 3
```

Choose a write destination separately for each recording rule. Writes strip
private labels and include headers configured on the destination data source.
Provisioning accepts recording rules without an alert condition.

Webhook contact points support HMAC signing, payload templates, and OAuth2.
Regenerate affected HCL exports before applying them with Terraform to use
the corrected HMAC and TLS field names.

In 13.3.0, the Grafana-managed Alerting import wizard stages imports
automatically, accepts Mimir `alertmanager_config` files, and locks the data
source picker while an import is staged. External Alertmanager auto-sync uses
the Config API and retires `admin_config`; selecting auto-sync leaves the
Rules step available, and Alerting settings show sync health.

## Dashboards and Git Sync

Auto grid is the default for new dashboards in 13.3.0. Dashboards support four
levels of nesting, including tabs within tabs. Variables can be scoped to a
dashboard section; `$__namespace` exposes the dashboard's namespace.

Scripted dashboards are deprecated and disabled by default from 13.2.0;
instances still using them need to opt in. Datagrid was removed in 13.0.0.
The dashboard DTO drops `isStarred` in 13.1.0; obtain star status separately.

Git Sync repository identity combines URL, branch, and path. Supply a new
token when changing a repository URL. Git Sync configuration uses inline
secrets. Configure GPG, SSH, or S/MIME commit signing through the provisioning UI.

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.

Use the Resources tab to filter out-of-sync resources, or force a full pull to
reconcile the entire repository. Git Sync conventions are enabled by default
in public preview. The GitOps migration wizard lets you choose a target branch
and migrate playlists. It exports v0 dashboards as v1 and skips SLO-managed dashboards.

## Querying and plugin development

Loki scoped label enumeration defaults to `/labels` with a `query` parameter
instead of `/series`. Elasticsearch field discovery uses `_field_caps` instead
of `_mapping`. Include the field capabilities endpoint when configuring access.
Jaeger uses its gRPC endpoint; ensure the server can reach it behind a proxy or firewall.

All transformations support dashboard variables in their settings. SQL
Expressions interpolate dashboard variables in schema queries; in 13.3.0 they
read enum fields as text and rename label columns that collide with generated
columns. Server-side expression pipelines can return partial results when an
individual node fails.

Use public clients from `@grafana/api-clients` in plugins and integrations;
the legacy clients are internal. Asynchronous data source APIs and hooks are
available as replacements for `datasourceSrv`. The asynchronous data source
APIs and plugin settings APIs are stable in 13.3.0.

`@grafana/ui` deprecates `Select` in favor of `Combobox`. `Slider` requires
`inputId`; a `ToolbarButton` without children requires `tooltip` or `aria-label`.
`Gauge` and the legacy Graph implementation have been removed from the package,
and `SeriesIcon` drops `noMargin` and omits the margin by default.

Files in this skill

  • SKILL.md11.3 KB
  • coverage.json1.5 KB
  • references/alerting.md9 KB
  • references/authentication-and-access.md6.7 KB
  • references/dashboards-and-provisioning.md9.3 KB
  • references/data-sources-and-observability.md10.3 KB
  • references/plugins-frontend-and-runtime.md6.5 KB
  • references/upgrading-and-breaking-changes.md9.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.