Platform.sh User Documentation

Monitor Grid metrics

Try for 30 days
Flexible, version-controlled infrastructure provisioning and development-to-production workflows
Activate your trial

Grid environments consist of:

Infrastructure metrics report CPU, RAM, and disk space for app and worker containers and CPU and disk space for service containers. These metrics are available for all of your Grid environments.

You can see summaries of the metrics for each container separately in the Console under Services for a given environment. The full details are available under Metrics.

App containers are shown first, with the app name and an image corresponding to the app type. Service containers follow next with the same pattern and worker containers are shown last.

You can collapse the graphs by clicking Hide metrics. The graphs switch to an overview of the average resource utilization for the selected container.

How service container metrics look when minimized

Start metrics collection Anchor to this heading

To start collecting metrics on Grid environments, you need to redeploy the environment. If a redeploy is required for the specific environment, you see a note in the Console:

Screenshot showing the text “Your metrics are almost here” and a prompt to redeploy

Example of how to read metrics Anchor to this heading

This example should give you an idea of how the metrics appear. Grid environment metrics show resource usage for each app, service, and worker container.

Note that resources are spread across all containers within the project. So the resources you see for a given container don’t equal the total resources for the project.

This reference project has a single app, two services (MySQL and Redis), and two workers. The plan size for this project is Medium. The appropriate resources have been allocated automatically for each container based on the number and type of containers for this plan size. The graphs show the current average usage in relation to the allocated resources.

Once you’ve read the metrics, see recommendations for action.

App container Anchor to this heading

Metrics graphs for the app container show CPU, RAM, and disk allocation and usage. The persistent disk has been configured in the app configuration at 1.91 GB, while the temporary disk is 3.99 GB by default.

All of the metrics for the app container

By default, the graphs include all instances and an average over the instances. To select metrics for specific instances, click Filter.

Clicking Filter reveals a list of instances you can filter

Service containers Anchor to this heading

Unlike app containers, metrics graphs service containers don’t show RAM allocation and usage. So you don’t see all of your project’s allocated RAM in the graphs.

MySQL Anchor to this heading

Metrics graphs for the MySQL service container show CPU and disk allocation and usage. The persistent disk has been configured in the services configuration as 0.95 GB, while the temporary disk is 3.99 GB by default.

All of the metrics for the MySQL container

Redis Anchor to this heading

Metrics graphs for the Redis service container show CPU and disk allocation and usage. No persistent disk has been configured for Redis, while the temporary disk is 3.99 GB by default.

All of the metrics for the Redis container

Worker containers Anchor to this heading

Metrics graphs for the App-Horizon worker container show CPU, RAM, and disk allocation and usage. The persistent disk has been configured in the app configuration at 1.91 GB, while the temporary disk is 3.99 GB by default.

All of the metrics for the App-Horizon worker container

Metrics graphs for the App-Schedule worker container show CPU, RAM, and disk allocation and usage. The persistent disk has been configured in the app configuration at 1.91 GB, while the temporary disk is 3.99 GB by default.

All of the metrics for the App-Horizon worker container

Is this page helpful?