DeepCost
+
DeepCost

Monitor costs with Prometheus

Export detailed cost metrics to Prometheus for comprehensive monitoring, alerting, and integration with your existing observability stack.

Cost Metrics Export

Export detailed cost metrics to Prometheus for monitoring and alerting

Budget Alerts

Set up Prometheus alerts for cost thresholds and budget overruns

Trend Analysis

Historical cost data for trend analysis and capacity planning

Integration setup

1

Deploy Prometheus Exporter

Install the DeepCost Prometheus exporter in your cluster

2

Configure Scrape Target

Add DeepCost exporter as a scrape target in Prometheus config

3

Import Dashboards

Import pre-built Grafana dashboards for cost visualization

4

Set Up Alerts

Configure alert rules for budget thresholds and anomalies

Monitoring Benefits

Real-time alerts

Get notified when costs exceed thresholds

Historical data

Long-term storage for trend analysis

Custom dashboards

Build custom visualizations in Grafana

Available Cost Metrics

deepcost_cluster_cost_total

Counter

Total cluster cost by namespace, workload, and time period

deepcost_resource_utilization

Gauge

Resource utilization percentage for CPU, memory, and storage

deepcost_optimization_savings

Gauge

Potential and realized savings from optimization recommendations

deepcost_budget_usage_ratio

Gauge

Budget usage ratio by department, team, or project

Prometheus Configuration

Add this scrape config to your Prometheus configuration:

# prometheus.yml
scrape_configs:
  - job_name: 'deepcost'
    static_configs:
      - targets: ['deepcost-exporter:8080']
    scrape_interval: 30s
    metrics_path: /metrics
    relabel_configs:
      - source_labels: [__address__]
        target_label: instance
        replacement: 'deepcost-cluster'

Example Alert Rules

Sample Prometheus alert rules for cost monitoring:

# alerts.yml
groups:
  - name: deepcost.rules
    rules:
      - alert: HighClusterCosts
        expr: deepcost_cluster_cost_total > 10000
        for: 5m
        labels:
          severity: warning
        annotations:
          summary: "Cluster costs are high"
          description: "Cluster costs exceed $10,000"
      
      - alert: BudgetExceeded
        expr: deepcost_budget_usage_ratio > 0.9
        for: 1m
        labels:
          severity: critical
        annotations:
          summary: "Budget threshold exceeded"
          description: "Budget usage is at {{ $value }}%"

Frequently Asked Questions

How long does Prometheus integration take?

Setup takes about 5 minutes. Configure your Prometheus API credentials in DeepCost, enable metrics export, and cost data will start flowing to Prometheus immediately.

What Prometheus permissions are required?

DeepCost requires API keys with metrics write permissions for sending cost data. All communication uses secure API endpoints with encrypted transmission.

How is my cost data secured in Prometheus?

Cost metrics are transmitted over encrypted HTTPS connections and stored according to Prometheus's security standards. All data follows SOC 2 compliance requirements.

Can I customize the Prometheus dashboards and alerts?

Yes, our pre-built dashboards are fully customizable. You can modify visualizations, add custom queries, combine cost metrics with your existing infrastructure metrics, and create custom alert rules.

What's the metric refresh frequency?

Cost metrics are sent to Prometheus every 60 seconds by default, providing near real-time visibility. You can adjust the interval based on your monitoring requirements.

Ready to start saving on cloud costs?

Join thousands of companies that have reduced their cloud spending by up to 90% with DeepCost's AI-powered optimization platform.

Free 14-day trial
No credit card required
Cancel anytime