rolling

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FallbackStats

type FallbackStats = rolling.FallbackStats

FallbackStats tracks fallback metrics in rolling buckets

func FindFallbackMetrics

func FindFallbackMetrics(c *circuit.Circuit) *FallbackStats

FindFallbackMetrics searches a circuit for the previously stored fallback stats. Returns nil if never set.

type FallbackStatsConfig

type FallbackStatsConfig = rolling.FallbackStatsConfig

FallbackStatsConfig configures how to track fallback stats

type RunStats

type RunStats = rolling.RunStats

RunStats tracks rolling windows of callback counts

func FindCommandMetrics

func FindCommandMetrics(c *circuit.Circuit) *RunStats

FindCommandMetrics searches a circuit for the previously stored run stats. Returns nil if never set.

type RunStatsConfig

type RunStatsConfig = rolling.RunStatsConfig

RunStatsConfig configures a RunStats

type StatFactory

type StatFactory = rolling.StatFactory

StatFactory helps the process of making stat collectors for circuit breakers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL