Chatta subito con l'assistenza
Chat con il supporto

Foglight for Container Management 3.0 - User Guide

Docker Swarm

Find Containers in cluster “dockercluster”, enter following statement in the Scope of a rule, and choose DockerContainer as the Topology Type in the Rule Scope.

DockerContainer where dockerSwarm.service.cluster.name='kicakdscluster'

Find Containers with labels “com.docker.stack.namespace=nginx” and “env=prod” among all clusters, enter following statement in the Scope of a rule, and choose DockerContainer as the Topology Type in the Rule Scope.

DockerContainer where labels.key='com.docker.stack.namespace' and labels.value='nginx' and labels.key='env' and labels.value='prod'

If you want to find Containers by labels in cluster “swarmcluster”, you can append and dockerSwarm.service.cluster.name='kicakdscluster' to the end of above statement.

Find Docker Hosts in cluster “dockercluster”, enter following statement in the Scope of a rule, and choose DockerHost as the Topology Type in the Rule Scope.

DockerHost where dockerSwarmNodeInfo.node.cluster.name='kicakdscluster'

Find Container CPU Usage by container labels “com.docker.stack.namespace=nginx” and “env=prod” among all clusters, enter following statement in the Scope of a rule, and choose DockerContainerCPU as the Topology Type in the Rule Scope.

DockerContainerCPU where container.labels.key='com.docker.stack.namespace' and container.labels.value='nginx' and container.labels.key='env' and container.labels.value='prod'

If you want to find Containers by labels in cluster “swarmcluster”, you can append and container.dockerSwarm.service.cluster.name='kicakdscluster' to the end of above statement.

Find Container CPU Usage by container labels “com.docker.stack.namespace=nginx” and “env=prod” among all clusters, enter following statement in the Scope of a rule, and choose DockerContainerMemory as the Topology Type in the Rule Scope.

DockerContainerMemory where container.labels.key='com.docker.stack.namespace' and container.labels.value='nginx' and container.labels.key='env' and container.labels.value='prod'

If you want to find Containers by labels in cluster “swarmcluster”, you can append and container.dockerSwarm.service.cluster.name='kicakdscluster' to the end of above statement.

Related Documents

The document was helpful.

Seleziona valutazione

I easily found the information I needed.

Seleziona valutazione