Versions in this module Expand all Collapse all v1 v1.15.1 Nov 7, 2019 Changes in this version + type ClientBuilder interface + GetAllTagsAsFields func() bool + GetIndexPrefix func() string + GetMaxNumSpans func() int + GetMaxSpanAge func() time.Duration + GetNumReplicas func() int64 + GetNumShards func() int64 + GetTagDotReplacement func() string + GetTagsFilePath func() string + GetTokenFilePath func() string + GetUseReadWriteAliases func() bool + GetVersion func() uint + IsCreateIndexTemplates func() bool + IsEnabled func() bool + NewClient func(logger *zap.Logger, metricsFactory metrics.Factory) (es.Client, error) + type Configuration struct + AllTagsAsFields bool + AllowTokenFromContext bool + BulkActions int + BulkFlushInterval time.Duration + BulkSize int + BulkWorkers int + CreateIndexTemplates bool + Enabled bool + IndexPrefix string + MaxNumSpans int + MaxSpanAge time.Duration + NumReplicas int64 + NumShards int64 + Password string + Servers []string + Sniffer bool + TLS TLSConfig + TagDotReplacement string + TagsFilePath string + Timeout time.Duration + TokenFilePath string + UseReadWriteAliases bool + Username string + Version uint + func (c *Configuration) ApplyDefaults(source *Configuration) + func (c *Configuration) GetAllTagsAsFields() bool + func (c *Configuration) GetIndexPrefix() string + func (c *Configuration) GetMaxNumSpans() int + func (c *Configuration) GetMaxSpanAge() time.Duration + func (c *Configuration) GetNumReplicas() int64 + func (c *Configuration) GetNumShards() int64 + func (c *Configuration) GetTagDotReplacement() string + func (c *Configuration) GetTagsFilePath() string + func (c *Configuration) GetTokenFilePath() string + func (c *Configuration) GetUseReadWriteAliases() bool + func (c *Configuration) GetVersion() uint + func (c *Configuration) IsCreateIndexTemplates() bool + func (c *Configuration) IsEnabled() bool + func (c *Configuration) NewClient(logger *zap.Logger, metricsFactory metrics.Factory) (es.Client, error) + type TLSConfig struct + CaPath string + CertPath string + Enabled bool + KeyPath string + SkipHostVerify bool