Third-Party Targets

Third-Party Targets

The following two targets allow the Stake Local dashboard to access information from external APIs.

GitHub

GitHub provides details about the latest release of software packages in use.

View the GitHub configuration file in the /etc/prometheus/files_sd/stakelocal/other directory.

cat /etc/prometheus/files_sd/stakelocal/other/github.yml

It should look like the following.

    - targets: [ 'ledgerwatch/erigon' ]
      labels:
        client: 'Erigon'
    - targets: [ 'nethermindeth/nethermind' ]
      labels:
        client: 'Nethermind'
    - targets: [ 'ethereum/go-ethereum' ]
      labels:
        client: 'Geth'
    - targets: [ 'hyperledger/besu' ]
      labels:
        client: 'Besu'
    - targets: [ 'prysmaticlabs/prysm' ]
      labels:
        client: 'Prysm'
    - targets: [ 'consensys/teku' ]
      labels:
        client: 'Teku'
    - targets: [ 'status-im/nimbus-eth2' ]
      labels:
        client: 'Nimbus'
    - targets: [ 'sigp/lighthouse' ]
      labels:
        client: 'Lighthouse'
    - targets: [ 'attestantio/dirk' ]
      labels:
        client: 'Dirk'
    - targets: [ 'attestantio/vouch' ]
      labels:
        client: 'Vouch'
    - targets: [ 'chainsafe/lodestar' ]
      labels:
        client: 'Lodestar'
    - targets: [ 'prometheus/prometheus' ]
      labels:
        client: 'Prometheus'
    - targets: [ 'prometheus/node_exporter' ]
      labels:
        client: 'Node Exporter'
    - targets: [ 'prometheus/blackbox_exporter' ]
      labels:
        client: 'Blackbox Exporter'
    - targets: [ 'prometheus-community/json_exporter' ]
      labels:
        client: 'JSON Exporter'
    - targets: [ 'ethpandaops/ethereum-metrics-exporter' ]
      labels:
        client: 'Ethereum Metrics Exporter'
    - targets: [ 'grafana/grafana' ]
      labels:
        client: 'Grafana'

CoinGecko

CoinGecko provides the latest ETH price in multiple fiat values.

View the CoinGecko configuration file in the /etc/prometheus/files_sd/stakelocal/other directory.

cat /etc/prometheus/files_sd/stakelocal/other/coingecko.yml

It should look like the following.

    - targets: ['usd,eur,jpy,gbp,aud,cad,chf,cny,hkd,nzd,ils,krw,mxn,rub,sgd,twd,inr']
      labels:
        source: 'CoinGecko'

Last updated