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: improve prometheus variable naming #5

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

rickstaa
Copy link
Contributor

@rickstaa rickstaa commented Nov 8, 2023

Important

This pull request is a better alternative to #4. It, however, is not backwards compatible since the metric name is changed.

This pull request enhances Prometheus variable naming by adding the device as a label instead of including it in the variable name. This change accommodates the dynamic nature of UNIX devices that may change with reboots.

@rickstaa
Copy link
Contributor Author

rickstaa commented Nov 8, 2023

@paha I've just submitted two pull requests to handle the dynamic nature of UNIX devices that might change with reboots. While this pull request is superior, it lacks backward compatibility and must be released as a new major version.

This commit enhances Prometheus variable naming by adding the device as
a label instead of including it in the variable name. This change
accommodates the dynamic nature of UNIX devices that may change with
reboots.
@paha paha merged commit 14feb32 into paha:main Nov 8, 2023
@rickstaa rickstaa deleted the add_device_label_2 branch November 8, 2023 18:54
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.

2 participants