# APM

**URL:** https://discuss.elastic.co/c/observability/apm/58.md?page=15

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 16

---

## [I want to get the original span data collected by the java agent, should I configure?](https://discuss.elastic.co/t/i-want-to-get-the-original-span-data-collected-by-the-java-agent-should-i-configure/350697)

<div class="topic-metadata">

**Author:** [@zhang\_peihong](https://discuss.elastic.co/u/zhang_peihong)\
**Replies:** 3\
**Last updated:** [January 10, 2024, 10:12am UTC](https://discuss.elastic.co/t/i-want-to-get-the-original-span-data-collected-by-the-java-agent-should-i-configure/350697 "2024-01-10T10:12:45Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight\_smile: TIP 1: select at lea…

---

## [Elastic APM - Java Spring Webflux - java.lang.IllegalStateException: The request object has been recycled and is no longer associated with this facade](https://discuss.elastic.co/t/elastic-apm-java-spring-webflux-java-lang-illegalstateexception-the-request-object-has-been-recycled-and-is-no-longer-associated-with-this-facade/350199)

<div class="topic-metadata">

**Author:** [@Chandan\_V\_A](https://discuss.elastic.co/u/Chandan_V_A)\
**Replies:** 7\
**Last updated:** [January 9, 2024, 1:37pm UTC](https://discuss.elastic.co/t/elastic-apm-java-spring-webflux-java-lang-illegalstateexception-the-request-object-has-been-recycled-and-is-no-longer-associated-with-this-facade/350199 "2024-01-09T13:37:05Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight\_smile: TIP 1: select at lea…

---

## [Don't see transactions for backend](https://discuss.elastic.co/t/dont-see-transactions-for-backend/350377)

<div class="topic-metadata">

**Author:** [@Andrii29](https://discuss.elastic.co/u/Andrii29)\
**Replies:** 1\
**Last updated:** [January 6, 2024, 12:48pm UTC](https://discuss.elastic.co/t/dont-see-transactions-for-backend/350377 "2024-01-06T12:48:16Z")

</div>

Hello, I am .NET developer at ASP NET Core project. My task is to connect my backend and frontend services to APM and see them in Kibana. I am using Elastic APM .NET Agent: . The project is using .NET 6. So the problem…

---

## [APM/Kibana: Redis not shown as a Dependency in php agent](https://discuss.elastic.co/t/apm-kibana-redis-not-shown-as-a-dependency-in-php-agent/350508)

<div class="topic-metadata">

**Author:** [@hetii](https://discuss.elastic.co/u/hetii)\
**Replies:** 0\
**Last updated:** [January 6, 2024, 10:30am UTC](https://discuss.elastic.co/t/apm-kibana-redis-not-shown-as-a-dependency-in-php-agent/350508 "2024-01-06T10:30:24Z")

</div>

Hi. I have a drupal instance that use redis. In the Newrelic I see redis as a dependency. For APM in kibana it's missing. Any clue or tip how to force it to be included? APM agent: apm-agent-php\_1.10.0\_all.apk APM …

---

## [APM service is unable to record backend process](https://discuss.elastic.co/t/apm-service-is-unable-to-record-backend-process/350426)

<div class="topic-metadata">

**Author:** [@weilin](https://discuss.elastic.co/u/weilin)\
**Replies:** 2\
**Last updated:** [January 5, 2024, 1:24pm UTC](https://discuss.elastic.co/t/apm-service-is-unable-to-record-backend-process/350426 "2024-01-05T13:24:30Z")

</div>

APM service is unable to record backend process service calls Kibana version: 8.11.3 Elasticsearch version: 8.11.3 elastic-agent-8.11.3 elastic-apm-agent-1.45.0.jar run jar: java -javaagent:$APP\_PATH/elastic-apm-…

---

## [Distributed traces not working for RUM js and java backend with VueJs/Springboot](https://discuss.elastic.co/t/distributed-traces-not-working-for-rum-js-and-java-backend-with-vuejs-springboot/350417)

<div class="topic-metadata">

**Author:** [@senyam08](https://discuss.elastic.co/u/senyam08)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 1:08am UTC](https://discuss.elastic.co/t/distributed-traces-not-working-for-rum-js-and-java-backend-with-vuejs-springboot/350417 "2024-01-05T01:08:53Z")

</div>

We have instrumented our VueJs front end with RUM js agent via GTM. Added following code RUM data capturing works fine. But we dont see correlation between RUM data and java agent APM data. Sprint boot application …

---

## [No transaction/traces with elastic-apm-agent with quarkus](https://discuss.elastic.co/t/no-transaction-traces-with-elastic-apm-agent-with-quarkus/350232)

<div class="topic-metadata">

**Author:** [@hzdb5betrieb](https://discuss.elastic.co/u/hzdb5betrieb)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 3:47pm UTC](https://discuss.elastic.co/t/no-transaction-traces-with-elastic-apm-agent-with-quarkus/350232 "2024-01-04T15:47:42Z")

</div>

Kibana version: 7.17.0 Elasticsearch version: 7.17.0 APM Server version: 7.17.0 APM Agent language and version: java: elastic-apm-agent-1.45.0.jar Browser version: firefox latest Original install method (e.g. d…

---

## [Apm-agent-java 1.45.0 Java 7 issue](https://discuss.elastic.co/t/apm-agent-java-1-45-0-java-7-issue/350027)

<div class="topic-metadata">

**Author:** [@Eric\_Gitau](https://discuss.elastic.co/u/Eric_Gitau)\
**Replies:** 1\
**Last updated:** [January 4, 2024, 3:22pm UTC](https://discuss.elastic.co/t/apm-agent-java-1-45-0-java-7-issue/350027 "2024-01-04T15:22:00Z")

</div>

Hi. It looks like version 1.45.0 of the java agent is unable to start with Java 7. The issue seems to be coming from JCC tools. 1.44.0 works ok. 17:41:53,342 ERROR \[stderr\] (elastic-apm-agent-initialization) \[elastic-…

---

## [APM Server transport error: intake response timeout: APM server did not respond within 10s of gzip stream finish](https://discuss.elastic.co/t/apm-server-transport-error-intake-response-timeout-apm-server-did-not-respond-within-10s-of-gzip-stream-finish/349422)

<div class="topic-metadata">

**Author:** [@khteh](https://discuss.elastic.co/u/khteh)\
**Replies:** 4\
**Last updated:** [January 4, 2024, 8:24am UTC](https://discuss.elastic.co/t/apm-server-transport-error-intake-response-timeout-apm-server-did-not-respond-within-10s-of-gzip-stream-finish/349422 "2024-01-04T08:24:10Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text :slight\_smile: TIP 1: select at lea…

---

## [Apm server configured by elastic operator ignore ${SECRET\_TOKEN} variable](https://discuss.elastic.co/t/apm-server-configured-by-elastic-operator-ignore-secret-token-variable/350305)

<div class="topic-metadata">

**Author:** [@hetii](https://discuss.elastic.co/u/hetii)\
**Replies:** 0\
**Last updated:** [January 3, 2024, 1:27pm UTC](https://discuss.elastic.co/t/apm-server-configured-by-elastic-operator-ignore-secret-token-variable/350305 "2024-01-03T13:27:38Z")

</div>

Hi :wink: For code like below Apm server configured by elastic operator ignore ${SECRET\_TOKEN} variable. apiVersion: apm.k8s.elastic.co/v1 kind: ApmServer metadata: name: apm-server namespace: elfstack spec: vers…

---

## [ERROR no receiver metrics in apm-server](https://discuss.elastic.co/t/error-no-receiver-metrics-in-apm-server/349307)

<div class="topic-metadata">

**Author:** [@tungnx1](https://discuss.elastic.co/u/tungnx1)\
**Replies:** 0\
**Last updated:** [December 14, 2023, 1:31am UTC](https://discuss.elastic.co/t/error-no-receiver-metrics-in-apm-server/349307 "2023-12-14T01:31:18Z")

</div>

Hi, I am having the following problem: I used apm-server monitor service java. After but enable https://x.x.x.x:9200, https://x.x.x.x:5601. I gen cert config in elasticsearch.yml, kibana.yml, apm-server.yml status se…

---

## [Logs are not coming inside logs tab but coming inside error tab in the apm server dasboard](https://discuss.elastic.co/t/logs-are-not-coming-inside-logs-tab-but-coming-inside-error-tab-in-the-apm-server-dasboard/350062)

<div class="topic-metadata">

**Author:** [@kishor1](https://discuss.elastic.co/u/kishor1)\
**Replies:** 1\
**Last updated:** [December 28, 2023, 9:34am UTC](https://discuss.elastic.co/t/logs-are-not-coming-inside-logs-tab-but-coming-inside-error-tab-in-the-apm-server-dasboard/350062 "2023-12-28T09:34:14Z")

</div>

Kibana version: 7.15.2 Elasticsearch version: 7.16.2 APM Server version: 7.3.2 APM Agent language and version: go and 1.21.0 Browser version: google chrome (119.0.6045.159 ) Original install method (e.g. download…

---

## [Manually capturing database statement](https://discuss.elastic.co/t/manually-capturing-database-statement/349593)

<div class="topic-metadata">

**Author:** [@georgms](https://discuss.elastic.co/u/georgms)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 10:56am UTC](https://discuss.elastic.co/t/manually-capturing-database-statement/349593 "2023-12-19T10:56:29Z")

</div>

The Elastic Java agent is able to automatically capture "database" statement e.g. when firing a request to Elastic Search: This happens in the Elastic Java agent instrumentation using the span.db.statement field. The…

---

## [Elasticsearch APM Missing Alerts](https://discuss.elastic.co/t/elasticsearch-apm-missing-alerts/349268)

<div class="topic-metadata">

**Author:** [@Shameek\_Agarwal](https://discuss.elastic.co/u/Shameek_Agarwal)\
**Replies:** 3\
**Last updated:** [December 19, 2023, 9:30am UTC](https://discuss.elastic.co/t/elasticsearch-apm-missing-alerts/349268 "2023-12-19T09:30:58Z")

</div>

hi all, really liking apm so far! so basically, i am doing via opentelemetry (logs + traces only for now) now, i want to alert for e.g. by email whenever any error occurs e.g. if traces / logs from opentelemetry obser…

---

## [./bin/kibana-keystore add elastic.apm.secretToken does nothing](https://discuss.elastic.co/t/bin-kibana-keystore-add-elastic-apm-secrettoken-does-nothing/349577)

<div class="topic-metadata">

**Author:** [@learningelastic](https://discuss.elastic.co/u/learningelastic)\
**Replies:** 0\
**Last updated:** [December 18, 2023, 4:06pm UTC](https://discuss.elastic.co/t/bin-kibana-keystore-add-elastic-apm-secrettoken-does-nothing/349577 "2023-12-18T16:06:47Z")

</div>

I can't seem to get the ./bin/kibana-keystore to work for the field elastic.apm.secretToken. I started by making sure Kibana can work with APM. This kibana.yml file works perfectly: elastic: apm: active: true …

---

## [Multiple unrelated databases using same service name resulting in inaccurate service map](https://discuss.elastic.co/t/multiple-unrelated-databases-using-same-service-name-resulting-in-inaccurate-service-map/348240)

<div class="topic-metadata">

**Author:** [@craigandrews](https://discuss.elastic.co/u/craigandrews)\
**Replies:** 0\
**Last updated:** [November 29, 2023, 2:34pm UTC](https://discuss.elastic.co/t/multiple-unrelated-databases-using-same-service-name-resulting-in-inaccurate-service-map/348240 "2023-11-29T14:34:24Z")

</div>

I have a bunch of completely different, unrelated Java/Spring applications running on a cloud provider. Each application has its own service name so I can differentiate them in Elastic. Each application uses its own data…

---

## [APM Server Fleet managed vs Legacy: incompatible?](https://discuss.elastic.co/t/apm-server-fleet-managed-vs-legacy-incompatible/349074)

<div class="topic-metadata">

**Author:** [@Attila\_Szeremi](https://discuss.elastic.co/u/Attila_Szeremi)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 2:26pm UTC](https://discuss.elastic.co/t/apm-server-fleet-managed-vs-legacy-incompatible/349074 "2023-12-18T14:26:37Z")

</div>

In our company with APM before Fleet, we used to not only view transactions in APM, but also create dashboard charts about the transactions in Kibana; statistics about how fast HTTP requests take and things like that. F…

---

## [Sir I have issue with storage for 7 days](https://discuss.elastic.co/t/sir-i-have-issue-with-storage-for-7-days/349509)

<div class="topic-metadata">

**Author:** [@zabtech](https://discuss.elastic.co/u/zabtech)\
**Replies:** 3\
**Last updated:** [December 17, 2023, 12:42pm UTC](https://discuss.elastic.co/t/sir-i-have-issue-with-storage-for-7-days/349509 "2023-12-17T12:42:40Z")

</div>

I have issue with storage, my storage is full more than 7 days, I can't use APM for 7 days also, I try to created cases and use enterprise plan, but it's look like no one really can't help me. What can I do with my issue…

---

## [APM latency statistics - what is it exactly? why does it not align with "transaction.duration.us"?](https://discuss.elastic.co/t/apm-latency-statistics-what-is-it-exactly-why-does-it-not-align-with-transaction-duration-us/349412)

<div class="topic-metadata">

**Author:** [@cozog](https://discuss.elastic.co/u/cozog)\
**Replies:** 2\
**Last updated:** [December 15, 2023, 5:07am UTC](https://discuss.elastic.co/t/apm-latency-statistics-what-is-it-exactly-why-does-it-not-align-with-transaction-duration-us/349412 "2023-12-15T05:07:53Z")

</div>

Kibana version: 8.5.3 Elasticsearch version: 8.5.3 APM Server version: 8.5.3 APM Agent language and version: Java, 1.26.0 Hi, We have APM visualizations that are showing us average latency: now i am also trying …

---

## [Adding metadata to custom exit spans](https://discuss.elastic.co/t/adding-metadata-to-custom-exit-spans/349173)

<div class="topic-metadata">

**Author:** [@johngregg](https://discuss.elastic.co/u/johngregg)\
**Replies:** 1\
**Last updated:** [December 13, 2023, 1:31pm UTC](https://discuss.elastic.co/t/adding-metadata-to-custom-exit-spans/349173 "2023-12-13T13:31:47Z")

</div>

I'm using java agent 1.42.0 and OTel API 1.32.0. ECS, as well as the OTel schema, define metadata like destination.address, destination,port, etc. I've created a custom span to track backend calls using the unsupported…

---

## [The APM Server does not display metrics for Elasticsearch](https://discuss.elastic.co/t/the-apm-server-does-not-display-metrics-for-elasticsearch/347693)

<div class="topic-metadata">

**Author:** [@Kaizen](https://discuss.elastic.co/u/Kaizen)\
**Replies:** 3\
**Last updated:** [December 13, 2023, 7:11am UTC](https://discuss.elastic.co/t/the-apm-server-does-not-display-metrics-for-elasticsearch/347693 "2023-12-13T07:11:00Z")

</div>

I want to perform monitoring for Elasticsearch and Kibana based on the following article How to activate APM in Kibana and Elasticsearch to gain next-level alerting insights | Elastic Blog. After trying it out, the metri…

---

## [Apm .net capturing outgoing http request body](https://discuss.elastic.co/t/apm-net-capturing-outgoing-http-request-body/348921)

<div class="topic-metadata">

**Author:** [@Nicolas\_Rey](https://discuss.elastic.co/u/Nicolas_Rey)\
**Replies:** 5\
**Last updated:** [December 12, 2023, 8:55pm UTC](https://discuss.elastic.co/t/apm-net-capturing-outgoing-http-request-body/348921 "2023-12-12T20:55:00Z")

</div>

Hi, I'm using the 1.25.0 version of .net apm agent, and I wonder how I can capture the body of the outgoing requests (Post, Patch ...) that are performed within an Apm transaction? What are the guidelines to do it prop…

---

## [Handle transactions with large amount of spans](https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167)

<div class="topic-metadata">

**Author:** [@fabiend](https://discuss.elastic.co/u/fabiend)\
**Replies:** 0\
**Last updated:** [December 12, 2023, 3:18pm UTC](https://discuss.elastic.co/t/handle-transactions-with-large-amount-of-spans/349167 "2023-12-12T15:18:04Z")

</div>

Hello, I have long running jobs on different services. I instrumented the solution to trace these jobs. They can run for hours and perform a large number of Elasticsearch requests. I would like to know what is going on …

---

## [Elastic APM co.elastic.apm.agent.report.AbstractIntakeApiHandler ERROR](https://discuss.elastic.co/t/elastic-apm-co-elastic-apm-agent-report-abstractintakeapihandler-error/348814)

<div class="topic-metadata">

**Author:** [@Jasonespo](https://discuss.elastic.co/u/Jasonespo)\
**Replies:** 0\
**Last updated:** [December 7, 2023, 12:49pm UTC](https://discuss.elastic.co/t/elastic-apm-co-elastic-apm-agent-report-abstractintakeapihandler-error/348814 "2023-12-07T12:49:26Z")

</div>

Hi we are using the APM Java agent to send some transaction monitoring data to APM. Recently we've started getting the below errors every 30s 2023-12-07 11:53:19,638 \[elastic-apm-server-reporter\] ERROR co.elastic.apm.ag…

---

## [Passing context to another thread](https://discuss.elastic.co/t/passing-context-to-another-thread/349055)

<div class="topic-metadata">

**Author:** [@johngregg](https://discuss.elastic.co/u/johngregg)\
**Replies:** 3\
**Last updated:** [December 11, 2023, 3:52pm UTC](https://discuss.elastic.co/t/passing-context-to-another-thread/349055 "2023-12-11T15:52:09Z")

</div>

I am using the 1.42.0 java agent. I am working on an app that uses an unsupported threading library. Based on reading some posts here, we decided to use the OTel library like this: import io.opentelemetry.api.trace.Sp…

---

## [How to shift to elastic-apm-agent-java8](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003)

<div class="topic-metadata">

**Author:** [@Vijeya\_Nidhi](https://discuss.elastic.co/u/Vijeya_Nidhi)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 1:34pm UTC](https://discuss.elastic.co/t/how-to-shift-to-elastic-apm-agent-java8/349003 "2023-12-11T13:34:32Z")

</div>

elastic-apm-agent is supporting java 7, so it is compiled with log4j 2.12.4 But I am also seeing elastic-apm-agent-java8 which has the higher log4j version. Can I know where to find the jar file for the same for downlo…

---

## [Java 7 support drop dates](https://discuss.elastic.co/t/java-7-support-drop-dates/349004)

<div class="topic-metadata">

**Author:** [@Vijeya\_Nidhi](https://discuss.elastic.co/u/Vijeya_Nidhi)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 1:26pm UTC](https://discuss.elastic.co/t/java-7-support-drop-dates/349004 "2023-12-11T13:26:58Z")

</div>

Hi, apm-agent-java is still supporting Java 7. Can I know if there is a plan in the future to drop the support and make the lowest supported version to be Java 8?

---

## [Elastic APM not instrumenting nested routes in separate files on Express server](https://discuss.elastic.co/t/elastic-apm-not-instrumenting-nested-routes-in-separate-files-on-express-server/348813)

<div class="topic-metadata">

**Author:** [@HemdeepSaini](https://discuss.elastic.co/u/HemdeepSaini)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 10:51am UTC](https://discuss.elastic.co/t/elastic-apm-not-instrumenting-nested-routes-in-separate-files-on-express-server/348813 "2023-12-11T10:51:03Z")

</div>

Problem: I am using Elastic APM to monitor Express application. However, APM is not able to instrument any HTTP requests when nested routing is implemented across multiple files. It only works when all routes are define…

---

## [House Keeping the dedicated monitoring deployment](https://discuss.elastic.co/t/house-keeping-the-dedicated-monitoring-deployment/348588)

<div class="topic-metadata">

**Author:** [@Nww\_Pot\_Fung\_Nng](https://discuss.elastic.co/u/Nww_Pot_Fung_Nng)\
**Replies:** 2\
**Last updated:** [December 7, 2023, 7:49pm UTC](https://discuss.elastic.co/t/house-keeping-the-dedicated-monitoring-deployment/348588 "2023-12-07T19:49:10Z")

</div>

Hi, just want to know how we housekeep the dedicated monitoring deployment. I would imagine we will need to remove indexes that reach a certain age such as 30d. Cheers, Martin

---

## [Embedding Certificate in configuration file fails with environment variable](https://discuss.elastic.co/t/embedding-certificate-in-configuration-file-fails-with-environment-variable/347554)

<div class="topic-metadata">

**Author:** [@asnyameeteen](https://discuss.elastic.co/u/asnyameeteen)\
**Replies:** 3\
**Last updated:** [December 6, 2023, 11:32pm UTC](https://discuss.elastic.co/t/embedding-certificate-in-configuration-file-fails-with-environment-variable/347554 "2023-12-06T23:32:49Z")

</div>

Running versions 8.10.2 of Kibana, Filebeat, Elasticsearch and APM Server. They are currently running on AWS ECS as Docker containers. I am attempting to configure the output.elasticsearch portion of the apm-server.yml …

[Previous page](https://discuss.elastic.co/c/observability/apm/58.md?page=14)

[Next page](https://discuss.elastic.co/c/observability/apm/58.md?page=16)
