# APM

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

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

**Page:** 44

---

## [Agent 1.28.1 ERROR No Log4j 2 configuration file found](https://discuss.elastic.co/t/agent-1-28-1-error-no-log4j-2-configuration-file-found/291668)

<div class="topic-metadata">

**Author:** [@coynef](https://discuss.elastic.co/u/coynef)\
**Replies:** 23\
**Last updated:** [December 17, 2021, 1:23pm UTC](https://discuss.elastic.co/t/agent-1-28-1-error-no-log4j-2-configuration-file-found/291668 "2021-12-17T13:23:36Z")

</div>

APM Agent language and version: 1.28.1 Hi In testing the latest version of the java agent the following error appeared... 2021-12-13 12:59:25,268 elastic-apm-server-healthcheck ERROR No Log4j 2 configuration file foun…

---

## [Stack trace is not parsed](https://discuss.elastic.co/t/stack-trace-is-not-parsed/292179)

<div class="topic-metadata">

**Author:** [@Andrew\_Vyhidnyi](https://discuss.elastic.co/u/Andrew_Vyhidnyi)\
**Replies:** 3\
**Last updated:** [December 17, 2021, 9:23am UTC](https://discuss.elastic.co/t/stack-trace-is-not-parsed/292179 "2021-12-17T09:23:02Z")

</div>

Kibana version:7.15.2 Elasticsearch version:7.15.2 APM Server version: 7.15.2 APM Agent language and version: opentelemetry/java 1.9.1 and OLTP exporter Description of the problem including expected versus actual beh…

---

## [\[7.16\] Enabling Elastic APM Server on Kibana](https://discuss.elastic.co/t/7-16-enabling-elastic-apm-server-on-kibana/291469)

<div class="topic-metadata">

**Author:** [@ZikPhil](https://discuss.elastic.co/u/ZikPhil)\
**Replies:** 1\
**Last updated:** [December 14, 2021, 10:40am UTC](https://discuss.elastic.co/t/7-16-enabling-elastic-apm-server-on-kibana/291469 "2021-12-14T10:40:22Z")

</div>

Hello, I just deployed a brand new ES/Kibana/Fleet cluster and have setup my agents just fine. I decided to start using the APM Server integration inside Elastic Agent since I am already using it for everything else. I'…

---

## [Alternative to capture\_body](https://discuss.elastic.co/t/alternative-to-capture-body/291607)

<div class="topic-metadata">

**Author:** [@Bhavani\_Ananth](https://discuss.elastic.co/u/Bhavani_Ananth)\
**Replies:** 1\
**Last updated:** [December 13, 2021, 9:26am UTC](https://discuss.elastic.co/t/alternative-to-capture-body/291607 "2021-12-13T09:26:04Z")

</div>

Hello Team, There is a new requirement wherein we need to parse a certain tracking number that is part of the http url or part of the request body. The one in the url can be easily retrieved.(http.url and using logstas…

---

## [APM missing SQL Span (NestJS/Typeorm/SQL Server)](https://discuss.elastic.co/t/apm-missing-sql-span-nestjs-typeorm-sql-server/291221)

<div class="topic-metadata">

**Author:** [@Tam2](https://discuss.elastic.co/u/Tam2)\
**Replies:** 5\
**Last updated:** [December 9, 2021, 11:58pm UTC](https://discuss.elastic.co/t/apm-missing-sql-span-nestjs-typeorm-sql-server/291221 "2021-12-09T23:58:16Z")

</div>

I've got a NestJS monorepo and i'm loading in the elastic-apm-node at the top of the main.ts file: require('elastic-apm-node').start({ // Override the service name from package.json // Allowed characters: a-z, A-Z, …

---

## [Not able to connect elastic APM cloud](https://discuss.elastic.co/t/not-able-to-connect-elastic-apm-cloud/291238)

<div class="topic-metadata">

**Author:** [@vinay1](https://discuss.elastic.co/u/vinay1)\
**Replies:** 1\
**Last updated:** [December 9, 2021, 5:38am UTC](https://discuss.elastic.co/t/not-able-to-connect-elastic-apm-cloud/291238 "2021-12-09T05:38:37Z")

</div>

Working fine now

---

## [Sending no data point in registerMetric callback](https://discuss.elastic.co/t/sending-no-data-point-in-registermetric-callback/291175)

<div class="topic-metadata">

**Author:** [@apoco](https://discuss.elastic.co/u/apoco)\
**Replies:** 1\
**Last updated:** [December 8, 2021, 8:29pm UTC](https://discuss.elastic.co/t/sending-no-data-point-in-registermetric-callback/291175 "2021-12-08T20:29:21Z")

</div>

I'm migrating an app from New Relic, and I'm trying to use registerMetric to give me a custom metric. The metric I'm recording is a duration average, so I'm collecting durations and a count of durations so that when the …

---

## [APM server exits if Kafka output is higher than version 2.0](https://discuss.elastic.co/t/apm-server-exits-if-kafka-output-is-higher-than-version-2-0/290573)

<div class="topic-metadata">

**Author:** [@joao-subtil](https://discuss.elastic.co/u/joao-subtil)\
**Replies:** 3\
**Last updated:** [December 8, 2021, 1:58am UTC](https://discuss.elastic.co/t/apm-server-exits-if-kafka-output-is-higher-than-version-2-0/290573 "2021-12-08T01:58:46Z")

</div>

APM Server version: Tested 7.13 and 7.15, fails on both Original install method (e.g. download page, yum, deb, from source, etc.) and version: Docker container with the below dockerfile FROM docker.elastic.co/apm/apm…

---

## [How to configure Elastic .NET APM agent with .net WCF service](https://discuss.elastic.co/t/how-to-configure-elastic-net-apm-agent-with-net-wcf-service/291070)

<div class="topic-metadata">

**Author:** [@Sharma3007](https://discuss.elastic.co/u/Sharma3007)\
**Replies:** 1\
**Last updated:** [December 7, 2021, 2:39pm UTC](https://discuss.elastic.co/t/how-to-configure-elastic-net-apm-agent-with-net-wcf-service/291070 "2021-12-07T14:39:06Z")

</div>

Hi Team, I tried to implement a .net APM agent with WCF service but it's not working. In my case, my web application was deployed on the XXXX server & the service deployed on the YYYY server. I have configured the .net …

---

## [Elastic APM not working with .net WCF service](https://discuss.elastic.co/t/elastic-apm-not-working-with-net-wcf-service/290574)

<div class="topic-metadata">

**Author:** [@Sharma3007](https://discuss.elastic.co/u/Sharma3007)\
**Replies:** 6\
**Last updated:** [December 7, 2021, 2:37pm UTC](https://discuss.elastic.co/t/elastic-apm-not-working-with-net-wcf-service/290574 "2021-12-07T14:37:33Z")

</div>

Hi Team, Elastic APM not working with .net WCF service. Please help me how to configure elastic .net apm agent with wcf service. Its working fine with mvc web application, but not with wcf service. My application fet…

---

## [APM agents together with Dynatrace breaks APM visualisation](https://discuss.elastic.co/t/apm-agents-together-with-dynatrace-breaks-apm-visualisation/290738)

<div class="topic-metadata">

**Author:** [@lancer\_enkor](https://discuss.elastic.co/u/lancer_enkor)\
**Replies:** 5\
**Last updated:** [December 6, 2021, 2:00pm UTC](https://discuss.elastic.co/t/apm-agents-together-with-dynatrace-breaks-apm-visualisation/290738 "2021-12-06T14:00:05Z")

</div>

I have the following situation: I have distributed tracing enabled on APM agents and also on Dynatrace. Everything seems working together except for waterfall visualization in Kibana. I tried to dig more into the pro…

---

## [APM Agent logs shown on Discover but not on APM UI](https://discuss.elastic.co/t/apm-agent-logs-shown-on-discover-but-not-on-apm-ui/289706)

<div class="topic-metadata">

**Author:** [@jorsec](https://discuss.elastic.co/u/jorsec)\
**Replies:** 14\
**Last updated:** [December 2, 2021, 1:55pm UTC](https://discuss.elastic.co/t/apm-agent-logs-shown-on-discover-but-not-on-apm-ui/289706 "2021-12-02T13:55:03Z")

</div>

Hello all, Currently i am using ELK APM for my java application running on tomcat, with centos 7 as a linux distrubution and its my fresh installation but while apm java agent transfer the logs to apm server -\> elastrics…

---

## [APM for .NET 6](https://discuss.elastic.co/t/apm-for-net-6/290725)

<div class="topic-metadata">

**Author:** [@WeslleyFelizardo](https://discuss.elastic.co/u/WeslleyFelizardo)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 6:37am UTC](https://discuss.elastic.co/t/apm-for-net-6/290725 "2021-12-02T06:37:57Z")

</div>

When will be possible to use apm for .net 6 without the error “ Failed to detect whether the current .NET runtime is .NET Full Framework, Mono or .NET Core - \`N/A' will be used as the current .NET runtime name”?

---

## [Elastic.Apm.Extensions.Hosting doesn't work with net48 if you already have a dependency on Microsoft.Extensions.DependencyInjection version 5.0](https://discuss.elastic.co/t/elastic-apm-extensions-hosting-doesnt-work-with-net48-if-you-already-have-a-dependency-on-microsoft-extensions-dependencyinjection-version-5-0/289403)

<div class="topic-metadata">

**Author:** [@ismaelhamed](https://discuss.elastic.co/u/ismaelhamed)\
**Replies:** 1\
**Last updated:** [November 30, 2021, 4:34pm UTC](https://discuss.elastic.co/t/elastic-apm-extensions-hosting-doesnt-work-with-net48-if-you-already-have-a-dependency-on-microsoft-extensions-dependencyinjection-version-5-0/289403 "2021-11-30T16:34:47Z")

</div>

I've created a small Gist to illustrate it. But, if you have a net48 app which already have dependencies to Microsoft.Extensions.DependencyInjection version 5.0 and you add Elastic.Apm.Extensions.Hosting you'll get the …

---

## [HTTP spans doesn't show the full information about the request](https://discuss.elastic.co/t/http-spans-doesnt-show-the-full-information-about-the-request/288908)

<div class="topic-metadata">

**Author:** [@floyola](https://discuss.elastic.co/u/floyola)\
**Replies:** 12\
**Last updated:** [November 30, 2021, 3:04pm UTC](https://discuss.elastic.co/t/http-spans-doesnt-show-the-full-information-about-the-request/288908 "2021-11-30T15:04:38Z")

</div>

Hi! I'm using Opentelemetry + Elastic. The problem that I'm facing is that the http requests child spans doesn't show the full information. The way those spans are shown aren't useful since doesn't indicates which span…

---

## [APM metrics in Kibana not showing when collected with metricbeat](https://discuss.elastic.co/t/apm-metrics-in-kibana-not-showing-when-collected-with-metricbeat/290324)

<div class="topic-metadata">

**Author:** [@ccontini](https://discuss.elastic.co/u/ccontini)\
**Replies:** 5\
**Last updated:** [November 30, 2021, 2:54pm UTC](https://discuss.elastic.co/t/apm-metrics-in-kibana-not-showing-when-collected-with-metricbeat/290324 "2021-11-30T14:54:56Z")

</div>

Kibana version: 7.15.2 Elasticsearch version: 7.15.2 APM Server version: 7.15.2 APM Agent language and version: Not using APM agent Original install method: Elastic cloud Is there anything special in your setup? I a…

---

## [Can we use elastic Java apm agent with azure functions?](https://discuss.elastic.co/t/can-we-use-elastic-java-apm-agent-with-azure-functions/289891)

<div class="topic-metadata">

**Author:** [@vipinbit](https://discuss.elastic.co/u/vipinbit)\
**Replies:** 1\
**Last updated:** [November 29, 2021, 8:12am UTC](https://discuss.elastic.co/t/can-we-use-elastic-java-apm-agent-with-azure-functions/289891 "2021-11-29T08:12:13Z")

</div>

Can we use elastic Java apm agent with Java based azure functions? If yes can you please point to right documentation for this, how to configure elastic Java apm agent for azure functions or some other cloud based servic…

---

## [Only showing Postgres START and COMMIT but not Query (Node/Express/Postgresql)](https://discuss.elastic.co/t/only-showing-postgres-start-and-commit-but-not-query-node-express-postgresql/290378)

<div class="topic-metadata">

**Author:** [@Jeremy\_Gillick](https://discuss.elastic.co/u/Jeremy_Gillick)\
**Replies:** 1\
**Last updated:** [November 28, 2021, 10:57pm UTC](https://discuss.elastic.co/t/only-showing-postgres-start-and-commit-but-not-query-node-express-postgresql/290378 "2021-11-28T22:57:40Z")

</div>

I'm setting up Cloud Elastic APM with a node/express/postgres server. The web requests are coming in as expected, however, only the postgresql START and COMMIT commands from the transactions are being shown but not the q…

---

## [Plugin: WARN: End has already been called](https://discuss.elastic.co/t/plugin-warn-end-has-already-been-called/288837)

<div class="topic-metadata">

**Author:** [@Matthias\_W](https://discuss.elastic.co/u/Matthias_W)\
**Replies:** 3\
**Last updated:** [November 28, 2021, 11:11am UTC](https://discuss.elastic.co/t/plugin-warn-end-has-already-been-called/288837 "2021-11-28T11:11:49Z")

</div>

Hi, I have developed a small instrumentation plugin for the Java APM agent. The advice class follows the pattern suggested in the documentation: public static class AdviceClass { @Advice.OnMethodEnter(suppress = Thr…

---

## [Java APM agent version \`unknown\` and Host \`N/A\` due to missing \`host.hostname\`](https://discuss.elastic.co/t/java-apm-agent-version-unknown-and-host-n-a-due-to-missing-host-hostname/290076)

<div class="topic-metadata">

**Author:** [@hendry.lim](https://discuss.elastic.co/u/hendry.lim)\
**Replies:** 8\
**Last updated:** [November 26, 2021, 2:28am UTC](https://discuss.elastic.co/t/java-apm-agent-version-unknown-and-host-n-a-due-to-missing-host-hostname/290076 "2021-11-26T02:28:23Z")

</div>

Kibana version: 7.15.0 Elasticsearch version: 7.15.0 APM Server version: 7.15.0 APM Agent language and version: Java 1.27.0 (Java 8) Description of the problem including expected versus actual behavior. Please includ…

---

## [Summarizing REST calls from a C++ client in a Transaction?](https://discuss.elastic.co/t/summarizing-rest-calls-from-a-c-client-in-a-transaction/290205)

<div class="topic-metadata">

**Author:** [@Matthias\_W](https://discuss.elastic.co/u/Matthias_W)\
**Replies:** 0\
**Last updated:** [November 25, 2021, 5:11pm UTC](https://discuss.elastic.co/t/summarizing-rest-calls-from-a-c-client-in-a-transaction/290205 "2021-11-25T17:11:16Z")

</div>

Hi, I have a fat client which is written in C++ and communicates with a Java backend using REST. Many “actions” performed in the client call a handful of REST endpoints (mostly between 1 and 10 each). Now I would like …

---

## [Java APM - logstash output](https://discuss.elastic.co/t/java-apm-logstash-output/290054)

<div class="topic-metadata">

**Author:** [@SanderP](https://discuss.elastic.co/u/SanderP)\
**Replies:** 3\
**Last updated:** [November 25, 2021, 8:37am UTC](https://discuss.elastic.co/t/java-apm-logstash-output/290054 "2021-11-25T08:37:35Z")

</div>

APM Agent language and version: Java - 1.27.0 Original install method (e.g. download page, yum, deb, from source, etc.) and version: Standalone java agent Is there anything special in your setup? For example, are you…

---

## [Example Of Automatic Profiler Instrumentation APM](https://discuss.elastic.co/t/example-of-automatic-profiler-instrumentation-apm/289785)

<div class="topic-metadata">

**Author:** [@Dimmy\_Shu](https://discuss.elastic.co/u/Dimmy_Shu)\
**Replies:** 8\
**Last updated:** [November 25, 2021, 1:37am UTC](https://discuss.elastic.co/t/example-of-automatic-profiler-instrumentation-apm/289785 "2021-11-25T01:37:59Z")

</div>

Good day everyone, We use Elastic APM with dotnet agent for couple of months, it does a great job. Recently we decided to adopt some third party framework which we cannot change the source code, so I came across to the…

---

## [Is it possible to log apm messages to the console?](https://discuss.elastic.co/t/is-it-possible-to-log-apm-messages-to-the-console/289857)

<div class="topic-metadata">

**Author:** [@shawnstrickland](https://discuss.elastic.co/u/shawnstrickland)\
**Replies:** 1\
**Last updated:** [November 23, 2021, 8:15pm UTC](https://discuss.elastic.co/t/is-it-possible-to-log-apm-messages-to-the-console/289857 "2021-11-23T20:15:14Z")

</div>

While evaluating APM and Elastic, we came across some possible issues: Our current solutions pipes container logs to Elasticsearch, limiting outbound calls, and persisiting 100% of all logs created. We would like to ut…

---

## [Prometheus fields no longer available after enabling APM on Java process](https://discuss.elastic.co/t/prometheus-fields-no-longer-available-after-enabling-apm-on-java-process/285244)

<div class="topic-metadata">

**Author:** [@momalley](https://discuss.elastic.co/u/momalley)\
**Replies:** 7\
**Last updated:** [November 23, 2021, 4:02pm UTC](https://discuss.elastic.co/t/prometheus-fields-no-longer-available-after-enabling-apm-on-java-process/285244 "2021-11-23T16:02:38Z")

</div>

Prometheus fields no longer available after enabling APM on Java process We are using Kibana 7.10.1 APM Agent 1.24 Browser used Chrome Steps to reproduce: We have enabled APM on one of our Java processes -javaag…

---

## [Service\_name auto-discovery issue](https://discuss.elastic.co/t/service-name-auto-discovery-issue/289604)

<div class="topic-metadata">

**Author:** [@coynef](https://discuss.elastic.co/u/coynef)\
**Replies:** 7\
**Last updated:** [November 22, 2021, 3:14pm UTC](https://discuss.elastic.co/t/service-name-auto-discovery-issue/289604 "2021-11-22T15:14:03Z")

</div>

Kibana version: 7.10.1 Elasticsearch version:7.10.1 APM Server version:7.10.1 APM Agent language and version: 1.26.0 Description of the problem including expected versus actual behavior. Please include screenshots (i…

---

## [How to disable instrumentation just for kafka producers (but not consumers) on APM java agent](https://discuss.elastic.co/t/how-to-disable-instrumentation-just-for-kafka-producers-but-not-consumers-on-apm-java-agent/289796)

<div class="topic-metadata">

**Author:** [@spekdrum](https://discuss.elastic.co/u/spekdrum)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 12:50pm UTC](https://discuss.elastic.co/t/how-to-disable-instrumentation-just-for-kafka-producers-but-not-consumers-on-apm-java-agent/289796 "2021-11-22T12:50:36Z")

</div>

Hi, I now I can disable instrumentation for kafka events with disable\_instrumentations property like this: disable\_instrumentations=kafka But this removes all related to Kafka. I would like to disable instrumentation …

---

## [APM fields doesn't exist in kibana APM observability and empty values in errors and metrics](https://discuss.elastic.co/t/apm-fields-doesnt-exist-in-kibana-apm-observability-and-empty-values-in-errors-and-metrics/289711)

<div class="topic-metadata">

**Author:** [@Sergio\_Ferreyra](https://discuss.elastic.co/u/Sergio_Ferreyra)\
**Replies:** 0\
**Last updated:** [November 19, 2021, 4:37pm UTC](https://discuss.elastic.co/t/apm-fields-doesnt-exist-in-kibana-apm-observability-and-empty-values-in-errors-and-metrics/289711 "2021-11-19T16:37:36Z")

</div>

Hi team, I am newbie using apm, using apm-server and apm-agent php, apm-server 7.12 apm-aget-php v1.3 The problem here is there are some fields that don't exist in the index, for example: http.response.status\_code …

---

## [Is it possible to create a user behavior heatmap with Elastic Observability?](https://discuss.elastic.co/t/is-it-possible-to-create-a-user-behavior-heatmap-with-elastic-observability/289497)

<div class="topic-metadata">

**Author:** [@allanjuan](https://discuss.elastic.co/u/allanjuan)\
**Replies:** 1\
**Last updated:** [November 18, 2021, 3:59pm UTC](https://discuss.elastic.co/t/is-it-possible-to-create-a-user-behavior-heatmap-with-elastic-observability/289497 "2021-11-18T15:59:18Z")

</div>

I'm interested in collecting data about the users behavior with a focus on improving UX. For example, collecting data about which elements they're clicking and how often. Is that possible? How? The app in this case is a…

---

## [How to monitor elasticsearch cluster itself using apm server?](https://discuss.elastic.co/t/how-to-monitor-elasticsearch-cluster-itself-using-apm-server/289552)

<div class="topic-metadata">

**Author:** [@manu\_john](https://discuss.elastic.co/u/manu_john)\
**Replies:** 1\
**Last updated:** [November 18, 2021, 9:33am UTC](https://discuss.elastic.co/t/how-to-monitor-elasticsearch-cluster-itself-using-apm-server/289552 "2021-11-18T09:33:48Z")

</div>

I have spun up a 9 node Elasticsearch cluster 3 master, 3 data hot and 3 data warm in an EKS using Elasticsearch operator and i want to monitor these nodes using apmserver. So using the operators i configured below …

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

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