# Create throughput same as APM throughput

**URL:** https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539
**Category:** Elastic Observability
**Created:** [May 26, 2025, 12:12pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539 "2025-05-26T12:12:47Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![walterandriesse](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@walterandriesse](https://discuss.elastic.co/u/walterandriesse)
#### Post date: [May 26, 2025, 12:12pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/1 "2025-05-26T12:12:47Z")

</div>

Hello,

Maybe somebody can help me?

I have different values in throughput.

I have created een throughput overview in a dashboard.  
I have tried to make it the same as the APM throughput.  
The same variabeles.  
I also used all the data as suggested in [Display latency, throughput of APM instrumented apps in custom Kibana dashboard - Elastic Stack / Kibana - Discuss the Elastic Stack](https://discuss.elastic.co/t/display-latency-throughput-of-apm-instrumented-apps-in-custom-kibana-dashboard/314306).

Everything is the same, but still mine data is approximately half.

I use version 8.18.  
Does somebody perhaps knows why i have this difference.

thanks  
Walter Andriesse

---

<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: [May 26, 2025, 11:11pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/2 "2025-05-26T23:11:18Z")

</div>

Hi @walterandriesse Welcome to the community.

Yes that post used the 7.X schema so that is probably why it did not work as the 8.x underlying schema / data model is a bit different. In addition perhaps you are using OTEL?

Perhaps if you Provide a bit more information we can help.

I see you are on 8.18 stack

Are you using the Elastic APM Agent or OTEL Agent...  
Which One, Which Version? Which Language?  
Are you using sampling? If so what is the value?

---

<div class="post-metadata">

### Author: ![walterandriesse](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@walterandriesse](https://discuss.elastic.co/u/walterandriesse)
#### Post date: [May 27, 2025, 5:28pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/3 "2025-05-27T17:28:07Z")

</div>

Hello Stephen,  
Thanks for the welcom, and for your answer.

I will try to give some more info.  
I use Elastic and Observability since a few months and i want to create a customized dashboard.  
One of the parts I want to include is the Throughput of a service.  
This is allready working in de APM. (standard feature i guess)  
So i actually just want to copy/paste this data part.  
I included this line : service.name: "......" and processor.event: "transaction".  
The data is half of the value of the troughput at the APM at the same service.

(I'am not using OTEL Agent.) I'am using APM Server binary.  
It also states : This is being replaced by a managed APM Server in Elastic Agent from version 8.0.  
The Language is English.  
And I don't think i'am using sampling.

I Hope this addition will help?

Walter

---

<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: [May 27, 2025, 6:23pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/4 "2025-05-27T18:23:49Z")

</div>

Thanks for the details

> [@walterandriesse](#):
>
> (I'am not using OTEL Agent.) I'am using APM Server binary.

APM Agent and APM Server are 2 different things but I will assume you are using the Elastic APM agents

> [@walterandriesse](#):
>
> The Language is English.

Apologies I meant Client Language, example Java, .NET Python etc

> [@walterandriesse](#):
>
> So i actually just want to copy/paste this data part.  
> I included this line : service.name: "......" and processor.event: "transaction".  
> The data is half of the value of the troughput at the APM at the same service.

You are going to have to show me exactly what you are doing and how you are trying to create

I went to Lens and I can duplicate the TPM

This assumes no Sampling

 ![Screenshot 2025-05-27 at 11.22.47 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/d/7d574a1610b10dc8c305ad7b4a4183da58cbef9f.jpeg)

Important Normalize to Per Minute \<\< THIS is probably what you are missing

 ![Screenshot 2025-05-27 at 11.23.03 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/1/817c496ad950c0ce4e017237cc6d819d24e8516d.png)

Break down by Service name

 ![Screenshot 2025-05-27 at 11.23.09 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/6/76eb3d2aba3e61d93bf23289bc86760bc3c23149.png)

I get pretty much the same visualization

---

<div class="post-metadata">

### Author: ![walterandriesse](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@walterandriesse](https://discuss.elastic.co/u/walterandriesse)
#### Post date: [May 27, 2025, 7:35pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/5 "2025-05-27T19:35:07Z")

</div>

Hello Stephen,  
Thanks for your help.  
I have created everything the same as you did.  
It was very helpfull for me to see that I created the right settings.

Anyway I still got the differences.  
I think that the sampling maybe the cause of my difference.  
I am going to look at this tomorrow.

Thanks again for you help,  
Walter Andriesse

---

<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: [May 27, 2025, 8:17pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/6 "2025-05-27T20:17:51Z")

</div>

> [@walterandriesse](#):
>
> Anyway I still got the differences.  
> I think that the sampling maybe the cause of my difference.  
> I am going to look at this tomorrow.

If you are using sampling you will need to use a different approach you have to use the summary metrics...

> **[Metrics | Elastic Docs](https://www.elastic.co/docs/solutions/observability/apm/metrics#_service_summary_metrics)**
>
> Metrics measure the state of a system by gathering information on a regular interval. There are two types of APM metrics: System metrics: Basic infrastructure...

I think this is it. I might need to check a little more

EDIT : CORRECTED

Lens  
Dataview: APM data View  
KQL Bar : `metricset.name : "service_transaction" and agent.name : *` \<\< CORRECTED  
X Axis : Date Histogram on `@timestamp`  
Y Axis : `count`. \<\<\< CORRECTED...  
Breakdown : Top Values `service.name`

---

<div class="post-metadata">

### Author: ![walterandriesse](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@walterandriesse](https://discuss.elastic.co/u/walterandriesse)
#### Post date: [May 28, 2025, 9:39am UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/7 "2025-05-28T09:39:45Z")

</div>

Hello Stephen,

Your help is more then welcome.

About the settings you asked:

Our Elastic apm-agents have the ELASTIC\_APM\_TRANSACTION\_SAMPLE\_RATE set to the value: '0.1'  
Using the metricset.name : service\_summary as a filter gives the following result (picture, last orange screenshot).  
When I look at the instruction about and the documents with the metricset.name : service\_summary I do not see direct clues on how to duplicate the existing throughput graph available in the APM app.

i tryed to embed screenshots. But i'am not allowed to sent uploads  
Perhaps you can activate my permission to share data.

hopefully this helps you to understand the differences,

Walter

---

<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: [May 28, 2025, 2:33pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/8 "2025-05-28T14:33:29Z")

</div>

You should be able to add an image.

Apologies.... I Realized I had an issue / mistake above there is some "magic" here

So go to Lens

Try this.....

Lens  
Dataview: APM data View  
KQL Bar : `metricset.name : "service_transaction"` \<\< CORRECTED  
X Axis : Date Histogram on `@timestamp` minimum interval : 1m \<\<\<\< VERY IMPORTANT  
Y Axis : `count`. \<\<\< CORRECTED...  
Normalize by 1 minute. \<\< IMPORTANT  
Breakdown : Top Values `service.name`

 ![Screenshot 2025-05-28 at 7.29.14 AM](https://us1.discourse-cdn.com/elastic/original/3X/a/a/aa660edb562797bc5669aed5d128f9dd08896020.jpeg)

The magic is if you go to Discover and

KQL Bar : `metricset.name : "service_transaction" `

If you look at a doc you will see this... this is how the metrics work ....  
This can be a little confusing there is only actually 1 document but it represents aggregate count of 6 ...

 ![Screenshot 2025-05-28 at 7.30.02 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/3/831b43a9cd59fdd08d6958a74be1ae049e71a381.png)

 ![Screenshot 2025-05-28 at 7.36.30 AM](https://us1.discourse-cdn.com/elastic/original/3X/9/e/9e02c680676a632611591beebedde738e4ecdcb9.png)

 ![Screenshot 2025-05-28 at 7.36.54 AM](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f368957478a15df45665b6a2cf78bf3522ece07d.png)

 ![Screenshot 2025-05-28 at 7.37.48 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/5/b5467e7da805435ee07ecc78658aebe572a98d94.png)

---

<div class="post-metadata">

### Author: ![walterandriesse](https://avatars.discourse-cdn.com/v4/letter/w/c67d28/32.png) [@walterandriesse](https://discuss.elastic.co/u/walterandriesse)
#### Post date: [May 28, 2025, 5:15pm UTC](https://discuss.elastic.co/t/create-throughput-same-as-apm-throughput/378539/9 "2025-05-28T17:15:37Z")

</div>

Hello Stephen,

White smoke.  
I did it.(kidding) ----\> You did it.  
Your help was super clear and specific.  
The screenshots helped me perfect.

I have a 100% match with the APM.

 ![Schermafbeelding 2025-05-28 190721](https://us1.discourse-cdn.com/elastic/original/3X/8/6/863faa848fd49ed91025ece494d781e4ba17ab0f.png).

Thanks and have a nice day.

With friendly greetings,  
Walter Andriesse
