# APM

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

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

**Page:** 25

---

## [APM error on Kubernetes minikube local cluster](https://discuss.elastic.co/t/apm-error-on-kubernetes-minikube-local-cluster/326811)

<div class="topic-metadata">

**Author:** [@thiago.silva](https://discuss.elastic.co/u/thiago.silva)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:33pm UTC](https://discuss.elastic.co/t/apm-error-on-kubernetes-minikube-local-cluster/326811 "2023-04-24T15:33:30Z")

</div>

I encountered an issue while setting up APM server for Elasticsearch and Kibana. The error message indicates that APM server failed to import Kibana index patterns due to a 403 Forbidden error. I have tried troubleshooti…

---

## [Prometheus compatible metrics](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988)

<div class="topic-metadata">

**Author:** [@Maksym\_Postument](https://discuss.elastic.co/u/Maksym_Postument)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:17pm UTC](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988 "2023-04-24T15:17:44Z")

</div>

Is there a way to expose apm metrics in prometheus compatible format? Kibana version: 8.6.0 Elasticsearch version: 8.6.0 APM Server version: 8.6.0 APM Agent language and version: otel Browser version: Original inst…

---

## [Apm-server installation without fleet server in single node](https://discuss.elastic.co/t/apm-server-installation-without-fleet-server-in-single-node/330600)

<div class="topic-metadata">

**Author:** [@lalchand\_rajak](https://discuss.elastic.co/u/lalchand_rajak)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 3:11pm UTC](https://discuss.elastic.co/t/apm-server-installation-without-fleet-server-in-single-node/330600 "2023-04-24T15:11:43Z")

</div>

Can we install the APM server version 8.7 without fleet server in single node...? if yes, does it require to have internet access to install and integrate with apm-server. Because I have been trying to install the fleet …

---

## [No Tests Found! when using --dry-run](https://discuss.elastic.co/t/no-tests-found-when-using-dry-run/330458)

<div class="topic-metadata">

**Author:** [@spaulovich](https://discuss.elastic.co/u/spaulovich)\
**Replies:** 4\
**Last updated:** [April 24, 2023, 1:34pm UTC](https://discuss.elastic.co/t/no-tests-found-when-using-dry-run/330458 "2023-04-24T13:34:08Z")

</div>

npx @elastic/synthetics . --dry-run results in "No tests found!" Omitting the --dry-run param, my journey ran locally without issue. CLI --help says, --dry-run don't actually execute anything, report only registered j…

---

## [Can PHP elastic agent send custom message to APM service asynchronously?](https://discuss.elastic.co/t/can-php-elastic-agent-send-custom-message-to-apm-service-asynchronously/330344)

<div class="topic-metadata">

**Author:** [@JasonREC](https://discuss.elastic.co/u/JasonREC)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 3:10am UTC](https://discuss.elastic.co/t/can-php-elastic-agent-send-custom-message-to-apm-service-asynchronously/330344 "2023-04-21T03:10:09Z")

</div>

I got 2 questions that confused me I wonder if in the latest version of PHP apm agent, I can send custom message to APM server. like captureError, setContext which is nodeJS APM agent able to do In some case, there…

---

## [DB Span Stacktrace reporting wrong filename](https://discuss.elastic.co/t/db-span-stacktrace-reporting-wrong-filename/329485)

<div class="topic-metadata">

**Author:** [@AbhijithCV](https://discuss.elastic.co/u/AbhijithCV)\
**Replies:** 5\
**Last updated:** [April 18, 2023, 9:38am UTC](https://discuss.elastic.co/t/db-span-stacktrace-reporting-wrong-filename/329485 "2023-04-18T09:38:16Z")

</div>

Kibana version: 8.1.2 Elasticsearch version: 8.1.2 APM Server version: 8.1.2 APM Agent language and version: dotnet agent version: 1.18.0 I was doing profiler auto instrumentation of a netcoreapp3.1 application : Co…

---

## [Unable to load APM Errors due to new error: Fielddata is disabled on \[error.grouping\_key\]](https://discuss.elastic.co/t/unable-to-load-apm-errors-due-to-new-error-fielddata-is-disabled-on-error-grouping-key/329460)

<div class="topic-metadata">

**Author:** [@pocketcolin](https://discuss.elastic.co/u/pocketcolin)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 3:43pm UTC](https://discuss.elastic.co/t/unable-to-load-apm-errors-due-to-new-error-fielddata-is-disabled-on-error-grouping-key/329460 "2023-04-17T15:43:53Z")

</div>

I realize there are a fair number of other topics with a very similar error, but this feels different due to the fact that it's the Observability APM that is triggering this exception. I just went to my APM in Elastic Cl…

---

## [RUM js agent - Failed transaction rate is "N/A" for different transaction types](https://discuss.elastic.co/t/rum-js-agent-failed-transaction-rate-is-n-a-for-different-transaction-types/329318)

<div class="topic-metadata">

**Author:** [@dacothe](https://discuss.elastic.co/u/dacothe)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 12:09pm UTC](https://discuss.elastic.co/t/rum-js-agent-failed-transaction-rate-is-n-a-for-different-transaction-types/329318 "2023-04-17T12:09:20Z")

</div>

Kibana version: 7.16.3 Elasticsearch version: 7.16.3 APM Server version: 7.16.3 APM Agent language and version: @elastic/apm-rum:5.12 Browser version: Chrome 110.0.5481.100 Hi all, We have recently started using th…

---

## [Elastic.Apm.StackExchange.Redis for IDistributedCache?](https://discuss.elastic.co/t/elastic-apm-stackexchange-redis-for-idistributedcache/328581)

<div class="topic-metadata">

**Author:** [@ThorstenKraus](https://discuss.elastic.co/u/ThorstenKraus)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 9:42am UTC](https://discuss.elastic.co/t/elastic-apm-stackexchange-redis-for-idistributedcache/328581 "2023-04-17T09:42:04Z")

</div>

Hello, in our project, we use the Microsoft.Extensions.Caching.Distributed package for configuring the Redis cache like shown in this code snippet: services.AddStackExchangeRedisCache(options =\> { options.Configurati…

---

## [How do you add different services to APM Service Groups?](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005)

<div class="topic-metadata">

**Author:** [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Replies:** 3\
**Last updated:** [April 14, 2023, 2:56pm UTC](https://discuss.elastic.co/t/how-do-you-add-different-services-to-apm-service-groups/330005 "2023-04-14T14:56:35Z")

</div>

How do you add different services to APM Service Groups when they dont have matching terms in the naming convention for the query ? Bit pointless when you cant select the services and that they all need to be the result…

---

## [APM Server not working](https://discuss.elastic.co/t/apm-server-not-working/329855)

<div class="topic-metadata">

**Author:** [@Ruben\_Marinho](https://discuss.elastic.co/u/Ruben_Marinho)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 2:17pm UTC](https://discuss.elastic.co/t/apm-server-not-working/329855 "2023-04-13T14:17:27Z")

</div>

Hi, I'm having issues with APM. I start some transactions using Agent.Tracer.StartTransaction("test", "xhr\_test"); and close it using the End method. I make over 100 calls but the transactions don't appear on APM. I…

---

## [Full tracing with response times per class instead of Service only](https://discuss.elastic.co/t/full-tracing-with-response-times-per-class-instead-of-service-only/329744)

<div class="topic-metadata">

**Author:** [@dannystommen](https://discuss.elastic.co/u/dannystommen)\
**Replies:** 2\
**Last updated:** [April 12, 2023, 6:03am UTC](https://discuss.elastic.co/t/full-tracing-with-response-times-per-class-instead-of-service-only/329744 "2023-04-12T06:03:17Z")

</div>

Hi, When looking at traces, I can see exactly which APIs are slowing down requests when having a chain of API calls. So for example, Service A \> Service B \> Service C. I can see how many time the request spent in Servi…

---

## [How to send error message to Elastic APM and show the error in Kibana tab](https://discuss.elastic.co/t/how-to-send-error-message-to-elastic-apm-and-show-the-error-in-kibana-tab/329183)

<div class="topic-metadata">

**Author:** [@JasonREC](https://discuss.elastic.co/u/JasonREC)\
**Replies:** 8\
**Last updated:** [April 11, 2023, 6:31pm UTC](https://discuss.elastic.co/t/how-to-send-error-message-to-elastic-apm-and-show-the-error-in-kibana-tab/329183 "2023-04-11T18:31:58Z")

</div>

I followed the set up of this page I am using the template.yml to set up my lambda function and Elastic APM ... Resources: yourLambdaFunction: Type: AWS::Serverless::Function Properties: ... Envi…

---

## [What contributes to APM Failure rate?](https://discuss.elastic.co/t/what-contributes-to-apm-failure-rate/329165)

<div class="topic-metadata">

**Author:** [@Ivan\_Hosea](https://discuss.elastic.co/u/Ivan_Hosea)\
**Replies:** 5\
**Last updated:** [April 11, 2023, 1:30pm UTC](https://discuss.elastic.co/t/what-contributes-to-apm-failure-rate/329165 "2023-04-11T13:30:57Z")

</div>

Hi, I would like to ask what is the failure rate in APM services stands for? I have read the documentation that suggest that the it is based on event.outcome / the status code / and the errors if there are no status cod…

---

## [Missing transactions in the traceview after a call to DAPR](https://discuss.elastic.co/t/missing-transactions-in-the-traceview-after-a-call-to-dapr/329578)

<div class="topic-metadata">

**Author:** [@Daniel\_Khoroshko](https://discuss.elastic.co/u/Daniel_Khoroshko)\
**Replies:** 3\
**Last updated:** [April 10, 2023, 8:59pm UTC](https://discuss.elastic.co/t/missing-transactions-in-the-traceview-after-a-call-to-dapr/329578 "2023-04-10T20:59:12Z")

</div>

As you can see the trace consists of many transactions: However when I open the first transaction I can see the trace chart not showing all the transactions, but just one of them What could be the reason for such…

---

## [Custom Stacktrace for Transaction](https://discuss.elastic.co/t/custom-stacktrace-for-transaction/329160)

<div class="topic-metadata">

**Author:** [@AbhijithCV](https://discuss.elastic.co/u/AbhijithCV)\
**Replies:** 2\
**Last updated:** [April 10, 2023, 6:22am UTC](https://discuss.elastic.co/t/custom-stacktrace-for-transaction/329160 "2023-04-10T06:22:31Z")

</div>

Elasticsearch version: v8.1.2 APM Agent language and version: dotnet Agent v1.18.0 Hi, I have a requirement for fetching details of every function calls happened during execution of one transaction. The way I am curre…

---

## [APM Java Agent log\_sending=true with multiple appenders](https://discuss.elastic.co/t/apm-java-agent-log-sending-true-with-multiple-appenders/328378)

<div class="topic-metadata">

**Author:** [@SimonS1](https://discuss.elastic.co/u/SimonS1)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 12:48pm UTC](https://discuss.elastic.co/t/apm-java-agent-log-sending-true-with-multiple-appenders/328378 "2023-04-06T12:48:24Z")

</div>

Hi Elastic We are using the APM Java Agent (apm-agent-attach:1.36.0) for a Spring Boot application. We have set the log\_sending to true. The logs are sent to the APM Server and are visible in the Kibana. Everything work…

---

## [How to get started with Elastic APM?](https://discuss.elastic.co/t/how-to-get-started-with-elastic-apm/328124)

<div class="topic-metadata">

**Author:** [@Shoeb\_Masum](https://discuss.elastic.co/u/Shoeb_Masum)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 12:09pm UTC](https://discuss.elastic.co/t/how-to-get-started-with-elastic-apm/328124 "2023-04-06T12:09:52Z")

</div>

I want to explore Elastic APM to be used in some of our IT applications. The plan is to go with the free version of the self-managed Elastic APM. I learned four components of the Elastic APM solution - APM agents, APM Se…

---

## [Database connection](https://discuss.elastic.co/t/database-connection/329309)

<div class="topic-metadata">

**Author:** [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Replies:** 5\
**Last updated:** [April 5, 2023, 2:33pm UTC](https://discuss.elastic.co/t/database-connection/329309 "2023-04-05T14:33:23Z")

</div>

Good morning, I have a database with differents instances but in the service map it shows according to the server, that is the same. Is it possible define something to the connections according to server+instance? I th…

---

## [Remove traceparent header from http request](https://discuss.elastic.co/t/remove-traceparent-header-from-http-request/329005)

<div class="topic-metadata">

**Author:** [@SleepyF0X](https://discuss.elastic.co/u/SleepyF0X)\
**Replies:** 1\
**Last updated:** [April 5, 2023, 7:32am UTC](https://discuss.elastic.co/t/remove-traceparent-header-from-http-request/329005 "2023-04-05T07:32:57Z")

</div>

Hello, I have a need in one place where I create an HttpClient and send requests, remove the "traceparent", "tracestate" headers, in other places I want to keep them. I tried removing them via DefaultRequestHeaders and …

---

## [Using legacy setup after upgrading Elasticsearch to 8.X](https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350)

<div class="topic-metadata">

**Author:** [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 6:09pm UTC](https://discuss.elastic.co/t/using-legacy-setup-after-upgrading-elasticsearch-to-8-x/329350 "2023-04-04T18:09:51Z")

</div>

Hi, My current self-managed setup on v7.9.2 (all parts) looks like this: Custom APM agents (hundreds) --\> load balancer --\> APM servers --\> Kafka for MQ --\> Logstash servers --\> Elasticsearch servers I upgraded a deve…

---

## [Current transaction carried over ExecutionService](https://discuss.elastic.co/t/current-transaction-carried-over-executionservice/328959)

<div class="topic-metadata">

**Author:** [@OrangeDog](https://discuss.elastic.co/u/OrangeDog)\
**Replies:** 3\
**Last updated:** [April 4, 2023, 2:42pm UTC](https://discuss.elastic.co/t/current-transaction-carried-over-executionservice/328959 "2023-04-04T14:42:07Z")

</div>

I have a Spring Boot application using APM Agent 1.36.0. A request submits a job to an executor and returns immediately. The relevant code looks like: private ExecutorService executor = Executors.newSingleThreadExecuto…

---

## [\[apm\] Question to event.outcome relationship between transaction and span](https://discuss.elastic.co/t/apm-question-to-event-outcome-relationship-between-transaction-and-span/328363)

<div class="topic-metadata">

**Author:** [@dacothe](https://discuss.elastic.co/u/dacothe)\
**Replies:** 2\
**Last updated:** [April 4, 2023, 7:20am UTC](https://discuss.elastic.co/t/apm-question-to-event-outcome-relationship-between-transaction-and-span/328363 "2023-04-04T07:20:04Z")

</div>

Kibana version: 7.16.3 Elasticsearch version: 7.16.3 APM Server version: 7.16.3 APM Agent language and version: Java 1.30 Browser version: Chrome 110.0.5481.100 Original install method (e.g. download page, yum, deb…

---

## [No services found in kibana services tab](https://discuss.elastic.co/t/no-services-found-in-kibana-services-tab/329001)

<div class="topic-metadata">

**Author:** [@APandey](https://discuss.elastic.co/u/APandey)\
**Replies:** 5\
**Last updated:** [April 4, 2023, 2:43am UTC](https://discuss.elastic.co/t/no-services-found-in-kibana-services-tab/329001 "2023-04-04T02:43:56Z")

</div>

Hi everyone, I have upgraded the ELK stack on my server from version 8.1.1 to 8.6.2. After upgrading when I went to see the services running in Kibana, no services were visible there also in traces tab no traces were co…

---

## ["timestamp.us" field in Elastic APM Delay](https://discuss.elastic.co/t/timestamp-us-field-in-elastic-apm-delay/329053)

<div class="topic-metadata">

**Author:** [@Namita\_Jaokar](https://discuss.elastic.co/u/Namita_Jaokar)\
**Replies:** 3\
**Last updated:** [April 3, 2023, 8:10am UTC](https://discuss.elastic.co/t/timestamp-us-field-in-elastic-apm-delay/329053 "2023-04-03T08:10:54Z")

</div>

Hi , I am Using Elasticsearch version 8.6.2 with Elastic APM java Agent. While parallelly running 3 to 4 scenarios of my application, it seems the stop-time time of my application does not match the timestamp.us of the…

---

## [ElasticApm class not found after configuration (Laravel)](https://discuss.elastic.co/t/elasticapm-class-not-found-after-configuration-laravel/328759)

<div class="topic-metadata">

**Author:** [@Thiago\_Medeiros](https://discuss.elastic.co/u/Thiago_Medeiros)\
**Replies:** 7\
**Last updated:** [March 31, 2023, 12:18pm UTC](https://discuss.elastic.co/t/elasticapm-class-not-found-after-configuration-laravel/328759 "2023-03-31T12:18:53Z")

</div>

I did what Elastic PHP agent tutorial says and have: elastic\_apm plugin shown in php info :white\_check\_mark: can use ElasticApm class :x: when I import ElasticApm class with use Elastic\\Apm\\ElasticApm I'm getting C…

---

## [Cannot send error to Elastic APM from AWS lambda](https://discuss.elastic.co/t/cannot-send-error-to-elastic-apm-from-aws-lambda/328909)

<div class="topic-metadata">

**Author:** [@JasonREC](https://discuss.elastic.co/u/JasonREC)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 3:06am UTC](https://discuss.elastic.co/t/cannot-send-error-to-elastic-apm-from-aws-lambda/328909 "2023-03-31T03:06:50Z")

</div>

Kibana version: Latest Cloud version Elasticsearch version: Latest Cloud version APM Server version: Latest Cloud version APM Agent language and version:NodeJS I followd exactly this page to do the set up (Monitoring…

---

## [Java agent: Change span name for out of the box db span](https://discuss.elastic.co/t/java-agent-change-span-name-for-out-of-the-box-db-span/328888)

<div class="topic-metadata">

**Author:** [@Ofir\_Edi](https://discuss.elastic.co/u/Ofir_Edi)\
**Replies:** 3\
**Last updated:** [March 30, 2023, 12:02pm UTC](https://discuss.elastic.co/t/java-agent-change-span-name-for-out-of-the-box-db-span/328888 "2023-03-30T12:02:58Z")

</div>

Hi, i'm experimenting with apm java client. I can see that APM automatically detect calls to my mssql database and shows the span inside the transactio. But if i'm trying to change the span's name using the API (code be…

---

## [Synthetic monitoring for url redirect](https://discuss.elastic.co/t/synthetic-monitoring-for-url-redirect/328615)

<div class="topic-metadata">

**Author:** [@rahul\_sirugudi](https://discuss.elastic.co/u/rahul_sirugudi)\
**Replies:** 1\
**Last updated:** [March 27, 2023, 1:32pm UTC](https://discuss.elastic.co/t/synthetic-monitoring-for-url-redirect/328615 "2023-03-27T13:32:53Z")

</div>

I am trying to configure synthetic monitoring for my website, but for some reason it is not working. This is my scenario. step 1: hit the url for suppose say (https://example.com) step 2: this https://example.com will…

---

## [Elastic cloud with APM monitoring Weblogic java application](https://discuss.elastic.co/t/elastic-cloud-with-apm-monitoring-weblogic-java-application/328447)

<div class="topic-metadata">

**Author:** [@Fr3ddy](https://discuss.elastic.co/u/Fr3ddy)\
**Replies:** 5\
**Last updated:** [March 27, 2023, 9:37am UTC](https://discuss.elastic.co/t/elastic-cloud-with-apm-monitoring-weblogic-java-application/328447 "2023-03-27T09:37:13Z")

</div>

Hi, We are doing a proof of concept with elastic APM to monitor a weblogic 12.2.1.3 server with java 8. It runs a java enterprise application. We have set it up with the elastic-apm-agent-1.36.0.jar as a startup parame…

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

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