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

Don't index the cpuEvents that have been indexed into es #359

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

dxsup
Copy link
Member

@dxsup dxsup commented Nov 18, 2022

Description

Don't index the cpuEvents that have been indexed into es.

Motivation and Context

To store all cpuEvents related to trace into files, I disabled the isSent field of Segment. But as a result, duplicate events are sent to Elasticsearch. A condition check is added to avoid indexing duplicate events into ES.

Daxin Wang added 3 commits November 23, 2022 15:16
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup merged commit 69a385d into KindlingProject:main Nov 23, 2022
@dxsup dxsup deleted the fix/duplicate-cpu-event branch November 23, 2022 07:32
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