package prometheus

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

Index

Types

type Exporter

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

func New

func New() *Exporter

func (*Exporter) ProcessEvent

func (e *Exporter) ProcessEvent(ctx context.Context, ev core.Event, lm label.Map) context.Context

func (*Exporter) Serve

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

Source Files

prometheus.go

Version
v0.30.0 (latest)
Published
Feb 10, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
8 hours ago

Tools for package owners.