Hamid Hosseinzadeh 7a52e79108 Update README.md
2022-01-27 11:29:01 +03:30
2022-01-27 11:05:35 +03:30
2022-01-27 11:06:16 +03:30
2022-01-27 11:05:57 +03:30
2022-01-27 11:29:01 +03:30

Run Program

Login to the server where you want to run this exporter and clone the project:

  git clone https://github.com/hmdhszd/Custom_Prometheus_Node_Exporter-in-Python.git

Go to the project directory:

  cd Custom_Prometheus_Node_Exporter-in-Python

Build image and start the container:

  docker-compose up -d --build --force-recreate

Add the exporter to Prometheus

Add this part at the end of the configuration of your Prometheus (prometheus.yaml):

  - job_name: python-exporter
    metrics_path: /metrics.txt
    static_configs:
      - targets: ['<IP-of-Node-Exporter's-Server>:9999']

Add Grafana dashboards using imported items

App Screenshot

S
Description
No description provided
Readme Apache-2.0 433 KiB
Languages
Python 99.2%
Dockerfile 0.8%