Documentation
¶
Index ¶
- Constants
- type Exporter
- func (p *Exporter) DataClass() metrics.DataClass
- func (p *Exporter) Name() string
- func (p *Exporter) Publish(_ context.Context, evt *events.Event) error
- func (p *Exporter) ValidateConfig(settings map[string]interface{}) error
- func (p *Exporter) WithSettings(settings map[string]interface{}) (appmetrics.Exporter, error)
Constants ¶
View Source
const ExporterName = "kafka"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
infratelemetry.KafkaBase
}
func NewKafkaTemplate ¶
func NewKafkaTemplate(logger *slog.Logger, kafkaCfg config.KafkaConfig) *Exporter
func (*Exporter) DataClass ¶ added in v0.3.4
DataClass fixes this exporter to the metadata class; the pipeline routes only the sanitized metadata view here, so the full-event marshal never carries sensible bodies (ENG-1021).
func (*Exporter) ValidateConfig ¶
func (*Exporter) WithSettings ¶
func (p *Exporter) WithSettings(settings map[string]interface{}) (appmetrics.Exporter, error)
Click to show internal directories.
Click to hide internal directories.