mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 17:06:57 -06:00
docs: public dashboards updates (#67173)
* add missing insights content, fix links, update intro content, fix incorrect workflow * copy edits, image and link fixes * Apply suggestions from code review add/fix availability notes * fix wording for clarity * updated feature toggle page
This commit is contained in:
parent
55c36b04ca
commit
60c4e71962
@ -45,9 +45,9 @@ For every dashboard and data source, you can access usage information.
|
||||
|
||||
> **Note:** Available in [Grafana Enterprise]({{< relref "../../introduction/grafana-enterprise/" >}}) version 7.0 and later, and [Grafana Cloud Pro and Advanced](/docs/grafana-cloud/).
|
||||
|
||||
To see dashboard usage information, click **Dashboard insights** in the top bar.
|
||||
To see dashboard usage information, click the dashboard insights icon in the header.
|
||||
|
||||
{{< figure src="/static/img/docs/enterprise/dashboard_insights_button.png" max-width="400px" class="docs-image--no-shadow" >}}
|
||||
{{< figure src="/media/docs/grafana/dashboards/screenshot-dashboard-insights.png" max-width="400px" class="docs-image--no-shadow" >}}
|
||||
|
||||
Dashboard insights show the following information:
|
||||
|
||||
@ -56,6 +56,12 @@ Dashboard insights show the following information:
|
||||
|
||||
{{< figure src="/static/img/docs/enterprise/dashboard_insights_stats.png" max-width="400px" class="docs-image--no-shadow" >}}{{< figure src="/static/img/docs/enterprise/dashboard_insights_users.png" max-width="400px" class="docs-image--no-shadow" >}}
|
||||
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
If you've enabled the `publicDashboards` feature toggle, you'll also see a Public dashboards tab in your analytics.
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
### Data source insights
|
||||
|
||||
> **Note:** Available in [Grafana Enterprise]({{< relref "../../introduction/grafana-enterprise/" >}}) version 7.3 and later, and [Grafana Cloud Pro and Advanced](/docs/grafana-cloud/).
|
||||
|
@ -8,19 +8,26 @@ weight: 8
|
||||
|
||||
# Public dashboards
|
||||
|
||||
> **Note:** This is an opt-in alpha feature.
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
> **Caution:** Making your dashboard public could result in a large number of queries to the datasources used by your dashboard.
|
||||
> This can be mitigated by utilizing the enterprise [caching](https://grafana.com/docs/grafana/latest/enterprise/query-caching/) and/or rate limiting features.
|
||||
This feature is in [public preview](/docs/release-life-cycle/).
|
||||
|
||||
Public dashboards allow you to share your Grafana dashboard with anyone. This is useful when you want to expose your
|
||||
dashboard to the world.
|
||||
{{% /admonition %}}
|
||||
|
||||
{{% admonition type="Caution" %}}
|
||||
|
||||
Making your dashboard public could result in a large number of queries to the data sources used by your dashboard.
|
||||
This can be mitigated by utilizing the enterprise [caching]({{< relref "../../administration/data-source-management/#query-caching" >}}) and/or rate limiting features.
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
Public dashboards allow you to share your Grafana dashboard with anyone. This is useful when you want to make your dashboard available to the world without requiring access to your Grafana organization. This differs from [dashboard sharing]({{< relref "../share-dashboards-panels" >}}), which either requires recipients to be users in the same Grafana organization or provides limited information, as with a snapshot.
|
||||
|
||||
## Security implications of making your dashboard public
|
||||
|
||||
- Anyone with the URL can access the dashboard.
|
||||
- Public dashboards are read-only.
|
||||
- Arbitrary queries **cannot** be run against your datasources through public dashboards. Public dashboards can only execute the
|
||||
- Arbitrary queries **cannot** be run against your data sources through public dashboards. Public dashboards can only execute the
|
||||
queries stored on the original dashboard.
|
||||
|
||||
## Enable the feature
|
||||
@ -38,19 +45,25 @@ If you are using Docker, use an environment variable to enable public dashboards
|
||||
--env GF_FEATURE_TOGGLES_ENABLE=publicDashboards
|
||||
```
|
||||
|
||||
> **Note:** For Grafana Cloud, contact support to have the feature enabled.
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
For Grafana Cloud (Pro and Advanced only), contact support to have the feature enabled.
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
## Make a dashboard public
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Acknowledge the implications of making the dashboard public by checking all the checkboxes.
|
||||
1. Acknowledge the implications of making the dashboard public by selecting all the checkboxes.
|
||||
1. Click **Generate public URL** to make the dashboard public and make your link live.
|
||||
1. Copy the public dashboard link if you'd like to share it. You can always come back later for it.
|
||||
|
||||
Once you've made the dashboard public, a **Public** tag is displayed in the header of the dashboard.
|
||||
|
||||
## Pause access
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Enable the **Pause sharing dashboard** toggle.
|
||||
|
||||
@ -58,21 +71,29 @@ The dashboard is no longer accessible, even with the link, until you make it sha
|
||||
|
||||
## Revoke access
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Click **Revoke public URL** to delete the public dashboard.
|
||||
|
||||
The link no longer works. You must create a new public URL as in [Make a dashboard public](#make-a-dashboard-public).
|
||||
The link no longer works. You must create a new public URL, as in [Make a dashboard public](#make-a-dashboard-public).
|
||||
|
||||
## Email sharing
|
||||
|
||||
> **Note:** Available in [Grafana Enterprise]({{< relref "../../introduction/grafana-enterprise/" >}}) and [Grafana Cloud Pro and Advanced](/docs/grafana-cloud).
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
Email sharing allows you to share your public dashboard with only specific people via email, instead of having it accessible to anyone with the URL.
|
||||
Available in [Grafana Enterprise]({{< relref "../../introduction/grafana-enterprise/" >}}) and [Grafana Cloud Pro and Advanced](/docs/grafana-cloud).
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
Email sharing allows you to share your public dashboard with only specific people by email, instead of having it accessible to anyone with the URL. When you use email sharing, recipients receive a one-time use link that's valid for **one hour**. Once the link is used, the viewer has access to the public dashboard for **30 days**.
|
||||
|
||||
### Enable email sharing
|
||||
|
||||
> **Note:** For Grafana Cloud, contact support to have the feature enabled.
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
For Grafana Cloud (Pro and Advanced only), contact support to have the feature enabled.
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
Add the `publicDashboardsEmailSharing` feature toggle to your `custom.ini` file.
|
||||
|
||||
@ -83,12 +104,14 @@ publicDashboardsEmailSharing = true
|
||||
|
||||
### Invite a viewer
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Click **Only specified people**.
|
||||
1. Acknowledge the implications of making the dashboard public by selecting all the checkboxes.
|
||||
1. Click **Generate public URL** to make the dashboard public and make your link live.
|
||||
1. Under Can view dashboard, click **Only specified people**.
|
||||
1. Enter the email you want to share the public dashboard with.
|
||||
1. Click **Invite**.
|
||||
1. The recipient(s) will receive an email with a one-time use link. This link must be used within **one hour** or it expires. Once the link is used, the viewer has access to the public dashboard for **30 days**.
|
||||
1. The recipient will receive an email with a one-time use link.
|
||||
|
||||
### Viewers requesting access
|
||||
|
||||
@ -98,7 +121,7 @@ If the viewer doesn't have an invitation or it's been revoked, you won't be noti
|
||||
|
||||
### Revoke access for a viewer
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Click **Revoke** on the viewer you'd like to revoke access for.
|
||||
|
||||
@ -106,7 +129,7 @@ Immediately, the viewer no longer has access to the public dashboard, nor can th
|
||||
|
||||
### Reinvite a viewer
|
||||
|
||||
1. Click the sharing icon to the right of the dashboard title.
|
||||
1. Click the sharing icon in the dashboard header.
|
||||
1. Click the **Public dashboard** tab.
|
||||
1. Click **Resend** on the viewer you'd like to re-share the public dashboard with.
|
||||
|
||||
@ -114,16 +137,26 @@ The viewer will receive an email with a new one-time use link. This will invalid
|
||||
|
||||
### Access limitations
|
||||
|
||||
One-time use links use browser cookies, so when a viewer is granted access via one of these links, they will only have access through the browser they used to claim the link.
|
||||
One-time use links use browser cookies, so when a viewer is granted access through one of these links, they will only have access on the browser they used to claim the link.
|
||||
|
||||
A single viewer cannot generate multiple valid one-time use links. When a new one-time use link is issued for a viewer, all previous ones are invalidated.
|
||||
|
||||
If a Grafana user has read access to the parent dashboard, they can view the public dashboard without needing to have access granted.
|
||||
|
||||
## Assess public dashboard usage
|
||||
|
||||
> **Note:** Available in [Grafana Enterprise]({{< relref "../../introduction/grafana-enterprise/" >}}) and [Grafana Cloud Pro and Advanced](/docs/grafana-cloud).
|
||||
|
||||
You can check usage analytics about your public dashboard by clicking the insights icon in the dashboard header:
|
||||
|
||||
{{< figure src="/media/docs/grafana/dashboards/screenshot-dashboard-insights.png" max-width="400px" class="docs-image--no-shadow" alt="Dashboard insights icon" >}}
|
||||
|
||||
Learn more about the kind of information provided in the [dashboard insights documentation]({{< relref "../assess-dashboard-usage/#dashboard-insights" >}}).
|
||||
|
||||
## Supported data sources
|
||||
|
||||
Public dashboards _should_ work with any datasource that has the properties `backend` and `alerting` both set to true in it's `package.json`. However, this cannot always be
|
||||
guaranteed because plugin developers can override this functionality. The following lists include data sources confirmed to work with public dashboards and data sources that should work but have not been confirmed as compatible.
|
||||
Public dashboards _should_ work with any data source that has the properties `backend` and `alerting` both set to true in its `package.json`. However, this can't always be
|
||||
guaranteed because plugin developers can override this functionality. The following lists include data sources confirmed to work with public dashboards and data sources that should work, but have not been confirmed as compatible.
|
||||
|
||||
### Confirmed:
|
||||
|
||||
@ -158,7 +191,11 @@ guaranteed because plugin developers can override this functionality. The follow
|
||||
|
||||
### Unconfirmed:
|
||||
|
||||
> **Note:** If you've confirmed one of these datasources work with public dashboards, let us know in our [Github](https://github.com/grafana/grafana/discussions/49253) discussion, and we'll mark it as confirmed!
|
||||
{{% admonition type="Note" %}}
|
||||
|
||||
If you've confirmed one of these data sources work with public dashboards, let us know in our [Github](https://github.com/grafana/grafana/discussions/49253) discussion, and we'll mark it as confirmed!
|
||||
|
||||
{{% /admonition %}}
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
@ -206,13 +243,13 @@ guaranteed because plugin developers can override this functionality. The follow
|
||||
<li>Snowflake</li>
|
||||
<li>Splunk</li>
|
||||
<li>Splunk Infrastructure Monitoring</li>
|
||||
<li>Sqlyze Datasource</li>
|
||||
<li>Sqlyze data source</li>
|
||||
<li>TDengine</li>
|
||||
<li>Vertica</li>
|
||||
<li>Wavefront</li>
|
||||
<li>X-Ray</li>
|
||||
<li>kdb+</li>
|
||||
<li>simple grpc datasource</li>
|
||||
<li>simple grpc data source</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
@ -220,17 +257,17 @@ guaranteed because plugin developers can override this functionality. The follow
|
||||
|
||||
## Limitations
|
||||
|
||||
- Panels that use frontend datasources will fail to fetch data.
|
||||
- Template variables are currently not supported, but are planned to be in the future.
|
||||
- Panels that use frontend data sources will fail to fetch data.
|
||||
- Template variables are not currently supported, but support is planned in the future.
|
||||
- Exemplars will be omitted from the panel.
|
||||
- Only annotations that query the `-- Grafana --` datasource are supported.
|
||||
- Only annotations that query the `-- Grafana --` data source are supported.
|
||||
- Organization annotations are not supported.
|
||||
- Grafana Live and real-time event streams are not supported.
|
||||
- Library panels are currently not supported, but are planned to be in the future.
|
||||
- Datasources using Reverse Proxy functionality are not supported.
|
||||
- Library panels are currently not supported, but support is planned in the future.
|
||||
- Data sources using Reverse Proxy functionality are not supported.
|
||||
|
||||
We are excited to share this enhancement with you and we’d love your feedback! Please check out the [Github](https://github.com/grafana/grafana/discussions/49253) discussion and join the conversation.
|
||||
We're excited to share this enhancement with you and we’d love your feedback! Please check out the [Github](https://github.com/grafana/grafana/discussions/49253) discussion and join the conversation.
|
||||
|
||||
## Custom branding
|
||||
|
||||
If you are a Grafana Enterprise customer, you can use custom branding to change the appearance of a public dashboard footer. For more information, refer to [Custom branding](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/configure-custom-branding/).
|
||||
If you're a Grafana Enterprise customer, you can use custom branding to change the appearance of a public dashboard footer. For more information, refer to [Custom branding](https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/configure-custom-branding/).
|
||||
|
@ -61,6 +61,8 @@ Some stable features are enabled by default. You can disable a stable feature by
|
||||
| `renderAuthJWT` | Uses JWT-based auth for rendering instead of relying on remote cache |
|
||||
| `enableElasticsearchBackendQuerying` | Enable the processing of queries and responses in the Elasticsearch data source through backend |
|
||||
| `enableDatagridEditing` | Enables the edit functionality in the datagrid panel |
|
||||
| `publicDashboards` | Enables public access to dashboards |
|
||||
| `publicDashboardsEmailSharing` | Enables public dashboard sharing to be restricted to only allowed emails |
|
||||
|
||||
## Alpha feature toggles
|
||||
|
||||
@ -71,8 +73,6 @@ Alpha features might be changed or removed without prior notice.
|
||||
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------- |
|
||||
| `live-service-web-worker` | This will use a webworker thread to processes events rather than the main thread |
|
||||
| `queryOverLive` | Use Grafana Live WebSocket to execute backend queries |
|
||||
| `publicDashboards` | Enables public access to dashboards |
|
||||
| `publicDashboardsEmailSharing` | Enables public dashboard sharing to be restricted to only allowed emails |
|
||||
| `lokiLive` | Support WebSocket streaming for loki (early prototype) |
|
||||
| `storage` | Configurable storage for dashboards, datasources, and resources |
|
||||
| `newTraceViewHeader` | Shows the new trace view header |
|
||||
|
Loading…
Reference in New Issue
Block a user