Skip to content

Commit f9b9f21

Browse files
Update container-discovery-management.md (#29052)
Co-authored-by: buraizu <[email protected]>
1 parent c659bb9 commit f9b9f21

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

content/en/containers/guide/container-discovery-management.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,16 @@ You can set exceptions in two ways:
3333

3434
## Agent configuration
3535

36-
Use the environment variables in the table below to configure container filtering. Each inclusion or exclusion is defined as a list of space-separated regex strings. You can include or exclude containers based on their container name (`name`), image name (`image`), or Kubernetes namespace (`kube_namespace`).
36+
Use the environment variables in the table below to configure container filtering. Each inclusion or exclusion is defined as a list of space-separated regex strings. You can include or exclude containers based on their:
37+
- container name (`name`)
38+
- container image name (`image`)
39+
- Kubernetes namespace (`kube_namespace`)
40+
41+
<div class="alert alert-warning">
42+
43+
The `name` parameter only applies to container names, not pod names, even if the container runs in a Kubernetes pod.
44+
45+
</div>
3746

3847
### Environment variables
3948
In **Agent v7.20+**, use the following environment variables to exclude containers by image name, container name, or Kubernetes namespace. Logs and metrics are not collected from excluded containers.

0 commit comments

Comments
 (0)