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 Detail

      • getClusterName

        java.lang.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

        java.lang.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

        java.util.List<UpstreamLocalityStats> getUpstreamLocalityStatsList()
         Need at least one.
         
        repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
      • getUpstreamLocalityStats

        UpstreamLocalityStats getUpstreamLocalityStats​(int index)
         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

        java.util.List<? extends UpstreamLocalityStatsOrBuilder> getUpstreamLocalityStatsOrBuilderList()
         Need at least one.
         
        repeated .envoy.config.endpoint.v3.UpstreamLocalityStats upstream_locality_stats = 2 [(.validate.rules) = { ... }
      • getUpstreamLocalityStatsOrBuilder

        UpstreamLocalityStatsOrBuilder getUpstreamLocalityStatsOrBuilder​(int index)
         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

        java.util.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

        ClusterStats.DroppedRequests getDroppedRequests​(int index)
         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

        java.util.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

        ClusterStats.DroppedRequestsOrBuilder getDroppedRequestsOrBuilder​(int index)
         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;