Menu
Choose a product
Viewing: v12.3
Find another version
Scroll for more
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Documentation
Grafana documentation
As code
Observability as code
JSON schema v2
LibraryPanelKind schema
Grafana Cloud
Enterprise
Open source
LibraryPanelKind
A library panel is a reusable panel that you can use in any dashboard. When you make a change to a library panel, that change propagates to all instances of where the panel is used. Library panels streamline reuse of panels across multiple dashboards.
Following is the default library panel element JSON:
JSON
"kind": "LibraryPanel",
"spec": {
"id": 0,
"libraryPanel": {
name: "",
uid: "",
}
"title": ""
}The LibraryPanelKind consists of:
- kind: “LibraryPanel”
- spec: LibraryPanelKindSpec
- libraryPanel: LibraryPanelRef
LibraryPanelKindSpec
The following table explains the usage of the library panel element JSON fields:
| Name | Usage |
|---|---|
| id | Panel ID for the library panel in the dashboard. |
| libraryPanel | LibraryPanelRef |
| title | Title for the library panel in the dashboard. |
LibraryPanelRef
The following table explains the usage of the library panel reference JSON fields:
| Name | Usage |
|---|---|
| name | Library panel name |
| uid | Library panel uid |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.