Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icinga/icinga2
/ GetMessagesSentPerSecond
Method
GetMessagesSentPerSecond
lib/remote/endpoint.cpp:148–151 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
146
}
147
148
double Endpoint::GetMessagesSentPerSecond() const
149
{
150
return m_MessagesSent.CalculateRate(Utility::GetTime(), 60);
151
}
152
153
double Endpoint::GetMessagesReceivedPerSecond() const
154
{
Callers
2
ScriptFunc
Method · 0.80
ScriptFunc
Method · 0.80
Calls
1
CalculateRate
Method · 0.80
Tested by
no test coverage detected