Documentation
¶
Index ¶
- func NewRoutes(opts ...Option) (*routes, error)
- type Option
- func WithDBProvider(dbProvider db.Provider) Option
- func WithHandlers(uiFS fs.FS, registry *prometheus.Registry, isTracingEnabled bool) Option
- func WithIncludeQueryStats(includeQueryStats bool) Option
- func WithMetadataLimit(limit uint64) Option
- func WithPromAPI(upstream *url.URL) Option
- func WithProxy(upstream *url.URL) Option
- func WithQueryIngester(queryIngester *ingester.QueryIngester) Option
- func WithSeriesLimit(limit uint64) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*routes)
func WithDBProvider ¶
func WithHandlers ¶
func WithIncludeQueryStats ¶
func WithMetadataLimit ¶ added in v0.3.0
func WithPromAPI ¶ added in v0.3.0
func WithQueryIngester ¶
func WithQueryIngester(queryIngester *ingester.QueryIngester) Option
func WithSeriesLimit ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.