userver
C++ Async Framework
Loading...
Searching...
No Matches
metadata.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/utils/statistics/metadata.hpp
4
/// @deprecated Use utils::statistics::Writer instead.
5
6
#
include
<
string
>
7
8
#
include
<
userver
/
formats
/
json
/
value_builder
.
hpp
>
9
10
USERVER_NAMESPACE_BEGIN
11
12
namespace
utils
::statistics {
13
14
/// @brief Marks statistics node to be excluded from Solomon sensor name.
15
/// @deprecated Use utils::statistics::Writer instead.
16
/// @warning Cannot be applied to leaf nodes.
17
void
SolomonSkip
(
formats
::
json
::ValueBuilder& stats_node);
18
19
/// @brief Marks statistics node to be excluded from Solomon sensor name.
20
/// @deprecated Use utils::statistics::Writer instead.
21
/// @warning Cannot be applied to leaf nodes.
22
void
SolomonSkip
(
formats
::
json
::ValueBuilder&& stats_node);
23
24
/// @brief Replaces a node in Solomon sensor name.
25
/// @deprecated Use utils::statistics::Writer instead.
26
/// @warning Cannot be applied to leaf nodes.
27
void
SolomonRename
(
formats
::
json
::ValueBuilder& stats_node,
const
std::string& new_name);
28
29
/// @brief Replaces a node in Solomon sensor name.
30
/// @deprecated Use utils::statistics::Writer instead.
31
/// @warning Cannot be applied to leaf nodes.
32
void
SolomonRename
(
formats
::
json
::ValueBuilder&& stats_node,
const
std::string& new_name);
33
34
/// Moves statistic node name to label value for Solomon sensor.
35
/// @deprecated Use utils::statistics::Writer instead.
36
/// @warning Cannot be applied to leaf nodes.
37
void
SolomonLabelValue
(
formats
::
json
::ValueBuilder& stats_node,
const
std::string& label_name);
38
39
/// Moves statistic node name to label value for Solomon sensor.
40
/// @deprecated Use utils::statistics::Writer instead.
41
/// @warning Cannot be applied to leaf nodes.
42
void
SolomonLabelValue
(
formats
::
json
::ValueBuilder&& stats_node,
const
std::string& label_name);
43
44
/// Moves statistics node children names to label values for Solomon sensors.
45
/// @deprecated Use utils::statistics::Writer instead.
46
void
SolomonChildrenAreLabelValues
(
formats
::
json
::ValueBuilder& stats_node,
const
std::string& label_name);
47
48
/// Moves statistics node children names to label values for Solomon sensors.
49
/// @deprecated Use utils::statistics::Writer instead.
50
void
SolomonChildrenAreLabelValues
(
formats
::
json
::ValueBuilder&& stats_node,
const
std::string& label_name);
51
52
}
// namespace utils::statistics
53
54
USERVER_NAMESPACE_END
userver
utils
statistics
metadata.hpp
Generated on Wed Dec 4 2024 18:47:07 for userver by
Doxygen
1.10.0