App Metrics
Monitor aggregate resource usage and instance counts across your entire application. These metrics provide an overview of your app's resource consumption and scaling behavior.
Overview
App-level metrics allow you to track:
- CPU Usage: Monitor CPU consumption across all instances
- Instance Counts: Track running instances and peak usage
Usage
odin fleet metrics app <command>
Commands
CPU Metrics
cpu-instant
Get the current CPU usage for your app as an instant snapshot.
cpu-usage
Get CPU usage over a specified time range.
Flags:
--start=<number>: Unix timestamp for the start of the time range (required).--end=<number>: Unix timestamp for the end of the time range (required).
cpu-usage-per-day
Get daily aggregated CPU usage over a specified time range.
Flags:
--start=<number>: Unix timestamp for the start of the time range (required).--end=<number>: Unix timestamp for the end of the time range (required).