Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AnnotationExporterEnableDefault name of the annotation for enable / disable parsing logs AnnotationExporterEnableDefault = "loggo.sla/enable" // // AnnotationExporterPathsDefault name of the annotation with label-regexpset definitions AnnotationExporterPathsDefault = "loggo.sla/paths" // AnnotationSLADomainsDefault name of the annotation with served domain list AnnotationSLADomainsDefault = "loggo.sla/domains" // AnnotationSLADomainsDeprecated deprecated name of the annotation with served domain list AnnotationSLADomainsDeprecated = "router.deis.io/domains" AnnotationExporterEnableTrueDeprecated = "enable" AnnotationExporterEnableTrue = "true" )
SLA related
View Source
const Parallelism = 8
Parallelism is a count of workers in each stage to run
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AMQPTransportConfig ¶
type Config ¶
type Config struct {
K8SExtends K8SExtends
ParserConfig ParserConfig
FollowerConfig FollowerConfig
JournaldConfig JournaldConfig
SLIExporterConfig SLIExporterConfig
FirehostTransportConfig FirehoseTransportConfig
AMQPTransportConfig AMQPTransportConfig
RedisTransportConfig RedisTransportConfig
TransportBufferSizeMax int
Transport string
LogsPath string
PositionFilePath string
ContainersIgnoreFilePath string
ReadRateRulesPath string
ReadRateDefault float64
TargetsRefreshIntervalSec int
FlushIntervalSec int
MetricsResetIntervalSec int
LogLevel string
LogFormat string
}
Config stores all configuration from environment or launch keys
type FirehoseTransportConfig ¶
type FirehoseTransportConfig struct {
DeliveryStream string
}
type FollowerConfig ¶
type JournaldConfig ¶
type K8SExtends ¶
type K8SExtends struct {
DataCenter string
Purpose string
NodeHostname string
LogType string
LogstashPrefix string
}
func (*K8SExtends) EntryMap ¶
func (e *K8SExtends) EntryMap() common.EntryMap
type ParserConfig ¶
type RedisTransportConfig ¶
Click to show internal directories.
Click to hide internal directories.