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

Detailed Description

Portability reports.

Definition in file portability_info.hpp.

Go to the source code of this file.

#include <string>
#include <userver/utils/statistics/storage.hpp>

Classes

struct  utils::statistics::Warning
 

Namespaces

namespace  utils
 General-purpose utilities used across userver libraries.
 
namespace  utils::statistics
 Statistics writers, metric types, and histogram helpers.
 

Typedefs

using utils::statistics::PortabilityWarnings = std::unordered_map<WarningCode, std::vector<Warning>>
 

Enumerations

enum class  WarningCode {
  kInf ,
  kNan ,
  kHistogramBucketsCount ,
  kLabelsCount ,
  kReservedLabelApplication ,
  kReservedLabelCluster ,
  kReservedLabelGroup ,
  kReservedLabelHost ,
  kReservedLabelProject ,
  kReservedLabelSensor ,
  kReservedLabelService ,
  kLabelNameLength ,
  kLabelValueLength ,
  kPathLength ,
  kLabelNameMismatch
}
 

Functions

formats::json::Value utils::statistics::Serialize (const std::vector< Label > &labels, formats::serialize::To< formats::json::Value >)
 
formats::json::Value utils::statistics::Serialize (const Warning &entry, formats::serialize::To< formats::json::Value >)
 
std::string_view utils::statistics::ToString (WarningCode code)
 
formats::json::Value utils::statistics::Serialize (const PortabilityWarnings &info, formats::serialize::To< formats::json::Value >)
 
PortabilityWarnings utils::statistics::GetPortabilityWarnings (const utils::statistics::Storage &statistics, const utils::statistics::Request &request)