#include <xds_client_stats.h>
Classes | |
struct | Snapshot |
Public Types | |
using | CategorizedDropsMap = std::map< std::string, uint64_t > |
![]() | |
using | RefCountedChildType = XdsClusterDropStats |
Private Member Functions | |
CategorizedDropsMap categorized_drops_ | ABSL_GUARDED_BY (mu_) |
Private Attributes | |
absl::string_view | cluster_name_ |
absl::string_view | eds_service_name_ |
const XdsBootstrap::XdsServer & | lrs_server_ |
Mutex | mu_ |
std::atomic< uint64_t > | uncategorized_drops_ {0} |
RefCountedPtr< XdsClient > | xds_client_ |
Additional Inherited Members | |
![]() | |
RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
Definition at line 104 of file xds_client_stats.h.
using grpc_core::XdsClusterDropStats::CategorizedDropsMap = std::map<std::string , uint64_t> |
Definition at line 108 of file xds_client_stats.h.
grpc_core::XdsClusterDropStats::XdsClusterDropStats | ( | RefCountedPtr< XdsClient > | xds_client, |
const XdsBootstrap::XdsServer & | lrs_server, | ||
absl::string_view | cluster_name, | ||
absl::string_view | eds_service_name | ||
) |
Definition at line 43 of file xds_client_stats.cc.
|
override |
Definition at line 62 of file xds_client_stats.cc.
|
private |
void grpc_core::XdsClusterDropStats::AddCallDropped | ( | const std::string & | category | ) |
Definition at line 87 of file xds_client_stats.cc.
void grpc_core::XdsClusterDropStats::AddUncategorizedDrops | ( | ) |
Definition at line 83 of file xds_client_stats.cc.
XdsClusterDropStats::Snapshot grpc_core::XdsClusterDropStats::GetSnapshotAndReset | ( | ) |
Definition at line 75 of file xds_client_stats.cc.
|
private |
Definition at line 147 of file xds_client_stats.h.
|
private |
Definition at line 148 of file xds_client_stats.h.
|
private |
Definition at line 146 of file xds_client_stats.h.
|
private |
Definition at line 153 of file xds_client_stats.h.
|
private |
Definition at line 149 of file xds_client_stats.h.
|
private |
Definition at line 145 of file xds_client_stats.h.