graphdef

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, kind metric.Kind, opts Options) (*mackerel.GraphDefsParam, error)

New returns Mackerel's Graph Definition. Each names in arguments must be canonicalized.

Types

type Options

type Options struct {
	Name      string
	Unit      unit.Unit
	Kind      metric.NumberKind
	Quantiles []float64
}

Options represents options for customizing Mackerel's Graph Definition.

Jump to

Keyboard shortcuts

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