Interface HystrixSinkOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
HystrixSink, HystrixSink.Builder

public interface HystrixSinkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The number of buckets the rolling statistical window is divided into.

    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

    • getNumBuckets

      long getNumBuckets()
       The number of buckets the rolling statistical window is divided into.
      
       Each time the sink is flushed, all relevant Envoy statistics are sampled and
       added to the rolling window (removing the oldest samples in the window
       in the process). The sink then outputs the aggregate statistics across the
       current rolling window to the event stream(s).
      
       ``rolling_window(ms)`` = ``stats_flush_interval(ms)`` * ``num_of_buckets``
      
       More detailed explanation can be found in `Hystrix wiki
       <https://github.com/Netflix/Hystrix/wiki/Metrics-and-Monitoring#hystrixrollingnumber>`_.
       
      int64 num_buckets = 1;
      Returns:
      The numBuckets.