-
Notifications
You must be signed in to change notification settings - Fork 15
metrics
Alex O. Karasulu edited this page Jan 19, 2018
·
1 revision
metrics -s <start date> -e <end date> <instance>
- get instance metrics
Examples:
subutai metrics localhost -s "2016-10-18 09:00:00" -e "2016-10-18 10:30:00"
subutai metrics container1 -s "2016-10-12 04:30:00" -e "2016-10-18 22:40:00"
Description:
The metrics command retrieves monitoring data from a time-series database deployed in the SS Management server for container hosts and Resource Hosts. Statistics are being collected by the Subutai daemon and includes common information like CPU utilization, network load, RAM and disk usage for both containers and hosts. Since the database is located on the SS Management Host, hosts which are not a part of a Subutai peer have no access to this information.
Data aggregation in the time-series database has following configuration:
- last hour statistic is stored "as is"
- last day data aggregates to 1 minute interval
- last week is in 5 minute intervals
After 7 days all statistics is are overwritten by new incoming data.