The information in this doc is based on Juju version 3.5.6, and may not accurately reflect other versions of Juju.
See also: metrics
Summary
Collect metrics on the given unit/application.
Usage
juju collect-metrics [options] [application or unit]
Options
Flag | Default | Usage |
---|---|---|
-B , --no-browser-login |
false | Do not use web browser for authentication |
-m , --model |
Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
Examples
juju collect-metrics myapp
juju collect-metrics myapp/0
Details
Trigger metrics collection
This command waits for the metric collection to finish before returning. You may abort this command and it will continue to run asynchronously. Results may be checked by ‘juju show-task’.