Documentation ¶
Index ¶
- func InitAggregation(table table.Interface, config Config) error
- func InitBlocklist(table table.Interface, config Config) error
- func InitCmd(table table.Interface, config Config) error
- func InitRewrite(table table.Interface, config Config) error
- func InitRoutes(table table.Interface, config Config, meta toml.MetaData) error
- func InitTable(table table.Interface, config Config, meta toml.MetaData) error
- type Aggregation
- type Amqp
- type Config
- type Duration
- type Init
- type Rewriter
- type Route
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAggregation ¶ added in v1.2.1
func InitRoutes ¶ added in v1.2.1
Types ¶
type Aggregation ¶
type Config ¶
type Config struct { Listen_addr string Plain_read_timeout Duration Pickle_addr string Pickle_read_timeout Duration Admin_addr string Http_addr string Spool_dir string Amqp Amqp Max_procs int First_only bool Init Init Instance string Log_level string Instrumentation instrumentation Bad_metrics_max_age string Pid_file string Validation_level_legacy validate.LevelLegacy Validation_level_m20 validate.LevelM20 Validate_order bool BlackList []string // support legacy configs BlockList []string Aggregation []Aggregation Route []Route Rewriter []Rewriter }
func (Config) TableConfig ¶ added in v1.2.1
func (c Config) TableConfig() (table.TableConfig, error)
type Duration ¶
func (*Duration) UnmarshalText ¶
type Route ¶
type Route struct { Key string Type string Prefix string NotPrefix string Substr string Sub string NotSub string Regex string NotRegex string Destinations []string // grafanaNet & kafkaMdm & Google PubSub SchemasFile string OrgId int BufSize int FlushMaxNum int // also used by CloudWatch FlushMaxWait int // also used by CloudWatch Timeout int Blocking bool // grafanaNet Addr string AggregationFile string ApiKey string Spool bool SslVerify bool Concurrency int ErrBackoffMin int ErrBackoffFactor float64 // kafkaMdm Brokers []string Topic string // also used by Google PubSub Codec string // also used by Google PubSub PartitionBy string TLSEnabled bool TLSSkipVerify bool TLSClientCert string TLSClientKey string SASLEnabled bool SASLMechanism string SASLUsername string SASLPassword string // Google PubSub Project string Format string FlushMaxSize int // CloudWatch Profile string // For local development Region string Namespace string // For now fixed in config Dimensions [][]string // For now fixed in config StorageResolution int64 }
Click to show internal directories.
Click to hide internal directories.