newrelic

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct {
	Exporter *nrcensus.Exporter
}

Exporter is NewRelic trace client.

func NewExporter

func NewExporter(serviceName, apiKey string, options ...func(*telemetry.Config)) (*Exporter, error)

NewExporter returns initialized *Exporter.

func (*Exporter) Close

func (e *Exporter) Close()

Close closes client.

func (*Exporter) Flush

func (e *Exporter) Flush()

Flush waits for exported data to be uploaded.

Jump to

Keyboard shortcuts

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