vectordotdev / vectordotdev/vector

Add additional filters to `docker` source

Open
#984 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

have: should platform: docker source: docker_logs
Dominant language
Rust
Stars
22.6k
Forks
2.3k
Avg merge
1d 7h
Merged PRs (30d)
146

Description

Currently, the docker source supports a limited subset of filters to filter the list of running containers on. We should add support for more to allow users provide more flexible filters.

  • Include container image name
  • Exclude container id
  • Exclude container label
  • Exclude container image name

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the docker source's existing container-filter handling and trace how the supported image-name and container-ID filters are implemented. Add the two unchecked exclusions—container labels and image names—and consider the work complete when both filters behave consistently with the existing ones.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, rust
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.