runner

package
v0.0.0-...-6ee8545 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Overview

This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.

This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license

This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.

Index

Constants

This section is empty.

Variables

View Source
var (
	PromscaleID uuid.UUID
)

Functions

func CreateClient

func CreateClient(r prometheus.Registerer, cfg *Config) (*pgclient.Client, error)

func ParseArgs

func ParseArgs(args []string) (shouldProceed bool)

ParseArgs parses the provided args and prints accordingly. This function should be called before ParseFlags in order to process the non-input flags like "-version".

func Run

func Run(cfg *Config) error

Types

type Config

type Config struct {
	ListenAddr                  string
	ThanosStoreAPIListenAddr    string
	TracingGRPCListenAddr       string
	PgmodelCfg                  pgclient.Config
	LogCfg                      log.Config
	TracerCfg                   tracer.Config
	APICfg                      api.Config
	AuthConfig                  auth.Config
	LimitsCfg                   limits.Config
	TenancyCfg                  tenancy.Config
	PromQLCfg                   query.Config
	RulesCfg                    rules.Config
	TracingCfg                  jaegerStore.Config
	VacuumCfg                   vacuum.Config
	ConfigFile                  string
	DatasetConfig               string
	DatasetCfg                  dataset.Config
	TLSCertFile                 string
	TLSKeyFile                  string
	ThroughputInterval          time.Duration
	Migrate                     bool
	StopAfterMigrate            bool
	UseVersionLease             bool
	InstallExtensions           bool
	UpgradeExtensions           bool
	UpgradePrereleaseExtensions bool
	StartupOnly                 bool
}

func ParseFlags

func ParseFlags(cfg *Config, args []string) (*Config, error)

Jump to

Keyboard shortcuts

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