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

Update the metric Export interface to accept a *ResourceMetrics instead of ResourceMetrics #3852

Closed
MrAlias opened this issue Mar 9, 2023 · 0 comments · Fixed by #3853
Closed
Labels
area:metrics Part of OpenTelemetry Metrics good first issue Good for newcomers help wanted Extra attention is needed pkg:SDK Related to an SDK package

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Mar 9, 2023

Export(context.Context, metricdata.ResourceMetrics) error

Given Go is a pass-by-value language, passing the already allocated pointer would reduce the call-stack size.

Originally posted by @MrAlias in #3760 (comment)

@MrAlias MrAlias added help wanted Extra attention is needed good first issue Good for newcomers pkg:SDK Related to an SDK package area:metrics Part of OpenTelemetry Metrics labels Mar 9, 2023
@MrAlias MrAlias added this to the Metric SDK v0.38.0 milestone Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:metrics Part of OpenTelemetry Metrics good first issue Good for newcomers help wanted Extra attention is needed pkg:SDK Related to an SDK package
Projects
No open projects
1 participant