Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Add ES config comments #6110

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ const (
// IndexOptions describes the index format and rollover frequency
type IndexOptions struct {
// Priority contains the priority of index template (ESv8 only).
Priority int64 `mapstructure:"priority"`
Priority int64 `mapstructure:"priority"`
// DateLayout contains the format string used to format current time to part of the index name.
// For example, "2006-01-02" layout will result in "jaeger-spans-yyyy-mm-dd".
// If not specified, the default value is "2006-01-02".
// See https://pkg.go.dev/time#Layout for more details on the syntax.
DateLayout string `mapstructure:"date_layout"`
// Shards is the number of shards per index in Elasticsearch.
Shards int64 `mapstructure:"shards"`
Expand Down
Loading