-
Notifications
You must be signed in to change notification settings - Fork 994
Closed
Description
Currently, we have OTLP trace exporters to be implemented in an inherited class pattern:
OTLPTraceExporter (grpc) -> OTLPGRPCExporterNodeBase -> OTLPExporterBase
OTLPTraceExporter (HTTP)-> OTLPExporterNodeBase -> OTLPExporterBase
OTLPTraceExporter (proto) -> OTLPProtoExporterNodeBase -> OTLPExporterNodeBase -> OTLPExporterBase
On the other hand, the OTLP metric exporters are not in this pattern. The base OTLP metric exporter, a MetricExporter, has an internal metric exporter, which also implements the MetricExporter interface. This pattern looks abstruse to me.
Can the OTLP metric exporter be implemented without the intermediate exporter?
/cc @pichlermarc