Assess dashboard usage
Usage insights enables you to have a better understanding of how your Grafana instance is used.
The usage insights feature collects a number of aggregated data and stores them in the database:
- Dashboard views (aggregated and per user)
- Data source errors
- Data source queries
The aggregated data provides you access to several features:
This feature also generates detailed logs that can be exported to Loki. Refer to Export logs of usage insights.
Dashboard and data source insights
For every dashboard and data source, you can access usage information.
To see dashboard usage information, click Dashboard insights in the top bar.
Dashboard insights show the following information:
- Stats: The number of daily queries and errors for the past 30 days.
- Users & activity: The daily view count for the last 30 days; last activities on the dashboard and recent users (with a limit of 20).
Data source insights
Data source insights provides information about how a data source has been used in the past 30 days, such as:
- Queries per day
- Errors per day
- Query load time per day (averaged in ms)
To find data source insights:
- Go to the Data source list view.
- Click on a data source.
- Click the Insights tab.
When you are signed in and looking at a dashboard, you can know who is looking at the same dashboard as you are via a presence indicator, which displays avatars of users who have recently interacted with the dashboard. The default timeframe is 10 minutes. To see the user’s name, hover over the user’s avatar. The avatars come from Gravatar based on the user’s email.
When there are more active users on a dashboard than can fit within the presence indicator, click the +X icon. Doing so opens dashboard insights, which contains more details about recent user activity.
To change recent to something other than the past 10 minutes, edit the configuration file:
[analytics.views] # Set age for recent active users recent_users_age = 10m
Sort dashboards by using insights data
In the search view, you can use insights data to help you find most-used, broken, and unused dashbaords.
You can sort the dashboards by:
- Errors total
- Errors 30 days
- Views total
- Views 30 days
Related Grafana resources
Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.
Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.