samples

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultSamples = []sample{
	{
		Name:     "short",
		Interval: "30s",
		Buckets:  []string{"5m", "30m", "1h"},
	},
	{
		Name:     "medium",
		Interval: "2m",
		Buckets:  []string{"2h", "6h"},
	},
	{
		Name:     "daily",
		Interval: "5m",
		Buckets:  []string{"1d", "3d"},
	},
}

Functions

func IsTicketSample

func IsTicketSample(sample string) bool

func ValidateSample

func ValidateSample(sample string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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