---
title: "Integrate Grafana"
description: "Connect Exoscale Managed Grafana or external Grafana to Thanos, add a Prometheus data source, and build dashboards."
url: https://community.exoscale.com/product/dbaas/service-specific/thanos/how-to/integ-grafana/
product: "Thanos"
section: product
last_updated: 2026-10-26
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# Integrate Grafana

Connect Exoscale Managed Grafana (or external Grafana) to query metrics from Thanos.

## Create Your Data Source
Connect to your Grafana Dashboard.
> [!NOTE]
> If you have an issue accessing it, verify on the Exoscale Console in your DBaaS Grafana Config 
> that you have an IP filter set (like 0.0.0.0/0 if you want it open to all IPs).

In the Menu, go to Connections > Data sources
<img src="grafana-menu-datasource.png" width="300"/>


Add new data source (on the top right)

Choose Prometheus
<img src="grafana-menu-prometheus.png" width="600"/>

Click on Prometheus and configure it

![](grafana-thanos-datasource.png "Thanos datasource creation")

> [!NOTE]
> - Add your Data source name, here "Prometheus"
> - Add your Prometheus server URL : `https://yyyyyy-exoscale-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.i.aivencloud.com:21700`
> - Add your Basic Authentication with User and Password
> - Then click on Save and test

## Create Your Dashboard
Just click on "Create dashboard" in Dashboards section
and select your newly created Datasource. Then explore your metrics for your board.

![](grafana-create-dashboard.png)

