responsetimeslo

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: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector = responsetimeslo.Collector

Collector can collect metrics about the happy SLO of a request.

type Config

type Config = responsetimeslo.Config

Config controls how SLO is tracked by default for a Tracker

type Factory

type Factory = responsetimeslo.Factory

Factory creates SLO monitors for a circuit

type Tracker

type Tracker = responsetimeslo.Tracker

Tracker sets up a response time SLO that has a reasonable meaning for hystrix. Use it for an SLO like "99% of requests should respond correctly within 300 ms".

Define a maximum time that a healthy request is allowed to take. This should be less than the maximum "break" point of the circuit. Only Successful requests <= that time are counted as healthy.

Requests that are interrupted, or have bad input, are not considered healthy or unhealthy. It's like they don't happen. All other types of errors are blamed on the down stream service, or the Run method's request time. They will count as failing the SLA.

Jump to

Keyboard shortcuts

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