Plugins: Add metrics for fs + cloud provisioning info (#111030)
* add new metrics for plugin fs + cloud provisioning * fix test * update label
This commit is contained in:
@@ -456,3 +456,20 @@ type QueryCachingConfig struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
TTLMS int64 `json:"TTLMs"`
|
||||
}
|
||||
|
||||
// CloudProvisioningMethod is the method used to provision the plugin in Grafana Cloud.
|
||||
type CloudProvisioningMethod string
|
||||
|
||||
const (
|
||||
// CloudProvisioningMethodUnknown is used when the plugin provisioning method is unknown.
|
||||
CloudProvisioningMethodUnknown CloudProvisioningMethod = "unknown"
|
||||
|
||||
// CloudProvisioningMethodNone is used when the plugin is not provisioned in Grafana Cloud.
|
||||
CloudProvisioningMethodNone CloudProvisioningMethod = "none"
|
||||
|
||||
// CloudProvisioningMethodURL is used when the plugin is provisioned from a URL.
|
||||
CloudProvisioningMethodURL CloudProvisioningMethod = "url"
|
||||
|
||||
// CloudProvisioningMethodCatalog is used when the plugin is provisioned from the catalog.
|
||||
CloudProvisioningMethodCatalog CloudProvisioningMethod = "catalog"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user