Namespaces | Classes | Functions | Variables
grpc::load_reporter Namespace Reference

Namespaces

 experimental
 

Classes

class  CallMetricValue
 
class  CensusViewProvider
 
class  CensusViewProviderDefaultImpl
 
class  CpuStatsProvider
 
class  CpuStatsProviderDefaultImpl
 
class  LoadDataStore
 
class  LoadRecordKey
 
class  LoadRecordValue
 
class  LoadReporter
 
class  LoadReporterAsyncServiceImpl
 
class  LoadReportingServiceServerBuilderPlugin
 
class  PerBalancerStore
 
class  PerHostStore
 

Functions

std::unique_ptr< grpc::ServerBuilderPluginCreateLoadReportingServiceServerBuilderPlugin ()
 
std::pair< uint64_t, uint64_tGetCpuStatsImpl ()
 
inline ::opencensus::stats::MeasureInt64 MeasureEndBytesReceived ()
 
inline ::opencensus::stats::MeasureInt64 MeasureEndBytesSent ()
 
inline ::opencensus::stats::MeasureInt64 MeasureEndCount ()
 
inline ::opencensus::stats::MeasureInt64 MeasureEndLatencyMs ()
 
inline ::opencensus::stats::MeasureDouble MeasureOtherCallMetric ()
 
inline ::opencensus::stats::MeasureInt64 MeasureStartCount ()
 
inline ::opencensus::tags::TagKey TagKeyHost ()
 
inline ::opencensus::tags::TagKey TagKeyMetricName ()
 
inline ::opencensus::tags::TagKey TagKeyStatus ()
 
inline ::opencensus::tags::TagKey TagKeyToken ()
 
inline ::opencensus::tags::TagKey TagKeyUserId ()
 

Variables

constexpr char kCallStatusClientError [] = "4XX"
 
constexpr char kCallStatusOk [] = "OK"
 
constexpr char kCallStatusServerError [] = "5XX"
 
constexpr uint32_t kFeedbackSampleWindowSeconds = 10
 
constexpr uint32_t kFetchAndSampleIntervalSeconds = 1
 
constexpr char kInvalidLbId [] = "<INVALID_LBID_238dsb234890rb>"
 
constexpr size_t kIpv4AddressLength = 8
 
constexpr size_t kIpv6AddressLength = 32
 
constexpr size_t kLbIdLength = 8
 
constexpr char kMeasureEndBytesReceived [] = "grpc.io/lb/bytes_received"
 
constexpr char kMeasureEndBytesSent [] = "grpc.io/lb/bytes_sent"
 
constexpr char kMeasureEndCount [] = "grpc.io/lb/end_count"
 
constexpr char kMeasureEndLatencyMs [] = "grpc.io/lb/latency_ms"
 
constexpr char kMeasureOtherCallMetric [] = "grpc.io/lb/other_call_metric"
 
constexpr char kMeasureStartCount [] = "grpc.io/lb/start_count"
 
constexpr char kTagKeyHost [] = "host"
 
constexpr char kTagKeyMetricName [] = "metric_name"
 
constexpr char kTagKeyStatus [] = "status"
 
constexpr char kTagKeyToken [] = "token"
 
constexpr char kTagKeyUserId [] = "user_id"
 
constexpr uint32_t kVersion = 15853
 
constexpr char kViewEndBytesReceived [] = "grpc.io/lb_view/bytes_received"
 
constexpr char kViewEndBytesSent [] = "grpc.io/lb_view/bytes_sent"
 
constexpr char kViewEndCount [] = "grpc.io/lb_view/end_count"
 
constexpr char kViewEndLatencyMs [] = "grpc.io/lb_view/latency_ms"
 
constexpr char kViewOtherCallMetricCount []
 
constexpr char kViewOtherCallMetricValue []
 
constexpr char kViewStartCount [] = "grpc.io/lb_view/start_count"
 

Function Documentation

◆ CreateLoadReportingServiceServerBuilderPlugin()

std::unique_ptr<grpc::ServerBuilderPlugin> grpc::load_reporter::CreateLoadReportingServiceServerBuilderPlugin ( )

◆ GetCpuStatsImpl()

std::pair< uint64_t, uint64_t > grpc::load_reporter::GetCpuStatsImpl ( )

Definition at line 30 of file get_cpu_stats_unsupported.cc.

◆ MeasureEndBytesReceived()

inline ::opencensus::stats::MeasureInt64 grpc::load_reporter::MeasureEndBytesReceived ( )

Definition at line 59 of file registered_opencensus_objects.h.

◆ MeasureEndBytesSent()

inline ::opencensus::stats::MeasureInt64 grpc::load_reporter::MeasureEndBytesSent ( )

Definition at line 52 of file registered_opencensus_objects.h.

◆ MeasureEndCount()

inline ::opencensus::stats::MeasureInt64 grpc::load_reporter::MeasureEndCount ( )

Definition at line 45 of file registered_opencensus_objects.h.

◆ MeasureEndLatencyMs()

inline ::opencensus::stats::MeasureInt64 grpc::load_reporter::MeasureEndLatencyMs ( )

Definition at line 67 of file registered_opencensus_objects.h.

◆ MeasureOtherCallMetric()

inline ::opencensus::stats::MeasureDouble grpc::load_reporter::MeasureOtherCallMetric ( )

Definition at line 74 of file registered_opencensus_objects.h.

◆ MeasureStartCount()

inline ::opencensus::stats::MeasureInt64 grpc::load_reporter::MeasureStartCount ( )

Definition at line 38 of file registered_opencensus_objects.h.

◆ TagKeyHost()

inline ::opencensus::tags::TagKey grpc::load_reporter::TagKeyHost ( )

Definition at line 90 of file registered_opencensus_objects.h.

◆ TagKeyMetricName()

inline ::opencensus::tags::TagKey grpc::load_reporter::TagKeyMetricName ( )

Definition at line 108 of file registered_opencensus_objects.h.

◆ TagKeyStatus()

inline ::opencensus::tags::TagKey grpc::load_reporter::TagKeyStatus ( )

Definition at line 102 of file registered_opencensus_objects.h.

◆ TagKeyToken()

inline ::opencensus::tags::TagKey grpc::load_reporter::TagKeyToken ( )

Definition at line 84 of file registered_opencensus_objects.h.

◆ TagKeyUserId()

inline ::opencensus::tags::TagKey grpc::load_reporter::TagKeyUserId ( )

Definition at line 96 of file registered_opencensus_objects.h.

Variable Documentation

◆ kCallStatusClientError

constexpr char grpc::load_reporter::kCallStatusClientError[] = "4XX"
constexpr

Definition at line 50 of file src/cpp/server/load_reporter/constants.h.

◆ kCallStatusOk

constexpr char grpc::load_reporter::kCallStatusOk[] = "OK"
constexpr

Definition at line 48 of file src/cpp/server/load_reporter/constants.h.

◆ kCallStatusServerError

constexpr char grpc::load_reporter::kCallStatusServerError[] = "5XX"
constexpr

Definition at line 49 of file src/cpp/server/load_reporter/constants.h.

◆ kFeedbackSampleWindowSeconds

constexpr uint32_t grpc::load_reporter::kFeedbackSampleWindowSeconds = 10
constexpr

Definition at line 37 of file src/cpp/server/load_reporter/constants.h.

◆ kFetchAndSampleIntervalSeconds

constexpr uint32_t grpc::load_reporter::kFetchAndSampleIntervalSeconds = 1
constexpr

Definition at line 38 of file src/cpp/server/load_reporter/constants.h.

◆ kInvalidLbId

constexpr char grpc::load_reporter::kInvalidLbId[] = "<INVALID_LBID_238dsb234890rb>"
constexpr

Definition at line 44 of file src/cpp/server/load_reporter/constants.h.

◆ kIpv4AddressLength

constexpr size_t grpc::load_reporter::kIpv4AddressLength = 8
constexpr

Definition at line 41 of file src/cpp/server/load_reporter/constants.h.

◆ kIpv6AddressLength

constexpr size_t grpc::load_reporter::kIpv6AddressLength = 32
constexpr

Definition at line 42 of file src/cpp/server/load_reporter/constants.h.

◆ kLbIdLength

constexpr size_t grpc::load_reporter::kLbIdLength = 8
constexpr

Definition at line 40 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureEndBytesReceived

constexpr char grpc::load_reporter::kMeasureEndBytesReceived[] = "grpc.io/lb/bytes_received"
constexpr

Definition at line 65 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureEndBytesSent

constexpr char grpc::load_reporter::kMeasureEndBytesSent[] = "grpc.io/lb/bytes_sent"
constexpr

Definition at line 64 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureEndCount

constexpr char grpc::load_reporter::kMeasureEndCount[] = "grpc.io/lb/end_count"
constexpr

Definition at line 63 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureEndLatencyMs

constexpr char grpc::load_reporter::kMeasureEndLatencyMs[] = "grpc.io/lb/latency_ms"
constexpr

Definition at line 66 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureOtherCallMetric

constexpr char grpc::load_reporter::kMeasureOtherCallMetric[] = "grpc.io/lb/other_call_metric"
constexpr

Definition at line 67 of file src/cpp/server/load_reporter/constants.h.

◆ kMeasureStartCount

constexpr char grpc::load_reporter::kMeasureStartCount[] = "grpc.io/lb/start_count"
constexpr

Definition at line 62 of file src/cpp/server/load_reporter/constants.h.

◆ kTagKeyHost

constexpr char grpc::load_reporter::kTagKeyHost[] = "host"
constexpr

Definition at line 55 of file src/cpp/server/load_reporter/constants.h.

◆ kTagKeyMetricName

constexpr char grpc::load_reporter::kTagKeyMetricName[] = "metric_name"
constexpr

Definition at line 58 of file src/cpp/server/load_reporter/constants.h.

◆ kTagKeyStatus

constexpr char grpc::load_reporter::kTagKeyStatus[] = "status"
constexpr

Definition at line 57 of file src/cpp/server/load_reporter/constants.h.

◆ kTagKeyToken

constexpr char grpc::load_reporter::kTagKeyToken[] = "token"
constexpr

Definition at line 54 of file src/cpp/server/load_reporter/constants.h.

◆ kTagKeyUserId

constexpr char grpc::load_reporter::kTagKeyUserId[] = "user_id"
constexpr

Definition at line 56 of file src/cpp/server/load_reporter/constants.h.

◆ kVersion

constexpr uint32_t grpc::load_reporter::kVersion = 15853
constexpr

Definition at line 32 of file src/cpp/server/load_reporter/constants.h.

◆ kViewEndBytesReceived

constexpr char grpc::load_reporter::kViewEndBytesReceived[] = "grpc.io/lb_view/bytes_received"
constexpr

Definition at line 74 of file src/cpp/server/load_reporter/constants.h.

◆ kViewEndBytesSent

constexpr char grpc::load_reporter::kViewEndBytesSent[] = "grpc.io/lb_view/bytes_sent"
constexpr

Definition at line 73 of file src/cpp/server/load_reporter/constants.h.

◆ kViewEndCount

constexpr char grpc::load_reporter::kViewEndCount[] = "grpc.io/lb_view/end_count"
constexpr

Definition at line 72 of file src/cpp/server/load_reporter/constants.h.

◆ kViewEndLatencyMs

constexpr char grpc::load_reporter::kViewEndLatencyMs[] = "grpc.io/lb_view/latency_ms"
constexpr

Definition at line 75 of file src/cpp/server/load_reporter/constants.h.

◆ kViewOtherCallMetricCount

constexpr char grpc::load_reporter::kViewOtherCallMetricCount[]
constexpr
Initial value:
=
"grpc.io/lb_view/other_call_metric_count"

Definition at line 76 of file src/cpp/server/load_reporter/constants.h.

◆ kViewOtherCallMetricValue

constexpr char grpc::load_reporter::kViewOtherCallMetricValue[]
constexpr
Initial value:
=
"grpc.io/lb_view/other_call_metric_value"

Definition at line 78 of file src/cpp/server/load_reporter/constants.h.

◆ kViewStartCount

constexpr char grpc::load_reporter::kViewStartCount[] = "grpc.io/lb_view/start_count"
constexpr

Definition at line 71 of file src/cpp/server/load_reporter/constants.h.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33