Skip to content

This an example of a custom exporter that you can write in Python

License

Notifications You must be signed in to change notification settings

sd416/simple-prometheus-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple Prometheus exporter

This Python script simulates system metrics and exposes them using a Prometheus exporter.

Requirements

  • Python 3.9+
  • prometheus_client library

Installation

  1. Clone this repository
  2. Install dependencies: pip install prometheus_client

Usage

  1. Run the script:
python simple-exporter.py
  1. The metrics will be available at http://localhost:8000/metrics.

Releases

No releases published

Packages

No packages published

Languages