Open 1puls2is3 opened 1 month ago
https://docs.fluentbit.io/manual/pipeline/inputs/node-exporter-metrics#fluent-bit--prometheus--grafana Following the instructions in the link above, I checked the fluent-bit container in my docker environment and got the same error:
[ info] [fluent bit] version=3.1.3, commit=12a9de521c, pid=1
[ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[ info] [cmetrics] version=0.9.1
[ info] [ctraces ] version=0.5.2
[ info] [input:node_exporter_metrics:node_exporter_metrics.0] initializing
[ info] [input:node_exporter_metrics:node_exporter_metrics.0] storage_strategy='memory' (memory only)
[ info] [input:node_exporter_metrics:node_exporter_metrics.0] path.procfs = /host/proc
[ info] [input:node_exporter_metrics:node_exporter_metrics.0] path.sysfs = /host/sys
[error] [input:node_exporter_metrics:node_exporter_metrics.0] systemd init failed
[error] [input:node_exporter_metrics:node_exporter_metrics.0] could not set systemd collector for Node Exporter Metrics plugin
[ info] [input:node_exporter_metrics:node_exporter_metrics.0] thread instance initialized
[ info] [output:prometheus_exporter:prometheus_exporter.0] listening iface=0.0.0.0 tcp_port=2021
I'm guessing it's a problem with the node_exporter_metrics plugin or the mirrors.
Metrics can be collected with this error.
I'm not sure if having this error is causing any other problems.
@1puls2is3 I checked this message in code NVMe storage is not mounted
. Seems like it could permission issue. Could you please check if Fluentbit has sufficient permissions to access these metrics
Bug Report
Describe the bug OS: Debian GNU/Linux 12.5 x86_64 K8S: 1.30.1 containerd v1.6.32 runc version 1.1.12
fluent-bit: 3.12 or 3.13 or 2.2.3
helm install -f fluent-bit.yaml fluent-bit fluent/fluent-bit
cat fluent-bit.yaml
Running fluent-bit 3.1.3 directly on Debian 12.5 x86_64 with the same configuration file, node_exporter_metrics does not report an error, but it does have this message: