func WithTracerProvider(provider trace.TracerProvider) Option {
	return optionFunc(func(o *config) {
		if provider != nil {
			o.TracerProvider = provider
		}
	})
}
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
package otelkit
import (
	"context"
	"go.opentelemetry.io/otel/attribute"
	"go.opentelemetry.io/otel/trace"
)
type config struct {
	TracerProvider trace.TracerProvider
	IgnoreBusinessError bool
	Operation string
	GetOperation func(ctx context.Context, operation string) string
	Attributes []attribute.KeyValue
	GetAttributes func(ctx context.Context) []attribute.KeyValue
}
type Option interface {
	apply(*config)
}
type optionFunc func(*config)
func (o optionFunc) apply(c *config) {
	o(c)
}