Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/google/mtail
/ kindToCollectdType
Function
kindToCollectdType
internal/exporter/collectd.go:45–50 ·
view source on GitHub ↗
(kind metrics.Kind)
Source
from the content-addressed store, hash-verified
43
}
44
45
func
kindToCollectdType(kind metrics.Kind) string {
46
if
kind != metrics.Timer {
47
return
strings.ToLower(kind.String())
48
}
49
return
"gauge"
50
}
Callers
1
metricToCollectd
Function · 0.85
Calls
1
String
Method · 0.65
Tested by
no test coverage detected