mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 15:12:46 +08:00
1.9 KiB
1.9 KiB
title | comments |
---|---|
Data links and actions options | This file is used in the following visualizations: bar chart, candlestick, state timeline, status history, time series, trend, xy chart |
Data links allow you to link to other panels, dashboards, and external resources and actions let you trigger basic, unauthenticated, API calls. In both cases, you can carry out these tasks while maintaining the context of the source panel.
For each data link, set the following options:
- Title
- URL
- Open in new tab
- One click - Opens the data link with a single click. Only one data link can have One click enabled at a time.
For each action, define the following API call settings:
Option | Description |
---|---|
Title | A human-readable label for the action that's displayed in the UI. |
Confirmation message | A descriptive prompt to confirm or cancel the action. |
Method | Select from POST, PUT, or GET. |
URL | The request URL. To add a variable, click in the URL field and enter |
Query parameters | Key and Value pairs. Click the + icon to add as many key/value pairs as you need. |
Headers | Comprised of Key and Value pairs and a Content-Type. Click the + icon to add as many key/value pairs as you need. |
Content-Type | Select from the following: application/json, text/plain, application/XML, and application/x-www-form-urlencoded. |
Body | The body of the request. |
To learn more, refer to Configure data links and actions.