Skip to content

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

@matthewdarwin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions