Skip to content

Commit fd81bca

Browse files
committed
README: add command line options
1 parent c55aa27 commit fd81bca

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,21 @@ This should be considered harmless and it will not affect the build process.
113113
make build
114114
```
115115

116+
## Command line options
117+
118+
The following is the list of the command line options available on this exporter:
119+
120+
```bash
121+
:~$ prometheus-slurm-exporter -h
122+
Usage of ./prometheus-slurm-exporter:
123+
-listen-address string
124+
The address to listen on for HTTP requests. (default ":8080")
125+
-log.format value
126+
Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true" (default "logger:stderr")
127+
-log.level value
128+
Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "info")
129+
```
130+
116131
## Prometheus Configuration for the SLURM exporter
117132

118133
It is strongly advisable to configure the Prometheus server with the following parameters:

0 commit comments

Comments
 (0)