Documentation ¶ Index ¶ Variables type Factory func NewExporterFactory() Factory func (ef Factory) NewExporter(ctx context.Context, pipe *config.Export) (sdkmetric.Exporter, error) type ShutdownExporter Constants ¶ This section is empty. Variables ¶ View Source var ErrNotDefinedExporter = errors.New("invalid exporter provided") Functions ¶ This section is empty. Types ¶ type Factory ¶ type Factory map[string]generatorFunc func NewExporterFactory ¶ func NewExporterFactory() Factory func (Factory) NewExporter ¶ func (ef Factory) NewExporter(ctx context.Context, pipe *config.Export) (sdkmetric.Exporter, error) type ShutdownExporter ¶ type ShutdownExporter interface { sdkmetric.Exporter Shutdown(ctx context.Context) error } ShutdownExporter is used to help check if an exporter is able to be shutdown. Source Files ¶ View all Source files exporter_factory.go interface.go Click to show internal directories. Click to hide internal directories.