-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
RFC: rename the zpool_influxdb command #11156
Comments
That's a good point about breaking tab completion of the |
So it ended up being easier to rewire it as |
Move zpool_influxdb to libexec dir, as per following discussions: openzfs#11156 openzfs#11160 Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Move zpool_influxdb to libexec dir, as per following discussions: openzfs#11156 openzfs#11160 Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Move zpool_influxdb to libexec dir, as per following discussions: openzfs#11156 openzfs#11160 Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Move zpool_influxdb to libexec dir, as per following discussions: openzfs#11156 openzfs#11160 Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Move zpool_influxdb to libexec dir, as per following discussions: openzfs#11156 openzfs#11160 Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Move the zpool_influxdb command to /usr/libexec/zfs, and include the /usr/libexec/zfs path in the system search directory when running the test suite. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Snajdr <snajpa@snajpa.net> Closes openzfs#11156 Closes openzfs#11160 Closes openzfs#11224
Move the zpool_influxdb command to /usr/libexec/zfs, and include the /usr/libexec/zfs path in the system search directory when running the test suite. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Snajdr <snajpa@snajpa.net> Closes openzfs#11156 Closes openzfs#11160 Closes openzfs#11224
Move the zpool_influxdb command to /usr/libexec/zfs, and include the /usr/libexec/zfs path in the system search directory when running the test suite. Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Pavel Snajdr <snajpa@snajpa.net> Closes openzfs#11156 Closes openzfs#11160 Closes openzfs#11224
Describe the problem you're observing
Firstly, I'm really sorry I'm coming with this now, that #10786 has been merged; but I've mised the (arguably tiny) window for reviews for that, so here we are...
The problem I'm having:
I've been using ZFS for years, some of the commands are so deeply embedded in my muscle memory and I would say I'm not alone in this... so it would be best if we could avoid changes upsetting this equilibrium :-D
For years, I've been typing this, when I wanted to get the status of zpool:
zpo<tab>status
... and it has always worked on all the platforms supported by OpenZFS.
But now, that the
zpool_influxdb
command has been merged and since it installs to globally accessible directory within common $PATH settings, it just irks me, but really badly.So I would like to propose a change, which will fix this.
Looking at the PR, where the command got merged, I think the best course of action would be rewiring the logic directly under
zpool
command, my best bet would be a newzpool monitor
subcommand, where I'd be for having a-i
switch, which would produce the format needed for InfluxDB.Then we could have
-p
for Prometheus, etc.I was thinking whether to send this as a PR directly, but I think I would like to discuss this first, before I invest some real time into this 🙂
What do others think?
@richardelling as the author of the original PR, would you have any problem with me rewiring this under the
zpool
command directly? Or is there some caveat I'm overlooking, which prevented you to do that in the first place? Thx! ;)The text was updated successfully, but these errors were encountered: