Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.23 KB

README.md

File metadata and controls

44 lines (32 loc) · 1.23 KB

Presearch Prometheus Node Exporter

FastAPI server that exposes /metrics endpoint to be scraped by Prometheus.

It collects connection, system, and rewards metrics. Everything that is available in Presearch API.

Tech

Prometheus

Example scraping job

- job_name: presearch-exporter-1
  scrape_interval: 1m
  scrape_timeout: 45s
  params:
    token: [ "API_TOKEN" ]
  static_configs:
    - targets: [ 'presearch-exporter-deployment.io:8000' ]
      labels: { pre_client: 'nourspace' }

Credits

This codebase is inspired by

Todo

  • Cleanup and add more docs on complete installation
  • Improve Docker
  • Add more dashboards/panels