Skip to content

Commit e9f7aef

Browse files
author
Gaetan Dumortier
committed
Add info for custom port
1 parent f267b84 commit e9f7aef

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

DEVELOPMENT.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ Start the exporter (foreground), and query all metrics:
4444
```bash
4545
bin/prometheus-slurm-exporter
4646
...
47+
48+
If you wish to run the exporter on a different port, or the default port (8080) is already in use, run with the following argument:
49+
50+
```bash
51+
bin/prometheus-slurm-exporter --listen-address="0.0.0.0:<port>"
52+
...
53+
4754
# query all metrics (default port)
4855
curl http://localhost:8080/metrics
4956
```

0 commit comments

Comments
 (0)