-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
es.index-prefix should not include :
#1238
Comments
We have chosen |
IIIRC newer ES versions are not going to support colon in the index name. There was a similar discussion in zipkin. |
It's traced in elastic/elasticsearch#23892. It will be probably removed in version ES7. I guess we can simply remove it and do direct concatenation with the name. |
Now the question is how to fix this in jaeger. The simplest is to change The other option is to remove adding any separator to the prefix. It still breaks existing deployments using the prefix. They will have to change index prefix configuration and add When do we want to do this? As soon as possible or let say wait for jaeger 2.0, but when will it happen? |
The benefit of just changing the separator is that it does not impact the user (in terms of prefix configuration) as long as reading from indexes with either char is supported for some period of time. |
In our case its best to leave it out entirely, and we can still clearly delineate the prefix if we choose. I wouldn't be opposed to keeping some type of separator, but in that case would at least like it to be optional. |
I actually removed the |
I like the idea, but I don't like to complicate readers. Not sure if it would cripple query time as we would double number of indices (even half of them would not exists). I would like to hear more from other people who are using ES storage cc @jaegertracing/elasticsearch |
I think Elasticsearch could handle specifying multiple indices to search, matching the two known patterns during a period where Jaeger has deprecated the old |
I am looking into this. I will change the processing to include both separators |
es.index-prefix should not include
:
It would be better if the index-prefix did not include
:
, is there an explicit reason this is included? It actually prevents uniformity with our other elasticsearch indices. We have elasticsearch curator code that pattern matches, and the colon makes this more tedious.Proposal - what do you suggest to solve the problem or improve the existing situation?
Either exclude the
:
in the es.index-prefix or make it optional.The text was updated successfully, but these errors were encountered: