routes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoutes

func NewRoutes(opts ...Option) (*routes, error)

Types

type Option

type Option func(*routes)

func WithDBProvider

func WithDBProvider(dbProvider db.Provider) Option

func WithHandlers

func WithHandlers(uiFS fs.FS, registry *prometheus.Registry, isTracingEnabled bool) Option

func WithIncludeQueryStats

func WithIncludeQueryStats(includeQueryStats bool) Option

func WithMetadataLimit added in v0.3.0

func WithMetadataLimit(limit uint64) Option

func WithPromAPI added in v0.3.0

func WithPromAPI(upstream *url.URL) Option

func WithProxy

func WithProxy(upstream *url.URL) Option

func WithQueryIngester

func WithQueryIngester(queryIngester *ingester.QueryIngester) Option

func WithSeriesLimit added in v0.3.0

func WithSeriesLimit(limit uint64) Option

Jump to

Keyboard shortcuts

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