Core Concepts
Reference
Troubleshooting
Feedback
Metric Drains
Learn how to route metrics with Metric Drains
Overview
Metric Drains lets you route metrics for Apps and Databases to the destination of your choice. Metrics Drains are typically useful to:
- Persist metrics for the long term
- Alert when metrics cross thresholds of your choice
- Troubleshoot performance problems
Types of Metric Drains
Managing Metric Drains
Creating Metric Drains
A Metric Drain can be provisioned in three ways on Aptible:
- Within the Aptible Dashboard by navigating to an Environment > selecting the "Metric Drains" tab > selecting "Create Metric Drain"
- Using the respective
aptible:metric_drain:create
command, such as: - Using the Aptible Terraform Provider
Restarting Metric Drains
A Metric Drain can be restarted within the Aptible Dashboard by navigating to an Environment > selecting the "Metric Drains" tab > selecting "Restart"
Deprovisioning Metric Drains
A Metric Drain can be provisioned in three ways on Aptible:
- Within the Aptible Dashboard by navigating to an Environment > selecting the "Metric Drains" tab > selecting "Delete"
- Using the
aptible metric_drain:deprovision
command - Using the Aptible Terraform Provider
Keep reading: