[prometheus-node-exporter] Add rapl initContainer#6589
Closed
henrichter wants to merge 27 commits intoprometheus-community:mainfrom
Closed
[prometheus-node-exporter] Add rapl initContainer#6589henrichter wants to merge 27 commits intoprometheus-community:mainfrom
henrichter wants to merge 27 commits intoprometheus-community:mainfrom
Conversation
Signed-off-by: henrichter <hr.richterhenry@gmail.com>
Author
|
I've seen something similar being used by bitnami postgresql chart [1]. They use a |
Signed-off-by: Firas Mosbehi <firas.mosbehi@insat.ucar.tn>
…track-stats-exporter to v0.4.40 (prometheus-community#6590) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…/postgres_exporter to v0.19.0 (prometheus-community#6591) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ommunity#6578) Signed-off-by: zeritti <47476160+zeritti@users.noreply.github.com>
…metheus-community#6592) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…exporter to v0.19.1 (prometheus-community#6582) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…operator/prometheus-operator to v0.89.0 (prometheus-community#6593) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…etheus-operator to v0.89.0 (prometheus-community#6594) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: helm-charts-renovate-helper[bot] <203471071+helm-charts-renovate-helper[bot]@users.noreply.github.com>
…metheus-config-reloader Docker tag to v0.89.0 (prometheus-community#6596) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…eloader Docker tag to v0.89.0 (prometheus-community#6595) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…eus-config-reloader Docker tag to v0.89.0 (prometheus-community#6597) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…us-community#6598) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…mmunity#6599) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…eus-community#6613) Signed-off-by: Firas Mosbehi <firas.mosbehi@insat.ucar.tn>
…track-stats-exporter to v0.4.41 (prometheus-community#6625) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…bouncer-exporter Docker tag to v0.11.1 (prometheus-community#6626) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ader metrics port (prometheus-community#6623) Signed-off-by: Firas Mosbehi <firas.mosbehi@insat.ucar.tn>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ajor updates (prometheus-community#6628) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…webhook-certgen Docker tag to v1.7.6 (prometheus-community#6631) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ajor updates (prometheus-community#6630) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ter to v0.48.0 (prometheus-community#6636) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ajor updates (prometheus-community#6637) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…rometheus-community#6638) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…r to v1.81.0 (prometheus-community#6639) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
This is a WIP proposal to see if there's interest in baking a permission fix for the powercap collector into the chart.
Currently, node-exporter can't scrape RAPL metrics on most distros because
/sys/devices/virtual/powercap/*/energy_ujisroot:root 0400. This PR adds an initContainer to chown these files to the exporter's GID and chmod 640 them so the collector actually works without running the whole daemon as root.Which issue this PR fixes
Special notes for your reviewer
enabledflag so it's strictly opt-in.nobodygroup as the owner. Open to better ideas if you want to tighten this further.Checklist
[prometheus-couchdb-exporter])