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

Allow excluding all methods of a class #10753

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Mar 5, 2024

Resolves #10722
Currently we require configuration options such as OTEL_INSTRUMENTATION_OPENTELEMETRY_INSTRUMENTATION_ANNOTATIONS_EXCLUDE_METHODS to list all methods they wish to exclude. This PR lets users specify just the class name which will be interpreted as exclude all methods from that class.

@laurit laurit requested a review from a team March 5, 2024 11:06
@laurit laurit added this to the v2.2.0 milestone Mar 6, 2024
@laurit laurit merged commit 52dcd30 into open-telemetry:main Mar 8, 2024
49 checks passed
@laurit laurit deleted the configuration-method-parser branch March 8, 2024 07:37
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.

How to disable multiple annotations?
3 participants