Skip to content

Commit

Permalink
fix: improved logging and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbudde committed Dec 28, 2021
1 parent 8d22b6e commit dd58d13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The name of the file can be overriden with flag:

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

You can find an example [here](config.example.json).
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.

### Settings

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ func main() {
"SKIPVERIFY": config.InsecureSkipVerify,
"EXCLUDE_METRICS": config.ExcludeMetrics,
"SKIP_QUEUES": config.SkipQueues.String(),
"INCLUDE_QUEUES": config.IncludeQueues,
"INCLUDE_QUEUES": config.IncludeQueues.String(),
"SKIP_VHOST": config.SkipVHost.String(),
"INCLUDE_VHOST": config.IncludeVHost,
"INCLUDE_VHOST": config.IncludeVHost.String(),
"RABBIT_TIMEOUT": config.Timeout,
"MAX_QUEUES": config.MaxQueues,
// "RABBIT_PASSWORD": config.RABBIT_PASSWORD,
Expand Down

0 comments on commit dd58d13

Please sign in to comment.