plugins

package
v2.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CircuitOpen       = "cb.circuitOpen"
	Attempts          = "cb.attempts"
	Errors            = "cb.errors"
	Successes         = "cb.successes"
	Failures          = "cb.failures"
	Rejects           = "cb.rejects"
	ShortCircuits     = "cb.shortCircuits"
	Timeouts          = "cb.timeouts"
	FallbackSuccesses = "cb.fallbackSuccesses"
	FallbackFailures  = "cb.fallbackFailures"
	TotalDuration     = "cb.totalDuration"
	RunDuration       = "cb.runDuration"
)

Metric Names

Variables

This section is empty.

Functions

func NewMetricsCollector

func NewMetricsCollector(metrics gbmetrics.Provider) func(string) metric.Collector

NewMetricsCollector returns a wrapped collector for go-base/utils/metrics.Metrics

Types

This section is empty.

Jump to

Keyboard shortcuts

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