userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
statistics.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/dist_lock/statistics.hpp
4
/// @brief @copybrief dist_lock::Statistics
5
6
#
include
<
cstddef
>
7
8
#
include
<
userver
/
utils
/
statistics
/
rate_counter
.
hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
dist_lock
{
13
14
/// @brief Distributed lock worker statistics counters
15
struct
Statistics
{
16
utils
::
statistics
::RateCounter lock_successes{};
17
utils
::
statistics
::RateCounter lock_failures{};
18
utils
::
statistics
::RateCounter watchdog_triggers{};
19
utils
::
statistics
::RateCounter brain_splits{};
20
utils
::
statistics
::RateCounter task_failures{};
21
};
22
23
}
// namespace dist_lock
24
25
USERVER_NAMESPACE_END
userver
dist_lock
statistics.hpp
Generated on
for userver by
Doxygen
1.17.0