Integrate Managed Service for TimescaleDB and Grafana
You can integrate Managed Service for TimescaleDB with Grafana to visualize your data. Grafana service in MST has built-in Prometheus, PostgreSQL, Jaeger, and other data source plugins that allow you to query and visualize data from a compatible database.
Before you begin
- Create a Managed Service for TimescaleDB service
- Create a service for Grafana in MST
Configure Managed Service for TimescaleDB as a data source
You can configure a TimescaleDB service as a data source to a Grafana service to query and visualize the data from the database.
Configuring Managed Service for TimescaleDB as a data source
- In the MST account
Servicesview, click the Managed Service for TimescaleDB service that you want to add as a data source for the Grafana service. - In the
Overviewtab for the service go to theService Integrationssection. - Click the
Set up integrationbutton. - In the
Available service integrations for TimescaleDBdialog, click theUse Integrationbutton forDatasource. - In the dialog that appears, choose the Grafana service in the drop-down menu, and click the
Enablebutton. - In the
Servicesview, click the Grafana service to which you added the MST service as a data source. - In the
Overviewtab for the Grafana service, make a note of theUserandPasswordfields. - In the
Overviewtab for the Grafana service, click the link in theService URIfield to open Grafana. - Log in to Grafana with your service credentials.
- Navigate to
Configuration→Data sources. The data sources page lists Managed Service for TimescaleDB as a configured data source for the Grafana instance.
When you have configured Managed Service for TimescaleDB as a data source in Grafana, you can create panels that are populated with data using SQL.
