operations

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseTime

func ParseTime(s string) (time.Time, error)

Types

type Admin

type Admin struct {
	services.Service
	// contains filtered or unexported fields
}

func NewAdmin

func NewAdmin(bucketClient objstore.Bucket, logger log.Logger, maxBlockDuration time.Duration) (*Admin, error)

func (*Admin) BlockHandler

func (a *Admin) BlockHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) BlocksHandler

func (a *Admin) BlocksHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) DatasetHandler added in v1.16.0

func (a *Admin) DatasetHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) DatasetProfilesHandler added in v1.16.0

func (a *Admin) DatasetProfilesHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) DatasetSymbolsHandler added in v1.16.0

func (a *Admin) DatasetSymbolsHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) DatasetTSDBIndexHandler added in v1.16.0

func (a *Admin) DatasetTSDBIndexHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) ProfileCallTreeHandler added in v1.16.0

func (a *Admin) ProfileCallTreeHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) ProfileDownloadHandler added in v1.16.0

func (a *Admin) ProfileDownloadHandler(w http.ResponseWriter, r *http.Request)

func (*Admin) TenantsHandler

func (a *Admin) TenantsHandler(w http.ResponseWriter, r *http.Request)

type Handlers

type Handlers struct {
	Bucket           objstore.Bucket
	Logger           log.Logger
	MaxBlockDuration time.Duration
}

func (*Handlers) CreateBlockDetailsHandler

func (h *Handlers) CreateBlockDetailsHandler() func(http.ResponseWriter, *http.Request)

func (*Handlers) CreateBlocksHandler

func (h *Handlers) CreateBlocksHandler() func(http.ResponseWriter, *http.Request)

func (*Handlers) CreateIndexHandler

func (h *Handlers) CreateIndexHandler() func(http.ResponseWriter, *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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