func DefaultOptions() *Options {
	return &Options{batchSize: 5000, maxRetries: 3, retryInterval: 5000, maxRetryInterval: 300000, flushInterval: 1000, precision: time.Nanosecond, useGZip: false, retryBufferLimit: 50000, defaultTags: make(map[string]string)}
}
DefaultOptions returns Options object with default values
package write
import (
	"time"
)
type Options struct {
	batchSize uint
	flushInterval uint
	precision time.Duration
	useGZip bool
	defaultTags map[string]string
	retryInterval uint
	maxRetries uint
	retryBufferLimit uint
	maxRetryInterval uint
}
func (o *Options) BatchSize() uint {
	return o.batchSize
}
func (o *Options) SetBatchSize(batchSize uint) *Options {
	o.batchSize = batchSize
	return o
}
func (o *Options) FlushInterval() uint {
	return o.flushInterval
}
func (o *Options) SetFlushInterval(flushIntervalMs uint) *Options {
	o.flushInterval = flushIntervalMs
	return o
}
func (o *Options) RetryInterval() uint {
	return o.retryInterval
}
func (o *Options) SetRetryInterval(retryIntervalMs uint) *Options {
	o.retryInterval = retryIntervalMs
	return o
}
func (o *Options) MaxRetries() uint {
	return o.maxRetries
}
func (o *Options) SetMaxRetries(maxRetries uint) *Options {
	o.maxRetries = maxRetries
	return o
}
func (o *Options) RetryBufferLimit() uint {
	return o.retryBufferLimit
}
func (o *Options) SetRetryBufferLimit(retryBufferLimit uint) *Options {
	o.retryBufferLimit = retryBufferLimit
	return o
}
func (o *Options) MaxRetryInterval() uint {
	return o.maxRetryInterval
}
func (o *Options) SetMaxRetryInterval(maxRetryIntervalMs uint) *Options {
	o.maxRetryInterval = maxRetryIntervalMs
	return o
}
func (o *Options) Precision() time.Duration {
	return o.precision
}
func (o *Options) SetPrecision(precision time.Duration) *Options {
	o.precision = precision
	return o
}
func (o *Options) UseGZip() bool {
	return o.useGZip
}
func (o *Options) SetUseGZip(useGZip bool) *Options {
	o.useGZip = useGZip
	return o
}
func (o *Options) AddDefaultTag(key, value string) *Options {
	o.DefaultTags()[key] = value
	return o
}
func (o *Options) DefaultTags() map[string]string {
	if o.defaultTags == nil {
		o.defaultTags = make(map[string]string)
	}
	return o.defaultTags
}