Skip to content

sudoblockio/icon-metrics-v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

588affa · Mar 22, 2022

History

48 Commits
Nov 23, 2021
Mar 22, 2022
Mar 22, 2022
Oct 29, 2021
Oct 12, 2021
Oct 12, 2021
Oct 12, 2021
Mar 22, 2022
Oct 19, 2021
Oct 12, 2021
Oct 12, 2021
Mar 22, 2022
Oct 16, 2021
Oct 12, 2021
Oct 12, 2021

Repository files navigation

ICON Metrics Service

loopchain GitHub Release codecov

Off chain indexer for the ICON Blockchain serving metrics for the icon-explorer. Service is broken up into API and worker components that are run as individual docker containers. Events are derived from various bespoke JSON RPC / REST calls against the nodes across the ecosystem and a prometheus DB and persisted in a postgres database.

Endpoints

TODO: Links and table

Deployment

Service can be run in the following ways:

  1. Independently from this repo with docker compose:
docker-compose -f docker-compose.db.yml -f docker-compose.yml up -d
# Or alternatively
make up
  1. With the whole stack from the main icon-explorer repo.

Run make help for more options.

Development

For local development, you will want to run the docker-compose.db.yml as you develop. To run the tests,

make test

License

Apache 2.0