Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterReporterFactory ¶
func RegisterReporterFactory(name string, f ReporterFactory)
Types ¶
type Event ¶
type Event struct { Timestamp time.Time `struct:"timestamp"` Fields common.MapStr `struct:",inline"` }
Event is the format of monitoring events. A separate event is required as it has to be serialized differently. The only difference between report.Event and beat.Event is Timestamp is serialized as "timestamp" in monitoring.
type Reporter ¶
type Reporter interface {
Stop()
}
Source Files
¶
- event.go
- report.go
Click to show internal directories.
Click to hide internal directories.