Skip to content

Bug with exported metrics? #15

@garceri

Description

@garceri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions