hystrix.rolling_percentile module

class hystrix.rolling_percentile.RollingPercentile(_time, milliseconds, bucket_numbers, bucket_data_length, enabled)

Bases: object

buckets_size_in_milliseconds()
current_bucket()
add_value(*values)

Add value (or values) to current bucket.

percentile(percentile)
current_percentile_snapshot()
mean()
class hystrix.rolling_percentile.Bucket(start_time, bucket_data_length)

Bases: object

Counters for a given ‘bucket’ of time.

class hystrix.rolling_percentile.PercentileBucketData(data_length)

Bases: object

add_value(*latencies)
length()
class hystrix.rolling_percentile.PercentileSnapshot(*args)

Bases: object

percentile(percentile)
compute_percentile(percent)
mean()