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.
const ( // Controller is used in RequestMetrics Controller MetricKey = "controller" // Model is used in RequestMetrics Model MetricKey = "model" // UUID is the uuid of a model, either controller or model. UUID MetricKey = "uuid" // JujuVersion is the version of juju running in this model. JujuVersion MetricKey = "juju-version" // Provider matches the provider type defined in juju. Provider MetricKey = "provider" // Region is the region this model is operating in. Region MetricKey = "region" // Cloud is the name of the cloud this model is operating in. Cloud MetricKey = "cloud" // NumApplications is the number of applications in the model. NumApplications MetricKey = "applications" // NumMachines is the number of machines in the model. NumMachines MetricKey = "machines" // NumUnits is the number of units in the model. NumUnits MetricKey = "units" // Relations is a common separated list of charms currently related // to an application. (no spaces) Relations MetricKey = "relations" )
Click to show internal directories.
Click to hide internal directories.