(endpoint, orgID, basicAuthToken string, useTLS bool)
| 194 | } |
| 195 | |
| 196 | func NewJaegerToOTLPExporterWithAuth(endpoint, orgID, basicAuthToken string, useTLS bool) (*JaegerToOTLPExporter, error) { |
| 197 | exp, err := newOtelGRPCExporterWithAuth(endpoint, orgID, basicAuthToken, useTLS) |
| 198 | if err != nil { |
| 199 | return nil, err |
| 200 | } |
| 201 | return &JaegerToOTLPExporter{exporter: exp}, nil |
| 202 | } |
| 203 | |
| 204 | // EmitBatch converts a Jaeger Thrift batch to OpenTelemetry traces formats |
| 205 | // and forwards them to the configured OTLP endpoint. |
no test coverage detected