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

* Refactored traces and metrics #860

Merged
merged 1 commit into from
Oct 25, 2023
Merged

* Refactored traces and metrics #860

merged 1 commit into from
Oct 25, 2023

Conversation

asmyasnikov
Copy link
Member

@asmyasnikov asmyasnikov commented Oct 18, 2023

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: #477

What is the new behavior?

Other information

@asmyasnikov asmyasnikov added bug Something isn't working enhancement New feature or request refactoring metrics labels Oct 18, 2023
@asmyasnikov asmyasnikov self-assigned this Oct 18, 2023
@asmyasnikov asmyasnikov changed the title * Added trace.Retry into driver instance for usage in call `retry.R… * Added trace.Retry into driver instance for usage in call retry.Retry func * Refactored traces and metrics * Renamed retry option WithID to WithLabel Oct 18, 2023
@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2023

Codecov Report

Attention: 21 lines in your changes are missing coverage. Please review.

Comparison is base (63560a5) 66.85% compared to head (e1f6c53) 66.91%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #860      +/-   ##
==========================================
+ Coverage   66.85%   66.91%   +0.06%     
==========================================
  Files         255      256       +1     
  Lines       24194    24253      +59     
==========================================
+ Hits        16174    16230      +56     
- Misses       7188     7191       +3     
  Partials      832      832              
Flag Coverage Δ
53.58% <86.79%> (+0.12%) ⬆️
go-1.17.x 65.25% <0.00%> (-0.20%) ⬇️
go-1.20.x 66.80% <86.79%> (+0.23%) ⬆️
go-1.21.x 66.65% <86.79%> (+0.06%) ⬆️
integration 53.58% <86.79%> (+0.12%) ⬆️
macOS 39.01% <0.00%> (-0.12%) ⬇️
ubuntu 39.02% <0.00%> (-0.15%) ⬇️
unit 39.10% <0.00%> (-0.14%) ⬇️
windows 39.06% <0.00%> (-0.11%) ⬇️
ydb-22.5 53.20% <86.79%> (+0.11%) ⬆️
ydb-23.1 53.11% <86.79%> (+0.03%) ⬆️
ydb-23.2 53.24% <86.79%> (+0.10%) ⬆️
ydb-23.3 53.32% <86.79%> (+0.25%) ⬆️

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

Files Coverage Δ
metrics/table.go 96.36% <ø> (+8.12%) ⬆️
metrics/driver.go 83.60% <93.61%> (+4.01%) ⬆️
metrics/context.go 28.57% <28.57%> (ø)
metrics/sql.go 90.09% <91.78%> (+16.92%) ⬆️
metrics/retry.go 79.41% <78.12%> (-20.59%) ⬇️

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

summary

Base version: v3.53.5-0.20231025180245-63560a5d46ac (master)
Cannot suggest a release version.
Can only suggest a release version when compared against the most recent version of this major: v3.53.4.

@asmyasnikov asmyasnikov force-pushed the metrics branch 2 times, most recently from 4a45a7e to 5531a04 Compare October 18, 2023 14:35
@github-actions
Copy link

github-actions bot commented Oct 18, 2023

🌋 Here are results of SLO test for Go SDK database/sql:

Grafana Dashboard

SLO-databasesql

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

🌋 Here are results of SLO test for Go SDK gorm:

Grafana Dashboard

SLO-gorm

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

🌋 Here are results of SLO test for Go SDK xorm:

Grafana Dashboard

SLO-xorm

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

🌋 Here are results of SLO test for Go SDK native:

Grafana Dashboard

SLO-native

@asmyasnikov asmyasnikov force-pushed the metrics branch 6 times, most recently from 131dce0 to df05d09 Compare October 23, 2023 09:03
@asmyasnikov asmyasnikov changed the title * Added trace.Retry into driver instance for usage in call retry.Retry func * Refactored traces and metrics * Renamed retry option WithID to WithLabel * Refactored traces and metrics Oct 25, 2023
@asmyasnikov asmyasnikov force-pushed the metrics branch 2 times, most recently from e1f6c53 to 0729d76 Compare October 25, 2023 18:32
@asmyasnikov asmyasnikov merged commit 7e6371f into master Oct 25, 2023
48 of 49 checks passed
@asmyasnikov asmyasnikov deleted the metrics branch October 25, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request metrics refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants