Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BufferedClientOptions ¶
type Client ¶
type Client interface { With(dims ...attribute.KeyValue) Client Emit(ctx context.Context, name string, value float64, dims ...attribute.KeyValue) Close() error }
func NewBufferedClient ¶
func NewBufferedClient(opts BufferedClientOptions) Client
func NewNoopClient ¶
func NewNoopClient() Client
type ConsoleSink ¶
type ConsoleSink struct {
// contains filtered or unexported fields
}
func NewConsoleSink ¶
func NewConsoleSink(logger *zap.Logger, level zapcore.Level) *ConsoleSink
NewConsoleSink might be used for a local run
func (*ConsoleSink) Close ¶
func (s *ConsoleSink) Close() error
type KafkaSink ¶
type KafkaSink struct {
// contains filtered or unexported fields
}
KafkaSink sinks events to a Kafka cluster.
func NewKafkaSink ¶
Click to show internal directories.
Click to hide internal directories.