From 0eabca966bfe44d8aa51f77322fa03a5461ae73c Mon Sep 17 00:00:00 2001 From: Haithem Khelif Date: Thu, 14 Nov 2024 15:51:03 -0800 Subject: [PATCH] pipeline: inputs: docker-metrics: add container path config (#1516) Signed-off-by: Haithem Khelif --- pipeline/inputs/docker-metrics.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/inputs/docker-metrics.md b/pipeline/inputs/docker-metrics.md index ce044604e..23c8d2128 100644 --- a/pipeline/inputs/docker-metrics.md +++ b/pipeline/inputs/docker-metrics.md @@ -16,6 +16,7 @@ The plugin supports the following configuration parameters: | Include | A space-separated list of containers to include | | | Exclude | A space-separated list of containers to exclude | | | Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | `false` | +| path.containers | Used to specify the container directory if Docker is configured with a custom "data-root" directory. | `/var/lib/docker/containers` | If you set neither `Include` nor `Exclude`, the plugin will try to get metrics from _all_ the running containers.