-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[pkg/ottl] Add Murmur3Hash converter #37027
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
Merged
evan-bradley
merged 23 commits into
open-telemetry:main
from
kaisecheng:ottl_murmur3_func
Mar 13, 2025
Merged
[pkg/ottl] Add Murmur3Hash converter #37027
evan-bradley
merged 23 commits into
open-telemetry:main
from
kaisecheng:ottl_murmur3_func
Mar 13, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Murmur3Hash: Murmur3 32-bit hash represented as a signed integer - Murmur3Hash128: Murmur3 128-bit hash represented as two signed integers - Murmur3Hex: hexadecimal string in little-endian of the 32-bit Murmur3 hash - Murmur3Hex128: hexadecimal string in little-endian of the 128-bit Murmur3 hash
and remove int version hash
…tor-contrib into ottl_murmur3_func
failing check build-examples is a known issue #38488 |
@edmocosta this is ready for review |
edmocosta
reviewed
Mar 12, 2025
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
…tor-contrib into ottl_murmur3_func
@edmocosta this is ready for a second review |
edmocosta
approved these changes
Mar 12, 2025
evan-bradley
approved these changes
Mar 13, 2025
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmd/opampsupervisor
connector/count
connector/datadog
connector/routing
connector/signaltometrics
connector/sum
exporter/datadog
Datadog components
exporter/elasticsearch
exporter/honeycombmarker
internal/filter
pkg/ottl
processor/attributes
Attributes processor
processor/filter
Filter processor
processor/logdedup
processor/routing
Routing processor
processor/span
processor/tailsampling
Tail sampling processor
processor/transform
Transform processor
receiver/cloudflare
testbed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add four murmur3 hash functions to convert the
target
string to hexadecimal string formatMurmur3Hash
returns a hexadecimal string in little-endian of the 32-bit Murmur3 hashMurmur3Hash128
returns a hexadecimal string in little-endian of the 128-bit Murmur3 hashExample:
Murmur3Hash("20250106")
Link to tracking issue
issue: #34077
supersedes: #34155
Testing
Documentation
readme