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

Add Log() to ottlfuncs #18200

Closed
wants to merge 0 commits into from
Closed

Add Log() to ottlfuncs #18200

wants to merge 0 commits into from

Conversation

mterhar
Copy link
Contributor

@mterhar mterhar commented Jan 31, 2023

Addresses issue #18076

Description:

Adds a feature to allow OTTL expressions to get a logarithm of a value.

Link to tracking Issue: 18076

Testing: Tests were added in the same way the Int() function is tested

Documentation: Added a readme section following the same pattern as Int() which covers type for inputs and return values and examples.

@linux-foundation-easycla
Copy link

CLA Missing ID CLA Not Signed

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

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

Improving how functions handle type assertion is a high priority right now in the ottl package and this PR will be affected by the outcome. I like this function and think there is value here, but I'd like to hold off for a moment while we finalize some other PRs to minimize the amount of rework and the size of those PRs.

Related discussion:

@github-actions
Copy link
Contributor

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

@runforesight
Copy link

runforesight bot commented Feb 15, 2023

Foresight Summary

    
Major Impacts
Foresight hasn't detected any major impact on your workflows and tests.

View More Details

⭕  build-and-test-windows workflow has finished in 4 seconds (43 minutes 16 seconds less than main branch avg.) and finished at 2nd Mar, 2023.


Job Failed Steps Tests
windows-unittest-matrix -     🔗  N/A See Details
windows-unittest -     🔗  N/A See Details

❌  changelog workflow has finished in 46 seconds (1 minute 58 seconds less than main branch avg.) and finished at 2nd Mar, 2023. 1 job failed.


Job Failed Steps Tests
changelog Ensure ./.chloggen/*.yaml addition(s)     🔗  N/A See Details

🔎 See details on Foresight

*You can configure Foresight comments in your organization settings page.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

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

@TylerHelmuth
Copy link
Member

@mterhar we're ready for a merge/rebase. I can also take up this effort if you need to hand it off.

@mterhar
Copy link
Contributor Author

mterhar commented May 11, 2023

When I hit "sync fork" in the github UI it killed the pull request so I made a new one. #21825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants