globetest

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

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
}

func (*Output) Description

func (o *Output) Description() string

func (*Output) SetThresholds

func (o *Output) SetThresholds(thresholds map[string]workerMetrics.Thresholds)

SetThresholds receives the thresholds before the output is Start()-ed.

func (*Output) Start

func (o *Output) Start() error

func (*Output) Stop

func (o *Output) Stop() error

type SampleData

type SampleData struct {
	// Type is point
	Value float64                   `json:"value"`
	Tags  *workerMetrics.SampleTags `json:"tags"`
}

type SampleEnvelope

type SampleEnvelope struct {
	Data   SampleData            `json:"data"`
	Metric *workerMetrics.Metric `json:"metric"`
	// contains filtered or unexported fields
}

Stores a metric and data point

type WrappedFormattedSamples added in v0.1.4

type WrappedFormattedSamples struct {
	SampleEnvelopes []SampleEnvelope `json:"samples"`
	FlushCount      int              `json:"flush_count"`
}

Jump to

Keyboard shortcuts

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