MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / ResourceUtilizationStats

Method ResourceUtilizationStats

base/stats.go:343–345  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341}
342
343func (g *GlobalStat) ResourceUtilizationStats() *ResourceUtilization {
344 return g.ResourceUtilization
345}
346
347func (s *SgwStats) initReplicationStats() error {
348 s.ReplicatorStats = &ReplicatorStats{

Callers 15

checkStaleHeartbeatsMethod · 0.80
sendHeartbeatMethod · 0.80
loadNodeIDsMethod · 0.80
logToFunction · 0.80
BenchmarkNewStatAddFunction · 0.80
BenchmarkNewStatSetFunction · 0.80
BenchmarkNewStatGetFunction · 0.80
TestSetIfMaxFunction · 0.80
GetMetadataDocumentMethod · 0.80
TestAuditFieldsMergeFunction · 0.80

Calls

no outgoing calls

Tested by 15

BenchmarkNewStatAddFunction · 0.64
BenchmarkNewStatSetFunction · 0.64
BenchmarkNewStatGetFunction · 0.64
TestSetIfMaxFunction · 0.64
TestAuditFieldsMergeFunction · 0.64
TestBucketPoolMainFunction · 0.64
TestUptimeStatFunction · 0.64
TestShouldCheckAdminRBACFunction · 0.64