fahstats_exporter

command module
v0.0.0-...-6e6dbcf Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 9 Imported by: 0

README

Prometheus Exporter for Folding@home Donor Stats

This is an exporter that exposes information gathered from the Folding@home stats JSON API for use by the Prometheus monitoring system.

Prometheus Configuration

The fahstats exporter needs to be passed the user as a parameter. This can be done with relabeling.

Example config:

scrape_configs:
  - job_name: 'fahstats'
    scrape_interval: 30m  # Be kind to the Folding@home servers...
    scrape_timeout: 120s  # ...and be patient.
    static_configs:
      - targets:
        - corhere  # Folding@home donor user name
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - target_label: __address__
        replacement: 127.0.0.1:9702  # the fahstats exporter's real hostname:port

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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