grafana

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, logger log.Logger) (services.Service, error)

Types

type CompressType

type CompressType int
const (
	CompressTypeNone CompressType = iota
	CompressTypeGzip
	CompressTypeZip
)

type Config

type Config struct {
	DataPath     string `yaml:"data_path" json:"data_path"`
	ListenPort   int    `yaml:"listen_port" json:"listen_port"`
	PyroscopeURL string `yaml:"pyroscope_url" json:"pyroscope_url"`
}

func (*Config) RegisterFlags

func (cfg *Config) RegisterFlags(fs *flag.FlagSet)

RegisterFlags registers distributor-related flags.

Jump to

Keyboard shortcuts

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