Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
func (*Duration) UnmarshalJSON ¶
type LoggingConfig ¶
type LoggingConfig struct {
Structured bool `json:"structured" yaml:"structured"`
}
type RuntimeConfig ¶
type RuntimeConfig struct {
FlushInterval Duration `json:"flush_interval" yaml:"flush_interval"`
WindowSize Duration `json:"window_size" yaml:"window_size"`
MaxInMemorySpans int `json:"max_in_memory_spans" yaml:"max_in_memory_spans"`
LateSpanPolicy string `json:"late_span_policy" yaml:"late_span_policy"`
}
type ServeConfig ¶
type ServeConfig struct {
Server ServerConfig `json:"server" yaml:"server"`
Runtime RuntimeConfig `json:"runtime" yaml:"runtime"`
Sink SinkConfig `json:"sink" yaml:"sink"`
Logging LoggingConfig `json:"logging" yaml:"logging"`
Overlays []string `json:"overlays" yaml:"overlays"`
}
func DefaultServeConfig ¶
func DefaultServeConfig() ServeConfig
func LoadServeConfig ¶
func LoadServeConfig(path string) (ServeConfig, error)
func (ServeConfig) Validate ¶
func (c ServeConfig) Validate() error
type ServerConfig ¶
type SinkConfig ¶
Click to show internal directories.
Click to hide internal directories.