# Elastic Observability

**URL:** https://discuss.elastic.co/c/observability/82.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 Server transport error (ECONNREFUSED): connect ECONNREFUSED ::1:8200" when trying to configure APM agent in application code](https://discuss.elastic.co/t/apm-server-transport-error-econnrefused-connect-econnrefused-8200-when-trying-to-configure-apm-agent-in-application-code/326236)

<div class="topic-metadata">

**Author:** [@Matt\_Johnston](https://discuss.elastic.co/u/Matt_Johnston)\
**Replies:** 8\
**Last updated:** [February 23, 2023, 3:43pm UTC](https://discuss.elastic.co/t/apm-server-transport-error-econnrefused-connect-econnrefused-8200-when-trying-to-configure-apm-agent-in-application-code/326236 "2023-02-23T15:43:48Z")

</div>

I am trying to configure an APM agent in my nodejs application code. I have installed the APM agent using the following command: npm install elastic-apm-node --save I then updated my application code using the followin…

---

## [Add AWS EKS Cluster name dynamically to metrics/logs collection via fleet agent](https://discuss.elastic.co/t/add-aws-eks-cluster-name-dynamically-to-metrics-logs-collection-via-fleet-agent/326341)

<div class="topic-metadata">

**Author:** [@ekane\_bksy](https://discuss.elastic.co/u/ekane_bksy)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 3:41pm UTC](https://discuss.elastic.co/t/add-aws-eks-cluster-name-dynamically-to-metrics-logs-collection-via-fleet-agent/326341 "2023-02-23T15:41:04Z")

</div>

How to configure elastic-agent dynamically with AWS EKS cluster name to metrics and logs forwarded to ElasticCloud? Documentation details configuring ElasticCloud side with processor. What method can be used on agent-si…

---

## [APM Logs page returns logs for the previously chosen environment](https://discuss.elastic.co/t/apm-logs-page-returns-logs-for-the-previously-chosen-environment/324830)

<div class="topic-metadata">

**Author:** [@Savva\_Morozov](https://discuss.elastic.co/u/Savva_Morozov)\
**Replies:** 1\
**Last updated:** [February 23, 2023, 2:35pm UTC](https://discuss.elastic.co/t/apm-logs-page-returns-logs-for-the-previously-chosen-environment/324830 "2023-02-23T14:35:53Z")

</div>

Hello! Last Thursday I updated Elastic Stack on Cloud up to the version 8.6.1 (from 8.4.1) and I did the same to Metricbeat and Filebeat (from 7.17.6). Everything looked fine after the update but today I discovered that …

---

## [Want to get interface classes for the current transaction](https://discuss.elastic.co/t/want-to-get-interface-classes-for-the-current-transaction/326307)

<div class="topic-metadata">

**Author:** [@sarthik](https://discuss.elastic.co/u/sarthik)\
**Replies:** 3\
**Last updated:** [February 23, 2023, 2:01pm UTC](https://discuss.elastic.co/t/want-to-get-interface-classes-for-the-current-transaction/326307 "2023-02-23T14:01:34Z")

</div>

I need to get the name of the interface classes for every transaction in the stack trace. In the current way, I am using Thread.getAllStackTraces() , but not able to getInterfaces() as it always gives the return as jav…

---

## [Trying to install integration APM gives '404 Not Found'](https://discuss.elastic.co/t/trying-to-install-integration-apm-gives-404-not-found/324748)

<div class="topic-metadata">

**Author:** [@benzok](https://discuss.elastic.co/u/benzok)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 12:56pm UTC](https://discuss.elastic.co/t/trying-to-install-integration-apm-gives-404-not-found/324748 "2023-02-23T12:56:15Z")

</div>

Kibana version: 8.6.1 Elasticsearch version: 8.6.1 Original install method (e.g. download page, yum, deb, from source, etc.) and version: docker-compose Fresh install or upgraded from other version? Fresh Is there an…

---

## [Database span/traces not visible on Integrated APM 7.17 ( Kibana 7.17, Elastic 7.17)](https://discuss.elastic.co/t/database-span-traces-not-visible-on-integrated-apm-7-17-kibana-7-17-elastic-7-17/326322)

<div class="topic-metadata">

**Author:** [@ASB50504](https://discuss.elastic.co/u/ASB50504)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 12:22pm UTC](https://discuss.elastic.co/t/database-span-traces-not-visible-on-integrated-apm-7-17-kibana-7-17-elastic-7-17/326322 "2023-02-23T12:22:21Z")

</div>

Kibana version: 7.17 Elasticsearch version: 7.17 APM Server version: 7.17 APM Agent language and version: Not agent specific (happening for NodeJS,Python,Java) Browser version: Safari 16.2 Original install method (e…

---

## [Show duration of distributed trace in dashboard](https://discuss.elastic.co/t/show-duration-of-distributed-trace-in-dashboard/326281)

<div class="topic-metadata">

**Author:** [@Rick\_V](https://discuss.elastic.co/u/Rick_V)\
**Replies:** 0\
**Last updated:** [February 23, 2023, 8:29am UTC](https://discuss.elastic.co/t/show-duration-of-distributed-trace-in-dashboard/326281 "2023-02-23T08:29:41Z")

</div>

Hi, I want to show the average duration of a distributed transaction in a dashboard, I would want to sum the duration of the different traces that are held together by the trace id, and then take the average of all dist…

---

## [Puma observability for elastic-apm-ruby](https://discuss.elastic.co/t/puma-observability-for-elastic-apm-ruby/326103)

<div class="topic-metadata">

**Author:** [@brightredchilli](https://discuss.elastic.co/u/brightredchilli)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 3:38am UTC](https://discuss.elastic.co/t/puma-observability-for-elastic-apm-ruby/326103 "2023-02-23T03:38:42Z")

</div>

Hi, I'm running a Rails app with Puma that uses the elastic-apm-ruby agent. Looking at the startup code for the elastic agent, it looks like it gets inserted at the top of the middleware stack, but looking at puma implem…

---

## [APM Java Agent Ignore Error](https://discuss.elastic.co/t/apm-java-agent-ignore-error/325563)

<div class="topic-metadata">

**Author:** [@Ivan\_Hosea](https://discuss.elastic.co/u/Ivan_Hosea)\
**Replies:** 17\
**Last updated:** [February 23, 2023, 3:08am UTC](https://discuss.elastic.co/t/apm-java-agent-ignore-error/325563 "2023-02-23T03:08:59Z")

</div>

APM Agent language and version: 1.36 Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): I was wondering if there is any way to filter out specific error cod…

---

## [Anomaly Detection Assistance](https://discuss.elastic.co/t/anomaly-detection-assistance/326004)

<div class="topic-metadata">

**Author:** [@tr78](https://discuss.elastic.co/u/tr78)\
**Replies:** 6\
**Last updated:** [February 22, 2023, 8:50pm UTC](https://discuss.elastic.co/t/anomaly-detection-assistance/326004 "2023-02-22T20:50:37Z")

</div>

Kibana version: 8.6.1 (ECK) Elasticsearch version: 8.6.1 (ECK) APM Server version: Fleet 8.6.1 (ECK) APM Agent language and version: Browser version: Chrome 110.0.5481.104 Original install method (e.g. download …

---

## [Elasticsearch monitoring with metricbeat not working as expected](https://discuss.elastic.co/t/elasticsearch-monitoring-with-metricbeat-not-working-as-expected/326088)

<div class="topic-metadata">

**Author:** [@ramdas](https://discuss.elastic.co/u/ramdas)\
**Replies:** 3\
**Last updated:** [February 22, 2023, 5:57pm UTC](https://discuss.elastic.co/t/elasticsearch-monitoring-with-metricbeat-not-working-as-expected/326088 "2023-02-22T17:57:29Z")

</div>

Hi, i am using metricbeat for elasticsearch monitoring and the monitoring indexes are created with pattern like .ds-.monitoring-es-8-mb-\* and i can see data is also coming in. however when i go to stack monitoring it sa…

---

## [Synthetics push command issues](https://discuss.elastic.co/t/synthetics-push-command-issues/325650)

<div class="topic-metadata">

**Author:** [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Replies:** 5\
**Last updated:** [February 22, 2023, 11:53am UTC](https://discuss.elastic.co/t/synthetics-push-command-issues/325650 "2023-02-22T11:53:21Z")

</div>

Hi All, I'm testing out the npx @elastic/synthetics push command, but I'm running into a few issues, and was wondering if anyone has any ideas on how to fix them. Push command doesn't respect NodeJS TLS settings. I h…

---

## [Synthetic integration](https://discuss.elastic.co/t/synthetic-integration/325754)

<div class="topic-metadata">

**Author:** [@kumar\_v](https://discuss.elastic.co/u/kumar_v)\
**Replies:** 1\
**Last updated:** [February 22, 2023, 9:50am UTC](https://discuss.elastic.co/t/synthetic-integration/325754 "2023-02-22T09:50:16Z")

</div>

I have done synthetic integration with the elastic agent running in web servers. Set alerts about the ping response and tls certificates expiry dates. As the certs was approaching the expiry, updated the certs in the loa…

---

## [Dashboards - Best Practices and Thoughts for Elastic's Observability Team](https://discuss.elastic.co/t/dashboards-best-practices-and-thoughts-for-elastics-observability-team/326078)

<div class="topic-metadata">

**Author:** [@mgevans](https://discuss.elastic.co/u/mgevans)\
**Replies:** 1\
**Last updated:** [February 22, 2023, 12:07am UTC](https://discuss.elastic.co/t/dashboards-best-practices-and-thoughts-for-elastics-observability-team/326078 "2023-02-22T00:07:03Z")

</div>

//this article is written as part of a response to github issue on dashboards which is tracking what do to with time-series data on single digit wigets. Dashboards! Why do dashboards exist In Observability? Dashboards…

---

## [How to obtain an OpenTelemetry reference to use to manually instrument code?](https://discuss.elastic.co/t/how-to-obtain-an-opentelemetry-reference-to-use-to-manually-instrument-code/325884)

<div class="topic-metadata">

**Author:** [@daniel\_purdew](https://discuss.elastic.co/u/daniel_purdew)\
**Replies:** 6\
**Last updated:** [February 21, 2023, 10:06pm UTC](https://discuss.elastic.co/t/how-to-obtain-an-opentelemetry-reference-to-use-to-manually-instrument-code/325884 "2023-02-21T22:06:24Z")

</div>

Hello, I'm using 1.36.0 of the apm java agent against 7.17.9 apm server. My app has manually instrumented code that I want to integrate with the apm traces. Previously when using opentracing, I did this via just making…

---

## [How to customize labels for Services？](https://discuss.elastic.co/t/how-to-customize-labels-for-services/326040)

<div class="topic-metadata">

**Author:** [@OMG](https://discuss.elastic.co/u/OMG)\
**Replies:** 1\
**Last updated:** [February 21, 2023, 1:11pm UTC](https://discuss.elastic.co/t/how-to-customize-labels-for-services/326040 "2023-02-21T13:11:20Z")

</div>

In the "ElastiFlow: Overview", "ElastiFlow: Top Talkers" and other interfaces have services display modules, the well-known TCP or UDP connection has been translated into the corresponding service name, I want to add a p…

---

## [How to start and end transaction in python aws lambda function , also how to add labels between transaction](https://discuss.elastic.co/t/how-to-start-and-end-transaction-in-python-aws-lambda-function-also-how-to-add-labels-between-transaction/324320)

<div class="topic-metadata">

**Author:** [@Pratiksha\_Nagoshe](https://discuss.elastic.co/u/Pratiksha_Nagoshe)\
**Replies:** 16\
**Last updated:** [February 21, 2023, 4:21am UTC](https://discuss.elastic.co/t/how-to-start-and-end-transaction-in-python-aws-lambda-function-also-how-to-add-labels-between-transaction/324320 "2023-02-21T04:21:16Z")

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

---

## [Kibana 8.6.2-1 cannot create APM indices on ElasticSearch 8.6.2-1](https://discuss.elastic.co/t/kibana-8-6-2-1-cannot-create-apm-indices-on-elasticsearch-8-6-2-1/325877)

<div class="topic-metadata">

**Author:** [@Christopher\_Cheng](https://discuss.elastic.co/u/Christopher_Cheng)\
**Replies:** 1\
**Last updated:** [February 20, 2023, 4:40pm UTC](https://discuss.elastic.co/t/kibana-8-6-2-1-cannot-create-apm-indices-on-elasticsearch-8-6-2-1/325877 "2023-02-20T16:40:48Z")

</div>

I have installed a fresh CentOS 7, Elasticsearch 8.6.2-1, Kibana 8.6.2-1, APM 8.6.2-1 After I logged in to Kibana with the user "elastic" (superuser), I went to "Observability" \> "APM" \> "Services" \> "Settings" \> "Indi…

---

## [Java APM : Public API + JDBC Driver](https://discuss.elastic.co/t/java-apm-public-api-jdbc-driver/325960)

<div class="topic-metadata">

**Author:** [@jlannoy](https://discuss.elastic.co/u/jlannoy)\
**Replies:** 4\
**Last updated:** [February 20, 2023, 4:05pm UTC](https://discuss.elastic.co/t/java-apm-public-api-jdbc-driver/325960 "2023-02-20T16:05:18Z")

</div>

Hello. I'm trying to set up APM agent for a Java application. The application is using an Undertow server with HTTP handlers (that means, without the Servlet part of Undertow), which is not supported out of the box. I u…

---

## [How to Install APM Server in Legacy mode without Elastic APM Integration](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724)

<div class="topic-metadata">

**Author:** [@Mikele](https://discuss.elastic.co/u/Mikele)\
**Replies:** 2\
**Last updated:** [February 20, 2023, 11:50am UTC](https://discuss.elastic.co/t/how-to-install-apm-server-in-legacy-mode-without-elastic-apm-integration/325724 "2023-02-20T11:50:05Z")

</div>

I would like to install APM Server in old way so in Legacy. I have few problems with this installation. Could someone explain me two cases: Is it possible to install APM in Legacy mode without this step? Step 2: Set…

---

## [Make a span becomes transaction](https://discuss.elastic.co/t/make-a-span-becomes-transaction/325711)

<div class="topic-metadata">

**Author:** [@Ivan\_Hosea](https://discuss.elastic.co/u/Ivan_Hosea)\
**Replies:** 4\
**Last updated:** [February 20, 2023, 3:04am UTC](https://discuss.elastic.co/t/make-a-span-becomes-transaction/325711 "2023-02-20T03:04:10Z")

</div>

APM Agent language and version: 1.36 Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): I tried to trace a method using this: Core configuration options | A…

---

## [Data not appearing in elasticsearch after being received by APM server](https://discuss.elastic.co/t/data-not-appearing-in-elasticsearch-after-being-received-by-apm-server/325667)

<div class="topic-metadata">

**Author:** [@Marko\_Todoric](https://discuss.elastic.co/u/Marko_Todoric)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 10:00pm UTC](https://discuss.elastic.co/t/data-not-appearing-in-elasticsearch-after-being-received-by-apm-server/325667 "2023-02-18T22:00:36Z")

</div>

Kibana version: 8.6.1 Elasticsearch version: 8.6.1 APM Server version: 8.6.1 APM Agent language and version: Java 8 (Elastic APM Agent 1.35 and 1.36) Browser version: Firefox 102.0 (64-bit) Original install met…

---

## [Some alert rules are in error after upgrading Kibana from 7.17 to 8.6](https://discuss.elastic.co/t/some-alert-rules-are-in-error-after-upgrading-kibana-from-7-17-to-8-6/325292)

<div class="topic-metadata">

**Author:** [@polyedre](https://discuss.elastic.co/u/polyedre)\
**Replies:** 1\
**Last updated:** [February 17, 2023, 6:46pm UTC](https://discuss.elastic.co/t/some-alert-rules-are-in-error-after-upgrading-kibana-from-7-17-to-8-6/325292 "2023-02-17T18:46:25Z")

</div>

Since the upgrade of my ELK stack from 7.17 to 8.6, our alert rules of type "Uptime monitor status", "Log threshold" and "Metric threshold" fail with the following message: ResponseError: search\_phase\_execution\_exceptio…

---

## [APM - KafkaProducer is not instrumented](https://discuss.elastic.co/t/apm-kafkaproducer-is-not-instrumented/325741)

<div class="topic-metadata">

**Author:** [@peldan80](https://discuss.elastic.co/u/peldan80)\
**Replies:** 2\
**Last updated:** [February 16, 2023, 5:00pm UTC](https://discuss.elastic.co/t/apm-kafkaproducer-is-not-instrumented/325741 "2023-02-16T17:00:21Z")

</div>

Environment: Java 11 APM agent: v1.36.0 Apache Camel 3.20.1 Kafka client v3.1.1 Scenario: I have a small Apache Camel with Kafka integration. There is a consumer, reading data from one Kafka cluster, writing the sa…

---

## [APM Problems with Entity Framework 5 DB Transactions](https://discuss.elastic.co/t/apm-problems-with-entity-framework-5-db-transactions/325555)

<div class="topic-metadata">

**Author:** [@Klauck](https://discuss.elastic.co/u/Klauck)\
**Replies:** 3\
**Last updated:** [February 16, 2023, 8:09am UTC](https://discuss.elastic.co/t/apm-problems-with-entity-framework-5-db-transactions/325555 "2023-02-16T08:09:12Z")

</div>

I have an APM:7.13.1 setup and using it sucessfully with nodejs. In my asp.net core with entitiy framework 5 solutions I'm am facing a small issue that I'm not seeing the transaction start and commit or rollback. I trie…

---

## [Elastic Helm Charts are not working integrated OOTB in version 8.5.1](https://discuss.elastic.co/t/elastic-helm-charts-are-not-working-integrated-ootb-in-version-8-5-1/325642)

<div class="topic-metadata">

**Author:** [@Enrique\_Carbonell](https://discuss.elastic.co/u/Enrique_Carbonell)\
**Replies:** 3\
**Last updated:** [February 15, 2023, 6:29pm UTC](https://discuss.elastic.co/t/elastic-helm-charts-are-not-working-integrated-ootb-in-version-8-5-1/325642 "2023-02-15T18:29:19Z")

</div>

Kibana version: 8.5.1 Elasticsearch version: 8.5.1 APM Server version: 8.5.1 OpenTelementry Java Agent: 1.22.1 We are using the official Helm Chart to deploy the Elastic Stack on Kubernetes with the following compone…

---

## [Send metricbeat via logstash as datastream](https://discuss.elastic.co/t/send-metricbeat-via-logstash-as-datastream/325628)

<div class="topic-metadata">

**Author:** [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Replies:** 4\
**Last updated:** [February 15, 2023, 4:41pm UTC](https://discuss.elastic.co/t/send-metricbeat-via-logstash-as-datastream/325628 "2023-02-15T16:41:24Z")

</div>

Hi I'm trying to send metricbeat data to logstash then store it as datastream into elasticsearch. I already have an datastream in elasticsearch "metricbeat-8.6.1", in my dashboards I'm using "metricbeat\*" index pattern …

---

## [Unable to edit synthetic monitors because of limited privilege](https://discuss.elastic.co/t/unable-to-edit-synthetic-monitors-because-of-limited-privilege/325384)

<div class="topic-metadata">

**Author:** [@shinki927](https://discuss.elastic.co/u/shinki927)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 7:32pm UTC](https://discuss.elastic.co/t/unable-to-edit-synthetic-monitors-because-of-limited-privilege/325384 "2023-02-14T19:32:00Z")

</div>

Hello, I would like to figure out which privilege is necessary to fully access the monitor management in Uptime. We grant the following privilege according to Elastic doc: Our user is able to create and delete monit…

---

## [OpenTelemetry metrics are not properly shown on Kibana](https://discuss.elastic.co/t/opentelemetry-metrics-are-not-properly-shown-on-kibana/325478)

<div class="topic-metadata">

**Author:** [@nicolas.orbes](https://discuss.elastic.co/u/nicolas.orbes)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 2:46pm UTC](https://discuss.elastic.co/t/opentelemetry-metrics-are-not-properly-shown-on-kibana/325478 "2023-02-14T14:46:43Z")

</div>

Kibana version: 8.6.1 Elasticsearch version: 8.6.1 APM Server version: 8.6.1 OpenTelementry Java Agent: 1.22.1 Original install method (e.g. download page, yum, deb, from source, etc.) and version: We used the docke…

---

## [Elastic Java Client Async APM Transaction](https://discuss.elastic.co/t/elastic-java-client-async-apm-transaction/322986)

<div class="topic-metadata">

**Author:** [@elastic\_rookie](https://discuss.elastic.co/u/elastic_rookie)\
**Replies:** 7\
**Last updated:** [February 14, 2023, 9:01am UTC](https://discuss.elastic.co/t/elastic-java-client-async-apm-transaction/322986 "2023-02-14T09:01:45Z")

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

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

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