Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
4091
func
(x *Stats_Metric) GetValue() float64 {
4092
if
x != nil {
4093
return
x.Value
4094
}
4095
return
0
4096
}
4097
4098
func
(x *Stats_Metric) GetLabels() []*Stats_Metric_Label {
4099
if
x != nil {
Callers
6
TestAgent_Metrics_SSH
Function · 0.45
collectMetrics
Method · 0.45
toAgentMetricLabels
Function · 0.45
LabelsEqual
Function · 0.45
getCounterVecValue
Function · 0.45
getCounterValue
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestAgent_Metrics_SSH
Function · 0.36
getCounterVecValue
Function · 0.36
getCounterValue
Function · 0.36