types

package
v0.0.0-...-5655933 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric Point

Metric cms20190101.DescribeMetricMetaListResponseBodyResourcesResource

type Point

type Point struct {
	Timestamp  int64    `json:"timestamp"`
	InstanceID string   `json:"instanceId"`
	ClusterID  string   `json:"clusterId"`
	NodeID     string   `json:"nodeId"`
	UserID     string   `json:"userId"`
	Min        *float64 `json:"Minimum,omitempty"`
	Max        *float64 `json:"Maximum,omitempty"`
	Avg        *float64 `json:"Average,omitempty"`
	Val        *float64 `json:"Value,omitempty"`
	Value      *float64 `josn:"-"`

	// filter
	LabelStr   string `json:"-"`
	Dimensions string `json:"-"`
	Namespace  string `json:"-"`
	MetricName string `json:"-"`
}

func (*Point) GetMetricTime

func (p *Point) GetMetricTime() time.Time

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL