newrelic / newrelic/newrelic-java-agent

Create new mongo-reactive-streams-5.6 module

Open
#2,482 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

5 estimate large
Dominant language
Java
Stars
240
Forks
170
Avg merge
3d 2h
Merged PRs (30d)
21

Description

Description

Create a new instrumentation module to cover mongo-reactive-streams v5.6 - current.
The existing mongo-reactive-streams-5.2 module fails verification with the following violations:

ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=com/mongodb/internal/operation/MixedBulkWriteOperation, originalClass=com/mongodb/internal/operation/AsyncWriteOperation, violationMessage=Could not find resource}
     ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=com/mongodb/internal/operation/DistinctOperation, originalClass=com/mongodb/internal/operation/AsyncReadOperation, violationMessage=Could not find resource}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/MixedBulkWriteOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/CreateIndexesOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/DistinctOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/DropCollectionOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/MapReduceToCollectionOperation}
     WeaveViolation{type=CLASS_ACCESS_MISMATCH, clazz=com/mongodb/internal/operation/Operations}
     WeaveViolation{type=METHOD_RETURNTYPE_MISMATCH, clazz=com/mongodb/internal/operation/Operations, method=insertMany(Ljava/util/List;Lcom/mongodb/client/model/InsertManyOptions;)Lcom/mongodb/internal/operation/MixedBulkWriteOperation;}
     WeaveViolation{type=METHOD_ACCESS_MISMATCH, clazz=com/mongodb/internal/operation/Operations, method=insertMany(Ljava/util/List;Lcom/mongodb/client/model/InsertManyOptions;)Lcom/mongodb/internal/operation/MixedBulkWriteOperation;}
     WeaveViolation{type=METHOD_RETURNTYPE_MISMATCH, clazz=com/mongodb/internal/operation/Operations, method=bulkWrite(Ljava/util/List;Lcom/mongodb/client/model/BulkWriteOptions;)Lcom/mongodb/internal/operation/MixedBulkWriteOperation;}
     WeaveViolation{type=METHOD_ACCESS_MISMATCH, clazz=com/mongodb/internal/operation/Operations, method=bulkWrite(Ljava/util/List;Lcom/mongodb/client/model/BulkWriteOptions;)Lcom/mongodb/internal/operation/MixedBulkWriteOperation;}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/AggregateOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/FindOperation}
     WeaveViolation{type=CLASS_IMPLEMENTS_ILLEGAL_INTERFACE, clazz=com/mongodb/internal/operation/BaseFindAndModifyOperation}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing mongo-reactive-streams-5.2 instrumentation module with the requested mongo-reactive-streams-5.6 module and the listed MongoDB operation classes. Run the module's verification against MongoDB reactive streams v5.6; done means the new module covers the current version without the reported reference and weave violations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.