userver: userver/utils/statistics/metadata.hpp File Reference
Loading...
Searching...
No Matches
metadata.hpp File Reference

Detailed Description

Deprecated
Use utils::statistics::Writer instead.

Definition in file metadata.hpp.

Go to the source code of this file.

#include <string>
#include <userver/formats/json/value_builder.hpp>
+ This graph shows which files directly or indirectly include 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)
 

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.