Skip to content

specify that us=microseconds in all the prometheus help #2201

Description

@matthewdarwin

The following was seen in telegram:

Hello guys. Could you help me with my question?
If we use nodeos metrics (v1/prometheus/metrics) what units of measurement are used in metrics like this?

# HELP nodeos_cpu_usage_us_total total cpu usage in microseconds for blocks
# TYPE nodeos_cpu_usage_us_total counter
nodeos_cpu_usage_us_total{block_type="incoming"} 670687406
nodeos_cpu_usage_us_total{block_type="produced"} 0
# HELP nodeos_produced_elapsed_us_total total produced blocks elapsed time
# TYPE nodeos_produced_elapsed_us_total counter
nodeos_produced_elapsed_us_total 0
# HELP nodeos_success_trx_time_us_produced_block time for successful transactions in produced block
# TYPE nodeos_success_trx_time_us_produced_block counter
nodeos_success_trx_time_us_produced_block 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions