Add metering api.

Signed-off-by: yunkunrao <yunkunrao@yunify.com>
This commit is contained in:
yunkunrao
2020-10-16 11:01:50 +08:00
committed by Rao Yunkun
parent 2f5202f38a
commit e9073f0486
31 changed files with 4794 additions and 101 deletions

View File

@@ -105,7 +105,20 @@ const (
EventsQueryTag = "Events Query"
AuditingQueryTag = "Auditing Query"
AlertingTag = "Alerting"
ClusterMetersTag = "Cluster Meters"
NodeMetersTag = "Node Meters"
WorkspaceMetersTag = "Workspace Meters"
NamespaceMetersTag = "Namespace Meters"
WorkloadMetersTag = "Workload Meters"
PodMetersTag = "Pod Meters"
ServiceMetricsTag = "ServiceName Meters"
ApplicationReleaseName = "meta.helm.sh/release-name"
ApplicationReleaseNS = "meta.helm.sh/release-namespace"
ApplicationName = "app.kubernetes.io/name"
ApplicationVersion = "app.kubernetes.io/version"
AlertingTag = "Alerting"
)
var (