Monitor costs in DataDog
Integrate DeepCost with DataDog for comprehensive cost monitoring, custom dashboards, and intelligent alerting within your existing observability workflow.
Custom Dashboards
Pre-built DataDog dashboards for comprehensive cost visualization
Smart Alerts
Intelligent cost alerts with DataDog's advanced alerting features
APM Integration
Correlate application performance with infrastructure costs
DataDog integration
Configure API Key
Set up DataDog API key and configure DeepCost integration
Enable Metrics Export
Configure DeepCost to send cost metrics to DataDog
Import Dashboards
Import pre-built cost monitoring dashboards
Set Up Monitors
Configure DataDog monitors for cost anomalies and budget alerts
DataDog Benefits
Unified monitoring
Cost metrics alongside infrastructure and application metrics
Advanced analytics
Machine learning-based anomaly detection
Team collaboration
Share dashboards and collaborate on cost optimization
Available Metrics
deepcost.cluster.total_cost
Total cluster cost aggregated by various dimensions
deepcost.resource.utilization
Resource utilization metrics for rightsizing recommendations
deepcost.savings.potential
Potential savings from optimization recommendations
deepcost.budget.usage
Budget usage tracking with variance analysis
Environment Configuration
Configure these environment variables to enable DataDog integration:
# DataDog Integration Environment Variables DATADOG_API_KEY=your_datadog_api_key DATADOG_APP_KEY=your_datadog_app_key DATADOG_SITE=datadoghq.com # or datadoghq.eu for EU # DeepCost Configuration DEEPCOST_DATADOG_ENABLED=true DEEPCOST_METRICS_INTERVAL=60s DEEPCOST_TAGS="environment:production,team:platform"
Sample Dashboard Query
Example DataDog query for cost monitoring dashboard:
# Total cluster costs by namespace
sum:deepcost.cluster.total_cost{*} by {namespace}
# Resource utilization trend
avg:deepcost.resource.utilization{resource_type:cpu} by {node}
# Budget usage percentage
(sum:deepcost.budget.usage{*} / sum:deepcost.budget.limit{*}) * 100
# Potential savings by optimization type
sum:deepcost.savings.potential{*} by {optimization_type}