-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
prometheus-redis-exporter: init at 1.7.0 #90662
Conversation
@eskytthe Added you as a maintainer here as requested. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind adding a module for the prometheus-exporter (and probably a test as well)?
Oh, yes, of course. Totally forgot about that. :) On it. |
Done. The module is very minimal as the exporter is entirely configurable through command line flags . What a nice framework for creating and testing exporters. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, just one minor thing:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@GrahamcOfBorg test prometheus-exporters.redis |
Motivation for this change
I needed this for production.
Things done
vgo2nix'ed deps pending discussions of #84826 to converge on some recommendation, I suppose.
Left out a few of the possible "version" parameters as "unknown" since I feel they're likely to get out of date during updates, and don't provide much additional value (save perhaps for sha1, reviewer might disagree with me there.)
Tested against local and remote redis servers. Stats are served and look correct.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)