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

fix: fix string metric bug #2

Merged
merged 2 commits into from
Aug 1, 2023
Merged

fix: fix string metric bug #2

merged 2 commits into from
Aug 1, 2023

Conversation

rickstaa
Copy link
Contributor

This pull request fixes a bug that caused the liquidity-exporter to crash when liquidctl contained metrics that are of type string. The new code filters out these metrics and only publishes float64 metrics. Since I do not use these myself, I did not implement any logic for saving string-based metrics into the Prometheus database.

This commit fixes a bug that caused the liquidctl-exporter to crash when
liquidctl contained metrics that are of type string. The new code
filters out these metrics and only publishes float64 metrics.
@paha paha merged commit 516f4f1 into paha:main Aug 1, 2023
@rickstaa rickstaa deleted the snap-main branch August 1, 2023 18:55
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