20 lines
1.1 KiB
YAML
20 lines
1.1 KiB
YAML
groups:
|
|
- name: helium-blockchain-exporter-rules
|
|
interval: 1m
|
|
rules:
|
|
# Accounts
|
|
- record: account:helium_account_deposits_hnt:increase15m
|
|
expr: sum by (account) (increase(helium_account_deposits_hnt_total[15m]))
|
|
- record: account:helium_account_withdrawals_hnt:increase15m
|
|
expr: -sum by (account) (increase(helium_account_withdrawals_hnt_total[15m]))
|
|
|
|
# Hotspots
|
|
- record: type:helium_hotspot_activity:floor_increase15m
|
|
expr: sum by (account, hotspot, hotspot_name, type) (floor(increase(helium_hotspot_activity_total[15m])))
|
|
- record: hotspot:helium_hotspot_rewards_hnt:increase1h
|
|
expr: sum by (account, hotspot, hotspot_name) (increase(helium_hotspot_rewards_hnt_total[1h]))
|
|
- record: hotspot:helium_hotspot_rewards_hnt:increase24h
|
|
expr: sum by (account, hotspot, hotspot_name) (increase(helium_hotspot_rewards_hnt_total[24h]))
|
|
- record: hotspot:helium_hotspot_rewards_hnt:increase7d
|
|
expr: sum by (account, hotspot, hotspot_name) (increase(helium_hotspot_rewards_hnt_total[7d]))
|