Skip to content

Commit

Permalink
in_docker: new Docker container metrics collector (original PR #790)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  • Loading branch information
ashutoshdhundhara authored and edsiper committed Sep 24, 2019
1 parent 4a7cf1c commit d19be0d
Show file tree
Hide file tree
Showing 5 changed files with 849 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ option(FLB_PROXY_GO "Enable Go plugins support" Yes)
option(FLB_IN_CPU "Enable CPU input plugin" Yes)
option(FLB_IN_THERMAL "Enable Thermal plugin" Yes)
option(FLB_IN_DISK "Enable Disk input plugin" Yes)
option(FLB_IN_DOCKER "Enable Docker input plugin" Yes)
option(FLB_IN_EXEC "Enable Exec input plugin" Yes)
option(FLB_IN_FORWARD "Enable Forward input plugin" Yes)
option(FLB_IN_HEALTH "Enable Health input plugin" Yes)
Expand Down
1 change: 1 addition & 0 deletions plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
REGISTER_IN_PLUGIN("in_disk")
REGISTER_IN_PLUGIN("in_systemd")
REGISTER_IN_PLUGIN("in_netif")
REGISTER_IN_PLUGIN("in_docker")
endif()

REGISTER_IN_PLUGIN("in_tail")
Expand Down
5 changes: 5 additions & 0 deletions plugins/in_docker/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(src
docker.c
)

FLB_PLUGIN(in_docker "${src}" "")
Loading

0 comments on commit d19be0d

Please sign in to comment.