prometheus

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-3-Clause Imports: 8 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 {
	// contains filtered or unexported fields
}

func New

func New() *Exporter

func (*Exporter) FinishSpan

func (e *Exporter) FinishSpan(ctx context.Context, span *telemetry.Span)

func (*Exporter) Flush

func (e *Exporter) Flush()

func (*Exporter) Log

func (e *Exporter) Log(ctx context.Context, event telemetry.Event)

func (*Exporter) Metric

func (e *Exporter) Metric(ctx context.Context, data telemetry.MetricData)

func (*Exporter) Serve

func (e *Exporter) Serve(w http.ResponseWriter, r *http.Request)

func (*Exporter) StartSpan

func (e *Exporter) StartSpan(ctx context.Context, span *telemetry.Span)

Jump to

Keyboard shortcuts

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