func WithSuccess(s float64) Option {
	return func(c *options) {
		c.success = s
	}
}
WithSuccess with the K = 1 / Success value of sre breaker, default success is 0.5
Reducing the K will make adaptive throttling behave more aggressively,
Increasing the K will make adaptive throttling behave less aggressively.
package sre
import (
	"math"
	"math/rand"
	"sync"
	"sync/atomic"
	"time"
	"github.com/go-kratos/aegis/circuitbreaker"
	"github.com/go-kratos/aegis/pkg/window"
)
type Option func(*options)
const (
	StateOpen int32 = iota
	StateClosed
)
var (
	_ circuitbreaker.CircuitBreaker = &Breaker{}
)
type options struct {
	success float64
	request int64
	bucket  int
	window  time.Duration
}