Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollectMetricsCommand ¶
NewCollectMetricsCommand creates a new collectMetricsCommand.
Types ¶
type DebugMetricsCommand ¶
DebugMetricsCommand retrieves metrics stored in the juju controller.
func (*DebugMetricsCommand) Info ¶
func (c *DebugMetricsCommand) Info() *cmd.Info
Info implements Command.Info.
func (*DebugMetricsCommand) Init ¶
func (c *DebugMetricsCommand) Init(args []string) error
Init reads and verifies the cli arguments for the DebugMetricsCommand
func (*DebugMetricsCommand) Run ¶
func (c *DebugMetricsCommand) Run(ctx *cmd.Context) error
Run implements Command.Run.
func (*DebugMetricsCommand) SetFlags ¶
func (c *DebugMetricsCommand) SetFlags(f *gnuflag.FlagSet)
SetFlags implements Command.SetFlags.
type GetMetricsClient ¶
type GetMetricsClient interface { GetMetrics(tag string) ([]params.MetricResult, error) Close() error }
Click to show internal directories.
Click to hide internal directories.