exporter

package
v0.0.0-...-488c569 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NameSpace = "newrelic"

Namespace for metrics

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	// contains filtered or unexported fields
}

func NewExporter

func NewExporter(api *newrelic.API, cfg config.Config) *Exporter

func (*Exporter) Collect

func (e *Exporter) Collect(ch chan<- prometheus.Metric)

func (*Exporter) Describe

func (e *Exporter) Describe(ch chan<- *prometheus.Desc)

type Metric

type Metric struct {
	App   string
	Name  string
	Value float64
	Label string
}

Jump to

Keyboard shortcuts

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