Documentation ¶
Index ¶
- type JournalCtlConfiguration
- type JournalCtlSource
- func (j *JournalCtlSource) CanRun() error
- func (j *JournalCtlSource) Configure(yamlConfig []byte, logger *log.Entry, MetricsLevel int) error
- func (j *JournalCtlSource) ConfigureByDSN(dsn string, labels map[string]string, logger *log.Entry, uuid string) error
- func (j *JournalCtlSource) Dump() interface{}
- func (j *JournalCtlSource) GetAggregMetrics() []prometheus.Collector
- func (j *JournalCtlSource) GetMetrics() []prometheus.Collector
- func (j *JournalCtlSource) GetMode() string
- func (j *JournalCtlSource) GetName() string
- func (j *JournalCtlSource) GetUuid() string
- func (j *JournalCtlSource) OneShotAcquisition(out chan types.Event, t *tomb.Tomb) error
- func (j *JournalCtlSource) StreamingAcquisition(out chan types.Event, t *tomb.Tomb) error
- func (j *JournalCtlSource) UnmarshalConfig(yamlConfig []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JournalCtlConfiguration ¶
type JournalCtlConfiguration struct { configuration.DataSourceCommonCfg `yaml:",inline"` Filters []string `yaml:"journalctl_filter"` }
type JournalCtlSource ¶
type JournalCtlSource struct {
// contains filtered or unexported fields
}
func (*JournalCtlSource) CanRun ¶
func (j *JournalCtlSource) CanRun() error
func (*JournalCtlSource) ConfigureByDSN ¶
func (*JournalCtlSource) Dump ¶
func (j *JournalCtlSource) Dump() interface{}
func (*JournalCtlSource) GetAggregMetrics ¶
func (j *JournalCtlSource) GetAggregMetrics() []prometheus.Collector
func (*JournalCtlSource) GetMetrics ¶
func (j *JournalCtlSource) GetMetrics() []prometheus.Collector
func (*JournalCtlSource) GetMode ¶
func (j *JournalCtlSource) GetMode() string
func (*JournalCtlSource) GetName ¶
func (j *JournalCtlSource) GetName() string
func (*JournalCtlSource) GetUuid ¶ added in v1.5.0
func (j *JournalCtlSource) GetUuid() string
func (*JournalCtlSource) OneShotAcquisition ¶
func (j *JournalCtlSource) OneShotAcquisition(out chan types.Event, t *tomb.Tomb) error
func (*JournalCtlSource) StreamingAcquisition ¶
func (j *JournalCtlSource) StreamingAcquisition(out chan types.Event, t *tomb.Tomb) error
func (*JournalCtlSource) UnmarshalConfig ¶ added in v1.5.0
func (j *JournalCtlSource) UnmarshalConfig(yamlConfig []byte) error
Click to show internal directories.
Click to hide internal directories.