Skip to content

Conversation

@raphw
Copy link
Contributor

@raphw raphw commented Aug 7, 2023

This change adds an representation of ErrorCapture to the tracer API to avoid a dependency on the core module. To reduce complexity, errors are always reported on the current span. No plugin derives from this practice what makes this sensible.

@github-actions github-actions bot added agent-java community Issues and PRs created by the community triage labels Aug 7, 2023
@github-actions
Copy link

github-actions bot commented Aug 7, 2023

👋 @raphw Thanks a lot for your contribution!

It may take some time before we review a PR, so even if you don’t see activity for some time, it does not mean that we have forgotten about it.

Every once in a while we go through a process of prioritization, after which we are focussing on the tasks that were planned for the upcoming milestone. The prioritization status is typically reflected through the PR labels. It could be pending triage, a candidate for a future milestone, or have a target milestone set to it.

@v1v
Copy link
Member

v1v commented Aug 8, 2023

@Mergifyio update

@mergify
Copy link
Contributor

mergify bot commented Aug 8, 2023

update

❌ Mergify doesn't have permission to update

For security reasons, Mergify can't update this pull request. Try updating locally.
GitHub response: refusing to allow a GitHub App to create or update workflow .github/workflows/main.yml without workflows permission
err-code: 63A51

@raphw raphw force-pushed the error-reporting branch from be62f60 to 27751d7 Compare August 9, 2023 00:20
@raphw
Copy link
Contributor Author

raphw commented Aug 9, 2023

Force pushed with new hash to trigger new build which failed due to low memory on testcontainers.

# Conflicts:
#	apm-agent-core/src/main/java/co/elastic/apm/agent/impl/ElasticApmTracer.java
#	apm-agent-plugins/apm-logging-plugin/apm-logging-plugin-common/src/main/java/co/elastic/apm/agent/loginstr/error/LoggerErrorHelper.java
#	apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/GlobalTracer.java
#	apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/NoopTracer.java
#	apm-agent-tracer/src/main/java/co/elastic/apm/agent/tracer/Tracer.java
Copy link
Contributor

@JonasKunz JonasKunz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I've done the rebase and just added two missing @Override annotations.

@JonasKunz
Copy link
Contributor

run elasticsearch-ci/docs

@JonasKunz JonasKunz merged commit e81f082 into elastic:main Sep 8, 2023
schikin pushed a commit to schikin/apm-agent-java that referenced this pull request Oct 11, 2023
* Add error reporting API to tracer-api.

* Added missing @OverRide annotations

---------

Co-authored-by: Jonas Kunz <jonas.kunz@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-java community Issues and PRs created by the community triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants