Documentation
¶
Index ¶
- Constants
- Variables
- func Send(event MapStr) bool
- func SendEvent(event Event) bool
- func Stop() error
- type BKBeat
- type BeaterState
- type ClientEventer
- type Config
- type Event
- type EventMetadata
- type MapStr
- type MapStrPorinter
- type ProcessingConfig
- type Processor
- type ProcessorList
- type PublishConfig
- type PublishMode
Constants ¶
View Source
const DefaultGuarantees = beat.DefaultGuarantees
View Source
const DropIfFull = beat.DropIfFull
View Source
const GuaranteedSend = beat.GuaranteedSend
Variables ¶
View Source
var Done chan bool
View Source
var LoadFile = common.LoadFile
LoadFile
View Source
var ReloadChan chan bool
ReloadChan indicates developers to reload config when new config is ready
Functions ¶
Types ¶
type BKBeat ¶
type BKBeat struct { Beat *beat.Beat Client *beat.Client LocalConfig *Config BeaterState BeaterState Finished bool Done chan struct{} }
BKBeat
type BeaterState ¶
type BeaterState int
BeaterState is beater's state
const ( BeaterBeforeOpening BeaterState = iota BeaterFailToOpen BeaterRunning BeaterStoped )
type ClientEventer ¶
type ClientEventer = beat.ClientEventer
type Config ¶
Config
func GetRawConfig ¶
func GetRawConfig() *Config
func InitWithPublishConfig ¶
func InitWithPublishConfig(beatName string, version string, pubConfig PublishConfig, settings instance.Settings) (*Config, error)
InitWithPublishConfig initializes user's beat with user specified publish config
type EventMetadata ¶
type EventMetadata = common.EventMetadata
type MapStrPorinter ¶
type MapStrPorinter = common.MapStrPointer
type ProcessingConfig ¶
type ProcessingConfig = beat.ProcessingConfig
type ProcessorList ¶
type ProcessorList = beat.ProcessorList
type PublishConfig ¶
type PublishConfig = beat.ClientConfig
type PublishMode ¶
type PublishMode = beat.PublishMode
Click to show internal directories.
Click to hide internal directories.