-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignored command line flags? #109
Comments
Thanks for reaching out @mtds! Do you mind providing a little more context on your question so that I can be of further assistance? More precisely, what were you expecting to happen when you enabled the ost flag? At present, no information is changed in the log statements when you use the I am definitely open to changing the collector flag behavior if this is non-intuitive or if a more user-friendly method is desired. |
Hi @roclark. Thanks for your quick reply. Sorry, I guess I was too quick in open this issue: I was just expecting to see I have read that all those flags should be enabled by default but since I did not see any mention of the -collector.* in the output I thought something was wrong. Then I tried to get a list of the available metrics Anyway, It would be great if you can add the list of all the enabled flags in the output but maybe it would just be a 'cosmetic' change, so nothing particularly important for this code base. |
@mtds, that's a reasonable ask. We can definitely list the active/enabled components out! |
Thanks for the clarification! @joehandzik and I had an offline discussion of this as well and we agree. I see value in adding output to the log as well as updating the README to make this more clear. |
Ok, thanks @roclark and @joehandzik ! |
Hi all.
It's surely possible I am misunderstanding something and doing some silly mistake
but it looks to me than whenever I specify the '-collector.*' options on the command
line those flags are ignored. I am using the latest sources from the master branch.
Example:
On the other hand, teh '-web.listen-address' works as expected:
I'm no Golang export but looking into the lustre_exporter.go source code I saw the following
code (lines 129-145):
It looks like sourcesList is set through enabledSources, which contains just "procfs" and "procsys"
(so no command line flags argument are taken into considerations).
Does it mean should I enable the options editing the source code and changing enabledSources
by hand?
Is that the meaning of the comment (expand to include more sources eventually (CLI, other))
or am I mistaken?
The text was updated successfully, but these errors were encountered: