Azure Cost Exporter — Cost Management Dashboard
Prometheus exporter for Azure Cost Management using Managed Identity. Exposes real Azure costs per resource group and subscription. No secrets, no service principal, no API keys required.
Azure Cost Exporter for Prometheus
Lightweight Prometheus exporter for Azure Cost Management. Uses Managed Identity (MSI) authentication — no secrets required.
Prerequisites
- Azure VM with system-assigned Managed Identity
- Cost Management Reader role at subscription scope
- Microsoft.CostManagement provider registered
Quick Start
git clone https://github.com/PalouAlzouma/azure-cost-exporter.git
cd azure-cost-exporter
cp .env.example .env
# Fill in your values
docker compose up -d
Metrics
- azure_cost_rg_month_total_eur
- azure_cost_rg_daily_eur
- azure_cost_subscription_month_total_eur
- azure_cost_subscription_daily_eur
- azure_cost_scrape_success
Source
Full documentation and source code on GitHub : https://github.com/PalouAlzouma/azure-cost-exporter
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |
Azure Cosmos DB
With the Grafana plugin for Azure Cosmos DB, you can quickly visualize and query your Azure Cosmos DB data from within Grafana.
Learn more