newrelic

package
v1.101.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Row

type Row struct {
	Tags      []Tag
	Samples   []Sample
	Timestamp int64
}

Row represents parsed row

type Rows

type Rows struct {
	Rows []Row
}

Rows contains rows parsed from NewRelic Event request

See https://docs.newrelic.com/docs/infrastructure/manage-your-data/data-instrumentation/default-infrastructure-monitoring-data/#infrastructure-events

func (*Rows) Reset

func (r *Rows) Reset()

Reset resets r, so it can be re-used

func (*Rows) Unmarshal

func (r *Rows) Unmarshal(b []byte) error

Unmarshal parses NewRelic Event request from b to r.

b can be re-used after returning from r.

type Sample

type Sample struct {
	Name  []byte
	Value float64
}

Sample represents parsed sample

type Tag

type Tag struct {
	Key   []byte
	Value []byte
}

Tag represents a key=value tag

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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