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

Allow access to the metrics slice in the OTTL metric context #24447

Merged

Conversation

swiatekm
Copy link
Contributor

@swiatekm swiatekm commented Jul 24, 2023

Description:
Allow OTTL functions to access the MetricsSlice in the metric context. This makes it possible for functions to create new metrics without having to use the datapoint context.

Link to tracking Issue: #24446

Testing:
Tested this change with a new function in #24368

@swiatekm swiatekm changed the title Allow access to the metrics slice in the OTTL metrics context Allow access to the metrics slice in the OTTL metric context Jul 24, 2023
@swiatekm swiatekm marked this pull request as ready for review July 24, 2023 11:55
@swiatekm swiatekm requested review from a team July 24, 2023 11:55
@swiatekm swiatekm force-pushed the feat/ottl/metrics-context-slice branch from 411ac97 to 57d89bc Compare July 24, 2023 12:39
@TylerHelmuth TylerHelmuth merged commit 50fe850 into open-telemetry:main Jul 25, 2023
@github-actions github-actions bot added this to the next release milestone Jul 25, 2023
@swiatekm swiatekm deleted the feat/ottl/metrics-context-slice branch July 26, 2023 08:45
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.

4 participants