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

[pkg/ottl]: Add MD5 function #33793

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

edmocosta
Copy link
Contributor

Description:

Introduced the MD5 converter function which returns the MD5 hash/digest of the given value (path expression to a string telemetry field or a literal string).

Link to tracking Issue: #33792

Testing:

  • Unit tests
  • E2E tests

Documentation:
A new README entry was added for the MD5 function.

Copy link

linux-foundation-easycla bot commented Jun 27, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@edmocosta edmocosta marked this pull request as ready for review June 27, 2024 16:56
@edmocosta edmocosta requested a review from a team June 27, 2024 16:56
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 12, 2024
Copy link
Contributor

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot removed the Stale label Jul 27, 2024
pkg/ottl/ottlfuncs/README.md Outdated Show resolved Hide resolved
pkg/ottl/ottlfuncs/README.md Show resolved Hide resolved
Copy link
Contributor

@evan-bradley evan-bradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll want to update the hash function alternative recommendation, but otherwise this looks good to me. Thanks @edmocosta.

@edmocosta
Copy link
Contributor Author

We'll want to update the hash function alternative recommendation, but otherwise this looks good to me. Thanks @edmocosta.

Thanks for reviewing folks! I've applied @evan-bradley suggestion to update the alternative recommended hash function.

@evan-bradley
Copy link
Contributor

@TylerHelmuth please take a look when you are able.

@evan-bradley
Copy link
Contributor

@TylerHelmuth Please take a look if you have time today, it would be nice to get this in for the next release.

@TylerHelmuth TylerHelmuth merged commit 46a9f94 into open-telemetry:main Aug 9, 2024
161 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 9, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
**Description:** <Describe what has changed.>
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->

Introduced the `MD5` converter function which returns the MD5
hash/digest of the given `value` (path expression to a string telemetry
field or a literal string).

**Link to tracking Issue:**
open-telemetry#33792

**Testing:** <Describe what testing was performed and which tests were
added.>
- Unit tests
- E2E tests

**Documentation:** 
A new README entry was added for the `MD5` function.

---------

Co-authored-by: Evan Bradley <[email protected]>
@edmocosta edmocosta deleted the ottl_md5_function branch October 7, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants