MCPcopy Index your code
hub / github.com/coder/coder / GetValue

Method GetValue

agent/proto/agent.pb.go:4091–4096  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4089}
4090
4091func (x *Stats_Metric) GetValue() float64 {
4092 if x != nil {
4093 return x.Value
4094 }
4095 return 0
4096}
4097
4098func (x *Stats_Metric) GetLabels() []*Stats_Metric_Label {
4099 if x != nil {

Callers 6

TestAgent_Metrics_SSHFunction · 0.45
collectMetricsMethod · 0.45
toAgentMetricLabelsFunction · 0.45
LabelsEqualFunction · 0.45
getCounterVecValueFunction · 0.45
getCounterValueFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestAgent_Metrics_SSHFunction · 0.36
getCounterVecValueFunction · 0.36
getCounterValueFunction · 0.36