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

[Instrumentation.Process] Enable nullable #892

Merged
merged 4 commits into from
Jan 20, 2023

Conversation

Kielek
Copy link
Contributor

@Kielek Kielek commented Jan 12, 2023

Towards #894

Changes

Nullable for Process project.

For significant contributions please make sure you have completed the following items:

  • [ ] Appropriate CHANGELOG.md updated for non-trivial changes
  • [ ] Design discussion issue #

@github-actions github-actions bot requested a review from Yun-Ting January 12, 2023 12:46
@Kielek Kielek marked this pull request as ready for review January 12, 2023 13:00
@Kielek Kielek requested a review from a team January 12, 2023 13:00
@Kielek Kielek added the comp:instrumentation.process Things related to OpenTelemetry.Instrumentation.Process label Jan 12, 2023
@TimothyMothra
Copy link
Contributor

@Kielek I would encourage you to create an Issue to track all of these individual PRs. :)

@Kielek
Copy link
Contributor Author

Kielek commented Jan 12, 2023

@Kielek I would encourage you to create an Issue to track all of these individual PRs. :)

Done, both PRs linked to #894

@@ -33,7 +33,7 @@ public static class MeterProviderBuilderExtensions
/// <returns>The instance of <see cref="MeterProviderBuilder"/> to chain the calls.</returns>
public static MeterProviderBuilder AddProcessInstrumentation(
this MeterProviderBuilder builder,
Action<ProcessInstrumentationOptions> configure = null)
Action<ProcessInstrumentationOptions>? configure = null)
Copy link
Member

Choose a reason for hiding this comment

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

Same story here... #893 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed: 3018230

@Kielek Kielek force-pushed the nullabe-process-metrics branch from 8c6a409 to 3018230 Compare January 19, 2023 06:24
@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Merging #892 (eb7517b) into main (b53b6b9) will decrease coverage by 0.05%.
The diff coverage is 50.00%.

❗ Current head eb7517b differs from pull request most recent head b49c59c. Consider uploading reports for the commit b49c59c to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #892      +/-   ##
==========================================
- Coverage   68.48%   68.43%   -0.05%     
==========================================
  Files         183      183              
  Lines        7002     7004       +2     
==========================================
- Hits         4795     4793       -2     
- Misses       2207     2211       +4     
Impacted Files Coverage Δ
...entation.Process/MeterProviderBuilderExtensions.cs 85.71% <50.00%> (-14.29%) ⬇️
...trumentation.EventCounters/EventCountersMetrics.cs 75.90% <0.00%> (-3.62%) ⬇️

@alanwest alanwest merged commit 7e28bdf into open-telemetry:main Jan 20, 2023
@Kielek Kielek deleted the nullabe-process-metrics branch January 20, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:instrumentation.process Things related to OpenTelemetry.Instrumentation.Process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants