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

feat: support instrumentation of go.mongodb.org/mongo-driver/mongo #164

Merged
merged 13 commits into from
Jul 16, 2024

Conversation

darccio
Copy link
Contributor

@darccio darccio commented Jul 15, 2024

What does this PR do?

Adds support for instrumenting go.mongodb.org/mongo-driver/mongo.

Reviewer's Checklist

  • Changed code has unit tests for its functionality.

@darccio darccio force-pushed the dario.castane/appsec-53281/mongo branch from db0b152 to 5f57107 Compare July 15, 2024 13:02
github-actions on behalf of darccio and others added 6 commits July 15, 2024 13:02
Copy link

codecov bot commented Jul 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 71 lines in your changes missing coverage. Please review.

Project coverage is 51.66%. Comparing base (7d606d2) to head (af3f97b).
Report is 1 commits behind head on main.

Files Patch % Lines
_integration-tests/tests/mongo/main.go 0.00% 71 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #164      +/-   ##
==========================================
- Coverage   52.47%   51.66%   -0.82%     
==========================================
  Files          87       88       +1     
  Lines        4503     4574      +71     
==========================================
  Hits         2363     2363              
- Misses       1892     1963      +71     
  Partials      248      248              
Flag Coverage Δ
ARM64 ?
Linux 53.40% <0.00%> (-0.97%) ⬇️
Windows 44.17% <ø> (ø)
X64 51.66% <0.00%> (-0.82%) ⬇️
generator 41.48% <ø> (ø)
go1.21 52.74% <ø> (ø)
go1.22 41.97% <0.00%> (-0.67%) ⬇️
go1.23 41.60% <0.00%> (-0.66%) ⬇️
integration 44.56% <ø> (ø)
macOS ?
unit 30.31% <0.00%> (-0.55%) ⬇️

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

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

@darccio darccio force-pushed the dario.castane/appsec-53281/mongo branch from b8bb3f9 to 0ed16a4 Compare July 16, 2024 08:38
@darccio darccio marked this pull request as ready for review July 16, 2024 08:56
@darccio darccio requested review from RomainMuller and a team and removed request for RomainMuller July 16, 2024 08:57
internal/injector/builtin/yaml/databases/mongo.yml Outdated Show resolved Hide resolved
internal/injector/builtin/yaml/databases/mongo.yml Outdated Show resolved Hide resolved
internal/injector/builtin/yaml/databases/mongo.yml Outdated Show resolved Hide resolved
internal/injector/builtin/testdata/client/mongo.go.snap Outdated Show resolved Hide resolved
darccio and others added 3 commits July 16, 2024 17:31
Co-authored-by: Romain Marcadier <romain@datadoghq.com>
Signed-off-by: github-actions on behalf of darccio <github-actions@github.com>
@RomainMuller RomainMuller changed the title feat: support instrumentation of go.mongodb.org/mongo-driver/mongo feat: support instrumentation of go.mongodb.org/mongo-driver/mongo Jul 16, 2024
@RomainMuller RomainMuller added this pull request to the merge queue Jul 16, 2024
Merged via the queue into main with commit cb1c356 Jul 16, 2024
21 checks passed
@RomainMuller RomainMuller deleted the dario.castane/appsec-53281/mongo branch July 16, 2024 16:37
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.

None yet

2 participants