Converse agora com nosso suporte
Chat com o suporte

Foglight for Container Management 4.0 - User Guide

Understanding Foglight for Container Management Using Foglight for Container Management Reference

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.

Documentos relacionados

The document was helpful.

Selecione a classificação

I easily found the information I needed.

Selecione a classificação