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

Capture additional components in prometheus sample dashboard #253

Merged
merged 1 commit into from
Oct 24, 2021

Conversation

nickbabcock
Copy link
Owner

When querying the breakdown of hardware components, the prometheus query may
be too narrow and exclude components that didn't match but should have been
included. For instance the previous hardware query:

ohm_hdd_load_percent{instance="$instance"}

Will exclude hard drives without load percentages.

The fix is to match on name prefix, so anything that starts with ohm_hdd_ is
considered a harddrive and will have its own details section.

Grafana version was updated in the meantime, as there are still some
UI oddities in the dashboard remaining, which may be fixed in a future
update

Addresses part of #246 (comment)

When querying the breakdown of hardware components, the prometheus query may
be too narrow and exclude components that didn't match but should have been
included. For instance the previous hardware query:

```
ohm_hdd_load_percent{instance="$instance"}
```

Will exclude hard drives without load percentages.

The fix is to match on name prefix, so anything that starts with `ohm_hdd_` is
considered a harddrive and will have its own details section.

Grafana version was updated in the meantime, as there are still some
UI oddities in the dashboard remaining, which may be fixed in a future
update
@nickbabcock nickbabcock merged commit b1ffe4d into master Oct 24, 2021
@nickbabcock nickbabcock deleted the flexible-variable branch October 24, 2021 00:35
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.

1 participant