Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fantom chain #5

Merged
merged 2 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CELO_RPC=public-celo-rpc-ip-with-port
ARBITRUM_NITRO_RPC=public-arbitrum-rpc-ip-with-port
OPTIMISM_RPC=public-optimism-rpc-ip-with-port
AVALANCHE_RPC=public-avalanche-rpc-ip-with-port
FANTOM_RPC=public-fantom-rpc-ip-with-port

ETH_MAINNET_INDEXERS=address1,address2
ETH_GOERLI_INDEXERS=address1,address2
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ services:


blockexporter:
image: haritowa/latest-block-exporter:1.3.1
image: haritowa/latest-block-exporter:1.3.2
container_name: blockexporter
restart: unless-stopped
env_file:
Expand Down
12 changes: 12 additions & 0 deletions prometheus/prometheus.templ
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,18 @@ scrape_configs:
metrics_path: /avalanche/latest
static_configs:
- targets: ['blockexporter:8081']

- job_name: fantom_current
scrape_interval: 5s
metrics_path: /fantom/current
static_configs:
- targets: ['blockexporter:8081']

- job_name: fantom_latest
scrape_interval: 15s
metrics_path: /fantom/latest
static_configs:
- targets: ['blockexporter:8081']

- job_name: wallets_eth_mainnet
scrape_interval: 60s
Expand Down