Documentation ¶
Overview ¶
Package json is implements an output to put metrics in a json file. Actually a multi line json file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Output ¶
type Output struct { output.SampleBuffer // contains filtered or unexported fields }
Output funnels all passed metrics to an (optionally gzipped) JSON file.
func (*Output) Description ¶
Description returns a human-readable description of the output.
func (*Output) SetThresholds ¶
func (o *Output) SetThresholds(thresholds map[string]metrics.Thresholds)
SetThresholds receives the thresholds before the output is Start()-ed.
Click to show internal directories.
Click to hide internal directories.