userver: userver/utils/statistics/metadata.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
metadata.hpp File Reference
#include <string>
#include <userver/formats/json/value_builder.hpp>
+ Include dependency graph for metadata.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  utils
 Utilities.
 

Functions

void utils::statistics::SolomonSkip (formats::json::ValueBuilder &stats_node)
 Marks statistics node to be excluded from Solomon sensor name.
 
void utils::statistics::SolomonSkip (formats::json::ValueBuilder &&stats_node)
 Marks statistics node to be excluded from Solomon sensor name.
 
void utils::statistics::SolomonRename (formats::json::ValueBuilder &stats_node, const std::string &new_name)
 Replaces a node in Solomon sensor name.
 
void utils::statistics::SolomonRename (formats::json::ValueBuilder &&stats_node, const std::string &new_name)
 Replaces a node in Solomon sensor name.
 
void utils::statistics::SolomonLabelValue (formats::json::ValueBuilder &stats_node, const std::string &label_name)
 
void utils::statistics::SolomonLabelValue (formats::json::ValueBuilder &&stats_node, const std::string &label_name)
 
void utils::statistics::SolomonChildrenAreLabelValues (formats::json::ValueBuilder &stats_node, const std::string &label_name)
 
void utils::statistics::SolomonChildrenAreLabelValues (formats::json::ValueBuilder &&stats_node, const std::string &label_name)
 

Detailed Description

Deprecated:
Use utils::statistics::Writer instead.

Definition in file metadata.hpp.

Function Documentation

◆ SolomonChildrenAreLabelValues() [1/2]

void utils::statistics::SolomonChildrenAreLabelValues ( formats::json::ValueBuilder &&  stats_node,
const std::string &  label_name 
)

Moves statistics node children names to label values for Solomon sensors.

Deprecated:
Use utils::statistics::Writer instead.

◆ SolomonChildrenAreLabelValues() [2/2]

void utils::statistics::SolomonChildrenAreLabelValues ( formats::json::ValueBuilder stats_node,
const std::string &  label_name 
)

Moves statistics node children names to label values for Solomon sensors.

Deprecated:
Use utils::statistics::Writer instead.

◆ SolomonLabelValue() [1/2]

void utils::statistics::SolomonLabelValue ( formats::json::ValueBuilder &&  stats_node,
const std::string &  label_name 
)

Moves statistic node name to label value for Solomon sensor.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.

◆ SolomonLabelValue() [2/2]

void utils::statistics::SolomonLabelValue ( formats::json::ValueBuilder stats_node,
const std::string &  label_name 
)

Moves statistic node name to label value for Solomon sensor.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.

◆ SolomonRename() [1/2]

void utils::statistics::SolomonRename ( formats::json::ValueBuilder &&  stats_node,
const std::string &  new_name 
)

Replaces a node in Solomon sensor name.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.

◆ SolomonRename() [2/2]

void utils::statistics::SolomonRename ( formats::json::ValueBuilder stats_node,
const std::string &  new_name 
)

Replaces a node in Solomon sensor name.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.

◆ SolomonSkip() [1/2]

void utils::statistics::SolomonSkip ( formats::json::ValueBuilder &&  stats_node)

Marks statistics node to be excluded from Solomon sensor name.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.

◆ SolomonSkip() [2/2]

void utils::statistics::SolomonSkip ( formats::json::ValueBuilder stats_node)

Marks statistics node to be excluded from Solomon sensor name.

Deprecated:
Use utils::statistics::Writer instead.
Warning
Cannot be applied to leaf nodes.