Skip to content

Polish Performance API#1165

Merged
maciejwalkowiak merged 18 commits intomainfrom
performance-polish-3
Jan 20, 2021
Merged

Polish Performance API#1165
maciejwalkowiak merged 18 commits intomainfrom
performance-polish-3

Conversation

@maciejwalkowiak
Copy link
Contributor

Polish Performance related API as a result of a call with @marandaneto @Tyrrrz.

@codecov-io
Copy link

codecov-io commented Jan 14, 2021

Codecov Report

Merging #1165 (5ab3ef3) into main (2f8360a) will decrease coverage by 0.21%.
The diff coverage is 65.57%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1165      +/-   ##
============================================
- Coverage     74.94%   74.73%   -0.22%     
+ Complexity     1663     1661       -2     
============================================
  Files           173      174       +1     
  Lines          5832     5850      +18     
  Branches        571      571              
============================================
+ Hits           4371     4372       +1     
- Misses         1199     1215      +16     
- Partials        262      263       +1     
Impacted Files Coverage Δ Complexity Δ
...racing/SentrySpanClientHttpRequestInterceptor.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
sentry/src/main/java/io/sentry/HubAdapter.java 8.62% <ø> (ø) 4.00 <0.00> (ø)
sentry/src/main/java/io/sentry/IHub.java 80.00% <ø> (ø) 8.00 <0.00> (ø)
sentry/src/main/java/io/sentry/Sentry.java 41.86% <ø> (ø) 17.00 <0.00> (ø)
sentry/src/main/java/io/sentry/SentryOptions.java 85.19% <ø> (ø) 114.00 <0.00> (ø)
sentry/src/main/java/io/sentry/SpanContext.java 97.05% <ø> (ø) 16.00 <0.00> (ø)
...ry/src/main/java/io/sentry/TransactionContext.java 80.00% <0.00%> (-20.00%) 6.00 <0.00> (ø)
sentry/src/main/java/io/sentry/NoOpSpan.java 14.28% <14.28%> (ø) 2.00 <2.00> (?)
...ava/io/sentry/spring/tracing/SentrySpanAdvice.java 92.30% <75.00%> (ø) 6.00 <0.00> (ø)
...entry/src/main/java/io/sentry/NoOpTransaction.java 20.83% <83.33%> (-7.17%) 5.00 <5.00> (-2.00)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f8360a...5ab3ef3. Read the comment docs.

@marandaneto
Copy link
Contributor

to not forget: getsentry/sentry-docs#2912

@maciejwalkowiak
Copy link
Contributor Author

@bruno-garcia @marandaneto all polishing applied, please have another look.

@Tyrrrz
Copy link
Contributor

Tyrrrz commented Jan 19, 2021

image

I thought this PR was already Polish 🇵🇱 :trollface:

@bruno-garcia
Copy link
Member

image

I thought this PR was already Polish 🇵🇱 :trollface:

Never gets old :D 🇵🇱 🇲🇨 🇵🇱 🇲🇨 🇵🇱 🇲🇨 🇵🇱 🇲🇨

return startChild();
public @NotNull ISpan startChild(
final @NotNull String operation, final @Nullable String description) {
return startChild(operation);
Copy link
Contributor

Choose a reason for hiding this comment

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

just a nit: you could return NoOpSpan.getInstance(); directly so you spare a method call

Copy link
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

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

LGTM

@maciejwalkowiak maciejwalkowiak merged commit 9c6af50 into main Jan 20, 2021
@maciejwalkowiak maciejwalkowiak deleted the performance-polish-3 branch January 20, 2021 10:12
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.

6 participants