feat: adding instrumentation support for mongo-driver/v2 #6539
82.4% of diff hit (target 68.5%)
View this Pull Request on Codecov
82.4% of diff hit (target 68.5%)
Annotations
Check warning on line 74 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L73-L74
Added lines #L73 - L74 were not covered by tests
Check warning on line 90 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L89-L90
Added lines #L89 - L90 were not covered by tests
Check warning on line 94 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L93-L94
Added lines #L93 - L94 were not covered by tests
Check warning on line 114 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L113-L114
Added lines #L113 - L114 were not covered by tests
Check warning on line 122 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L122
Added line #L122 was not covered by tests
Check warning on line 144 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L143-L144
Added lines #L143 - L144 were not covered by tests
Check warning on line 147 in instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/mongo.go#L146-L147
Added lines #L146 - L147 were not covered by tests
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/test/version.go#L15-L16
Added lines #L15 - L16 were not covered by tests
codecov / codecov/patch
instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongo/version.go#L15-L16
Added lines #L15 - L16 were not covered by tests