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

Metrics followup #123

Merged
merged 11 commits into from
Dec 15, 2021
Merged

Metrics followup #123

merged 11 commits into from
Dec 15, 2021

Conversation

findingrish
Copy link

From #119

@findingrish findingrish requested a review from a team December 14, 2021 07:29
@codecov
Copy link

codecov bot commented Dec 14, 2021

Codecov Report

Merging #123 (9525bf7) into main (998be02) will decrease coverage by 0.10%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #123      +/-   ##
============================================
- Coverage     81.21%   81.11%   -0.11%     
+ Complexity      573      569       -4     
============================================
  Files            53       53              
  Lines          2204     2192      -12     
  Branches        234      235       +1     
============================================
- Hits           1790     1778      -12     
  Misses          319      319              
  Partials         95       95              
Flag Coverage Δ
integration 81.11% <71.42%> (-0.11%) ⬇️
unit 79.02% <64.28%> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ice/prometheus/PrometheusBasedResponseBuilder.java 90.62% <ø> (ø)
...core/query/service/prometheus/PrometheusUtils.java 80.00% <ø> (ø)
...ce/prometheus/PrometheusRequestHandlerBuilder.java 28.57% <33.33%> (+3.57%) ⬆️
...query/service/prometheus/PrometheusRestClient.java 92.75% <66.66%> (-2.77%) ⬇️
...vice/prometheus/PrometheusBasedRequestHandler.java 84.61% <83.33%> (-0.84%) ⬇️
...ervice/prometheus/PrometheusRestClientFactory.java 100.00% <100.00%> (+14.28%) ⬆️
...vice/prometheus/QueryRequestToPromqlConverter.java 100.00% <100.00%> (ø)
...rtrace/core/query/service/QueryServiceStarter.java 58.33% <0.00%> (+2.77%) ⬆️

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 998be02...9525bf7. Read the comment docs.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@kotharironak
Copy link
Contributor

@rish691 As part of this PR, can you put the constraints on log4j related library coming from a third party to use the latest 2.15.0 as part of snyk failures.

@@ -125,12 +123,12 @@ public OkHttpResponseCallback(Request request) {
}

@Override
public void onResponse(Call call, Response response) throws IOException {
public void onResponse(@NonNull Call call, @NonNull Response response) {
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we need explicitly @NonNull?

Copy link
Author

Choose a reason for hiding this comment

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

IDE suggestion, it says Not annotated parameter overrides @NotNull parameter , basically this param is marked not null in the parent

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment on lines +137 to +138
ValueCase valueCase = expression.getValueCase();
switch (valueCase) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit

Suggested change
ValueCase valueCase = expression.getValueCase();
switch (valueCase) {
switch (expression.getValueCase()) {

@findingrish findingrish merged commit 392d36b into main Dec 15, 2021
@findingrish findingrish deleted the metrics-followup branch December 15, 2021 15:59
@github-actions
Copy link

Unit Test Results

  30 files  ±0    30 suites  ±0   9s ⏱️ ±0s
171 tests ±0  171 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 392d36b. ± Comparison against base commit 998be02.

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.

3 participants