-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Feature/elasticsearch new mapping #1313
Feature/elasticsearch new mapping #1313
Conversation
for some reason the tests takes too long, and it caused travis to fail.. |
@huangyuqi how can we push this forward? |
signed the linux foundation cla |
@piosz @huangyuqi ? how can we push this forward? |
@huangyuqi can you please do a review? I'm not particularly familiar with ElasticSearch |
I fixed an issue where some of the points haven't committed due to not passing the threshold of the bulk-processor.. Now it's flush on one of the following scenarios:
|
@AlmogBaku thanks for your contribution. I'm fine with this PR, but I'm not familiarized with ES. We need someone to review the code. @commixon offered his help. In the meantime could you please reorganize commits into the following pattern:
If you think you need more than 2 commits please explain why. |
a76afd1
to
56e4bc7
Compare
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
1 similar comment
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
56e4bc7
to
b7e84f2
Compare
CLAs look good, thanks! |
1 similar comment
CLAs look good, thanks! |
@piosz done. |
cbe2f6c
to
ffa3587
Compare
|
@k8s-bot ok to test |
@AlmogBaku I don't know how to fix this. If Jenkins is green we can assume that tests pass. |
@huangyuqi please create an issue and we can discuss it there. Thanks for offering the help |
@piosz @huangyuqi this can be solved by using glide #1314 (or specifically see my review comment in #1335 ) |
Review status: 0 of 100 files reviewed at latest revision, 2 unresolved discussions. common/elasticsearch/elasticsearch.go, line 37 at r4 (raw file):
Why underscore instead of camelcase? common/elasticsearch/elasticsearch.go, line 44 at r4 (raw file):
This should be esSvc and not esConfig like below. Probably also better to use a pointer type as a receiver like below. Comments from Reviewable |
Review status: 0 of 100 files reviewed at latest revision, 3 unresolved discussions. common/elasticsearch/mapping.go, line 177 at r4 (raw file):
Have you considered to disable _all (its enabled by default)? That will save disk space:
Comments from Reviewable |
Review status: 0 of 100 files reviewed at latest revision, 3 unresolved discussions. common/elasticsearch/mapping.go, line 177 at r4 (raw file):
|
@AlmogBaku I have looked through the PR and added few comments. |
Review status: 0 of 100 files reviewed at latest revision, 3 unresolved discussions. common/elasticsearch/elasticsearch.go, line 37 at r4 (raw file):
|
events remapping fixes review comments flush data also in metrics
43a3915
to
d8894f3
Compare
Reviewed 5 of 9 files at r1, 90 of 91 files at r2, 3 of 4 files at r3, 2 of 2 files at r4, 4 of 4 files at r5. Comments from Reviewable |
@k8s-bot test this |
@AlmogBaku: you can't request testing unless you are a kubernetes member.
In response to [this comment](https://github.com//pull/1313#issuecomment-260325392):
If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
@AlmogBaku can you guys please have a look at #1379 #1374. I also make some RP based on the current master branch. BTW, creating index daily is really a wonderful thing as i also searched for how to make ES store time-limited events. :) |
Can we just split the new features into small ones and small PRs. In this way maybe we can push this forward faster. :) |
@piosz, few people already review the code and that it functioning(see above).. can we merge this? |
@AlmogBaku Can you also please have a look at #1380 also. Ignore the build failure status, it seems that Heapster build will burst above the memory limit Travis CI container set and the build will be OOM killed. So, in #1379 i have updated the Travis CI configuration to use a VM which according to Travis CI has about 7.5GB memory except longer build start time. :) |
I'm ok with the change. Can one of the reviewers confirm that it's ready to merge by writing LGTM? |
@k8s-bot test this |
LGTM |
Jenkins GCE e2e failed for commit d8894f3. Full PR test history. The magic incantation to run this job again is |
Jenkins failure unrelated |
fixes #1310, #1278 #1263 #1262:
This PR brings a lot of changes, most of them caused by refactoring the schema .
In order to allow effective usage of the ELK stack, we had to modify the schema so it'll work properly with Kibana(otherwise, it require development of a custom special dashboard! which is insane!)
This PR fixes the following issues:
This is a big PR, which bring breaking changes(old schema not valid anymore). However- I have to admit that the old schema is totally unusable, and probably not many users use it if any(but me)
cc @huangyuqi @DirectXMan12 @piosz @Thermi
You can see the exported schema here: https://gist.github.com/AlmogBaku/8fe24fd9c61df5a72402a4d25992cb36
This change is