Command 'juju set-meter-status'

The information in this doc is based on Juju version 3.5.5, and may not accurately reflect other versions of Juju.

Summary

Sets the meter status on an application or unit.

Usage

juju set-meter-status [options] [application or unit] status

Options

Flag Default Usage
-B, --no-browser-login false Do not use web browser for authentication
--info Set the meter status info to this string
-m, --model Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>

Examples

juju set-meter-status myapp RED
juju set-meter-status myapp/0 AMBER --info "my message"

Details

Set meter status on the given application or unit. This command is used to test the meter-status-changed hook for charms in development.