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 prometheus smoke test #5417

Merged
merged 1 commit into from
Feb 22, 2022
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Feb 21, 2022

Resolves #4516

@laurit laurit requested a review from a team as a code owner February 21, 2022 20:50
Copy link
Member

@trask trask left a comment

Choose a reason for hiding this comment

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

❤️

TargetWaitStrategy waitStrategy,
String[] cmd) {
if (extraPorts != null && !extraPorts.isEmpty()) {
throw new UnsupportedOperationException("extra ports not supported");
Copy link
Member

Choose a reason for hiding this comment

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

what was the issue with passing it to withExposedPorts() below?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is also the withPortBindings part. I don't have an easy way to test on windows so I chose to leave it unimplemented instead of adding something that might not work. This test doesn't run on windows anyway.

@trask trask merged commit 245ac1f into open-telemetry:main Feb 22, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
@laurit laurit deleted the prometheus-smoke-test branch July 6, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a smoke test verifying that the prometheus metrics exporter works
2 participants