Documentation
¶
Index ¶
- type Config
- type Sink
- func (s *Sink) EmitComplete(job string, status health.CompletionStatus, nanos int64, kvs map[string]string)
- func (s *Sink) EmitEvent(job string, event string, kvs map[string]string)
- func (s *Sink) EmitEventErr(job string, event string, inputErr error, kvs map[string]string)
- func (s *Sink) EmitTiming(job string, event string, nanos int64, kvs map[string]string)
- func (s *Sink) ShutdownServer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Application's Sentry URL.
URL string
// Only send errors if set.
ErrorsOnly bool
}
Config is used to configure Sentry sink.
type Sink ¶
type Sink struct {
Config *Config
// contains filtered or unexported fields
}
Sink emits errors to Sentry.
func (*Sink) EmitComplete ¶
func (*Sink) EmitEventErr ¶
func (*Sink) EmitTiming ¶
func (*Sink) ShutdownServer ¶
func (s *Sink) ShutdownServer()
Click to show internal directories.
Click to hide internal directories.