Thanks to visit codestin.com
Credit goes to pkg.go.dev

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: 2

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