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.
Public dashboards
Note: This is an opt-in alpha feature.
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 and/or rate limiting features.
Public dashboards allow you to share your Grafana dashboard with anyone. This is useful when you want to expose your dashboard to the world.
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 queries stored on the original dashboard.
Enable the feature
Add the publicDashboards
feature toggle to your custom.ini
file.
[feature_toggles]
publicDashboards = true
If you are using Docker, use an environment variable to enable public dashboards:
--env GF_FEATURE_TOGGLES_ENABLE=publicDashboards
Note: For Grafana Cloud, you will need to contact support to have the feature enabled.
Make a dashboard public
- Click on the sharing icon to the right of the dashboard title.
- Click on the Public Dashboard tab.
- Acknowledge the implications of making the dashboard public by checking all the checkboxes.
- Turn on the Enabled toggle.
- Click
Save Sharing Configuration
to make the dashboard public and make your link live. - Copy the public dashboard link if you’d like to share it. You can always come back later for it.
Revoke access
- Click on the sharing icon to the right of the dashboard title.
- Click on the Public Dashboard tab.
- Turn off the Enabled toggle.
- Click
Save Sharing Configuration
to save your changes. - Anyone with the link will not be able to access the dashboard publicly anymore.
Supported Datasources
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.
Confirmed:
|
|
Unconfirmed:
Note: If you’ve confirmed one of these datasources work with public dashboards, let us know in our Github discussion, and we’ll mark it as confirmed!
|
|
|
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.
- The time range is permanently set to the default time range on the dashboard. If you update the default time range for a dashboard, it will be reflected in the public dashboard.
- Exemplars will be omitted from the panel.
- Only annotations that query the
-- Grafana --
datasource 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.
We are excited to share this enhancement with you and we’d love your feedback! Please check out the Github 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.