Configure Docker integration
To integrate Docker with SolarWinds Observability:
-
In SolarWinds Observability, click Add Data at the top.
-
In the Add Data dialog Intro, click the Integrations tab, and then click Docker.
-
In the Add Docker dialog, select a host with the SolarWinds Observability Agent you want to use for Docker and click Next.
To only display Agents running in a Kubernetes cluster, click the List only Agents... toggle.
If you want to install a dedicated Agent on a dedicated host, add the host and then add the Docker integration. See Add a self-managed host.
-
Ensure that the Agent is able to access the Docker socket file and click Next.
-
Grant the Agent user (swagent) access to the docker file. Run the command.
usermod -a -G docker swagent
-
Restart the Agent.
service uamsclient restart
-
-
Review the configuration and click Deploy to deploy the changes to the agent.
-
Provide a Display Name.
-
Review the Docker Socket.
-
Review the Collection Interval.
- If you want to collect logs for the Docker integration, click Enable log monitoring.
-
-
If you enabled logs:
-
Grant the Agent access to the Docker log folder. Use the following command:
sudo usermod -a -G adm swagent
-
Restart the Agent. Run the following command.
sudo service uamsclient restart
-
Review the default path for storing logs. Adjust it if appropriate.
-
-
When the installation is complete, you can continue to observe Docker data. Use the buttons on the Summary screen.
To view data collected for the newly configured entity in the Entity Explorer, click the name of the Docker instance in the confirmation dialog in the lower-left corner. It may take a few seconds for data to appear for the newly created entity. See Entity Explorer for details.
To view data collected for the newly configured integration, click Dashboards and search for Docker. Click the system dashboard for Docker. See Dashboards.
To view metrics collected for Docker, click Analyze > Metrics and search for Docker. See Metrics Explorer for details.