Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii29 committed Nov 15, 2024
1 parent e93d474 commit abb8700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ docker run -it --rm --net host --name mongodb-profiler-exporter andriik/mongodb-

### Usage
```
usage: mongodb-profiler-exporter.py [-h] [--mongodb-uri MONGODB_URI] [--wait-interval WAIT_INTERVAL] [--max-string-size MAX_STRING_SIZE] [--listen-ip LISTEN_IP] [--listen-port LISTEN_PORT]
usage: mongodb-profiler-exporter.py [-h] [--mongodb-uri MONGODB_URI] [--wait-interval WAIT_INTERVAL] [--max-string-size MAX_STRING_SIZE] [--listen-ip LISTEN_IP] [--listen-port LISTEN_PORT] [--verbose]
MongoDB Prometheus Exporter
Expand All @@ -32,6 +32,7 @@ options:
IP address to listen on (default: 0.0.0.0)
--listen-port LISTEN_PORT
Port to listen (default: 9179)
--verbose Enable Verbose Mode (default: False)
```

Expand Down
2 changes: 1 addition & 1 deletion mongodb-profiler-exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def parse_args():
parser.add_argument('--listen-port', type=int, default=os.getenv('LISTEN_PORT', 9179),
help='Port to listen')
parser.add_argument('--verbose', action='store_true', default=os.getenv('VERBOSE', False),
help='Enable Verbose Mode)')
help='Enable Verbose Mode')

return parser.parse_args()

Expand Down

0 comments on commit abb8700

Please sign in to comment.