Skip to content

Commit

Permalink
in_node_exporter: more pluggable structure
Browse files Browse the repository at this point in the history
Signed-off-by: Takahiro Yamashita <[email protected]>
  • Loading branch information
nokute78 committed Oct 22, 2023
1 parent bf17059 commit 17dc64e
Show file tree
Hide file tree
Showing 53 changed files with 1,540 additions and 1,984 deletions.
14 changes: 4 additions & 10 deletions plugins/in_node_exporter_metrics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,20 @@ set(src
ne_diskstats.c
ne_filesystem.c
ne_uname.c
ne_stat_linux.c
ne_vmstat_linux.c
ne_stat.c
ne_vmstat.c
ne_netdev.c
ne_time.c
ne_loadavg.c
ne_filefd_linux.c
ne_filefd.c
ne_textfile.c
ne_processes.c
ne_utils.c
ne_config.c
ne_systemd.c
ne.c
)

if(FLB_HAVE_SYSTEMD_SDBUS)
set(src
${src}
ne_systemd.c
)
endif()

if (APPLE)
FLB_PLUGIN(in_node_exporter_metrics "${src}" "-framework Foundation -framework IOKit")
else()
Expand Down
Loading

0 comments on commit 17dc64e

Please sign in to comment.