Usage Metrics#

Usage metrics collection enables Presto to log information about all nodes in the cluster. This feature is mostly used for Mission Control and other management solutions. Users can use the resulting log information for their own monitoring and operational purposes.


Usage metrics collection is configured by a number of properties, that you can add in etc/ to configure details.

Usage Metrics Configuration Properties#

Property name


Default value


Base path of the usage log files



Maximum size of a single usage log file

100 MB, minimum 1MB


Maximum number of usage log files


Path to the directory on the node in which log files are stored, for example, /var/log/presto/cloudwatch. Amazon CloudWatch is automatically enabled by the Presto CFT and the usage metrics data is available in usage-metrics-* log streams.


The initial delay to before tracking usage, allowing the cluster to start up before metrics gathering starts.

1 min


Length of the interval between usage metric log entry creation.

1 min


Number of threads used to gather and write all usage information.

100, minimum 10


Expose the usage metrics, aggregated for all nodes since cluster start, on a REST API end point on the coordinator at /v1/cluster/usage


Logging Details#

The logged information includes details about number of nodes, number of cores, start time, cpu time, and other data about the cluster and nodes in the cluster. The log uses JSON format for each entry.