# APM

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

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

**Page:** 45

---

## [Jaeger - unexpected HTTP status code received from server: 404](https://discuss.elastic.co/t/jaeger-unexpected-http-status-code-received-from-server-404/289477)

<div class="topic-metadata">

**Author:** [@gunnarif](https://discuss.elastic.co/u/gunnarif)\
**Replies:** 1\
**Last updated:** [November 17, 2021, 4:40pm UTC](https://discuss.elastic.co/t/jaeger-unexpected-http-status-code-received-from-server-404/289477 "2021-11-17T16:40:17Z")

</div>

APM Server version: 7.11.2 APM Agent language and version: Jaeger 1.28.0 windows Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): Running jager agent an…

---

## [Why is there a lot of "Waiting 30s" in the service log?](https://discuss.elastic.co/t/why-is-there-a-lot-of-waiting-30s-in-the-service-log/288722)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 11\
**Last updated:** [November 17, 2021, 1:24am UTC](https://discuss.elastic.co/t/why-is-there-a-lot-of-waiting-30s-in-the-service-log/288722 "2021-11-17T01:24:31Z")

</div>

Waiting 30s... Wait time is taken from max-age directive in Cache-Control header in APM Server's response. dbgIterationsCount: 37436. Waiting 30s... Wait time is taken from max-age directive in Cache-Control header in …

---

## [APM-server autodiscovery](https://discuss.elastic.co/t/apm-server-autodiscovery/288814)

<div class="topic-metadata">

**Author:** [@Sergio\_Ferreyra](https://discuss.elastic.co/u/Sergio_Ferreyra)\
**Replies:** 10\
**Last updated:** [November 15, 2021, 6:14pm UTC](https://discuss.elastic.co/t/apm-server-autodiscovery/288814 "2021-11-15T18:14:45Z")

</div>

Hi guys! I am using APM 7.15.0 version with kibana same version (ELK stack) We are using on kubernetes, and I like to know if APM supports autodiscovery, we are using it for filebeat metricbeat and heartbeat to add a cus…

---

## [How to Request to APM Server API](https://discuss.elastic.co/t/how-to-request-to-apm-server-api/289036)

<div class="topic-metadata">

**Author:** [@Victor\_Nunes](https://discuss.elastic.co/u/Victor_Nunes)\
**Replies:** 1\
**Last updated:** [November 12, 2021, 3:53am UTC](https://discuss.elastic.co/t/how-to-request-to-apm-server-api/289036 "2021-11-12T03:53:42Z")

</div>

Hi, Hi, I'm trying create APM Service using Postman Request. My request is \[POST\] http://localhost:8200/intake/v2/rum/events and my body i follow this example (Example Request Body | APM Server Reference \[7.15\] | Elas…

---

## [Agent.Tracer.CaptureException throws NullReferenceException if Agent is disabled](https://discuss.elastic.co/t/agent-tracer-captureexception-throws-nullreferenceexception-if-agent-is-disabled/288883)

<div class="topic-metadata">

**Author:** [@lken0815](https://discuss.elastic.co/u/lken0815)\
**Replies:** 2\
**Last updated:** [November 11, 2021, 8:35am UTC](https://discuss.elastic.co/t/agent-tracer-captureexception-throws-nullreferenceexception-if-agent-is-disabled/288883 "2021-11-11T08:35:46Z")

</div>

Kibana version: N/A Elasticsearch version: N/A APM Server version: 7.15.0 APM Agent language and version: c# .Net Core 3.1, v1.11.1 Browser version: N/A Original install method (e.g. download page, yum, deb, from s…

---

## [Error Machine Learning in APM with Basic License](https://discuss.elastic.co/t/error-machine-learning-in-apm-with-basic-license/288490)

<div class="topic-metadata">

**Author:** [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Replies:** 10\
**Last updated:** [November 10, 2021, 9:58pm UTC](https://discuss.elastic.co/t/error-machine-learning-in-apm-with-basic-license/288490 "2021-11-10T21:58:50Z")

</div>

Kibana version: 7.15.1 Elasticsearch version: 7.15.1 APM Server version: 7.15.1 APM Agent language and version: NodeJS ^3.17.0 Browser version: Microsoft Edge 95.0.1020.40 Original install method (e.g. download pag…

---

## [HTTP header does not include traceparent](https://discuss.elastic.co/t/http-header-does-not-include-traceparent/288649)

<div class="topic-metadata">

**Author:** [@sfischer](https://discuss.elastic.co/u/sfischer)\
**Replies:** 3\
**Last updated:** [November 9, 2021, 3:29pm UTC](https://discuss.elastic.co/t/http-header-does-not-include-traceparent/288649 "2021-11-09T15:29:27Z")

</div>

I am trying to use RUM on the spring-boot application https://github.com/spring-projects/spring-petclinic. I would like to link the transactions from the Client side (i.e. JavaScript) to the Server side (i.e. Java). Fro…

---

## [Solr APM transactions not showing](https://discuss.elastic.co/t/solr-apm-transactions-not-showing/288607)

<div class="topic-metadata">

**Author:** [@Shubham\_Singh](https://discuss.elastic.co/u/Shubham_Singh)\
**Replies:** 4\
**Last updated:** [November 9, 2021, 2:29pm UTC](https://discuss.elastic.co/t/solr-apm-transactions-not-showing/288607 "2021-11-09T14:29:03Z")

</div>

Implemented solr APM but under transactions it shows-

---

## [Capturing all JMX attributes for an object (wildcard support in attribute)?](https://discuss.elastic.co/t/capturing-all-jmx-attributes-for-an-object-wildcard-support-in-attribute/288610)

<div class="topic-metadata">

**Author:** [@Matthias\_W](https://discuss.elastic.co/u/Matthias_W)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 8:26am UTC](https://discuss.elastic.co/t/capturing-all-jmx-attributes-for-an-object-wildcard-support-in-attribute/288610 "2021-11-09T08:26:37Z")

</div>

I am trying to use the Elastic APM Java agent to capture JMX metrics for a JBoss application server. If I set the capture\_jmx\_metrics property to object\_name\[jboss.as:subsystem=datasources,xa-data-source=myDb, statisti…

---

## [Apm-agent-attach 1.26.0 Cannot Resolve](https://discuss.elastic.co/t/apm-agent-attach-1-26-0-cannot-resolve/288679)

<div class="topic-metadata">

**Author:** [@spratke](https://discuss.elastic.co/u/spratke)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 8:43am UTC](https://discuss.elastic.co/t/apm-agent-attach-1-26-0-cannot-resolve/288679 "2021-11-09T08:43:04Z")

</div>

I am adding Elastic APM to my Springboot project. I have added apm-opentracing & apm-agent-attach. If I try to use version 1.26.0 I have no problem with apm-opentracing, but apm-agent-attach will not resolve dependencie…

---

## [Aggregate APM metrics to another index](https://discuss.elastic.co/t/aggregate-apm-metrics-to-another-index/288654)

<div class="topic-metadata">

**Author:** [@Daniele\_Renda](https://discuss.elastic.co/u/Daniele_Renda)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 6:50pm UTC](https://discuss.elastic.co/t/aggregate-apm-metrics-to-another-index/288654 "2021-11-08T18:50:49Z")

</div>

I created a SaaS application and I'm using APM to track metrics (both server side Java and client side Angular). APM is an incredible tool and it tracks very well. I track transactions and spans, but spans are useful fo…

---

## [Span breakdown metrics and service name auto-discovery (Time spent by span type is empty)](https://discuss.elastic.co/t/span-breakdown-metrics-and-service-name-auto-discovery-time-spent-by-span-type-is-empty/288498)

<div class="topic-metadata">

**Author:** [@Matthias\_W](https://discuss.elastic.co/u/Matthias_W)\
**Replies:** 4\
**Last updated:** [November 5, 2021, 3:56pm UTC](https://discuss.elastic.co/t/span-breakdown-metrics-and-service-name-auto-discovery-time-spent-by-span-type-is-empty/288498 "2021-11-05T15:56:58Z")

</div>

Hi, just wanted to confirm if this is expected behavior: If I use the Elastic APM Agent in a servlet environment (e.g. JAX-RS running on a Wildfly) and don't set the service\_name, then the span breakdown metrics won't …

---

## [APM Index Pattern is created automatically in Kibana](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404)

<div class="topic-metadata">

**Author:** [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Replies:** 4\
**Last updated:** [November 5, 2021, 7:33am UTC](https://discuss.elastic.co/t/apm-index-pattern-is-created-automatically-in-kibana/288404 "2021-11-05T07:33:34Z")

</div>

Kibana version: 7.14.2 Elasticsearch version: 7.14.2 APM Server version: 7.14.2 APM Agent language and version: NodeJS ^3.17.0 Browser version: Microsoft Edge 95.0.1020.40 Original install method (e.g. download pag…

---

## [Java APM Agent connecting to SSL APM Server](https://discuss.elastic.co/t/java-apm-agent-connecting-to-ssl-apm-server/288355)

<div class="topic-metadata">

**Author:** [@Trinity\_Rolling](https://discuss.elastic.co/u/Trinity_Rolling)\
**Replies:** 9\
**Last updated:** [November 4, 2021, 1:58pm UTC](https://discuss.elastic.co/t/java-apm-agent-connecting-to-ssl-apm-server/288355 "2021-11-04T13:58:43Z")

</div>

Kibana version: 7.15.1 Elasticsearch version: 7.15.1 APM Server version: 7.15.1 APM Agent language and version: Java 1.26.0 Browser version: Chrome 94.0.4606.81 Is there anything special in your setup? Windows base…

---

## [Dependencies don't show up in APM](https://discuss.elastic.co/t/dependencies-dont-show-up-in-apm/288244)

<div class="topic-metadata">

**Author:** [@Willie\_Abrams](https://discuss.elastic.co/u/Willie_Abrams)\
**Replies:** 5\
**Last updated:** [November 3, 2021, 11:15pm UTC](https://discuss.elastic.co/t/dependencies-dont-show-up-in-apm/288244 "2021-11-03T23:15:42Z")

</div>

I have an app running in Cloud Run that I am profiling with Elastic APM. I get transaction level data, all the normal APM stuff you see on the Overview page. Transactions are populated. I get Trace samples. I click on a …

---

## [How to install php agent for apm](https://discuss.elastic.co/t/how-to-install-php-agent-for-apm/288331)

<div class="topic-metadata">

**Author:** [@rodri.gz](https://discuss.elastic.co/u/rodri.gz)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 1:58pm UTC](https://discuss.elastic.co/t/how-to-install-php-agent-for-apm/288331 "2021-11-03T13:58:56Z")

</div>

Hello ! I want to test the apm with my php application. My application is on a RHEL server. I have read the guide but I don't really understand where the files come from. I understand that when you do the rpm -ivh of …

---

## [APM-Plugin: java.lang.ClassNotFoundException: net.bytebuddy.matcher.ElementMatcher](https://discuss.elastic.co/t/apm-plugin-java-lang-classnotfoundexception-net-bytebuddy-matcher-elementmatcher/287889)

<div class="topic-metadata">

**Author:** [@Matthias\_W](https://discuss.elastic.co/u/Matthias_W)\
**Replies:** 2\
**Last updated:** [October 28, 2021, 10:41am UTC](https://discuss.elastic.co/t/apm-plugin-java-lang-classnotfoundexception-net-bytebuddy-matcher-elementmatcher/287889 "2021-10-28T10:41:58Z")

</div>

I am trying to create a plugin for the elastic apm-agent-java. I have closely followed the external plugin example: apm-agent-java/integration-tests/external-plugin-test/external-plugin at master · elastic/apm-agent-jav…

---

## [APM Server to APM Agents SSL/TLS setup, encryption and authentication](https://discuss.elastic.co/t/apm-server-to-apm-agents-ssl-tls-setup-encryption-and-authentication/287870)

<div class="topic-metadata">

**Author:** [@pathfinder225](https://discuss.elastic.co/u/pathfinder225)\
**Replies:** 1\
**Last updated:** [October 28, 2021, 9:04am UTC](https://discuss.elastic.co/t/apm-server-to-apm-agents-ssl-tls-setup-encryption-and-authentication/287870 "2021-10-28T09:04:52Z")

</div>

Hi All, We are designing a SSL - solution for our APM server and I am stuck at few considerations, I have basic understanding of SSL , though I picked up some information from documentation , need the community help i…

---

## [How to integrate apm trace id with java logs](https://discuss.elastic.co/t/how-to-integrate-apm-trace-id-with-java-logs/287705)

<div class="topic-metadata">

**Author:** [@suresh123](https://discuss.elastic.co/u/suresh123)\
**Replies:** 10\
**Last updated:** [October 27, 2021, 7:23pm UTC](https://discuss.elastic.co/t/how-to-integrate-apm-trace-id-with-java-logs/287705 "2021-10-27T19:23:36Z")

</div>

\`Hi Team, How to integrate apm trace id or span id with actual java logs to trace the complete java log.\`

---

## [Chart with the time of the whole traces](https://discuss.elastic.co/t/chart-with-the-time-of-the-whole-traces/287803)

<div class="topic-metadata">

**Author:** [@molsza](https://discuss.elastic.co/u/molsza)\
**Replies:** 3\
**Last updated:** [October 27, 2021, 4:58pm UTC](https://discuss.elastic.co/t/chart-with-the-time-of-the-whole-traces/287803 "2021-10-27T16:58:52Z")

</div>

Hi, In APM view I can see the full trace and from the chart I can read the whole time of the trace. Is it possible to create a query to create a chart with multiple traces. Specifically I would like to have traces which…

---

## [OpenTelemetry metrics don't have labels](https://discuss.elastic.co/t/opentelemetry-metrics-dont-have-labels/287510)

<div class="topic-metadata">

**Author:** [@benbek](https://discuss.elastic.co/u/benbek)\
**Replies:** 13\
**Last updated:** [October 26, 2021, 10:33pm UTC](https://discuss.elastic.co/t/opentelemetry-metrics-dont-have-labels/287510 "2021-10-26T22:33:55Z")

</div>

Hello, I am trying to understand why otel metrics don't display the labels I set in my code. I use: go 1.17 elastic/apm 7.15.1 opentelemetry 1.0.1 native otlp collector 0.6.0 My metrics index has: "apm-7.15.1-metri…

---

## [Opentelemetry nodejs: cannot set language nor service.environment](https://discuss.elastic.co/t/opentelemetry-nodejs-cannot-set-language-nor-service-environment/287227)

<div class="topic-metadata">

**Author:** [@ccontini](https://discuss.elastic.co/u/ccontini)\
**Replies:** 7\
**Last updated:** [October 26, 2021, 6:25pm UTC](https://discuss.elastic.co/t/opentelemetry-nodejs-cannot-set-language-nor-service-environment/287227 "2021-10-26T18:25:07Z")

</div>

Kibana version: 7.14.1 Elasticsearch version: 7.14.1 APM Server version: 7.14.1 Open-telemetry collector version: 0.36 Description of the problem including expected versus actual behavior: I am using opentelemetry t…

---

## [Compatibility of apm server and apm agent version](https://discuss.elastic.co/t/compatibility-of-apm-server-and-apm-agent-version/287547)

<div class="topic-metadata">

**Author:** [@wajika](https://discuss.elastic.co/u/wajika)\
**Replies:** 1\
**Last updated:** [October 26, 2021, 5:23am UTC](https://discuss.elastic.co/t/compatibility-of-apm-server-and-apm-agent-version/287547 "2021-10-26T05:23:38Z")

</div>

After I updated apm agent 1.6.1 to 1.11.1, starting the service, an unexpected error occurred when executing the interface. According to the documentation, if server ≥ 6.5 should be able to support most agents, but n…

---

## [APM nodejs agent Errors not Showing in Kibana](https://discuss.elastic.co/t/apm-nodejs-agent-errors-not-showing-in-kibana/287332)

<div class="topic-metadata">

**Author:** [@vamshi31](https://discuss.elastic.co/u/vamshi31)\
**Replies:** 4\
**Last updated:** [October 25, 2021, 4:04pm UTC](https://discuss.elastic.co/t/apm-nodejs-agent-errors-not-showing-in-kibana/287332 "2021-10-25T16:04:51Z")

</div>

// Add this to the VERY top of the first file loaded in your app var apm = require('elastic-apm-node').start({ // Override service name from package.json // Allowed characters: a-z, A-Z, 0-9, -, \_, and space serviceN…

---

## [Max spans happened in Hikari-pool connection addr thred](https://discuss.elastic.co/t/max-spans-happened-in-hikari-pool-connection-addr-thred/287145)

<div class="topic-metadata">

**Author:** [@fido](https://discuss.elastic.co/u/fido)\
**Replies:** 13\
**Last updated:** [October 25, 2021, 11:04am UTC](https://discuss.elastic.co/t/max-spans-happened-in-hikari-pool-connection-addr-thred/287145 "2021-10-25T11:04:50Z")

</div>

Hi，I am having trouble using Hikari connection pool with java APM agent. I meet Transaction Max spans warnning, when it happend at a transaction has more than spanLimited spans, which i set is 500. Then i found it happe…

---

## [APM server integration with opensearch](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304)

<div class="topic-metadata">

**Author:** [@ma123456](https://discuss.elastic.co/u/ma123456)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 8:22am UTC](https://discuss.elastic.co/t/apm-server-integration-with-opensearch/287304 "2021-10-25T08:22:23Z")

</div>

I want to configure my APM server to send the data to my opensearch instance. Instead of username and password I have aws\_access\_key\_id and aws\_secret\_access\_key, however in the APM config I only see the option to provi…

---

## [PayloadSenderV2 NullReferenceException when stopping a dotnet core IHostedService background service](https://discuss.elastic.co/t/payloadsenderv2-nullreferenceexception-when-stopping-a-dotnet-core-ihostedservice-background-service/287122)

<div class="topic-metadata">

**Author:** [@diosifidis](https://discuss.elastic.co/u/diosifidis)\
**Replies:** 1\
**Last updated:** [October 25, 2021, 4:06am UTC](https://discuss.elastic.co/t/payloadsenderv2-nullreferenceexception-when-stopping-a-dotnet-core-ihostedservice-background-service/287122 "2021-10-25T04:06:13Z")

</div>

Kibana version: 7.13.4 Elasticsearch version: 7.13.4 APM Agent language and version: C#, 1.11.1 Original install method (e.g. download page, yum, deb, from source, etc.) and version: Nuget package Description of …

---

## [Span types](https://discuss.elastic.co/t/span-types/287485)

<div class="topic-metadata">

**Author:** [@decibel83](https://discuss.elastic.co/u/decibel83)\
**Replies:** 1\
**Last updated:** [October 24, 2021, 5:25am UTC](https://discuss.elastic.co/t/span-types/287485 "2021-10-24T05:25:17Z")

</div>

Hi everyone! I’m quite new with APM and I’m only using db.mysql.query span type. I’m wondering which are the supported span types as I couldn’t find any list in the documentation. Or is it an arbitrary string? If yes,…

---

## [JAX-RS/Servlet API transactions disappear with application\_packages parameter. How to get both?](https://discuss.elastic.co/t/jax-rs-servlet-api-transactions-disappear-with-application-packages-parameter-how-to-get-both/287164)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 3:51pm UTC](https://discuss.elastic.co/t/jax-rs-servlet-api-transactions-disappear-with-application-packages-parameter-how-to-get-both/287164 "2021-10-22T15:51:23Z")

</div>

Kibana version: 7.15 Elasticsearch version: 7.15 APM Server version: 7.15 APM Agent language and version: Java Agent 1.26 Original install method (e.g. download page, yum, deb, from source, etc.) and version: Java Ag…

---

## [APM Java agent not working with Vert.x](https://discuss.elastic.co/t/apm-java-agent-not-working-with-vert-x/287186)

<div class="topic-metadata">

**Author:** [@Pablo\_Albertengo](https://discuss.elastic.co/u/Pablo_Albertengo)\
**Replies:** 2\
**Last updated:** [October 20, 2021, 1:09pm UTC](https://discuss.elastic.co/t/apm-java-agent-not-working-with-vert-x/287186 "2021-10-20T13:09:52Z")

</div>

Hi! I am not being able to audit the transactions against my Vert.x application using the Java agent for this purpose. According to the documentation: there is an experimental support for Vert.x since version 1.0.24 …

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

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