Skip to content

alexal29/pricex

Repository files navigation

pricex

A sample Prometheus exporter showing coin price

Table of Contents

Getting Started

Prerequisites

  • 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.

Usage

# Run the setup script with the bellow command
make

image

Result Observation

Follow 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 Grafana account
  • Create a Prometheus data source host on Grafana
  • Replace remote_write info in prometheus.yml

License

pricex is released under the MIT license.

About

A sample Prometheus exporter storing coin price

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published