summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-11-24 16:48:42 +0000
committerGitHub <noreply@github.com>2023-11-24 18:48:42 +0200
commita8ed7d2d03de34a5260c7691a8d48f1fd7a5fe5e (patch)
tree8160f0fd4b640affa74110978061e575c3472e1b /Makefile.am
parent0f466bba47c450e818929cde112c9d8f48bc4efc (diff)
Journal better estimations and watcher (#16467)
* get the number of lines per journal file * accurate estimates when using systemd 254+ * scan the journal files in reverse order, the newest first * disable running journalctl; use the file last modification timestamp if the messages cannot be retrieved * attempt to fix order of files scanned * find the timestamps of all boot_ids during header updates * added inotify watcher for detecting journal file changes * handle all cases in watcher * completed watcher * remove debug info * watcher now restarts when it gets inotify errors * removed log * do not remain the main thread of netdata
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 3af5262844..1600abcc32 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -330,6 +330,7 @@ SYSTEMD_JOURNAL_PLUGIN_FILES = \
collectors/systemd-journal.plugin/systemd-main.c \
collectors/systemd-journal.plugin/systemd-units.c \
collectors/systemd-journal.plugin/systemd-journal.c \
+ collectors/systemd-journal.plugin/systemd-journal-watcher.c \
collectors/systemd-journal.plugin/systemd-journal-annotations.c \
collectors/systemd-journal.plugin/systemd-journal-files.c \
collectors/systemd-journal.plugin/systemd-journal-fstat.c \