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

Bug with exported metrics? #15

Open
garceri opened this issue Oct 19, 2022 · 0 comments
Open

Bug with exported metrics? #15

garceri opened this issue Oct 19, 2022 · 0 comments

Comments

@garceri
Copy link

garceri commented Oct 19, 2022

I'm checking the metrics that are exported to prometheus from solana_mc and noticed several of them have unusual labels that seem to include the metric value, this ends up cluttering the database, examples:

solana_confirmed_blocktime_diff{solana_confirmed_blocktime_diff="1666194086.00s"} 1.666194086e+09
solana_identity_account_balance{solana_identity_acc_bal="0.0000"} 0
solana_current_slot{solana_current_slot="156213954"} 1.56213954e+08
solana_block_time{solana_block_time="0.00s"} 0
solana_vote_account_balance{solana_vote_acc_bal="0.0317"} 0.031716522
solana_tx_count {solana_tx_count="1.07B"} 1.0704901002e+11

Is this a bug or a feature whose's purpose is not inmediately clear. I can submit a PR to fix this if you want.

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

No branches or pull requests

1 participant