timeseries

package
v0.0.0-...-0518e84 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: BSD-3-Clause Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PkgPath    = "github/advanced-go/log/timeseries"
	Route      = "timeseries"
	WestRegion = "us-west"
	WestZoneA  = "w-a"
	WestZoneB  = "w-b"

	CentralRegion = "us-central"
	CentralZoneA  = "c-a"
	CentralZoneB  = "c-b"

	EastRegion = "us-east"
	EastZoneA  = "e-a"
	EastZoneB  = "e-b"
)

Variables

This section is empty.

Functions

func Reset

func Reset()

Types

type Entry

type Entry struct {
	Origin   core.Origin `json:"origin"`
	Latency  int         `json:"latency"`  // Milliseconds for a given percentile
	Gradient int         `json:"gradient"` // Rate of change
	RPS      int         `json:"rps"`      // Requests per second
}

func Query

func Query(ctx context.Context, origin core.Origin) (Entry, *core.Status)

Jump to

Keyboard shortcuts

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