Skip to content

Commit

Permalink
Expose is_archive Flag
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Nov 4, 2024
1 parent c65bd21 commit 7f87200
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmd/jaeger/config-elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extensions:
elasticsearch:
indices:
index_prefix: "jaeger-archive"
is_archive: true

receivers:
otlp:
Expand Down
1 change: 1 addition & 0 deletions cmd/jaeger/config-opensearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ extensions:
opensearch:
indices:
index_prefix: "jaeger-archive"
is_archive: true

receivers:
otlp:
Expand Down
2 changes: 1 addition & 1 deletion pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type Configuration struct {
// Enabled, if set to true, enables the namespace for storage pointed to by this configuration.
Enabled bool `mapstructure:"-"`
// TODO: revisit if this needed
IsArchive bool
IsArchive bool `mapstructure:"is_archive"`
}

// TagsAsFields holds configuration for tag schema.
Expand Down

0 comments on commit 7f87200

Please sign in to comment.