# APM

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

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

**Page:** 41

---

## [Log correlation does not match trace.id from active span/transaction?](https://discuss.elastic.co/t/log-correlation-does-not-match-trace-id-from-active-span-transaction/298967)

<div class="topic-metadata">

**Author:** [@efdknittlfrank](https://discuss.elastic.co/u/efdknittlfrank)\
**Replies:** 12\
**Last updated:** [March 13, 2022, 6:22am UTC](https://discuss.elastic.co/t/log-correlation-does-not-match-trace-id-from-active-span-transaction/298967 "2022-03-13T06:22:04Z")

</div>

I have a use-case where tasks (Java Function\<T, R\> or Supplier) are potentially queued. If no task is currently running, the current thread directly executes the task. If another task is pending, the new task will be que…

---

## [Release notes link](https://discuss.elastic.co/t/release-notes-link/299425)

<div class="topic-metadata">

**Author:** [@tunichgud](https://discuss.elastic.co/u/tunichgud)\
**Replies:** 1\
**Last updated:** [March 11, 2022, 3:48pm UTC](https://discuss.elastic.co/t/release-notes-link/299425 "2022-03-11T15:48:34Z")

</div>

Hi, the release notes link at GitHub - elastic/apm-agent-java: Elastic APM Java Agent is currently pointing to a page with a 404. I realized, there is another post from 2018 mentioning the same issue, but it was closed. …

---

## [In the python elastic-apm (v 6.2.3) library, how do I set the "user.roles" field?](https://discuss.elastic.co/t/in-the-python-elastic-apm-v-6-2-3-library-how-do-i-set-the-user-roles-field/298982)

<div class="topic-metadata">

**Author:** [@fakeelasticjr](https://discuss.elastic.co/u/fakeelasticjr)\
**Replies:** 6\
**Last updated:** [March 10, 2022, 4:13pm UTC](https://discuss.elastic.co/t/in-the-python-elastic-apm-v-6-2-3-library-how-do-i-set-the-user-roles-field/298982 "2022-03-10T16:13:44Z")

</div>

I'm using the python elastic-apm library (v 6.2.3) to handle our elastic logging. I want to set the "user.roles" field described here ECS fields | APM Server Reference \[7.15\] | Elastic How do I do this? The python ela…

---

## [Docker-compose + fleet + RUM + APM on version\>= 7.16](https://discuss.elastic.co/t/docker-compose-fleet-rum-apm-on-version-7-16/298964)

<div class="topic-metadata">

**Author:** [@jan499](https://discuss.elastic.co/u/jan499)\
**Replies:** 5\
**Last updated:** [March 9, 2022, 10:25am UTC](https://discuss.elastic.co/t/docker-compose-fleet-rum-apm-on-version-7-16/298964 "2022-03-09T10:25:21Z")

</div>

We have Elasticsearch, Kibana and APM running happily on version 7. However, we want to move to version 8, and because of that we first try to get a working version 7.17. My kibana claims that the APM agent is running a…

---

## [Apm agent on openshift](https://discuss.elastic.co/t/apm-agent-on-openshift/297770)

<div class="topic-metadata">

**Author:** [@shandiaji](https://discuss.elastic.co/u/shandiaji)\
**Replies:** 6\
**Last updated:** [March 9, 2022, 1:57am UTC](https://discuss.elastic.co/t/apm-agent-on-openshift/297770 "2022-03-09T01:57:43Z")

</div>

hy everyone, im newbie at elastic apm and i want to install apm agent on openshift, anyone can help me how to deploy apm agent on openshift or anyone have a guide how to deploy apm agent on openshift or link? Thanks be…

---

## [How to count exact unique APM transactions](https://discuss.elastic.co/t/how-to-count-exact-unique-apm-transactions/298949)

<div class="topic-metadata">

**Author:** [@ZZ.IT](https://discuss.elastic.co/u/ZZ.IT)\
**Replies:** 3\
**Last updated:** [March 8, 2022, 9:32am UTC](https://discuss.elastic.co/t/how-to-count-exact-unique-apm-transactions/298949 "2022-03-08T09:32:38Z")

</div>

We are using ELK stack on windows server 2016. ELK stack has version 7.16.2. I want to count the number of transactions on this URL. I don't know if its possible. its because we want to know how many times this link wa…

---

## [.NET Profiler does not trace/show MySQL transactions](https://discuss.elastic.co/t/net-profiler-does-not-trace-show-mysql-transactions/297591)

<div class="topic-metadata">

**Author:** [@Danny\_Stommen](https://discuss.elastic.co/u/Danny_Stommen)\
**Replies:** 13\
**Last updated:** [March 8, 2022, 9:29am UTC](https://discuss.elastic.co/t/net-profiler-does-not-trace-show-mysql-transactions/297591 "2022-03-08T09:29:47Z")

</div>

Hi, I'm trying to get insights in our MySQL queries in our APM transactions. I've been following this guide: Profiler Auto instrumentation | APM .NET Agent Reference \[master\] | Elastic Our application is containerized…

---

## [Apm server error logs-apm.error not found](https://discuss.elastic.co/t/apm-server-error-logs-apm-error-not-found/298766)

<div class="topic-metadata">

**Author:** [@swchandu](https://discuss.elastic.co/u/swchandu)\
**Replies:** 2\
**Last updated:** [March 8, 2022, 6:54am UTC](https://discuss.elastic.co/t/apm-server-error-logs-apm-error-not-found/298766 "2022-03-08T06:54:29Z")

</div>

Hi, I have done an upgrade to Elasticsearch 8 and after this, I am finding a strange message in the apm server (8.0.0) logs "precondition 'apm integration installed' failed: error querying Elasticsearch for integration…

---

## [APM-agent-attach-cli-1.29.0 access denied ERROR bytebuddy](https://discuss.elastic.co/t/apm-agent-attach-cli-1-29-0-access-denied-error-bytebuddy/298959)

<div class="topic-metadata">

**Author:** [@attiliobroglio](https://discuss.elastic.co/u/attiliobroglio)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 2:07pm UTC](https://discuss.elastic.co/t/apm-agent-attach-cli-1-29-0-access-denied-error-bytebuddy/298959 "2022-03-07T14:07:52Z")

</div>

Hi, I am using the apm-agent-attach-cli-1.29.0.jar in order to monitor a Java application (installed openjdk version "1.8.0\_292"). Log shows that the agent is not able to start: \[elastic-apm-agent\] ERROR Failed to sta…

---

## [How to enable distributed tracing (Traceparent)?](https://discuss.elastic.co/t/how-to-enable-distributed-tracing-traceparent/298712)

<div class="topic-metadata">

**Author:** [@urbanalho](https://discuss.elastic.co/u/urbanalho)\
**Replies:** 2\
**Last updated:** [March 3, 2022, 4:02pm UTC](https://discuss.elastic.co/t/how-to-enable-distributed-tracing-traceparent/298712 "2022-03-03T16:02:34Z")

</div>

Hi! Im working for a big organisation where we barely even know what application talks to what application and in what order. Its many times not in a logical flow, more of a spiderweb. And now we want to enable distrib…

---

## [Any label in namespace for apm-server 8.0.1](https://discuss.elastic.co/t/any-label-in-namespace-for-apm-server-8-0-1/298737)

<div class="topic-metadata">

**Author:** [@b2ron](https://discuss.elastic.co/u/b2ron)\
**Replies:** 0\
**Last updated:** [March 3, 2022, 11:56am UTC](https://discuss.elastic.co/t/any-label-in-namespace-for-apm-server-8-0-1/298737 "2022-03-03T11:56:50Z")

</div>

Installed Elasticsearch via the Elasticsearch (ECK) Operator 2.0.0. Elasticsearch spec: auth: {} http: service: metadata: {} spec: {} tls: certificate: {} monitoring: logs: {} …

---

## [.NET An error occurred while sending the request](https://discuss.elastic.co/t/net-an-error-occurred-while-sending-the-request/296473)

<div class="topic-metadata">

**Author:** [@pancar](https://discuss.elastic.co/u/pancar)\
**Replies:** 3\
**Last updated:** [March 3, 2022, 7:36am UTC](https://discuss.elastic.co/t/net-an-error-occurred-while-sending-the-request/296473 "2022-03-03T07:36:27Z")

</div>

I am pretty new to APM and i am trying to set it on a .NET 4.6.2 web project. I follow these two documents when i do configure config file for some project it works and apm shows transactions. But on some projects i g…

---

## [Auto instrumention - Metrics work, traces not received](https://discuss.elastic.co/t/auto-instrumention-metrics-work-traces-not-received/295559)

<div class="topic-metadata">

**Author:** [@Jbezemer](https://discuss.elastic.co/u/Jbezemer)\
**Replies:** 22\
**Last updated:** [March 2, 2022, 8:15am UTC](https://discuss.elastic.co/t/auto-instrumention-metrics-work-traces-not-received/295559 "2022-03-02T08:15:09Z")

</div>

We want to trace all of our applications (built with OutSystems lowcode platform). So we used the auto instrumentation profiler for IIS 10.0. We are able to receive metrics, but traces are missing. The logs showed us tha…

---

## [APM engine not sampling all requests](https://discuss.elastic.co/t/apm-engine-not-sampling-all-requests/298355)

<div class="topic-metadata">

**Author:** [@Abhiraj\_Kulaar](https://discuss.elastic.co/u/Abhiraj_Kulaar)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 11:45pm UTC](https://discuss.elastic.co/t/apm-engine-not-sampling-all-requests/298355 "2022-02-28T23:45:50Z")

</div>

Hi Team, We have an implementation of NodeJS APM agent running in our Firebase server-less functions along with custom spans in some of the transactions. After trying to compare logs on the APM console with application …

---

## [APM on docker did not send logs trace to elastic cloud](https://discuss.elastic.co/t/apm-on-docker-did-not-send-logs-trace-to-elastic-cloud/295620)

<div class="topic-metadata">

**Author:** [@bekk777](https://discuss.elastic.co/u/bekk777)\
**Replies:** 25\
**Last updated:** [February 28, 2022, 1:36pm UTC](https://discuss.elastic.co/t/apm-on-docker-did-not-send-logs-trace-to-elastic-cloud/295620 "2022-02-28T13:36:07Z")

</div>

Hello everyone, I don´t understand why my configuration APM agent and server working on docker. But on the elastic cloud does not show anything on the APM service. But in Discover metrics show. cloud version v 7.15.2. …

---

## [Traces are not shown in Kibana](https://discuss.elastic.co/t/traces-are-not-shown-in-kibana/295757)

<div class="topic-metadata">

**Author:** [@rishisalunkhe](https://discuss.elastic.co/u/rishisalunkhe)\
**Replies:** 30\
**Last updated:** [February 27, 2022, 11:34am UTC](https://discuss.elastic.co/t/traces-are-not-shown-in-kibana/295757 "2022-02-27T11:34:19Z")

</div>

Kibana version: 7.15.2 Elasticsearch version: 7.16.3 APM Server version: 7.16.3 APM Agent language and version: Java 11, agent version: 1.28.4 Browser version: Google chrome 97.0.4692.99 \*\*Description: I am trying t…

---

## [Error while Java Application connectivity for APM server](https://discuss.elastic.co/t/error-while-java-application-connectivity-for-apm-server/298137)

<div class="topic-metadata">

**Author:** [@smart\_admin1](https://discuss.elastic.co/u/smart_admin1)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 4:21pm UTC](https://discuss.elastic.co/t/error-while-java-application-connectivity-for-apm-server/298137 "2022-02-24T16:21:43Z")

</div>

co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Event handling failure javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to fi…

---

## [Error for APM connectivity for Python Application](https://discuss.elastic.co/t/error-for-apm-connectivity-for-python-application/298135)

<div class="topic-metadata">

**Author:** [@smart\_admin1](https://discuss.elastic.co/u/smart_admin1)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 9:38am UTC](https://discuss.elastic.co/t/error-for-apm-connectivity-for-python-application/298135 "2022-02-24T09:38:57Z")

</div>

Max retries exceeded with url: /intake/v2/events (Caused by SSLError(SSLCertVerificationError(1, '\[SSL: CERTIFICATE\_VERIFY\_FAILED\] certificate verify failed: self signed certificate in certificate chain (\_ssl.c:1076)'))

---

## [How to use APM with php](https://discuss.elastic.co/t/how-to-use-apm-with-php/297799)

<div class="topic-metadata">

**Author:** [@tronje85](https://discuss.elastic.co/u/tronje85)\
**Replies:** 1\
**Last updated:** [February 23, 2022, 12:27pm UTC](https://discuss.elastic.co/t/how-to-use-apm-with-php/297799 "2022-02-23T12:27:05Z")

</div>

Hi After reading the documentation for the PHP APM Agent 3 times, I still don't understand how it works. Initial situation: one has written a web page in PHP and uses for example the monolog handler. (1) Is the workflo…

---

## [APM agent fails to connect to APM server](https://discuss.elastic.co/t/apm-agent-fails-to-connect-to-apm-server/297660)

<div class="topic-metadata">

**Author:** [@inbox.ex](https://discuss.elastic.co/u/inbox.ex)\
**Replies:** 2\
**Last updated:** [February 22, 2022, 3:13am UTC](https://discuss.elastic.co/t/apm-agent-fails-to-connect-to-apm-server/297660 "2022-02-22T03:13:15Z")

</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…

---

## [Doubts: APM and its inner guts](https://discuss.elastic.co/t/doubts-apm-and-its-inner-guts/297657)

<div class="topic-metadata">

**Author:** [@inbox.ex](https://discuss.elastic.co/u/inbox.ex)\
**Replies:** 2\
**Last updated:** [February 22, 2022, 3:10am UTC](https://discuss.elastic.co/t/doubts-apm-and-its-inner-guts/297657 "2022-02-22T03:10:36Z")

</div>

Hi, I have few questions about how APM flushes data to remote APM server and data format itself. I have a .net Core app, which is instrumented with APM Public API, APM is configured to send directly send data to APM se…

---

## [Max spans has been reached](https://discuss.elastic.co/t/max-spans-has-been-reached/297357)

<div class="topic-metadata">

**Author:** [@scroodj](https://discuss.elastic.co/u/scroodj)\
**Replies:** 6\
**Last updated:** [February 18, 2022, 9:23am UTC](https://discuss.elastic.co/t/max-spans-has-been-reached/297357 "2022-02-18T09:23:17Z")

</div>

Kibana version: 7.17.0 Elasticsearch version: 7.17.0 APM Server version: 7.17.0 APM Agent language and version: Java 8, agent version 1.28.4 Description of the problem: Nomatter that value (up to 2147483647) i put i…

---

## [Incomplete/duplicated trace in transaction](https://discuss.elastic.co/t/incomplete-duplicated-trace-in-transaction/296936)

<div class="topic-metadata">

**Author:** [@Evaldo\_Neto](https://discuss.elastic.co/u/Evaldo_Neto)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 2:51am UTC](https://discuss.elastic.co/t/incomplete-duplicated-trace-in-transaction/296936 "2022-02-17T02:51:00Z")

</div>

Kibana version: 7.16.3 Elasticsearch version: 7.16.3 APM Server version: 7.16.3 APM Agent language and version: java 1.29.0 Browser version: irrelevant Original install method (e.g. download page, yum, deb, from so…

---

## [Does node APM agent supports grpc framework](https://discuss.elastic.co/t/does-node-apm-agent-supports-grpc-framework/297055)

<div class="topic-metadata">

**Author:** [@vinodmb](https://discuss.elastic.co/u/vinodmb)\
**Replies:** 3\
**Last updated:** [February 16, 2022, 7:22pm UTC](https://discuss.elastic.co/t/does-node-apm-agent-supports-grpc-framework/297055 "2022-02-16T19:22:55Z")

</div>

I am trying to integrate elastic apm in my node application, we are using express for http endpoints and grpc for service to service communication. I am able to see transactions for http calls but there is no transaction…

---

## [Unable to see APM agent data on Kibana UI](https://discuss.elastic.co/t/unable-to-see-apm-agent-data-on-kibana-ui/297236)

<div class="topic-metadata">

**Author:** [@Neha\_goswami](https://discuss.elastic.co/u/Neha_goswami)\
**Replies:** 2\
**Last updated:** [February 16, 2022, 5:22am UTC](https://discuss.elastic.co/t/unable-to-see-apm-agent-data-on-kibana-ui/297236 "2022-02-16T05:22:25Z")

</div>

ES version : 7.16.2 APM Server version: 7.16.2 Java Agent Version : 1.28.4 (elastic-apm-agent-1.28.4.jar) We are trying to push data from APM Agent, The APM server shows data is getting published on Elasticsearch : {…

---

## [Dependencies "an error happened when trying to fetch data"](https://discuss.elastic.co/t/dependencies-an-error-happened-when-trying-to-fetch-data/296954)

<div class="topic-metadata">

**Author:** [@Bevaldss](https://discuss.elastic.co/u/Bevaldss)\
**Replies:** 4\
**Last updated:** [February 15, 2022, 9:19am UTC](https://discuss.elastic.co/t/dependencies-an-error-happened-when-trying-to-fetch-data/296954 "2022-02-15T09:19:29Z")

</div>

APM Server version: 7.16 APM Agent language and version: dotnet 1.8.0+8605545e8cbc5b7d68941354a22099a9c43a4aca Browser version: Same problem with Chrome 98.0.4758.82 as with MS Edge 98.0.1108.43 and also same with F…

---

## [Choosing Elastic APM](https://discuss.elastic.co/t/choosing-elastic-apm/297208)

<div class="topic-metadata">

**Author:** [@Shoeb\_Chowdhury](https://discuss.elastic.co/u/Shoeb_Chowdhury)\
**Replies:** 0\
**Last updated:** [February 15, 2022, 4:22am UTC](https://discuss.elastic.co/t/choosing-elastic-apm/297208 "2022-02-15T04:22:02Z")

</div>

Which top 3 benefits do you want to mention for choosing Elastic AMP over its competitors? Can I optimize licensing costs using the transaction sampling rate feature? What are the major drawbacks of using this feature? …

---

## [Question about the statistics of Transaction Latency](https://discuss.elastic.co/t/question-about-the-statistics-of-transaction-latency/296941)

<div class="topic-metadata">

**Author:** [@wo7387196](https://discuss.elastic.co/u/wo7387196)\
**Replies:** 3\
**Last updated:** [February 14, 2022, 5:58am UTC](https://discuss.elastic.co/t/question-about-the-statistics-of-transaction-latency/296941 "2022-02-14T05:58:49Z")

</div>

why the Latency is the 50+ us , but not the third span end time 164us, I'm more concerned about the longest Latency 。

---

## [How to recreate APM indexes in elastic?](https://discuss.elastic.co/t/how-to-recreate-apm-indexes-in-elastic/296961)

<div class="topic-metadata">

**Author:** [@GHostlyFOX](https://discuss.elastic.co/u/GHostlyFOX)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 2:12am UTC](https://discuss.elastic.co/t/how-to-recreate-apm-indexes-in-elastic/296961 "2022-02-14T02:12:26Z")

</div>

How to recreate APM indexes in elastic?

---

## [Node.JS process metrics like GC not getting captured by APM agent](https://discuss.elastic.co/t/node-js-process-metrics-like-gc-not-getting-captured-by-apm-agent/295344)

<div class="topic-metadata">

**Author:** [@satpreetsn](https://discuss.elastic.co/u/satpreetsn)\
**Replies:** 7\
**Last updated:** [February 11, 2022, 6:48pm UTC](https://discuss.elastic.co/t/node-js-process-metrics-like-gc-not-getting-captured-by-apm-agent/295344 "2022-02-11T18:48:58Z")

</div>

Hey, i have integrated the ELK apm to my Node Js application. I see the request calls, latency, throughput but i do not see any metric related to event loops and GC unlike i can see it incase of Java applications on Kib…

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

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