mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-03 07:53:15 -04:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
627cd6fe73
commit
7a52e79108
@@ -1 +1,39 @@
|
||||
# Custom_Prometheus_Node_Exporter-in-Python
|
||||
|
||||
## Run Program
|
||||
|
||||
Login to the server where you want to run this exporter and clone the project:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/hmdhszd/Custom_Prometheus_Node_Exporter-in-Python.git
|
||||
```
|
||||
|
||||
Go to the project directory:
|
||||
|
||||
```bash
|
||||
cd Custom_Prometheus_Node_Exporter-in-Python
|
||||
```
|
||||
|
||||
Build image and start the container:
|
||||
|
||||
```bash
|
||||
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):
|
||||
|
||||
```bash
|
||||
- job_name: python-exporter
|
||||
metrics_path: /metrics.txt
|
||||
static_configs:
|
||||
- targets: ['<IP-of-Node-Exporter's-Server>:9999']
|
||||
```
|
||||
|
||||
|
||||
## Add Grafana dashboards using imported items
|
||||
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user