Application performance monitoring (APM) with traces
Before you begin importing the dashboards:
- Add these data sources in Grafana:
- Check that the extension is installed. To verify if the extension is installed, run this SQL query:
SELECT * FROM pg_extension WHERE extname='timescaledb_toolkit';
If the query returns no results, then the extension is not installed. For more information about installing the extension, see the toolkit extension installation documentation.
- From Promscale Github repository as JSON files.
Check if the extension is available:
Install the extension using:
CREATE EXTENSION timescaledb_toolkit;
- In the select the dashboard with
APM
prefix, click theDetails
button to open a dashboard. - Click
Copy ID to Clipboard
to copy the UID of the dashboard. - In the Grafana UI, select
Import
from the+
Create icon on the side menu. - Paste the dashboard UID in the
Import via grafana.com
textbox, and clickLoad
. The page appears. - In the
Folder
drop-down menu, choose the folder to which you want to add the dashboard. - Select the data sources from which you want the dashboard to query the data:
- For application performance monitoring dashboards, select
Promscale Jaeger Tracing data source
asPromscale-Tracing
.
- For application performance monitoring dashboards, select
- Click
Import
.
repository contains all the dashboards published by Promscale.
- Download all the
.json
files withapm
prefix from the repository. - In the Grafana UI, select
Import
from the Create icon on the side menu. - Select the
Upload JSON file
button, and select the downloadedJSON
dashboard file. TheImporting dashboard from Grafana.com
page appears. - In the
Folder
drop-down menu, choose the folder to which you want to add the dashboard. - Select the data sources from which you want the dashboard to query the data:
- For application performance monitoring dashboards, select
TimescaleDB or PostgreSQL data source
asPromscale-SQL
. - For application performance monitoring dashboards, select
Promscale Jaeger Tracing data source
asPromscale-Tracing
.
- For application performance monitoring dashboards, select
- Click
Import
.