Skip to content

Commit 7d49094

Browse files
committed
pipeline: podman metrics: document exclude_name_regex option
Document the new exclude_name_regex configuration option for the in_podman_metrics input plugin, added in fluent/fluent-bit#11968. The option skips containers whose name matches a user-supplied regular expression before their metrics are collected (for example pod infra and service containers). Signed-off-by: Stefano Tondo <stefano.tondo.ext@siemens.com>
1 parent 0e328f4 commit 7d49094

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pipeline/inputs/podman-metrics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The metrics can be exposed later as, for example, Prometheus counters and gauges
1212

1313
| Key | Description | Default |
1414
|-------------------|---------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|
15+
| `exclude_name_regex` | Excludes containers whose name matches this regular expression, evaluated before metrics are collected. Useful for skipping Podman pod infrastructure containers, for example `-(infra|service)$` to skip pause and `catatonit` containers. When unset, all containers are collected. | _none_ |
1516
| `path.config` | Custom path to the Podman containers configuration file. | `/var/lib/containers/storage/overlay-containers/containers.json` |
1617
| `path.procfs` | Custom path to the `proc` subsystem directory. | `/proc` |
1718
| `path.sysfs` | Custom path to the `sysfs` subsystem directory. | `/sys/fs/cgroup` |

0 commit comments

Comments
 (0)