File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,11 @@ const (
40
40
// IndexOptions describes the index format and rollover frequency
41
41
type IndexOptions struct {
42
42
// Priority contains the priority of index template (ESv8 only).
43
- Priority int64 `mapstructure:"priority"`
43
+ Priority int64 `mapstructure:"priority"`
44
+ // DateLayout contains the format string used to format current time to part of the index name.
45
+ // For example, "2006-01-02" layout will result in "jaeger-spans-yyyy-mm-dd".
46
+ // If not specified, the default value is "2006-01-02".
47
+ // See https://pkg.go.dev/time#Layout for more details on the syntax.
44
48
DateLayout string `mapstructure:"date_layout"`
45
49
// Shards is the number of shards per index in Elasticsearch.
46
50
Shards int64 `mapstructure:"shards"`
You can’t perform that action at this time.
0 commit comments