Prometheus-metric scraper for crypto markets
1.8K
This will scrape CoinGecko for cryptocurrency prices and then provide them as Prometheus-style metrics.
The instance will listen for requests on an HTTP server and serve up the metrics.
This is intended to be deployed to a Kubernetes cluster with the Prometheus Operator:
kubectl apply -k ./deploy/
You can also run it via Docker:
docker run -p 3000:3000 mwthink/prometheus-cryptomarket-exporter:latest
Config options are specified via environment variables.
CURRENCIES
bitcoin monero ethereum)VS_CURRENCY
usd)SCRAPE_INTERVAL
10)METRICS_PREFIX
cryptomarket)LISTEN_PORT
3000)This project is intended to be run as a Docker image. Images are pushed to the
repo docker.io/mwthink/prometheus-cryptomarket-exporter.
There are two tags that should be used:
latest - Built by the automated system on pushes to the main branchmultiarch - Built by hand, for multiple architecture typesBoth images should be considered stable, the multiarch image might be older.
You can build locally with:
yarn install
yarn run build
You can build a docker image with:
docker build .
Content type
Image
Digest
Size
63.8 MB
Last updated
almost 6 years ago
docker pull mwthink/prometheus-cryptomarket-exporter