Hello everyone. We just upgraded FluentBit using ...
# fluent-bit
k
Hello everyone. We just upgraded FluentBit using the latest Helm chart in Artifact hub and in both our environments we are seeing this error in our logs:
Copy code
[input:node_exporter_metrics:node_metrics] read error, check permissions: /sys/class/hwmon/hwmon*
It says this is benign and trying to get "temperature" metrics (which we just introduced a node group for Nvida instances). The configuration for the input is pretty basic
Copy code
[INPUT]
        Alias                           node_metrics
        name                            node_exporter_metrics
        tag                             node_metrics
        scrape_interval                 60
Can I disable this somehow? It is flooding out logs.
p
@hhatake may know more around disabling it directly but I suspect you can customise the scrape interval for that specific collector to be really long to stop it flooding logs? https://docs.fluentbit.io/manual/data-pipeline/inputs/node-exporter-metrics#configuration
k
but which "metric" is it? I dont necessarily want to stop all the metrics, just this one.
p
Copy code
$ docker run --rm -it fluent/fluent-bit -i node_exporter_metrics --help
...
collector.hwmon.chip-include             regex of chips to include
                                         > default: default, type: string

collector.hwmon.chip-exclude             regex of chips to exclude
                                         > default: default, type: string

collector.hwmon.sensor-include           regex of sensors to include
                                         > default: default, type: string

collector.hwmon.sensor-exclude           regex of sensors to exclude
                                         > default: default, type: string
Looks like there are a few options for the
hwmon
collector - not documented yet it seems - so maybe the scrape interval for that or you can adjust those exclude regexes to cover everything? I presume you don't want to just fix the mounts?
k
yeah. or roll back might be the easier one for now ;(
Do you know what version that was introduced (4.1.0?)
p
Up to you but I'd still raise an issue on it - it needs the docs updating at least to show it. I suspect you need to specify the regexes appropriately if you do not want to use it.
Look at the code, you can see what it was added
k
ill def raise the issue but for now looking at the quickest path
k
Nice. Thank you so much for the quick reply! I really appreciate it.
👍 2
p
To be honest it's probably quicker to just push a PR for the docs if you want to get the missing ones in: https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/inputs/node-exporter-metrics.md I know @Eric D. Schabell has been trying to stay on top of the changes here but it's always possible some slip through.
🎯 1