public static final class LoadReport.ClusterStats extends com.google.protobuf.GeneratedMessageV3 implements LoadReport.ClusterStatsOrBuilder
Per cluster load stats. Envoy reports these stats a management server in a :ref:`LoadStatsRequest<envoy_api_msg_load_stats.LoadStatsRequest>` [#not-implemented-hide:] Not configuration. TBD how to doc proto APIs.Protobuf type
envoy.api.v2.endpoint.ClusterStats| Modifier and Type | Class and Description |
|---|---|
static class |
LoadReport.ClusterStats.Builder
Per cluster load stats.
|
static class |
LoadReport.ClusterStats.DroppedRequests
Protobuf type
envoy.api.v2.endpoint.ClusterStats.DroppedRequests |
static interface |
LoadReport.ClusterStats.DroppedRequestsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_NAME_FIELD_NUMBER |
static int |
DROPPED_REQUESTS_FIELD_NUMBER |
static int |
LOAD_REPORT_INTERVAL_FIELD_NUMBER |
static int |
TOTAL_DROPPED_REQUESTS_FIELD_NUMBER |
static int |
UPSTREAM_LOCALITY_STATS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClusterName()
The name of the cluster.
|
com.google.protobuf.ByteString |
getClusterNameBytes()
The name of the cluster.
|
static LoadReport.ClusterStats |
getDefaultInstance() |
LoadReport.ClusterStats |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
LoadReport.ClusterStats.DroppedRequests |
getDroppedRequests(int index)
Information about deliberately dropped requests for each category specified
in the DropOverload policy.
|
int |
getDroppedRequestsCount()
Information about deliberately dropped requests for each category specified
in the DropOverload policy.
|
List<LoadReport.ClusterStats.DroppedRequests> |
getDroppedRequestsList()
Information about deliberately dropped requests for each category specified
in the DropOverload policy.
|
LoadReport.ClusterStats.DroppedRequestsOrBuilder |
getDroppedRequestsOrBuilder(int index)
Information about deliberately dropped requests for each category specified
in the DropOverload policy.
|
List<? extends LoadReport.ClusterStats.DroppedRequestsOrBuilder> |
getDroppedRequestsOrBuilderList()
Information about deliberately dropped requests for each category specified
in the DropOverload policy.
|
com.google.protobuf.Duration |
getLoadReportInterval()
Period over which the actual load report occurred.
|
com.google.protobuf.DurationOrBuilder |
getLoadReportIntervalOrBuilder()
Period over which the actual load report occurred.
|
com.google.protobuf.Parser<LoadReport.ClusterStats> |
getParserForType() |
int |
getSerializedSize() |
long |
getTotalDroppedRequests()
Cluster-level stats such as total_successful_requests may be computed by
summing upstream_locality_stats.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
LoadReport.UpstreamLocalityStats |
getUpstreamLocalityStats(int index)
Need at least one.
|
int |
getUpstreamLocalityStatsCount()
Need at least one.
|
List<LoadReport.UpstreamLocalityStats> |
getUpstreamLocalityStatsList()
Need at least one.
|
LoadReport.UpstreamLocalityStatsOrBuilder |
getUpstreamLocalityStatsOrBuilder(int index)
Need at least one.
|
List<? extends LoadReport.UpstreamLocalityStatsOrBuilder> |
getUpstreamLocalityStatsOrBuilderList()
Need at least one.
|
int |
hashCode() |
boolean |
hasLoadReportInterval()
Period over which the actual load report occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LoadReport.ClusterStats.Builder |
newBuilder() |
static LoadReport.ClusterStats.Builder |
newBuilder(LoadReport.ClusterStats prototype) |
LoadReport.ClusterStats.Builder |
newBuilderForType() |
protected LoadReport.ClusterStats.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LoadReport.ClusterStats |
parseDelimitedFrom(InputStream input) |
static LoadReport.ClusterStats |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadReport.ClusterStats |
parseFrom(byte[] data) |
static LoadReport.ClusterStats |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadReport.ClusterStats |
parseFrom(ByteBuffer data) |
static LoadReport.ClusterStats |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadReport.ClusterStats |
parseFrom(com.google.protobuf.ByteString data) |
static LoadReport.ClusterStats |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadReport.ClusterStats |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LoadReport.ClusterStats |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadReport.ClusterStats |
parseFrom(InputStream input) |
static LoadReport.ClusterStats |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LoadReport.ClusterStats> |
parser() |
LoadReport.ClusterStats.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_NAME_FIELD_NUMBER
public static final int UPSTREAM_LOCALITY_STATS_FIELD_NUMBER
public static final int TOTAL_DROPPED_REQUESTS_FIELD_NUMBER
public static final int DROPPED_REQUESTS_FIELD_NUMBER
public static final int LOAD_REPORT_INTERVAL_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getClusterName()
The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }getClusterName in interface LoadReport.ClusterStatsOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
The name of the cluster.
string cluster_name = 1 [(.validate.rules) = { ... }getClusterNameBytes in interface LoadReport.ClusterStatsOrBuilderpublic List<LoadReport.UpstreamLocalityStats> getUpstreamLocalityStatsList()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }getUpstreamLocalityStatsList in interface LoadReport.ClusterStatsOrBuilderpublic List<? extends LoadReport.UpstreamLocalityStatsOrBuilder> getUpstreamLocalityStatsOrBuilderList()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }getUpstreamLocalityStatsOrBuilderList in interface LoadReport.ClusterStatsOrBuilderpublic int getUpstreamLocalityStatsCount()
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }getUpstreamLocalityStatsCount in interface LoadReport.ClusterStatsOrBuilderpublic LoadReport.UpstreamLocalityStats getUpstreamLocalityStats(int index)
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }getUpstreamLocalityStats in interface LoadReport.ClusterStatsOrBuilderpublic LoadReport.UpstreamLocalityStatsOrBuilder getUpstreamLocalityStatsOrBuilder(int index)
Need at least one.
repeated .envoy.api.v2.endpoint.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }getUpstreamLocalityStatsOrBuilder in interface LoadReport.ClusterStatsOrBuilderpublic 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 following total_requests equality holds at the
cluster-level:
.. code-block:: none
sum_locality(total_successful_requests) + sum_locality(total_requests_in_progress) +
sum_locality(total_error_requests) + total_dropped_requests`
The total number of dropped requests. This covers requests
deliberately dropped by the drop_overload policy and circuit breaking.
uint64 total_dropped_requests = 3;getTotalDroppedRequests in interface LoadReport.ClusterStatsOrBuilderpublic List<LoadReport.ClusterStats.DroppedRequests> getDroppedRequestsList()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;getDroppedRequestsList in interface LoadReport.ClusterStatsOrBuilderpublic List<? extends LoadReport.ClusterStats.DroppedRequestsOrBuilder> getDroppedRequestsOrBuilderList()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;getDroppedRequestsOrBuilderList in interface LoadReport.ClusterStatsOrBuilderpublic int getDroppedRequestsCount()
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;getDroppedRequestsCount in interface LoadReport.ClusterStatsOrBuilderpublic LoadReport.ClusterStats.DroppedRequests getDroppedRequests(int index)
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;getDroppedRequests in interface LoadReport.ClusterStatsOrBuilderpublic LoadReport.ClusterStats.DroppedRequestsOrBuilder getDroppedRequestsOrBuilder(int index)
Information about deliberately dropped requests for each category specified in the DropOverload policy.
repeated .envoy.api.v2.endpoint.ClusterStats.DroppedRequests dropped_requests = 5;getDroppedRequestsOrBuilder in interface LoadReport.ClusterStatsOrBuilderpublic 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;hasLoadReportInterval in interface LoadReport.ClusterStatsOrBuilderpublic 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;getLoadReportInterval in interface LoadReport.ClusterStatsOrBuilderpublic 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;getLoadReportIntervalOrBuilder in interface LoadReport.ClusterStatsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static LoadReport.ClusterStats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadReport.ClusterStats parseFrom(InputStream input) throws IOException
IOExceptionpublic static LoadReport.ClusterStats parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadReport.ClusterStats parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LoadReport.ClusterStats parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LoadReport.ClusterStats parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LoadReport.ClusterStats parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LoadReport.ClusterStats.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LoadReport.ClusterStats.Builder newBuilder()
public static LoadReport.ClusterStats.Builder newBuilder(LoadReport.ClusterStats prototype)
public LoadReport.ClusterStats.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LoadReport.ClusterStats.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LoadReport.ClusterStats getDefaultInstance()
public static com.google.protobuf.Parser<LoadReport.ClusterStats> parser()
public com.google.protobuf.Parser<LoadReport.ClusterStats> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LoadReport.ClusterStats getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.