Interface ClusterStatsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterStats
,ClusterStats.Builder
public interface ClusterStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the cluster.com.google.protobuf.ByteString
The name of the cluster.The eds_cluster_config service_name of the cluster.com.google.protobuf.ByteString
The eds_cluster_config service_name of the cluster.getDroppedRequests
(int index) Information about deliberately dropped requests for each category specified in the DropOverload policy.int
Information about deliberately dropped requests for each category specified in the DropOverload policy.Information about deliberately dropped requests for each category specified in the DropOverload policy.getDroppedRequestsOrBuilder
(int index) Information about deliberately dropped requests for each category specified in the DropOverload policy.List
<? extends ClusterStats.DroppedRequestsOrBuilder> Information about deliberately dropped requests for each category specified in the DropOverload policy.com.google.protobuf.Duration
Period over which the actual load report occurred.com.google.protobuf.DurationOrBuilder
Period over which the actual load report occurred.long
Cluster-level stats such as total_successful_requests may be computed by summing upstream_locality_stats.getUpstreamLocalityStats
(int index) Need at least one.int
Need at least one.Need at least one.getUpstreamLocalityStatsOrBuilder
(int index) Need at least one.List
<? extends UpstreamLocalityStatsOrBuilder> Need at least one.boolean
Period over which the actual load report occurred.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getClusterName
String getClusterName()The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }
- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }
- Returns:
- The bytes for clusterName.
-
getClusterServiceName
String getClusterServiceName()The eds_cluster_config service_name of the cluster. It's possible that two clusters send the same service_name to EDS, in that case, the management server is supposed to do aggregation on the load reports.
string cluster_service_name = 6;
- Returns:
- The clusterServiceName.
-
getClusterServiceNameBytes
com.google.protobuf.ByteString getClusterServiceNameBytes()The eds_cluster_config service_name of the cluster. It's possible that two clusters send the same service_name to EDS, in that case, the management server is supposed to do aggregation on the load reports.
string cluster_service_name = 6;
- Returns:
- The bytes for clusterServiceName.
-
getUpstreamLocalityStatsList
List<UpstreamLocalityStats> getUpstreamLocalityStatsList()Need at least one.
repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStats
Need at least one.
repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsCount
int getUpstreamLocalityStatsCount()Need at least one.
repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsOrBuilderList
List<? extends UpstreamLocalityStatsOrBuilder> getUpstreamLocalityStatsOrBuilderList()Need at least one.
repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getUpstreamLocalityStatsOrBuilder
Need at least one.
repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
-
getTotalDroppedRequests
long getTotalDroppedRequests()Cluster-level stats such as total_successful_requests may be computed by summing upstream_locality_stats. In addition, below there are additional cluster-wide stats. The total number of dropped requests. This covers requests deliberately dropped by the drop_overload policy and circuit breaking.
uint64 total_dropped_requests = 3;
- Returns:
- The totalDroppedRequests.
-
getDroppedRequestsList
List<ClusterStats.DroppedRequests> getDroppedRequestsList()Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequests
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsCount
int getDroppedRequestsCount()Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsOrBuilderList
List<? extends ClusterStats.DroppedRequestsOrBuilder> getDroppedRequestsOrBuilderList()Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
-
getDroppedRequestsOrBuilder
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.config.endpoint.v3.ClusterStats.DroppedRequests dropped_requests = 5;
-
hasLoadReportInterval
boolean hasLoadReportInterval()Period over which the actual load report occurred. This will be guaranteed to include every request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy and the ``LoadStatsResponse`` message sent from the management server, this may be longer than the requested load reporting interval in the ``LoadStatsResponse``.
.google.protobuf.Duration load_report_interval = 4;
- Returns:
- Whether the loadReportInterval field is set.
-
getLoadReportInterval
com.google.protobuf.Duration getLoadReportInterval()Period over which the actual load report occurred. This will be guaranteed to include every request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy and the ``LoadStatsResponse`` message sent from the management server, this may be longer than the requested load reporting interval in the ``LoadStatsResponse``.
.google.protobuf.Duration load_report_interval = 4;
- Returns:
- The loadReportInterval.
-
getLoadReportIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getLoadReportIntervalOrBuilder()Period over which the actual load report occurred. This will be guaranteed to include every request reported. Due to system load and delays between the ``LoadStatsRequest`` sent from Envoy and the ``LoadStatsResponse`` message sent from the management server, this may be longer than the requested load reporting interval in the ``LoadStatsResponse``.
.google.protobuf.Duration load_report_interval = 4;
-