pricex

module
v0.0.0-...-cbe46fc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2022 License: MIT

README

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.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL