A sample Prometheus exporter showing coin price
Table of Contents
- Since this repo's script contains some unix command, The best scenario is you are using a Unix-like operating system: macOS, Linux, BSD. On Windows: WSL2 is preferred, but cygwin or msys also mostly work. If you are using other operating system, you can write your own script to run this tool.
- This whole project is built on containerized architect so Docker & Docker Compose should be installed.
- make should be installed to be able to run the setup script.
# Run the setup script with the bellow command
makeFollow these instructions to view your result.
| How to check | Method |
|---|---|
| Running containers | docker compose ps |
Prometheus dashboard |
visit http://localhost:9090/ |
Pricex exporter metric |
visit http://localhost:9169/metrics |
To implement Grafana graph & chart you need to:
- Create a
Grafanaaccount - Create a
Prometheusdata source host onGrafana - Replace
remote_writeinfo inprometheus.yml
pricex is released under the MIT license.