# APM

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

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

**Page:** 53

---

## [APM Span mappings keep getting back to defaults](https://discuss.elastic.co/t/apm-span-mappings-keep-getting-back-to-defaults/273119)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Jimenez](https://discuss.elastic.co/u/Rodrigo_Jimenez)\
**Replies:** 3\
**Last updated:** [May 18, 2021, 6:44pm UTC](https://discuss.elastic.co/t/apm-span-mappings-keep-getting-back-to-defaults/273119 "2021-05-18T18:44:32Z")

</div>

Hi!, I'm running the ElasticStack v7.11.1. Lately I had the need to start indexing a couple of request header values that came to some APM logs I'm collecting. To do that I had to mark the http.request.headers object as…

---

## [Monitoring of an application on a tomcat](https://discuss.elastic.co/t/monitoring-of-an-application-on-a-tomcat/271047)

<div class="topic-metadata">

**Author:** [@Nigmur](https://discuss.elastic.co/u/Nigmur)\
**Replies:** 8\
**Last updated:** [May 18, 2021, 4:03pm UTC](https://discuss.elastic.co/t/monitoring-of-an-application-on-a-tomcat/271047 "2021-05-18T16:03:53Z")

</div>

Hi everyone, I am having issues in monitoring a java application inside a tomcat. I am monitoring the tomcat with a java agent and i see everything correctly. But when i install an application on it it seems that i can'…

---

## [Some APM Transacion index fields are not searchable](https://discuss.elastic.co/t/some-apm-transacion-index-fields-are-not-searchable/272569)

<div class="topic-metadata">

**Author:** [@xacobecm](https://discuss.elastic.co/u/xacobecm)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 5:02pm UTC](https://discuss.elastic.co/t/some-apm-transacion-index-fields-are-not-searchable/272569 "2021-05-17T17:02:58Z")

</div>

I'm using APM Server version 7.11.2. I've got some services sending data to APM. I have a login by certificate microservice and I'd like to filter some request parameters in order to know who and when logged in. When I s…

---

## [Is there a way to add label to both sampled and non sampled transaction?](https://discuss.elastic.co/t/is-there-a-way-to-add-label-to-both-sampled-and-non-sampled-transaction/273030)

<div class="topic-metadata">

**Author:** [@Nandu\_Bhai](https://discuss.elastic.co/u/Nandu_Bhai)\
**Replies:** 1\
**Last updated:** [May 17, 2021, 3:47pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-add-label-to-both-sampled-and-non-sampled-transaction/273030 "2021-05-17T15:47:46Z")

</div>

I just want a key with 5 types of values associated with each request transaction. I was using the labels to achieve the purpose. But after enabling the sampling, the labels are coming with only sampled requests. Is ther…

---

## [Log Collected Metrics instead of posting to APM server](https://discuss.elastic.co/t/log-collected-metrics-instead-of-posting-to-apm-server/272908)

<div class="topic-metadata">

**Author:** [@Anusha\_sunkadh](https://discuss.elastic.co/u/Anusha_sunkadh)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 11:29am UTC](https://discuss.elastic.co/t/log-collected-metrics-instead-of-posting-to-apm-server/272908 "2021-05-17T11:29:21Z")

</div>

Hi Team, Happy to use APM agent, thank you for the great documentation. Is this possible today ? We want to run standalone java application offline, with metrics getting collected in background and whenever the applica…

---

## [HPE\_INVALID\_CONSTANT nodejs elastic apm](https://discuss.elastic.co/t/hpe-invalid-constant-nodejs-elastic-apm/272795)

<div class="topic-metadata">

**Author:** [@Max\_Lee](https://discuss.elastic.co/u/Max_Lee)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 7:13am UTC](https://discuss.elastic.co/t/hpe-invalid-constant-nodejs-elastic-apm/272795 "2021-05-17T07:13:11Z")

</div>

Kibana version : v7.12.1 Elasticsearch version : v7.12.1 APM Server version : v7.12.1 APM Agent language and version : nodejs : 12 fastify : 2.11.0 mongoose : 5.11.1 elastic-apm-node : 3.14.0 ioredis : 4.14.1 …

---

## [Exclude classes from excluded classes](https://discuss.elastic.co/t/exclude-classes-from-excluded-classes/272542)

<div class="topic-metadata">

**Author:** [@tstadler](https://discuss.elastic.co/u/tstadler)\
**Replies:** 2\
**Last updated:** [May 16, 2021, 11:29am UTC](https://discuss.elastic.co/t/exclude-classes-from-excluded-classes/272542 "2021-05-16T11:29:16Z")

</div>

I would like to develop a plugin that instruments a class in org.jboss.as.ejb3.remote. However classes\_excluded\_from\_instrumentation\_default contains (?-i)org.jboss.as.\*, so my instrumentation is ignored by default. Is …

---

## [Using javaagent in Docker container](https://discuss.elastic.co/t/using-javaagent-in-docker-container/272223)

<div class="topic-metadata">

**Author:** [@Henk\_Stobbe](https://discuss.elastic.co/u/Henk_Stobbe)\
**Replies:** 7\
**Last updated:** [May 15, 2021, 9:08am UTC](https://discuss.elastic.co/t/using-javaagent-in-docker-container/272223 "2021-05-15T09:08:07Z")

</div>

Hello, Using docker compose, I have a added a volume (containing the agent jar) and I added the java opts to point to this jar. Sorry to say that when the java application gets started the volume is not yet available a…

---

## [Java Agent not showing RMQ while using SimpleRabbitListenerContainerFactory](https://discuss.elastic.co/t/java-agent-not-showing-rmq-while-using-simplerabbitlistenercontainerfactory/270971)

<div class="topic-metadata">

**Author:** [@rainer-funk](https://discuss.elastic.co/u/rainer-funk)\
**Replies:** 5\
**Last updated:** [May 13, 2021, 11:56am UTC](https://discuss.elastic.co/t/java-agent-not-showing-rmq-while-using-simplerabbitlistenercontainerfactory/270971 "2021-05-13T11:56:59Z")

</div>

Kibana version: 7.9.3 Elasticsearch version: 7.9.3 APM Server version: 7.9.3 APM Agent language and version: Java 1.22 Browser version: - Original install method: Cloud ELK Description of the problem including expe…

---

## [Support for getting parameterized URLs without url\_groups](https://discuss.elastic.co/t/support-for-getting-parameterized-urls-without-url-groups/272182)

<div class="topic-metadata">

**Author:** [@bimanarajesh](https://discuss.elastic.co/u/bimanarajesh)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 4:35pm UTC](https://discuss.elastic.co/t/support-for-getting-parameterized-urls-without-url-groups/272182 "2021-05-12T16:35:18Z")

</div>

APM Server version: 7.6.0 APM Agent language and version: Java - 1.17.0 Original install method (e.g. download page, yum, deb, from source, etc.) and version: Download page Fresh install or upgraded from other vers…

---

## [How to know when transaction is finished](https://discuss.elastic.co/t/how-to-know-when-transaction-is-finished/272587)

<div class="topic-metadata">

**Author:** [@the\_duke](https://discuss.elastic.co/u/the_duke)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 2:29pm UTC](https://discuss.elastic.co/t/how-to-know-when-transaction-is-finished/272587 "2021-05-12T14:29:36Z")

</div>

Hi All, I was wondering how one can determine if a transaction is finished? I am working on an angular project and want to log how long a user is logged in. When the user logs out, I start a transaction, calculate the…

---

## [ELASTIC\_APM\_HOSTNAME not working](https://discuss.elastic.co/t/elastic-apm-hostname-not-working/271915)

<div class="topic-metadata">

**Author:** [@shlomys](https://discuss.elastic.co/u/shlomys)\
**Replies:** 3\
**Last updated:** [May 12, 2021, 11:22am UTC](https://discuss.elastic.co/t/elastic-apm-hostname-not-working/271915 "2021-05-12T11:22:06Z")

</div>

Hi, I would like to be able to see the hostname in the APM UI so I set it in the environment variables using the folllowing: Environment.SetEnvironmentVariable("ELASTIC\_APM\_HOSTNAME", "somehostname"); Still, in the AP…

---

## [Induced CPU load by APM nodejs agent if elastic server saturates](https://discuss.elastic.co/t/induced-cpu-load-by-apm-nodejs-agent-if-elastic-server-saturates/272729)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 2\
**Last updated:** [May 11, 2021, 5:53pm UTC](https://discuss.elastic.co/t/induced-cpu-load-by-apm-nodejs-agent-if-elastic-server-saturates/272729 "2021-05-11T17:53:23Z")

</div>

Hi All, We are instrumenting a nodejs backend with Elastic APM agent. At some point, the elastic server cannot cope with the incoming messages from the agent. I wonder what happens in that case. I understand that such i…

---

## [Transaction table breakdown granularity](https://discuss.elastic.co/t/transaction-table-breakdown-granularity/270178)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 8\
**Last updated:** [May 11, 2021, 5:52pm UTC](https://discuss.elastic.co/t/transaction-table-breakdown-granularity/270178 "2021-05-11T17:52:57Z")

</div>

Hello everyone, I am a newbie to Elastic APM, I am currently trying to instrument a great banking application (javascript). In the transaction table I get many URLs of the type POST http: //\<server IP\>/method summariz…

---

## [How the APM agent for Node.js works?](https://discuss.elastic.co/t/how-the-apm-agent-for-node-js-works/272697)

<div class="topic-metadata">

**Author:** [@m-s-santos](https://discuss.elastic.co/u/m-s-santos)\
**Replies:** 1\
**Last updated:** [May 11, 2021, 4:30pm UTC](https://discuss.elastic.co/t/how-the-apm-agent-for-node-js-works/272697 "2021-05-11T16:30:28Z")

</div>

Hello, I'm trying to add APM to a Ruby application running with Eventmachine. However, since the Ruby agent doesn't support Eventmachine, I'm trying to see what I can do to make it work. The problem is that since it wor…

---

## [Automatic instrumentation of function calls](https://discuss.elastic.co/t/automatic-instrumentation-of-function-calls/272707)

<div class="topic-metadata">

**Author:** [@lingwood](https://discuss.elastic.co/u/lingwood)\
**Replies:** 0\
**Last updated:** [May 11, 2021, 2:00pm UTC](https://discuss.elastic.co/t/automatic-instrumentation-of-function-calls/272707 "2021-05-11T14:00:04Z")

</div>

Kibana version: 7.12.1 Elasticsearch version: 7.12.1 APM Server version: 7.12.1 APM Agent language and version: php agent 1.01. Php 7.3.27 Browser version: Edge 90.0.818.56 Original install method (e.g. download pag…

---

## [Nodejs missing transaction trace](https://discuss.elastic.co/t/nodejs-missing-transaction-trace/272551)

<div class="topic-metadata">

**Author:** [@Max\_Lee](https://discuss.elastic.co/u/Max_Lee)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 7:17pm UTC](https://discuss.elastic.co/t/nodejs-missing-transaction-trace/272551 "2021-05-10T19:17:02Z")

</div>

Kibana version: v7.12.1 Elasticsearch version: v7.12.1 APM Server version: v7.12.1 APM Agent language and version: nodejs : 12 fastify : 2.11.0 mongoose : 5.11.1 elastic-apm-node : 3.14.0 ioredis : 4.14.1 Bro…

---

## [Apollo-server-express with Typescript Unknown route](https://discuss.elastic.co/t/apollo-server-express-with-typescript-unknown-route/272586)

<div class="topic-metadata">

**Author:** [@yulrizka](https://discuss.elastic.co/u/yulrizka)\
**Replies:** 2\
**Last updated:** [May 10, 2021, 5:16pm UTC](https://discuss.elastic.co/t/apollo-server-express-with-typescript-unknown-route/272586 "2021-05-10T17:16:33Z")

</div>

APM Agent language and version: "elastic-apm-node": "^3.14.0", with "apollo-server-express": "^2.0.4", "graphql": "^15.5.0", I managed to get the integration working between the graphql server and APM. But it seems t…

---

## [APM service map behavior is different with opentracing](https://discuss.elastic.co/t/apm-service-map-behavior-is-different-with-opentracing/272129)

<div class="topic-metadata">

**Author:** [@jialipassion](https://discuss.elastic.co/u/jialipassion)\
**Replies:** 3\
**Last updated:** [May 10, 2021, 4:57pm UTC](https://discuss.elastic.co/t/apm-service-map-behavior-is-different-with-opentracing/272129 "2021-05-10T16:57:27Z")

</div>

I am using elastic-apm-node agent to create distributed tracing. Here is my services structures. I have 3 micro services. producer, kafka, consumer The call sequence is producer -\> kafka -\> consumer I am not using a…

---

## [APM architecture and usage](https://discuss.elastic.co/t/apm-architecture-and-usage/272591)

<div class="topic-metadata">

**Author:** [@Waxman](https://discuss.elastic.co/u/Waxman)\
**Replies:** 1\
**Last updated:** [May 10, 2021, 2:51pm UTC](https://discuss.elastic.co/t/apm-architecture-and-usage/272591 "2021-05-10T14:51:16Z")

</div>

Hi there, I wonder how apm's works, AFAIK it's client-server architecture. The question is: a) what is the recomendation for APM server (cpu,memory,storage) b) can i install APM server for example with elastic -node …

---

## [Missing outgoing HTTP Span GO Lang](https://discuss.elastic.co/t/missing-outgoing-http-span-go-lang/272452)

<div class="topic-metadata">

**Author:** [@ianmcgraw](https://discuss.elastic.co/u/ianmcgraw)\
**Replies:** 2\
**Last updated:** [May 10, 2021, 2:48pm UTC](https://discuss.elastic.co/t/missing-outgoing-http-span-go-lang/272452 "2021-05-10T14:48:21Z")

</div>

Kibana version: v 7.9.2 (elastic cloud) Elasticsearch version: v 7.9.2 (elastic cloud) APM Server version: v 7.9.2 (elastic cloud) APM Agent language and version: Golang go.elastic.co/apm/module/apmgorilla v1.1…

---

## [Using ElasticAPM distributed tracing to monitor mysql from PHP library calls](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557)

<div class="topic-metadata">

**Author:** [@Mark\_Paget](https://discuss.elastic.co/u/Mark_Paget)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 9:13am UTC](https://discuss.elastic.co/t/using-elasticapm-distributed-tracing-to-monitor-mysql-from-php-library-calls/272557 "2021-05-10T09:13:41Z")

</div>

Kibana version: 7.12.1 Elasticsearch version: 7.12.1 APM Server version: 7.12.1 APM Agent language and version:PHP 1.0.1 Browser version: Chrome Version 90.0.4430.93 (Official Build) (x86\_64) Original install method…

---

## [APM agent can't connect to APM](https://discuss.elastic.co/t/apm-agent-cant-connect-to-apm/271697)

<div class="topic-metadata">

**Author:** [@komilll](https://discuss.elastic.co/u/komilll)\
**Replies:** 1\
**Last updated:** [May 7, 2021, 3:38pm UTC](https://discuss.elastic.co/t/apm-agent-cant-connect-to-apm/271697 "2021-05-07T15:38:16Z")

</div>

Kibana version: 7.7.0 Elasticsearch version: 7.7.0 APM Server version: 7.7.0 APM Agent language and version: Java - openjdk:8-jre-alpine Browser version: Firefox 88.0 Original install method (e.g. download page, yum…

---

## [For ASP.NET (Full .NET Framework), once you’ve referenced](https://discuss.elastic.co/t/for-asp-net-full-net-framework-once-you-ve-referenced/272207)

<div class="topic-metadata">

**Author:** [@stobbe99](https://discuss.elastic.co/u/stobbe99)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 3:21pm UTC](https://discuss.elastic.co/t/for-asp-net-full-net-framework-once-you-ve-referenced/272207 "2021-05-05T15:21:39Z")

</div>

Hello, In the documentation for the ASP.NET config it states: For ASP.NET (Full .NET Framework), once you’ve referenced the Elastic.Apm.AspNetFullFramework package... What is meant by referenced in this context? K…

---

## [No traces for Tomcat with coyote framework](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180)

<div class="topic-metadata">

**Author:** [@Henk\_Stobbe](https://discuss.elastic.co/u/Henk_Stobbe)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 2:24pm UTC](https://discuss.elastic.co/t/no-traces-for-tomcat-with-coyote-framework/272180 "2021-05-05T14:24:03Z")

</div>

Hello, I have instrumented a tomcat server with the -javaagent, but the outgoing http requests are not getting the trace header. Looking in the classes loaded it seems that the coyote framework is used. I assume this i…

---

## [How to set APM Configuration outside appsettings?](https://discuss.elastic.co/t/how-to-set-apm-configuration-outside-appsettings/272167)

<div class="topic-metadata">

**Author:** [@KARAOGLU](https://discuss.elastic.co/u/KARAOGLU)\
**Replies:** 6\
**Last updated:** [May 5, 2021, 1:01pm UTC](https://discuss.elastic.co/t/how-to-set-apm-configuration-outside-appsettings/272167 "2021-05-05T13:01:00Z")

</div>

My application is running in test environment. I see that it throws apm logs, but it does not work in production environment. I think the reason is from the configuration in appsettings.json by default, briefly as follow…

---

## [Hapi server emitted a log event tagged error](https://discuss.elastic.co/t/hapi-server-emitted-a-log-event-tagged-error/272081)

<div class="topic-metadata">

**Author:** [@Javier\_Aracil](https://discuss.elastic.co/u/Javier_Aracil)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 12:53pm UTC](https://discuss.elastic.co/t/hapi-server-emitted-a-log-event-tagged-error/272081 "2021-05-05T12:53:03Z")

</div>

Hi, We are getting a lot of "hapi server emitted a log event tagged error" with a hapi server. Any clue? Thanks very much, best regards Javier

---

## [Unable to create api key](https://discuss.elastic.co/t/unable-to-create-api-key/271603)

<div class="topic-metadata">

**Author:** [@samueliako](https://discuss.elastic.co/u/samueliako)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 5:47am UTC](https://discuss.elastic.co/t/unable-to-create-api-key/271603 "2021-05-05T05:47:24Z")

</div>

Hi all, I have problem with generating api key using this command "#sudo -u apm-server apm-server apikey create --name user1-key". I'm receiving this error: {"error":{"root\_cause":\[{"type":"feature\_not\_enabled\_exceptio…

---

## [.Net Core Console App APM Integrations](https://discuss.elastic.co/t/net-core-console-app-apm-integrations/271909)

<div class="topic-metadata">

**Author:** [@KARAOGLU](https://discuss.elastic.co/u/KARAOGLU)\
**Replies:** 1\
**Last updated:** [May 4, 2021, 5:39am UTC](https://discuss.elastic.co/t/net-core-console-app-apm-integrations/271909 "2021-05-04T05:39:27Z")

</div>

Hello, Can we only use APM in .net web-based applications? I was able to run it in a simple web-based application, but I could not run it in a console application with the same settings. I haven't seen a sample or work…

---

## [Span.End() method seems to lock the application in certain cases](https://discuss.elastic.co/t/span-end-method-seems-to-lock-the-application-in-certain-cases/271960)

<div class="topic-metadata">

**Author:** [@javiersotodev](https://discuss.elastic.co/u/javiersotodev)\
**Replies:** 3\
**Last updated:** [May 4, 2021, 1:42am UTC](https://discuss.elastic.co/t/span-end-method-seems-to-lock-the-application-in-certain-cases/271960 "2021-05-04T01:42:52Z")

</div>

We recently implemented our apm Custom spans in our code (that processes kafka messages in a high speed) and thanks to one of our processes timeouts and further debug logging we catch that a custom Span End method was ca…

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

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