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

Make ES index prefix configurable #38

Merged
merged 1 commit into from
Aug 22, 2018

Conversation

pavolloffay
Copy link
Member

@pavolloffay pavolloffay force-pushed the es-index-configurable branch from fb73b6b to 738178a Compare August 22, 2018 10:15
Copy link

@jpkrohling jpkrohling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, in case the lack of separator between the indexPrefix and index is on purpose.

@@ -154,7 +170,7 @@ public void run() {

String indexDate(String index) {
String date = day.toLocalDate().format(DateTimeFormatter.ISO_LOCAL_DATE);
return String.format("%s-%s", index, date);
return String.format("%s%s-%s", indexPrefix, index, date);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No separator between the indexPrefix and index ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No its either "" or "<>:"

@pavolloffay pavolloffay merged commit 18a721b into jaegertracing:master Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants