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 custom distro instrumentation unit test example #2373

Merged
merged 1 commit into from Feb 24, 2021

Conversation

mateuszrzeszutek
Copy link
Member

@mateuszrzeszutek mateuszrzeszutek commented Feb 22, 2021

No description provided.

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.

can you also change the github action example-distro jobs from build to test so they will run the test too? Looks like I should have done that in #2292 to begin with, since we had smoke-tests already

@anuraaga
Copy link
Contributor

build runs tests too 😀 assemble is the one that doesn't

@trask trask merged commit 9e53582 into open-telemetry:main Feb 24, 2021
jvmArgs "-Dotel.threadPropagationDebugger=true"
jvmArgs "-Dotel.internal.failOnContextLeak=true"
// always print muzzle warnings
jvmArgs "-Dio.opentelemetry.javaagent.slf4j.simpleLogger.log.muzzleMatcher=warn"
Copy link
Contributor

Choose a reason for hiding this comment

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

@mateuszrzeszutek Doesn't this mean that only WARN and above will be logged from muzzle? Meaning the opposite of what you wanted? Also -Dotel.javaagent.debug=true should already tweak muzzle logging as needed.

Copy link
Member Author

Choose a reason for hiding this comment

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

It only logs WARNs anyway. But you're right, this is completely not needed, otel.java.debug enables it anyway - I'll fix that.

@mateuszrzeszutek mateuszrzeszutek deleted the distro-test-exammple branch February 25, 2021 09:03
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.

None yet

4 participants