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

Clarify default value when skip pattern is defined #126

Merged
merged 6 commits into from Nov 5, 2018

Conversation

fmhwong
Copy link
Contributor

@fmhwong fmhwong commented Nov 2, 2018

Fixes #112

Signed-off-by: Felix Wong fmhwong@ca.ibm.com

Signed-off-by: Felix Wong <fmhwong@ca.ibm.com>
@@ -192,7 +192,7 @@ server endpoint.
The skip pattern is specified as a string with key `mp.opentracing.server.skip-pattern` which has to be
compliant with `java.util.regex.Pattern`. An example skip pattern might be `mp.opentracing.server.skip-pattern=/health|/metrics.*`

The default value of the skip pattern excludes tracing for default endpoints defined by MicroProfile Health, Metrics and OpenAPI specification.
The default value of the skip pattern excludes tracing for default endpoints defined by MicroProfile Health, Metrics and OpenAPI specification. Defining a skip pattern does not override the default value. Instead, both skip pattern and the default value are combined.
Copy link
Member

Choose a reason for hiding this comment

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

I think we should rephrase it completely and instead just say that endpoits exposed by Metrics, Health.. are not traced.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pavolloffay Revised the wording. Please review again. Thanks!

Signed-off-by: Felix Wong <fmhwong@ca.ibm.com>
Signed-off-by: Felix Wong <fmhwong@ca.ibm.com>
Signed-off-by: Felix Wong <fmhwong@ca.ibm.com>
Signed-off-by: Felix Wong <fmhwong@ca.ibm.com>
This reverts commit 901cd78.
@pavolloffay pavolloffay merged commit dff7618 into eclipse:master Nov 5, 2018
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

2 participants