Skip to content

b-n-space/0l-exporter

Repository files navigation

0L Prometheus Exporter

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

Tech

Prometheus

Example scraping job

- job_name: ol-exporter-tower-1
  scrape_interval: 15s
  scrape_timeout: 5s
  static_configs:
    - targets:
        - 'ACCOUNT1'
        - 'ACCOUNT2'
        - 'ACCOUNTN'
      labels:
        ol_client: 'someone'
        __metrics_path__: '/metrics/tower'
        instance: 'ol-exporter.monitoring.svc:8000'
  relabel_configs:
    - source_labels: [ __address__ ]
      target_label: __param_account
    - source_labels: [ instance ]
      target_label: __address__
    - target_label: instance
      replacement: ''

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published