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 integration testing to the runtime instrumenation #2757

Closed
MrAlias opened this issue Sep 16, 2022 · 10 comments
Closed

Add integration testing to the runtime instrumenation #2757

MrAlias opened this issue Sep 16, 2022 · 10 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed instrumentation: runtime

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Sep 16, 2022

Integration testing for the runtime instrumentation was removed in #2756

When open-telemetry/opentelemetry-go#3031 is resolved, a new runtime/test package need to be created and integration testing for the instrumentation added to it.

@MrAlias MrAlias added this to the Metric SDK: Beta milestone Sep 16, 2022
@jmacd
Copy link
Contributor

jmacd commented Sep 19, 2022

Note that I don't think we should restore these tests, instead write new ones as described in #2624 and #2625. I've drafted such tests in https:/lightstep/otel-launcher-go/tree/main/lightstep/instrumentation/runtime.

@MrAlias
Copy link
Contributor Author

MrAlias commented Oct 28, 2022

Blocked by open-telemetry/opentelemetry-go#3407

@MrAlias
Copy link
Contributor Author

MrAlias commented Oct 31, 2022

Unblocked. Use a manual-reader to collect expected metrics and the metricdatatest package to compare expected values (or just compare directly).

@MrAlias MrAlias added good first issue Good for newcomers help wanted Extra attention is needed labels Jan 18, 2024
@Victorsesan
Copy link

Can you assign this to me ?

@Victorsesan
Copy link

@dmathieu just wondering was open-telemetry/opentelemetry-go#3031 completely resolved for this issue?

@dmathieu
Copy link
Member

dmathieu commented Oct 8, 2024

Yes, the issue you mention is completely resolved.

However, the todo to add integration tests was removed in #5780. This PR does add an integration tests.
It has since then moved a bit, to

func TestRuntimeWithLimit(t *testing.T) {

Which makes me think this issue got done in other PRs.

@Victorsesan
Copy link

@dmathieu I would love to contribute in another, if there are any "Good first issue" suitable for a novice like myself and which you can assign me to i would very much love to help. TIA

@dmathieu
Copy link
Member

dmathieu commented Oct 9, 2024

The good first issue tag has a few issues for newcomers.
Feel free to look at any open issue though.

@dmathieu
Copy link
Member

dmathieu commented Oct 9, 2024

Closing this, as I believe it has been done.

@dmathieu dmathieu closed this as completed Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed instrumentation: runtime
Projects
Development

No branches or pull requests

4 participants