Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana/v12.4/as-code/observability-as-code/schema-v2/links-schema.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/v12.4/as-code/observability-as-code/schema-v2/links-schema/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
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.
links
The links schema is the configuration for links with references to other dashboards or external websites.
Following are the default JSON fields:
"links": [
{
"asDropdown": false,
"icon": "",
"includeVars": false,
"keepTime": false,
"tags": [],
"targetBlank": false,
"title": "",
"tooltip": "",
"type": "link",
},
],DashboardLink
The following table explains the usage of the dashboard link JSON fields. The table includes default and other fields:
| Name | Usage |
|---|---|
| title | string. Title to display with the link. |
| type | DashboardLinkType. Link type. Accepted values are:
|
| icon | string. Icon name to be displayed with the link. |
| tooltip | string. Tooltip to display when the user hovers their mouse over it. |
| url? | string. Link URL. Only required/valid if the type is link. |
| tags | string. List of tags to limit the linked dashboards. If empty, all dashboards will be displayed. Only valid if the type is dashboards. |
| asDropdown | bool. If true, all dashboards links will be displayed in a dropdown. If false, all dashboards links will be displayed side by side. Only valid if the type is dashboards. Default is false. |
| targetBlank | bool. If true, the link will be opened in a new tab. Default is false. |
| includeVars | bool. If true, includes current template variables values in the link as query params. Default is false. |
| keepTime | bool. If true, includes current time range in the link as query params. Default is false. |
| placement? | string. Use placement to display the link somewhere else on the dashboard other than above the visualizations. Use the inControlsMenu parameter to render the link in the dashboard controls dropdown menu. |
Was this page helpful?
Related resources from Grafana Labs


