This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-07 03:43:34 +00:00
|
|
|
groups:
|
|
|
|
- name: helium-blockchain-exporter-rules
|
|
|
|
interval: 1m
|
|
|
|
rules:
|
2021-10-14 19:24:06 +00:00
|
|
|
# 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
|
2021-10-07 03:43:34 +00:00
|
|
|
- record: type:helium_hotspot_activity:floor_increase15m
|
|
|
|
expr: sum by (account, hotspot, hotspot_name, type) (floor(increase(helium_hotspot_activity_total[15m])))
|
2021-10-14 19:24:06 +00:00
|
|
|
- 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]))
|