Help us shape the future of Go! Take the 2026 Go Developer Survey

status

package
v0.42.4 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetStatsFunc

type GetStatsFunc func(r *http.Request, statsByLabelName string) ([]api.TenantStats, *api.ApiError)

type Options

type Options struct {
	GetStats GetStatsFunc
	Registry *prometheus.Registry
}

type StatusAPI

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

func New

func New(opts Options) *StatusAPI

func (*StatusAPI) Register

func (sapi *StatusAPI) Register(r *route.Router, tracer opentracing.Tracer, logger log.Logger, ins extpromhttp.InstrumentationMiddleware, logMiddleware *logging.HTTPServerMiddleware)

Jump to

Keyboard shortcuts

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