You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/03/29 02:18:48 UTC

[GitHub] [skywalking] HarryFQ opened a new issue #6636: Can the `_Id` of ES be used for storage, but not `traceId`?

HarryFQ opened a new issue #6636:
URL: https://github.com/apache/skywalking/issues/6636


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [X] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   In storage-elasticesearch7-plugin, the stored ‘_id’ is the same as ‘trace_id’, but this will affect the ES storage performance. Can I not specify the ‘_id’ when storing and use the ID generated by ES?
   
   - What happened?
   Es uses traceId every time it is stored, then Es internally checks whether this Id is duplicated, which has a certain impact on performance.
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng commented on issue #6636: Can the `_Id` of ES be used for storage, but not `traceId`?

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #6636:
URL: https://github.com/apache/skywalking/issues/6636#issuecomment-809029504


   id is not traceid.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] HarryFQ commented on issue #6636: Can the `_Id` of ES be used for storage, but not `traceId`?

Posted by GitBox <gi...@apache.org>.
HarryFQ commented on issue #6636:
URL: https://github.com/apache/skywalking/issues/6636#issuecomment-809035683


   > id is not traceid.
   Yes, but ‘_id’ and ‘trace_id’ are not the same value, it’s like this
   "'_id': 'a8962ebdac6a4a37b962b14f88520a5c.217.16169798504166384','trace_id': 'a8962ebdac6a4a37b962b14f88520a5c.217.16169798504166385'". But'_id' is also generated when skywalking is inserted? Is it possible not to generate it and let ES generate it by itself?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [skywalking] wu-sheng closed issue #6636: Can the `_Id` of ES be used for storage, but not `traceId`?

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #6636:
URL: https://github.com/apache/skywalking/issues/6636


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org