Community ID or a network flow hash implementation.#43398
Community ID or a network flow hash implementation.#43398atoulme merged 25 commits intoopen-telemetry:mainfrom
Conversation
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
…eadability. Validate int conversion cases to make sure we get desired value with desired byte spaces. Make protocol map as a value.
|
CIs are really funny! Linter and and Any solution for this @edmocosta ? |
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Accept the code review points which make sense. Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
Revise docs after changing the port range. Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
Add more unit tests for the swap use-case. Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
|
Hi @mashhurs, could you please resolve the conflicts so we can move forward with this PR? Thanks! |
I have just did it but I am not sure about CI failure if it is related to my change - https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/19545598214/job/55963960572?pr=43398 |
|
Thank you for your contribution @mashhurs! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this survey. If you are getting started contributing, you can also join the CNCF Slack channel #opentelemetry-new-contributors to ask for guidance and get help. |

Description
Replaces #40235
It accepts source and destination {IP, port} pair and optionally protocol (eg. TCP) and seed (eg. 1,2,etc...) parameters.
At the result it computes the has values and generates network flow (smaller to greater) ID a.k.a community ID.
Link to tracking issue
Testing
Use Elasticsearch community ID processor in Kibana Dev tools, example:
Local run
Documentation