You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to launch node_exporter with the textfile collector because I need some custom metrics.
When I start the node_exporter with textfile collector directory option, it's working fine I'm able to to retrieve my custom metrics.
But whenever I tried to start the node_exporter with both the --web-config-file option and --collector.textfile.directory option, I can't see anymore my custom metrics
What did you expect to see?
I expect to be able to have my custom metrics while using the --web-config-file option + --collector.textfile.directory option
What did you see instead?
The custom metrics are not scrapped anymore while using --web-config-file option + --collector.textfile.directory option
The text was updated successfully, but these errors were encountered:
nekatskin
changed the title
Problem with textfile collector with --web.config.file option
Problem with textfile collector combined with --web.config.file option
Oct 2, 2024
This is quite surprising, since those flags are completely unrelated, and defined in totally different parts of the code. The --web.config.file flag is technically not even part of node_exporter - it is provided by the prometheus/exporter-toolkit package.
Have you tried to reproduce this with the latest version of node_exporter, v1.8.2?
PS: what the heck is still running kernel 4.15? It was EOL'd in April 2018, more than six years ago.
Host operating system: output of
uname -a
Linux 4.15.0-197-generic x86_64
node_exporter version: output of
node_exporter --version
node_exporter command line flags
node_exporter log output
Are you running node_exporter in Docker?
No
What did you do that produced an error?
I tried to launch node_exporter with the textfile collector because I need some custom metrics.
When I start the node_exporter with textfile collector directory option, it's working fine I'm able to to retrieve my custom metrics.
But whenever I tried to start the node_exporter with both the --web-config-file option and --collector.textfile.directory option, I can't see anymore my custom metrics
What did you expect to see?
I expect to be able to have my custom metrics while using the --web-config-file option + --collector.textfile.directory option
What did you see instead?
The custom metrics are not scrapped anymore while using --web-config-file option + --collector.textfile.directory option
The text was updated successfully, but these errors were encountered: