Maintain

Resource monitoring and interfacing Docker containers and logs.

Overview

Once you've built cloud resources in your MedStack Control environment and have deployed your Docker configuration, the load balancer, and services, you're ready to begin maintaining a functional environment.

Logs

Whether you are troubleshooting a service or checking in on its logging activity, it's easy to access the logs for a service or for specific containers in Medstack Control.

Service logs

Service logs contain the aggregate of all active container logs. They can be accessed by clicking the Logs button in the service containers section of the service details page.

Container logs

Container logs pertain to both active and destroyed containers in the Docker environment. Approximately every 24 hours, Docker environments in Medstack Control are configured to prune destroyed containers and their logs, or sooner if space is required by the node on which the containers reside.

Active containers

To view active container logs, click the Logs button for a container in the service containers section of the service details page.

Destroyed containers

Destroyed container logs are preserved in the Swarm for approximately 24 hours or until additional storage space is required by the node on which the containers are stored.

To view destroyed container logs, click the View button for a container in the tasks / history section of the service details page.

SSH into containers

When a container is running, you can open a web terminal in MedStack Control to SSH into the service container, and communicate with resources connected to the service and other services in the Docker network.

To open a web terminal to shell into a container, click the Shell button for a container in the service containers section of the service details page.

Utilization metrics

Nodes

You may view the CPU, Memory, and Storage utilization of a node in the Monitoring tab accessible on the navigation bar.

The list of nodes are those running across all your MedStack Control environments.

Field

Description

Hostname

The static IP address of the node.

Cluster

The cluster the node belongs to.

Status

In preview: The overall server status.

Availability

In preview: The server availability, which is only reported for the manager node.

Docker status

The status of the node in the Docker environment.

By clicking the IP address of a node, you can view the utilization metrics over time.

To view the metrics over a period of time until now, select the Date range dropdown, then click the Now button to populate the graph.

Databases

Utilization metrics for database servers are currently not reported in MedStack Control.

Containers

Utilization metrics for containers are currently not reported in MedStack Control.

Updated 25 days ago


What's next

Learn about best practices for going to production.

Go to Production

Maintain


Resource monitoring and interfacing Docker containers and logs.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.