# Remaining Transactions!

**URL:** <https://discuss.elastic.co/t/remaining-transactions/362641>\
**Category:** APM\
**Tags:** nodejs, ui\
**Created:** [July 6, 2024, 6:11am UTC](https://discuss.elastic.co/t/remaining-transactions/362641 "2024-07-06T06:11:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tubby\_Stubby](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tubby_stubby/32/135855_2.png) [@Tubby\_Stubby](https://discuss.elastic.co/u/Tubby_Stubby)\
**Post date:** [July 6, 2024, 6:11am UTC](https://discuss.elastic.co/t/remaining-transactions/362641/1 "2024-07-06T06:11:46Z")

</div>

**Kibana version** : 8.14.1

**Elasticsearch version** : 8.14.1

**APM Server version** : 8.14.1

**APM Agent language and version** : elastic-apm-node@4.7.0

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: apt/deb

**Fresh install or upgraded from other version?** : Fresh

**Is there anything special in your setup?**  
Updated the ILM policy by creating `traces-apm@custom` component template

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:  
We have 200+ APIs but not all are shown in the UI instead an entry comes as `Remaining Transactions`.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/f/afca39f39b542ac04626ac1d6ec11eb0b62a9a3f.png)

The docs said to reduce the cardinality of transaction names, but we don't add transaction names manually instead they are being captured by the default express instrumentation. Also, I am not able to find what these transactions are as I can't see the full url either.

How should I proceed from here?

---

<div class="post-metadata">

**Author:** ![trentm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trentm/32/77647_2.png) [@trentm](https://discuss.elastic.co/u/trentm)\
**Post date:** [July 8, 2024, 10:40pm UTC](https://discuss.elastic.co/t/remaining-transactions/362641/2 "2024-07-08T22:40:35Z")

</div>

Hi @Tubby_Stubby,

That "Transactions" view is just for a _single service_, right?  
For example, here I have a "example-trace-hapi" service with one transaction:

 ![Screenshot 2024-07-08 at 3.32.58 PM](https://us1.discourse-cdn.com/elastic/original/3X/a/4/a4294bfd3a37083dbc82b145155fff6116befbd7.png)

When you say "We have 200+ APIs" ... do you mean you have 200+ separate endpoints on a single service? I.e., you have an Express app that has more than 200 separate routes?

* * *

This is a guess: are you using the [`usePathAsTransactionName`](https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html#use-path-as-transaction-name) configuration option with the Node.js APM agent? That can lead to transaction.name cardinality issues.

* * *

You should be able to search in "Discover" in Kibana for all transaction documents for your service. Select the "APM" index alias, search for `service.name: "your-service-name" and processor.event: "transaction"`, and add the `transaction.name` column. E.g. here is me doing it for my small "example-trace-hapi" service:

 ![Screenshot 2024-07-08 at 3.36.25 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/7/f79c9cc5d1637631244b2190ec8177b34b298312.png)

Does that help get you further?  
(If you have a support contract and are using Elastic Cloud, you could contact support, which would allow us -- with permission -- to look at your APM data to see if some issue sticks out.)

---

<div class="post-metadata">

**Author:** ![Tubby\_Stubby](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tubby_stubby/32/135855_2.png) [@Tubby\_Stubby](https://discuss.elastic.co/u/Tubby_Stubby)\
**Post date:** [July 9, 2024, 6:41am UTC](https://discuss.elastic.co/t/remaining-transactions/362641/3 "2024-07-09T06:41:50Z")

</div>

Thanks for detailed response.

> [@trentm](#):
>
> When you say "We have 200+ APIs" ... do you mean you have 200+ separate endpoints on a single service? I.e., you have an Express app that has more than 200 separate routes?

Yes. An Express app with 200+ endpoints.

> [@trentm](#):
>
> This is a guess: are you using the [`usePathAsTransactionName`](https://www.elastic.co/guide/en/apm/agent/nodejs/current/configuration.html#use-path-as-transaction-name) configuration option with the Node.js APM agent? That can lead to transaction.name cardinality issues.

No.

I checked discover for transaction names and I can see all of them, confirmed the total count of unique transactions in lens apart from some `Unknow` which I think I can debug from discover. Earlier I was not filtering for event type `processor.event: "transaction"`, so was seeing entries without any names which had me little confused.

Is there any way to show to all transactions in Transaction view without the 200 limit?

Currently we are just trying out elastic with manual deployment. Will definitely checkout Elastic Cloud.

---

<div class="post-metadata">

**Author:** ![trentm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/trentm/32/77647_2.png) [@trentm](https://discuss.elastic.co/u/trentm)\
**Post date:** [July 16, 2024, 8:38pm UTC](https://discuss.elastic.co/t/remaining-transactions/362641/4 "2024-07-16T20:38:43Z")

</div>

Sorry for the delay in responding.

> [@Tubby\_Stubby](#):
>
> Is there any way to show to all transactions in Transaction view without the 200 limit?

IIUC the limit should actually be 1000.  
It is a hardcoded number here in Kibana code, FWIW: [kibana/x-pack/plugins/observability\_solution/apm/server/routes/services/get\_service\_transaction\_groups.ts at 9557e064a1b0c9768bb3252db8395bc943136054 · elastic/kibana · GitHub](https://github.com/elastic/kibana/blob/9557e064a1b0c9768bb3252db8395bc943136054/x-pack/plugins/observability_solution/apm/server/routes/services/get_service_transaction_groups.ts#L29)

> [@Tubby\_Stubby](#):
>
> I checked discover for transaction names and I can see all of them

Did you find more than 1000?

---

<div class="post-metadata">

**Author:** ![Tubby\_Stubby](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tubby_stubby/32/135855_2.png) [@Tubby\_Stubby](https://discuss.elastic.co/u/Tubby_Stubby)\
**Post date:** [August 7, 2024, 3:54pm UTC](https://discuss.elastic.co/t/remaining-transactions/362641/5 "2024-08-07T15:54:43Z")

</div>

> [@trentm](#):
>
> IIUC the limit should actually be 1000.

Got it, seems pretty reasonable.

> [@trentm](#):
>
> Did you find more than 1000?

Nope the total is in between 250-300.
