# Display latency, throughput of APM instrumented apps in custom Kibana dashboard

**URL:** https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306
**Category:** Kibana
**Tags:** language-clients
**Created:** [September 13, 2022, 2:40pm UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306 "2022-09-13T14:40:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![catalin.bulancea](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@catalin.bulancea](https://discuss.elastic.co/u/catalin.bulancea)
#### Post date: [September 13, 2022, 2:40pm UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/1 "2022-09-13T14:40:15Z")

</div>

Hello people,

We have instrumented some Java and .NET applications with APM agents. So in Kibana-\>APM -\>Services we can see the apps and all the relevant metrics like Throughput, Latency, Failed transaction rate, etc.

 ![kalmar](https://us1.discourse-cdn.com/elastic/original/3X/3/8/382aff321dfbb37c192d6dc1546a77a7f3fe0d89.png)

Is there a way to add these metrics in a custom Kibana dashboard?  
A call the Elastic API or a query of some sort?

Thank you,  
Catalin

---

<div class="post-metadata">

### Author: ![catalin.bulancea](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@catalin.bulancea](https://discuss.elastic.co/u/catalin.bulancea)
#### Post date: [September 16, 2022, 5:20pm UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/2 "2022-09-16T17:20:24Z")

</div>

Any reply?

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [September 18, 2022, 3:06pm UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/3 "2022-09-18T15:06:54Z")

</div>

Hi @catalin.bulancea  
What version of the Elastic Stack are you on?... I ask because how / where that data is stored changed in 8.x?

---

<div class="post-metadata">

### Author: ![catalin.bulancea](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@catalin.bulancea](https://discuss.elastic.co/u/catalin.bulancea)
#### Post date: [September 19, 2022, 6:46am UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/4 "2022-09-19T06:46:21Z")

</div>

Hi Stephen,

The version of ELK stack is 7.17.4.

Thanks,  
Catalin

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [September 19, 2022, 6:22pm UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/5 "2022-09-19T18:22:51Z")

</div>

Hi @catalin.bulancea

Ok so in 7.17.x It is more / somewhat more intuitive,...

**Warning it changes completely in 8.x, as we moved to a different underlying data model to improve scalability.** When you get there come back and ask.... these charts may become "embeddable" at some point meaning you could add them to your own dashboard... that is on the roadmap somewhere I think.

**For Service Transaction / Min TPM**

Lens  
index Pattern `traces-apm*,apm-*,logs-apm*,...`  
Filter `processor.event : "transaction"`  
X-Axis : Date Histogram  
Y-Axis : Count normalize unit to per Minute'  
Break Down by `service.name` or `transaction.name`

 ![Screen Shot 2022-09-19 at 11.09.09 AM](https://us1.discourse-cdn.com/elastic/original/3X/c/a/caf47b8a920cec2f09c982c59dc821aceb75eb63.png)

 ![Screen Shot 2022-09-19 at 11.09.16 AM](https://us1.discourse-cdn.com/elastic/original/3X/a/b/abc7f95f04fa8caf31507773e03f00e42ef58b2b.png)

 ![Screen Shot 2022-09-19 at 11.09.26 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88bd1acd3fdd1e49cf1674764aec119ff6ef454d.jpeg)

Here you go

 ![Screen Shot 2022-09-19 at 11.13.03 AM](https://us1.discourse-cdn.com/elastic/original/3X/6/6/663945a9d18debb380c9920a78b44f78e83f2e60.jpeg)

**For the Duration / Latency**

Use the same except Y-Axis  
uUe Average `transaction.duration.us` that will be in usecs  
If you want ms then put this in the formula  
`average(transaction.duration.us)/1000`

 ![Screen Shot 2022-09-19 at 11.15.45 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6c270379319337b63ba7e8a9974c9dcad52ecc3.jpeg)

---

<div class="post-metadata">

### Author: ![catalin.bulancea](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@catalin.bulancea](https://discuss.elastic.co/u/catalin.bulancea)
#### Post date: [September 21, 2022, 9:45am UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/6 "2022-09-21T09:45:28Z")

</div>

Hi Stephen,

I will give it a try and let you know.

Thank you for your reply!  
Catalin

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 19, 2022, 9:46am UTC](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306/7 "2022-10-19T09:46:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
