-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: move podman client to libpod client * feat: add new container scraper entity * feat: add new methods to client - list the running containers - events * feat: new logic to container scraper The container scraper spawns a go routine to listen for container events and keep track of the running containers. Only containers in the local map will be fetched, thus we can easily add inclusion/exclusion filters. In addition, the containers map contain extra information like the pod name. * feat: fetch stats per container * feat: add list container test * feat: add test case for image attribute * feat: update CHANGELOG.md * fix: linter error * fix: cross-compile windows tags * Update receiver/podmanreceiver/podman.go Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> * change variable name for listing containers * feat: add test for events function * feat: use unexported fields * fix: changelog version entry * add unreleased file * fix lint errors * remove redundant line break * fix linter issue with go.mod file Co-authored-by: Alex Boten <aboten@lightstep.com> Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com> Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
- Loading branch information
1 parent
f316178
commit e149ae2
Showing
12 changed files
with
952 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.