Grafana TestData DB
The purpose of this data source is to make it easier to create fake data for any panel.
TestData DB you can build your own time series and have any panel render it.
This makes it much easier to verify functionality since the data can be shared very easily.
TestData DB data source is not enabled by default. To enable it:
- In the Configuration menu (small gear on the left side of the screen), click Data Sources.
- Click Add Data Source.
- Search and click
- Click Save & Test to enable it.
Create mock data.
TestData DB is enabled, you can use it as a data source in any metric panel.
The comma separated values scenario is the most powerful one since it lets you create any kind of graph you like.
Once you provided the numbers,
TestData DB distributes them evenly based on the time range of your query.
TestData DB also contains some dashboards with examples.
- Click Configuration > Data Sources > TestData DB > Dashboards.
- Import the Simple Streaming Example dashboard.
Commit updates to the dashboards
To submit a change to one of the current dashboards bundled with
TestData DB, update the revision property.
Otherwise the dashboard will not be updated automatically for other Grafana users.
Using test data in issues
If you post an issue on Github regarding time series data or rendering of time series data, we strongly advise you to use this data source to replicate the data. That makes it much easier for the developers to replicate and solve the issue you have.
Related Grafana resources
Unify your data with Grafana plugins: Splunk, MongoDB, Datadog, and more
Show how Grafana can be used to take data from multiple different sources and unify it, without disrupting the investments that are working today.
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.