Interface UpstreamEndpointStatsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpstreamEndpointStats
,UpstreamEndpointStats.Builder
public interface UpstreamEndpointStatsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUpstream host address.Upstream host address.getLoadMetricStats
(int index) Stats for multi-dimensional load balancing.int
Stats for multi-dimensional load balancing.Stats for multi-dimensional load balancing.getLoadMetricStatsOrBuilder
(int index) Stats for multi-dimensional load balancing.List
<? extends EndpointLoadMetricStatsOrBuilder> Stats for multi-dimensional load balancing.com.google.protobuf.Struct
Opaque and implementation dependent metadata of the endpoint.com.google.protobuf.StructOrBuilder
Opaque and implementation dependent metadata of the endpoint.long
The total number of requests that failed due to errors at the endpoint.long
The total number of requests that were issued to this endpoint since the last report.long
The total number of unfinished requests for this endpoint.long
The total number of requests successfully completed by the endpoints in the locality.boolean
Upstream host address.boolean
Opaque and implementation dependent metadata of the endpoint.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
-
hasAddress
boolean hasAddress()Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Returns:
- Whether the address field is set.
-
getAddress
Address getAddress()Upstream host address.
.envoy.config.core.v3.Address address = 1;
- Returns:
- The address.
-
getAddressOrBuilder
AddressOrBuilder getAddressOrBuilder()Upstream host address.
.envoy.config.core.v3.Address address = 1;
-
hasMetadata
boolean hasMetadata()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Opaque and implementation dependent metadata of the endpoint. Envoy will pass this directly to the management server.
.google.protobuf.Struct metadata = 6;
-
getTotalSuccessfulRequests
long getTotalSuccessfulRequests()The total number of requests successfully completed by the endpoints in the locality. These include non-5xx responses for HTTP, where errors originate at the client and the endpoint responded successfully. For gRPC, the grpc-status values are those not covered by total_error_requests below.
uint64 total_successful_requests = 2;
- Returns:
- The totalSuccessfulRequests.
-
getTotalRequestsInProgress
long getTotalRequestsInProgress()The total number of unfinished requests for this endpoint.
uint64 total_requests_in_progress = 3;
- Returns:
- The totalRequestsInProgress.
-
getTotalErrorRequests
long getTotalErrorRequests()The total number of requests that failed due to errors at the endpoint. For HTTP these are responses with 5xx status codes and for gRPC the grpc-status values: - DeadlineExceeded - Unimplemented - Internal - Unavailable - Unknown - DataLoss
uint64 total_error_requests = 4;
- Returns:
- The totalErrorRequests.
-
getTotalIssuedRequests
long getTotalIssuedRequests()The total number of requests that were issued to this endpoint since the last report. A single TCP connection, HTTP or gRPC request or stream is counted as one request.
uint64 total_issued_requests = 7;
- Returns:
- The totalIssuedRequests.
-
getLoadMetricStatsList
List<EndpointLoadMetricStats> getLoadMetricStatsList()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStats
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsCount
int getLoadMetricStatsCount()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilderList
List<? extends EndpointLoadMetricStatsOrBuilder> getLoadMetricStatsOrBuilderList()Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-
getLoadMetricStatsOrBuilder
Stats for multi-dimensional load balancing.
repeated .envoy.config.endpoint.v3.EndpointLoadMetricStats load_metric_stats = 5;
-