Merge "Add config option"
This commit is contained in:
commit
0db9a7202e
@ -108,7 +108,7 @@ Statsd:
|
||||
# Monasca Statsd is a small server that aggregates your custom app metrics.
|
||||
|
||||
# Make sure your client is sending to the same port.
|
||||
monasca_statsd_port : 8125
|
||||
monasca_statsd_port : {args.monasca_statsd_port}
|
||||
|
||||
## The monasca_statsd flush period.
|
||||
# monasca_statsd_interval : 20
|
||||
|
@ -109,6 +109,7 @@ All parameters require a '--' before the parameter such as '--verbose'. Run `mon
|
||||
| detection_args | Some detection plugins can be passed arguments. This is a string that will be passed to the detection plugins. | "hostname=ping.me" |
|
||||
| max_measurement_buffer_size | Integer value for the maximum number of measurements to buffer locally while unable to connect to the monasca-api. If the queue exceeds this value, measurements will be dropped in batches. A value of '-1' indicates no limit | 100000 |
|
||||
| backlog_send_rate | Integer value of how many batches of buffered measurements to send each time the forwarder flushes data | 1000 |
|
||||
| monasca_statsd_port | Integer value for statsd daemon port number | 8125 |
|
||||
|
||||
### Providing Arguments to Detection plugins
|
||||
When running individual detection plugins you can specify arguments that augment the configuration created. In some instances the arguments just provide additional
|
||||
|
@ -280,6 +280,9 @@ def parse_arguments(parser):
|
||||
help="Maximum number of buffered batches of measurements to send at"
|
||||
" one time when connection to the monasca-api is restored",
|
||||
default=1000)
|
||||
parser.add_argument('--monasca_statsd_port',
|
||||
help="Statsd daemon port number",
|
||||
default=8125)
|
||||
return parser.parse_args()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user