MCPcopy
hub / github.com/kubernetes/node-problem-detector / Float64Metric

Struct Float64Metric

pkg/util/metrics/metric_float64.go:39–42  ·  view source on GitHub ↗

Float64Metric represents an float64 metric.

Source from the content-addressed store, hash-verified

37
38// Float64Metric represents an float64 metric.
39type Float64Metric struct {
40 name string
41 measure *stats.Float64Measure
42}
43
44// NewFloat64Metric create a Float64Metric metrics, returns nil when viewName is empty.
45func NewFloat64Metric(metricID MetricID, viewName string, description string, unit string, aggregation Aggregation, tagNames []string) (*Float64Metric, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected