-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.yaml
45 lines (44 loc) · 2.16 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Static exposes metric samples with static labels and values.
static:
# Gauges exports gauges with static labels and values via samples.
gauges:
- name: "cosmos_asset_exponent" # Required
description: "Exponent value for a Cosmos asset" # Optional but recommended
labels: [ "chain", "denom" ]
samples:
# In the below, the labels are the label values.
- { labels: [ "agoric-emerynet-5", "ubld" ], value: 6 }
- { labels: [ "axelar-dojo-1", "uaxl" ], value: 6 }
- { labels: [ "cosmoshub-4", "uatom" ], value: 6 }
- { labels: [ "crescent-1", "ucre" ], value: 6 }
- { labels: [ "injective-1", "inj" ], value: 18 }
- { labels: [ "juno-1", "ujuno" ], value: 6 }
- { labels: [ "osmosis-1", "uosmo" ], value: 6 }
- { labels: [ "sommelier-3", "usomm" ], value: 6 }
- { labels: [ "theta-testnet-001", "uatom" ], value: 6 }
# Cosmos metrics gather and export metrics for Cosmos chains.
cosmos:
# The canonical chain id.
- chainID: cosmoshub-4
interval: 15s # Optional. How often to poll the REST API. Default is 15s.
# Periodically polls REST API (aka LCD) for data such as block height. At least one REST url is required.
# Order matters. The first url is used. If it fails, the next url is tried.
rest:
- url: https://api.cosmoshub.strange.love
- url: https://api-cosmoshub-ia.cosmosia.notional.ventures
validators:
# The consensus address of a validator.
- consaddress: cosmosvalcons164q2kq3q3psj436t9p7swmdlh39rw73wpy6qx6
# Query account balances for cosmos addresses.
accounts:
- address: cosmos130mdu9a0etmeuw52qfxk73pn0ga6gawkryh2z6
# Alias allows you to set a human-readable name for the account.
alias: cosmoshub-test
# Denoms are case-sensitive. If the denom does not exist, the API returns a 0 balance. (Not ideal)
denoms: ["uatom", "ibc/B05539B66B72E2739B986B86391E5D08F12B8D5D2C2A7F8F8CF9ADF674DFA231"]
- chainID: osmosis-1
rest:
- url: https://osmosis-api.polkachu.com
- url: https://lcd.osmosis.zone
validators:
- consaddress: osmovalcons1zw8an2m6hc96a52v5l2pmzzm0qzj5j4p9mnvva