This repository contains the application code and infrastructure code for creditcoin metrics. It is made up of a scrapper which scrapes specified data from Creditcoin networks' rpcs, then it creates metrics from the strramed data.
Install application dependencies
npm install
Start application and check check your application on http://localhost:8080/metrics
npm run dev
Run Prometheus: Ensure you have Docker installed and running. Prometheus will be running on http://localhost:9090.
docker-compose up
az deployment group create --template-file exporter.bicep -g ccsubstrate-common --parameters location=koreacentral