Skip to content
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

feat: Add metrics ipmi_dcmi_power_consumption_rate #45

Merged
merged 7 commits into from
Nov 24, 2023

Conversation

jneo8
Copy link
Contributor

@jneo8 jneo8 commented Nov 15, 2023

Add new ipmi-dcmi metrics
Rate = power consumption / maximum power consumption

proposal to fix: canonical/hardware-observer-operator#97

Should merge together with: canonical/hardware-observer-operator#116

Add new ipmi-dcmi metrics
Rate = power consumption / maximum power consumption
Copy link

@aieri aieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this solves the impossibility of a one size fits all approach (including inconsistent power budgets across the hardware-observer application). I have left a few comments

prometheus_hardware_exporter/collector.py Outdated Show resolved Hide resolved
prometheus_hardware_exporter/collector.py Outdated Show resolved Hide resolved
prometheus_hardware_exporter/collectors/lshw.py Outdated Show resolved Hide resolved
prometheus_hardware_exporter/collectors/lshw.py Outdated Show resolved Hide resolved
prometheus_hardware_exporter/collector.py Outdated Show resolved Hide resolved
@jneo8 jneo8 marked this pull request as ready for review November 16, 2023 07:37
@jneo8 jneo8 requested review from a team, Pjack, aieri, agileshaw and rgildein November 16, 2023 07:37
tests/unit/test_collector.py Outdated Show resolved Hide resolved
prometheus_hardware_exporter/collector.py Show resolved Hide resolved
tests/unit/test_collector.py Outdated Show resolved Hide resolved
tests/unit/test_ipmi_dcmi.py Show resolved Hide resolved
@jneo8 jneo8 force-pushed the feat/ipmi_dcmi_power_consumption_rate branch from d01ed57 to 36f508b Compare November 22, 2023 02:39
@jneo8 jneo8 merged commit 586cc8f into canonical:main Nov 24, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make alert ipmi_dcmi_power_cosumption_watts more standard.
4 participants