Before you begin, make sure you have:
- Created a Timescale service.
- Installed a self-managed Grafana account, or signed up for Grafana Cloud.
- Ingested some data to your database. You can use the stock trade data from the Getting Started Guide.
The examples in this section use these variables and Grafana functions:
$symbol: a variable used to filter results by stock symbols.$__timeFrom()::timestamptz&$__timeTo()::timestamptz: Grafana variables. You change the values of these variables by using the dashboard's date chooser when viewing your graph.$bucket_interval: the interval size to pass to thetime_bucketfunction when aggregating data.