Pre-filing checklist
Component(s)
Rust OTAP dataflow (rust/otap-dataflow/)
Is your feature request related to a problem?
On UNIX hosts, we are interested in a journald logs receiver for otap-dataflow.
Proposed Solution
A low-code way to do this would be to exec the "journald" command, which supports paging through the logs with a cursor, the --after-cursor flag and the __CURSOR attribute on each entry. These logs can be emitted as JSON. This would be inefficient for us.
https://systemd.io/ has the official documentation on this format, which can be accessed directly through existing C libraries with #include <systemd/sd-journal.h>.
Alternatives Considered
We should study how other logs collectors do this more specifically. We will likely encounter a desire to co-locate the receiver with the CPU and NUMA region where the journal disk is attached.
Additional Context
No response
Pre-filing checklist
Component(s)
Rust OTAP dataflow (rust/otap-dataflow/)
Is your feature request related to a problem?
On UNIX hosts, we are interested in a journald logs receiver for otap-dataflow.
Proposed Solution
A low-code way to do this would be to exec the "journald" command, which supports paging through the logs with a cursor, the --after-cursor flag and the __CURSOR attribute on each entry. These logs can be emitted as JSON. This would be inefficient for us.
https://systemd.io/ has the official documentation on this format, which can be accessed directly through existing C libraries with
#include <systemd/sd-journal.h>.Alternatives Considered
We should study how other logs collectors do this more specifically. We will likely encounter a desire to co-locate the receiver with the CPU and NUMA region where the journal disk is attached.
Additional Context
No response