# Elastic Observability

**URL:** https://discuss.elastic.co/c/observability/82.md?page=159

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

**Page:** 160

---

## [APM Java Agent :How to declare multiple package name in application\_packages?](https://discuss.elastic.co/t/apm-java-agent-how-to-declare-multiple-package-name-in-application-packages/159129)

<div class="topic-metadata">

**Author:** [@BSP](https://discuss.elastic.co/u/BSP)\
**Replies:** 1\
**Last updated:** [December 3, 2018, 10:39am UTC](https://discuss.elastic.co/t/apm-java-agent-how-to-declare-multiple-package-name-in-application-packages/159129 "2018-12-03T10:39:01Z")

</div>

Are there any option to give multiple package name in application\_packages ? e.g set CATALINA\_OPTS=%CATALINA\_OPTS% -Delastic.apm.application\_packages=org.example.business,org.example.study

---

## [All Spans duration do not add up to corresponding transaction duration](https://discuss.elastic.co/t/all-spans-duration-do-not-add-up-to-corresponding-transaction-duration/158879)

<div class="topic-metadata">

**Author:** [@Sam21](https://discuss.elastic.co/u/Sam21)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 7:24am UTC](https://discuss.elastic.co/t/all-spans-duration-do-not-add-up-to-corresponding-transaction-duration/158879 "2018-12-03T07:24:57Z")

</div>

Hi All, I have installed Java Agent in of the microservice. I have noticed that one of the transaction is taking 1100 ms of time and it has only one span which is taking just 10 ms so how should I know where the remaini…

---

## [There’s no APM index pattern available. To use the Query bar, please choose to import the APM index pattern in the Setup Instructions](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087)

<div class="topic-metadata">

**Author:** [@struct](https://discuss.elastic.co/u/struct)\
**Replies:** 5\
**Last updated:** [November 29, 2018, 9:37pm UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087 "2018-11-29T21:37:09Z")

</div>

I'm getting this alert. Searched this discussion board and found a thread that was closed back in Sep. closed disussion from Sep Tried all things recommended on that thread and nothing works. I apologize for opening …

---

## [Custom transaction names stopped working and warning message](https://discuss.elastic.co/t/custom-transaction-names-stopped-working-and-warning-message/158335)

<div class="topic-metadata">

**Author:** [@Chris\_Blackwell](https://discuss.elastic.co/u/Chris_Blackwell)\
**Replies:** 7\
**Last updated:** [November 30, 2018, 7:03pm UTC](https://discuss.elastic.co/t/custom-transaction-names-stopped-working-and-warning-message/158335 "2018-11-30T19:03:01Z")

</div>

We had apm working in an app, which is built on Lucee CFML (https://lucee.org/) . Which is a scripting language on the JVM. The app runs in tomcat, but because the script engine only exposes a single servlet we need to …

---

## [Agent sends data to APM server but cannot see the service name in APM UI](https://discuss.elastic.co/t/agent-sends-data-to-apm-server-but-cannot-see-the-service-name-in-apm-ui/158909)

<div class="topic-metadata">

**Author:** [@shiv94](https://discuss.elastic.co/u/shiv94)\
**Replies:** 4\
**Last updated:** [November 30, 2018, 4:18pm UTC](https://discuss.elastic.co/t/agent-sends-data-to-apm-server-but-cannot-see-the-service-name-in-apm-ui/158909 "2018-11-30T16:18:55Z")

</div>

I am trying to use APM, configured APM server and Java agent in the same machine as shown in the documentation. apm-server.yml apm-server: host: "localhost:8200" output.elasticsearch: hosts: \["server-1:9200"\] indic…

---

## [APM Java Agent : Unable to start tomcat server getting error "Failed to find Premain-Class manifest attribute"](https://discuss.elastic.co/t/apm-java-agent-unable-to-start-tomcat-server-getting-error-failed-to-find-premain-class-manifest-attribute/158890)

<div class="topic-metadata">

**Author:** [@BSP](https://discuss.elastic.co/u/BSP)\
**Replies:** 4\
**Last updated:** [November 30, 2018, 1:00pm UTC](https://discuss.elastic.co/t/apm-java-agent-unable-to-start-tomcat-server-getting-error-failed-to-find-premain-class-manifest-attribute/158890 "2018-11-30T13:00:15Z")

</div>

Command Line: java -server -showversion -XX:NewRatio=8 -Djava.net.preferIPv4Stack=true -Dintershop.HomeDirectory="C:\\ish710\\710\\intershop-cisetup-sources\\projects\\corporateshop\\build\\server\\local" -Djava.security.auth.l…

---

## [APM-Agent not connecting to APM-Server over HTTPS](https://discuss.elastic.co/t/apm-agent-not-connecting-to-apm-server-over-https/155756)

<div class="topic-metadata">

**Author:** [@TheNmaptomyHeartBeat](https://discuss.elastic.co/u/TheNmaptomyHeartBeat)\
**Replies:** 6\
**Last updated:** [November 9, 2018, 1:55pm UTC](https://discuss.elastic.co/t/apm-agent-not-connecting-to-apm-server-over-https/155756 "2018-11-09T13:55:55Z")

</div>

I have my Elasticsearch server and my APM-Server on in the same server. My APM-Agent is installed on a separate server, where my application is. The problem is that where the agent is installed the application enforces…

---

## [What is the recommended sampling percentage & RAM](https://discuss.elastic.co/t/what-is-the-recommended-sampling-percentage-ram/158845)

<div class="topic-metadata">

**Author:** [@jaks](https://discuss.elastic.co/u/jaks)\
**Replies:** 2\
**Last updated:** [November 30, 2018, 9:27am UTC](https://discuss.elastic.co/t/what-is-the-recommended-sampling-percentage-ram/158845 "2018-11-30T09:27:31Z")

</div>

Our services serve 300 rpm. I see that APM uses LMAX ring buffer, so what is the recommended sampling percentage. Or if I have 100% sampling what is the overhead I will be getting. Right now our services have max 1 GB m…

---

## [Distributed tracing - HTTP calls are not shown in span](https://discuss.elastic.co/t/distributed-tracing-http-calls-are-not-shown-in-span/158302)

<div class="topic-metadata">

**Author:** [@jaks](https://discuss.elastic.co/u/jaks)\
**Replies:** 12\
**Last updated:** [November 30, 2018, 3:11am UTC](https://discuss.elastic.co/t/distributed-tracing-http-calls-are-not-shown-in-span/158302 "2018-11-30T03:11:46Z")

</div>

When I piloting elastic apm, I found that it is not showing the HTTP calls in the spans. It shows the MySQL queries but not the HTTP calls. I use microservices architecture and there are 50 services which calls other in…

---

## [Alerting slack](https://discuss.elastic.co/t/alerting-slack/158582)

<div class="topic-metadata">

**Author:** [@Tommy\_Cabrelli](https://discuss.elastic.co/u/Tommy_Cabrelli)\
**Replies:** 4\
**Last updated:** [November 29, 2018, 4:59pm UTC](https://discuss.elastic.co/t/alerting-slack/158582 "2018-11-29T16:59:32Z")

</div>

Hello I do use APM to logs all my nodejs errors in ES/Kibana and it works pretty well. Is there a way to use a slack hook to notifiy for instance every errors which have status\_code = 500 ? I found a working slack log…

---

## [Java APM Agent throws ClassNotFoundException in Wildfly](https://discuss.elastic.co/t/java-apm-agent-throws-classnotfoundexception-in-wildfly/158779)

<div class="topic-metadata">

**Author:** [@mdindoffer](https://discuss.elastic.co/u/mdindoffer)\
**Replies:** 3\
**Last updated:** [November 29, 2018, 4:31pm UTC](https://discuss.elastic.co/t/java-apm-agent-throws-classnotfoundexception-in-wildfly/158779 "2018-11-29T16:31:33Z")

</div>

We are using the Java APM agent v1.1.0 for monitoring a webapp in Wildfly 9.0.2.FINAL running on OpenJDK 8. Everything works fine, until the the apm-agent-api is thrown into the mix. Whenever we access the ElasticApm cl…

---

## [APM is not sending](https://discuss.elastic.co/t/apm-is-not-sending/158518)

<div class="topic-metadata">

**Author:** [@oval](https://discuss.elastic.co/u/oval)\
**Replies:** 6\
**Last updated:** [November 29, 2018, 12:22pm UTC](https://discuss.elastic.co/t/apm-is-not-sending/158518 "2018-11-29T12:22:18Z")

</div>

Hey everyone! I have recently installed APM but my agents are not sending data to my APM server. I used the node.js installation, with: npm install elastic-apm-node --save. I have installed a server, and an agent in the…

---

## [Is there support or plan to have Kibana Spaces support?](https://discuss.elastic.co/t/is-there-support-or-plan-to-have-kibana-spaces-support/158418)

<div class="topic-metadata">

**Author:** [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Replies:** 3\
**Last updated:** [November 29, 2018, 10:12am UTC](https://discuss.elastic.co/t/is-there-support-or-plan-to-have-kibana-spaces-support/158418 "2018-11-29T10:12:09Z")

</div>

Basically I want different applications in different spaces. Regards /Johan

---

## [Show hostname or source path](https://discuss.elastic.co/t/show-hostname-or-source-path/158229)

<div class="topic-metadata">

**Author:** [@benpolzin](https://discuss.elastic.co/u/benpolzin)\
**Replies:** 1\
**Last updated:** [November 28, 2018, 6:30pm UTC](https://discuss.elastic.co/t/show-hostname-or-source-path/158229 "2018-11-28T18:30:39Z")

</div>

The new infinite scroll feature of the Logs UI is fantastic! Thanks! I'm finding that I really miss the context of my logs, though. In the Discover view I frequently add hostname or the source path as columns because I …

---

## [Which indexes does the new Infrastructure / Logs feature use?](https://discuss.elastic.co/t/which-indexes-does-the-new-infrastructure-logs-feature-use/157920)

<div class="topic-metadata">

**Author:** [@Matin\_Nayob](https://discuss.elastic.co/u/Matin_Nayob)\
**Replies:** 3\
**Last updated:** [November 28, 2018, 6:26pm UTC](https://discuss.elastic.co/t/which-indexes-does-the-new-infrastructure-logs-feature-use/157920 "2018-11-28T18:26:21Z")

</div>

The new logs feature in Kibana 6.5.0 only seems to display live logs from a subset of my indexes. Is there a way to configure this yet? I've tried adding specific indexes to the filter, but it doesnt display any data. T…

---

## [Capture Body in request errors is not working (Java agent)](https://discuss.elastic.co/t/capture-body-in-request-errors-is-not-working-java-agent/158565)

<div class="topic-metadata">

**Author:** [@pabloborh](https://discuss.elastic.co/u/pabloborh)\
**Replies:** 4\
**Last updated:** [November 28, 2018, 4:11pm UTC](https://discuss.elastic.co/t/capture-body-in-request-errors-is-not-working-java-agent/158565 "2018-11-28T16:11:12Z")

</div>

Hi, I have APM 6.5 and java agent v1. The agent is configured with -Delastic.apm.capture\_body=errors But in APM UI, when I go to errors tab, the body has the value \[REDACTED\]. Also i have configured the transaction\_s…

---

## [Python agent AttributeError exception](https://discuss.elastic.co/t/python-agent-attributeerror-exception/158447)

<div class="topic-metadata">

**Author:** [@toughrogrammer](https://discuss.elastic.co/u/toughrogrammer)\
**Replies:** 0\
**Last updated:** [November 28, 2018, 3:26am UTC](https://discuss.elastic.co/t/python-agent-attributeerror-exception/158447 "2018-11-28T03:26:44Z")

</div>

Hi, I'm using python agent and there are weired exceptions in python agents. Error trace are different but raised from same code(return f.fileobj.tell() if hasattr(f, "fileobj") else f.tell()) It's 4.0.1 version. …

---

## [Any plans for manual instrumentation (java)?](https://discuss.elastic.co/t/any-plans-for-manual-instrumentation-java/158245)

<div class="topic-metadata">

**Author:** [@JohanRask](https://discuss.elastic.co/u/JohanRask)\
**Replies:** 9\
**Last updated:** [November 27, 2018, 3:13pm UTC](https://discuss.elastic.co/t/any-plans-for-manual-instrumentation-java/158245 "2018-11-27T15:13:32Z")

</div>

Hi, I read through the supported technologies page, and for us there is a lot of things missing to even get started, we have a variety of "weird" old and new libs for external communication and lots of different systems…

---

## [APM upgrade 6.5.0 to 6.5.1](https://discuss.elastic.co/t/apm-upgrade-6-5-0-to-6-5-1/157985)

<div class="topic-metadata">

**Author:** [@Lo\_Tel](https://discuss.elastic.co/u/Lo_Tel)\
**Replies:** 10\
**Last updated:** [November 27, 2018, 2:50pm UTC](https://discuss.elastic.co/t/apm-upgrade-6-5-0-to-6-5-1/157985 "2018-11-27T14:50:16Z")

</div>

just got the error after yum upgrade 2018-11-23T11:13:35.493+0100 ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch(https://xxxxxxxxxx:9200/var/log/apm-server)): 404 Not Found: {"error":{"root\_…

---

## [Unreasonable response average data duration time](https://discuss.elastic.co/t/unreasonable-response-average-data-duration-time/158095)

<div class="topic-metadata">

**Author:** [@Asaf\_Shabat](https://discuss.elastic.co/u/Asaf_Shabat)\
**Replies:** 3\
**Last updated:** [November 27, 2018, 11:28am UTC](https://discuss.elastic.co/t/unreasonable-response-average-data-duration-time/158095 "2018-11-27T11:28:41Z")

</div>

Hello, I'm using an APM-Server with an APM java agent and in a strange way, I receive an unreasonable average response data duration time. Screenshot attach. Can you help?

---

## [APM agent for rails 5.0.5 not sending data](https://discuss.elastic.co/t/apm-agent-for-rails-5-0-5-not-sending-data/157894)

<div class="topic-metadata">

**Author:** [@Abhimanyu\_Kaushal](https://discuss.elastic.co/u/Abhimanyu_Kaushal)\
**Replies:** 5\
**Last updated:** [November 27, 2018, 8:45am UTC](https://discuss.elastic.co/t/apm-agent-for-rails-5-0-5-not-sending-data/157894 "2018-11-27T08:45:55Z")

</div>

I followed this link: https://www.elastic.co/guide/en/apm/agent/ruby/current/getting-started-rails.html for setting up my rails app monitoring. But it is not sending data to my apm-server. apm-server is running fine and …

---

## [Monitoring SAP applications using APM](https://discuss.elastic.co/t/monitoring-sap-applications-using-apm/158233)

<div class="topic-metadata">

**Author:** [@arik89](https://discuss.elastic.co/u/arik89)\
**Replies:** 0\
**Last updated:** [November 26, 2018, 7:03pm UTC](https://discuss.elastic.co/t/monitoring-sap-applications-using-apm/158233 "2018-11-26T19:03:08Z")

</div>

Hi guys. I would like to know how would you configure SAP application monitoring using the elastic APM. Where would you start? Thanks.

---

## [Java Agent not visible in APM Server](https://discuss.elastic.co/t/java-agent-not-visible-in-apm-server/157360)

<div class="topic-metadata">

**Author:** [@fim](https://discuss.elastic.co/u/fim)\
**Replies:** 6\
**Last updated:** [November 26, 2018, 2:08pm UTC](https://discuss.elastic.co/t/java-agent-not-visible-in-apm-server/157360 "2018-11-26T14:08:15Z")

</div>

Hi Guys I try to bring the Java Agent up and running but it won't work. In Kibana (APM tab) no agent is displayed. "You have correctly setup APM Server" "Data successfully received from one or more agents" PING…

---

## [APM and Jira](https://discuss.elastic.co/t/apm-and-jira/158057)

<div class="topic-metadata">

**Author:** [@struct](https://discuss.elastic.co/u/struct)\
**Replies:** 4\
**Last updated:** [November 26, 2018, 7:36am UTC](https://discuss.elastic.co/t/apm-and-jira/158057 "2018-11-26T07:36:31Z")

</div>

I'm in need to test the APM of Jira system. I deployed a fresh version of Jira and APM server. I'm getting different variations of errors. since Jira runs on Tomcat, I have placed in setenv.sh the following this guide. …

---

## [Elastic apm java agent elastic-apm-agent-1.0.1.jar is not allowing to start our application](https://discuss.elastic.co/t/elastic-apm-java-agent-elastic-apm-agent-1-0-1-jar-is-not-allowing-to-start-our-application/158012)

<div class="topic-metadata">

**Author:** [@SUSANTO\_MAHATO](https://discuss.elastic.co/u/SUSANTO_MAHATO)\
**Replies:** 1\
**Last updated:** [November 25, 2018, 8:08am UTC](https://discuss.elastic.co/t/elastic-apm-java-agent-elastic-apm-agent-1-0-1-jar-is-not-allowing-to-start-our-application/158012 "2018-11-25T08:08:15Z")

</div>

elastic apm java agent elastic-apm-agent-1.0.1.jar is not allowing to start our application. I am trying to integrate it via generic way. The jar is able to integrate but its failing to our application. \[2018-11-23 18:…

---

## [Dark mode](https://discuss.elastic.co/t/dark-mode/157958)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 1\
**Last updated:** [November 23, 2018, 10:45am UTC](https://discuss.elastic.co/t/dark-mode/157958 "2018-11-23T10:45:01Z")

</div>

Is there a way to enable "dark mode"? Kibana in general definitely should be more "dark mode" friendly for sure...

---

## [Apm\_internal failed](https://discuss.elastic.co/t/apm-internal-failed/157649)

<div class="topic-metadata">

**Author:** [@Lo\_Tel](https://discuss.elastic.co/u/Lo_Tel)\
**Replies:** 3\
**Last updated:** [November 23, 2018, 10:29am UTC](https://discuss.elastic.co/t/apm-internal-failed/157649 "2018-11-23T10:29:39Z")

</div>

Hi, I created group and user POST \_xpack/security/role/apm\_writer { "cluster": \["manage\_index\_templates","monitor"\], "indices": \[ { "names": \[ "apm-\*" \], "privileges": \["write","create\_index"\] } \] } POST /\_xp…

---

## [ElasticSearch Java Agent for tomcat stops my application from running](https://discuss.elastic.co/t/elasticsearch-java-agent-for-tomcat-stops-my-application-from-running/157564)

<div class="topic-metadata">

**Author:** [@souravtyson](https://discuss.elastic.co/u/souravtyson)\
**Replies:** 17\
**Last updated:** [November 22, 2018, 11:32am UTC](https://discuss.elastic.co/t/elasticsearch-java-agent-for-tomcat-stops-my-application-from-running/157564 "2018-11-22T11:32:10Z")

</div>

Hi Team, I have been trying to configure APM for tomcat. I added following configuration in setenv.sh file : export CATALINA\_OPTS="$CATALINA\_OPTS -javaagent:/home/webtech/elastic-apm-agent-1.0.1.jar" export CATALINA\_…

---

## [Two weird exceptions while loading apm-agent 1.0.1 for java](https://discuss.elastic.co/t/two-weird-exceptions-while-loading-apm-agent-1-0-1-for-java/157834)

<div class="topic-metadata">

**Author:** [@cmcornejocrespo](https://discuss.elastic.co/u/cmcornejocrespo)\
**Replies:** 3\
**Last updated:** [November 22, 2018, 10:25am UTC](https://discuss.elastic.co/t/two-weird-exceptions-while-loading-apm-agent-1-0-1-for-java/157834 "2018-11-22T10:25:46Z")

</div>

Hi there, My setup is: ELK, APM, filebeat (all 6.5.0), apm-java-agent-1.0.1 wso2 api manager 2.5.0 (jdk 1.8.0\_144) Basically we use apm-java-agent in wso2am and it seems to be working fine connection wise, but we…

---

## [APM agent crushes IBM Content Manager JVM Arguments](https://discuss.elastic.co/t/apm-agent-crushes-ibm-content-manager-jvm-arguments/157551)

<div class="topic-metadata">

**Author:** [@eylulekinoksu](https://discuss.elastic.co/u/eylulekinoksu)\
**Replies:** 1\
**Last updated:** [November 22, 2018, 9:12am UTC](https://discuss.elastic.co/t/apm-agent-crushes-ibm-content-manager-jvm-arguments/157551 "2018-11-22T09:12:58Z")

</div>

Hello, I setup elastic apm-server and I collected data successfully. But I mentioned that, when i add "-javaagent:x -Delastic.apm.server\_url=http://x.x.x.x:8200 -Delastic.apm.service\_name=x -Delastic.apm.application\_pac…

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

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