Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricTypeMatrix = types.MetricTypeMatrix MetricTypeVector = types.MetricTypeVector )
Variables ¶
View Source
var NewNamedMetricQuery = types.NewNamedMetricQuery
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Cluster() types.Cluster Node(name, filter string) types.Node Workspace(name, filter string) types.Workspace Namespace(workspace, name, filter string) types.Namespace Workload(namespace, kind, filter string) types.Workload Pod(node, namespace, workloadKind, workloadName, name, filter string) types.Pod Container(namespace, pod, name, filter string) types.Container PVC(namespace, storageClass, name, filter string) types.PVC Component() types.Component Query(expr string) types.MetricQuery GetMetadata(namespace string) []Metadata GetMetricLabelSet(expr string, start, end time.Time) []map[string]string }
Interface get all monitor metrics
type MetricData ¶
type MetricData = types.MetricData
type MetricQuery ¶
type MetricQuery = types.MetricQuery
type MetricValue ¶
type MetricValue = types.MetricValue
type NamedMetricQuery ¶
type NamedMetricQuery = types.NamedMetricQuery
Click to show internal directories.
Click to hide internal directories.