newrelic / newrelic/newrelic-java-agent

Spring Batch 6 instrumentation module

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

Nobody has claimed this yet.

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

Description

A new module needs to be created for Spring Batch v6.0.0. Note that there might be a larger effort to support Spring Framework v7 before this can be implemented.

ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=org/springframework/batch/core/Step, originalClass=org/springframework/batch/core/StepExecution, violationMessage=Could not find resource}
ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=org/springframework/batch/core/Job, originalClass=org/springframework/batch/core/JobExecution, violationMessage=Could not find resource}
ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=org/springframework/batch/core/Job, originalClass=org/springframework/batch/core/JobInstance, violationMessage=Could not find resource}
ReferenceViolation{type=MISSING_ORIGINAL_BYTECODE, weaveClass=org/springframework/batch/item/ItemWriter, originalClass=org/springframework/batch/item/Chunk, violationMessage=Could not find resource}
WeaveViolation{type=MISSING_ORIGINAL_BYTECODE, clazz=org/springframework/batch/core/Step}
WeaveViolation{type=MISSING_ORIGINAL_BYTECODE, clazz=org/springframework/batch/core/Job}
WeaveViolation{type=MISSING_ORIGINAL_BYTECODE, clazz=org/springframework/batch/item/ItemWriter}

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 with the Spring Batch 6.0.0 reference in the issue and investigate the listed missing-original-bytecode violations for Step, Job, JobExecution, JobInstance, ItemWriter, and Chunk. Confirm whether Spring Framework 7 support is required before defining the new module; done means Spring Batch 6 classes are instrumented without these weaving violations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.