Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricKey ¶
type MetricKey string
MetricKey represents metrics keys collected and sent to charmhub.
type MetricValueKey ¶
type MetricValueKey string
MetricValueKey represents metrics value keys collected and sent to charmhub.
const ( // UUID is the uuid of a model, either controller or model. UUID MetricValueKey = "uuid" // JujuVersion is the version of juju running in this model. JujuVersion MetricValueKey = "juju-version" // Provider matches the provider type defined in juju. Provider MetricValueKey = "provider" // Region is the region this model is operating in. Region MetricValueKey = "region" // Cloud is the name of the cloud this model is operating in. Cloud MetricValueKey = "cloud" // NumApplications is the number of applications in the model. NumApplications MetricValueKey = "applications" // NumMachines is the number of machines in the model. NumMachines MetricValueKey = "machines" // NumUnits is the number of units in the model. NumUnits MetricValueKey = "units" // Relations is a common separated list of charms currently related // to an application. (no spaces) Relations MetricValueKey = "relations" )
func (MetricValueKey) String ¶
func (c MetricValueKey) String() string
Click to show internal directories.
Click to hide internal directories.