tools: golang.org/x/tools/internal/telemetry/export/prometheus Index | Files

package prometheus

import "golang.org/x/tools/internal/telemetry/export/prometheus"

Index

Package Files

prometheus.go

type Exporter Uses

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

func New Uses

func New() *Exporter

func (*Exporter) FinishSpan Uses

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

func (*Exporter) Flush Uses

func (e *Exporter) Flush()

func (*Exporter) Log Uses

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

func (*Exporter) Metric Uses

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

func (*Exporter) Serve Uses

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

func (*Exporter) StartSpan Uses

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

Package prometheus imports 8 packages (graph) and is imported by 3 packages. Updated 2019-11-15. Refresh now. Tools for package owners.