-
Notifications
You must be signed in to change notification settings - Fork 2
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
Hackathon Improvements, Dec 2023 #79
Conversation
Replace `inkel/logfmt` with `slog`
Signed-off-by: Logan Ballard <[email protected]> updating readme updating to a single loop adding size to labels for logging updating metric name based on CR Update cmd/unused-exporter/exporter.go Co-authored-by: Leandro López <[email protected]> updating readme updating readme
Creating rudimentary size tracking of unused disks
These will be used to cache the results of polling each provider for unused disks, making the *exporter.Collect method faster and less prone to timeouts.
…g interface cleaner
Updating Cache: QoL Improvments
This should make the code more readable.
The previous code was using defer, which would release the context.WithTimeout when the program ends, not on each iteration, thus causing deferred functions to pile up, consuming unnecessary memory.
This makes the code more readable.
Co-authored-by: Leandro López <[email protected]>
removing binary accidentally committed
Logyball/cache updates followup / Verbose logging flag
Add cache to exporter
Add golangci-lint
Add additional logging lines
…tion Collect duration in ms
…s-to-auth Adding Azure Environment var authentication
Conditionally set ns based on provider
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.
I did an initial review, and it looks good! Just left a change request and a comment, happy to discuss it before we merge this.
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.
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.
LGTM!
Update tests job name to build
Large-scale changes for
unused-exporter
! Outcome of the December 2023 Grafana hackathon team: Garbage Pail Kids aka Los BasuritosWhat
A more comprehensive
unused-exporter
. Adding atotal_size
metric as well as dramatically improving polling performance using caching.Why
Because it's fun! Also so that we could make this something that actually runs as a service.
Major Changes
Minor Changes
slog
Follow-ups