Skip to content

Commit dd58d13

Browse files
committed
fix: improved logging and docs
1 parent 8d22b6e commit dd58d13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The name of the file can be overriden with flag:
3737

3838
./rabbitmq_exporter -config-file config.example.json
3939

40-
You can find an example [here](config.example.json).
40+
You can find an example [here](config.example.json). *Note:* If you are using a config file, you must provide all values as there is no default value.
4141

4242
### Settings
4343

main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ func main() {
7373
"SKIPVERIFY": config.InsecureSkipVerify,
7474
"EXCLUDE_METRICS": config.ExcludeMetrics,
7575
"SKIP_QUEUES": config.SkipQueues.String(),
76-
"INCLUDE_QUEUES": config.IncludeQueues,
76+
"INCLUDE_QUEUES": config.IncludeQueues.String(),
7777
"SKIP_VHOST": config.SkipVHost.String(),
78-
"INCLUDE_VHOST": config.IncludeVHost,
78+
"INCLUDE_VHOST": config.IncludeVHost.String(),
7979
"RABBIT_TIMEOUT": config.Timeout,
8080
"MAX_QUEUES": config.MaxQueues,
8181
// "RABBIT_PASSWORD": config.RABBIT_PASSWORD,

0 commit comments

Comments
 (0)