-
Notifications
You must be signed in to change notification settings - Fork 307
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
[Instrumentation.AwsLambda] Enable public API check. #607
[Instrumentation.AwsLambda] Enable public API check. #607
Conversation
...elemetry.Contrib.Instrumentation.AWSLambda/.publicApi/netstandard2.0/PublicAPI.Unshipped.txt
Outdated
Show resolved
Hide resolved
7a2eadf
to
1ef074b
Compare
...elemetry.Contrib.Instrumentation.AWSLambda/.publicApi/netstandard2.0/PublicAPI.Unshipped.txt
Outdated
Show resolved
Hide resolved
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #607 +/- ##
=======================================
Coverage 76.70% 76.70%
=======================================
Files 170 170
Lines 5161 5161
=======================================
Hits 3959 3959
Misses 1202 1202
|
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
a7aa258
to
febe06c
Compare
src/OpenTelemetry.Instrumentation.AWSLambda/.publicApi/netstandard2.0/PublicAPI.Unshipped.txt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are looking good and can be merged.
@@ -5,6 +5,7 @@ | |||
<Description>AWS Lambda tracing wrapper for OpenTelemetry .NET</Description> | |||
<PackageTags>$(PackageTags);AWS Lambda</PackageTags> | |||
<MinVerTagPrefix>Instrumentation.AWSLambda-</MinVerTagPrefix> | |||
<EnablePublicApi>true</EnablePublicApi> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might want to enable code analysis as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is disabled by default? Weird, how should I know 😅
I will try to enable it.
Maybe it would be better to enable it by default and explicitly disable it in projects where it causes problems?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried it locally, the tool only suggested adding some ConfigureAwait(false) in some places. I will submit a PR for that eventually, but I don't want to hold up the release longer, so I will do that after #590
Enable public API check for Instrumentation.AwsLambda, as I think that's a very useful tool.
No CHANGELOG entry.