first commit
This commit is contained in:
11
plugins/otel/client.go
Normal file
11
plugins/otel/client.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package otel
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
// OtelClient is the interface for the OpenTelemetry client
|
||||
type OtelClient interface {
|
||||
Emit(ctx context.Context, rs []*ResourceSpan) error
|
||||
Close() error
|
||||
}
|
||||
Reference in New Issue
Block a user