MCPcopy
hub / github.com/nats-io/nats.go / Stats

Method Stats

micro/service.go:44–44  ·  view source on GitHub ↗

Stats returns statistics for the service endpoint and all monitoring endpoints.

()

Source from the content-addressed store, hash-verified

42
43 // Stats returns statistics for the service endpoint and all monitoring endpoints.
44 Stats() Stats
45
46 // Reset resets all statistics (for all endpoints) on a service instance.
47 Reset()

Callers 11

TestAuthErrorOnReconnectFunction · 0.65
TestStatsRaceFunction · 0.65
TestRaceSafeStatsFunction · 0.65
ExampleService_StatsFunction · 0.65
ExampleService_ResetFunction · 0.65
TestServiceBasicsFunction · 0.65
TestCustomQueueGroupFunction · 0.65

Implementers 1

servicemicro/service.go

Calls

no outgoing calls

Tested by 11

TestAuthErrorOnReconnectFunction · 0.52
TestStatsRaceFunction · 0.52
TestRaceSafeStatsFunction · 0.52
ExampleService_StatsFunction · 0.52
ExampleService_ResetFunction · 0.52
TestServiceBasicsFunction · 0.52
TestCustomQueueGroupFunction · 0.52