mappings

package
v1.56.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MAPPINGS embed.FS

MAPPINGS contains embedded index templates.

Functions

This section is empty.

Types

type MappingBuilder added in v1.23.0

type MappingBuilder struct {
	TemplateBuilder              es.TemplateBuilder
	Shards                       int64
	Replicas                     int64
	PrioritySpanTemplate         int64
	PriorityServiceTemplate      int64
	PriorityDependenciesTemplate int64
	PrioritySamplingTemplate     int64
	EsVersion                    uint
	IndexPrefix                  string
	UseILM                       bool
	ILMPolicyName                string
}

MappingBuilder holds parameters required to render an elasticsearch index template

func (*MappingBuilder) GetDependenciesMappings added in v1.23.0

func (mb *MappingBuilder) GetDependenciesMappings() (string, error)

GetDependenciesMappings returns dependencies mappings

func (*MappingBuilder) GetMapping added in v1.23.0

func (mb *MappingBuilder) GetMapping(mapping string) (string, error)

GetMapping returns the rendered mapping based on elasticsearch version

func (*MappingBuilder) GetSamplingMappings added in v1.55.0

func (mb *MappingBuilder) GetSamplingMappings() (string, error)

GetSamplingMappings returns sampling mappings

func (*MappingBuilder) GetSpanServiceMappings added in v1.23.0

func (mb *MappingBuilder) GetSpanServiceMappings() (string, string, error)

GetSpanServiceMappings returns span and service mappings

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL