Documentation ¶
Index ¶
- func NewExportedBytesTotalWriter(w io.Writer) io.Writer
- func RegisterMetrics(group metrics.Group)
- type ExportEncoder
- type Exporter
- func (e *Exporter) Context() context.Context
- func (e *Exporter) RecvMsg(_ interface{}) error
- func (e *Exporter) Send(event *tetragon.GetEventsResponse) error
- func (e *Exporter) SendHeader(metadata.MD) error
- func (e *Exporter) SendMsg(_ interface{}) error
- func (e *Exporter) SetHeader(metadata.MD) error
- func (e *Exporter) SetTrailer(metadata.MD)
- func (e *Exporter) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExportedBytesTotalWriter ¶ added in v1.1.0
func RegisterMetrics ¶ added in v1.2.0
Types ¶
type ExportEncoder ¶
type ExportEncoder interface {
Encode(v interface{}) error
}
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
func NewExporter ¶
func NewExporter( ctx context.Context, request *tetragon.GetEventsRequest, server *server.Server, encoder ExportEncoder, closer io.Closer, rateLimiter *ratelimit.RateLimiter, ) *Exporter
func (*Exporter) SetTrailer ¶
Click to show internal directories.
Click to hide internal directories.