# I do not see any information from java apm agent

**URL:** <https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524>\
**Category:** APM\
**Tags:** java\
**Created:** [October 9, 2024, 12:27pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524 "2024-10-09T12:27:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmitri\_Troskov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitri_troskov/32/138208_2.png) [@Dmitri\_Troskov](https://discuss.elastic.co/u/Dmitri_Troskov)\
**Post date:** [October 9, 2024, 12:27pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/1 "2024-10-09T12:27:34Z")

</div>

**APM Server version** :  
8.15.2

**APM Agent language and version** :  
java 1.52.0

**DEBUG**

> <https://gist.github.com/dmitri-troskov-liikluslab/e1f68c05e54db016b1cb013f03ac5433#file-elastic-apm-log>

**TRACE**

> <https://gist.github.com/dmitri-troskov-liikluslab/e1f68c05e54db016b1cb013f03ac5433#file-elastic-apm-trace-log>

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [October 9, 2024, 12:51pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/2 "2024-10-09T12:51:11Z")

</div>

There are no transactions. you should still see the service listed in the UI and be able to see the metrics, but I think you are saying you don't see transactions. Either you are not executing any requests, or your requests do not exercise any of the [tech](https://www.elastic.co/guide/en/apm/agent/java/current/supported-technologies-details.html) that are automatically instrumented

---

<div class="post-metadata">

**Author:** ![Dmitri\_Troskov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitri_troskov/32/138208_2.png) [@Dmitri\_Troskov](https://discuss.elastic.co/u/Dmitri_Troskov)\
**Post date:** [October 9, 2024, 1:05pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/3 "2024-10-09T13:05:32Z")

</div>

Thank you.

Yes. We have [GitHub - replay-framework/replay: Fork of the Play1 Framework](https://github.com/replay-framework/replay)

How can I start/finish transactions manually?

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [October 9, 2024, 1:21pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/4 "2024-10-09T13:21:59Z")

</div>

play is not a tech that is supported. You have a number of options to kick off transactions

1. Use [trace\_methods](https://www.elastic.co/guide/en/apm/agent/java/current/config-core.html#config-trace-methods) to configure specific methods to start tracing
2. Add the [@CaptureTransaction](https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html#api-annotation) or similar to your code to start tracing
3. Add manual transactions into the code using the [OpenTelemetry APIs](https://opentelemetry.io/docs/languages/java/instrumentation/)
4. Add manual transactions into the code using the [agent APIs](https://www.elastic.co/guide/en/apm/agent/java/current/public-api.html)

---

<div class="post-metadata">

**Author:** ![Dmitri\_Troskov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitri_troskov/32/138208_2.png) [@Dmitri\_Troskov](https://discuss.elastic.co/u/Dmitri_Troskov)\
**Post date:** [October 10, 2024, 3:48pm UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/5 "2024-10-10T15:48:42Z")

</div>

Thank you again.  
Now I have started transactions manually and I see only transaction and SQL queries as spans under transactions.  
But I want to see all method calls as spans, to analyze where time is going. Should I also create those method spans manually? That is not the way I imagined APM.

---

<div class="post-metadata">

**Author:** ![Jack\_Shirazi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jack_shirazi/32/91641_2.png) [@Jack\_Shirazi](https://discuss.elastic.co/u/Jack_Shirazi)\
**Post date:** [October 11, 2024, 9:29am UTC](https://discuss.elastic.co/t/i-do-not-see-any-information-from-java-apm-agent/368524/6 "2024-10-11T09:29:38Z")

</div>

APM instruments known commonly used tech, not everything in an app - instrumenting everything would cause unacceptable overhead, and is the domain of profiling. APM is not profiling. You want APM to magically know which methods to show and which to ignore (because there are a LOT of methods executing).

Fortunately for you, Elastic pioneered implementing exactly that magic. You want our [inferred spans](https://www.elastic.co/guide/en/apm/agent/java/current/config-profiling.html#config-profiling-inferred-spans-enabled).
