# Page-load transactions without result status

**URL:** <https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611>\
**Category:** APM\
**Tags:** rum\
**Created:** [April 30, 2020, 6:16pm UTC](https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611 "2020-04-30T18:16:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [April 30, 2020, 6:16pm UTC](https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611/1 "2020-04-30T18:16:58Z")

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

**Kibana version** : 7.6.2

**Elasticsearch version** : 7.6.2

**APM Server version** : 7.6.2

**APM Agent language and version** : js-base 4.9.1

**Browser version** : Chrome 81.x

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

**Fresh install or upgraded from other version?** N/A

**Is there anything special in your setup?** APM-server connected via Logstash

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

Hi, if I understood correctly, the 'Transactions per minute' graph shows the number of transactions grouped by transaction.result. For the page-load transactions this data is not available. Is it intentionally like that?

Would it be possible to include a success (or failed) status, when for example all the spans (DNS, Load, Processing, etc) completed succesfully? Or when all the requests completed with a non error (4xx, 5xx)?

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cb3e9118cb6d588e115a1d63b25cb1cd42924705.png)

**Steps to reproduce** :

1. Select service
2. Transaction type: page-load

**Errors in browser console (if relevant)**: N/A

**Provide logs and/or server output (if relevant)**: N/A

---

<div class="post-metadata">

**Author:** ![vigneshshanmugam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vigneshshanmugam/32/40324_2.png) [@vigneshshanmugam](https://discuss.elastic.co/u/vigneshshanmugam)\
**Post date:** [May 12, 2020, 5:07pm UTC](https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611/2 "2020-05-12T17:07:21Z")

</div>

Hi @Harm,

Apologies for the delay in responding.

> For the page-load transactions this data is not available. Is it intentionally like that?

Yes you are right, we dont set the transaction.result for `page-load` transactions as its a browser event and would be always successful no matter what.

However, I have created an issue in the agent where we can do this for API transactions [Reevaluate if API calls context can be added to transactions instead of spans · Issue #786 · elastic/apm-agent-rum-js · GitHub](https://github.com/elastic/apm-agent-rum-js/issues/786) and annotate it correctly like how backends agent are doing at the moment.

> Would it be possible to include a success (or failed) status, when for example all the spans (DNS, Load, Processing, etc) completed successfully?

These custom Spans are created based on the events in the browser load itself and would not make sense to annotate. Please do let us know if you have any ideas 🙂

Thanks,  
Vignesh

---

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [May 13, 2020, 12:26pm UTC](https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611/3 "2020-05-13T12:26:22Z")

</div>

Hi @vigneshshanmugam, thanks for adding the issue on the API transactions.

For the page-load transactions, would it be an option to set the  
transaction.result (2xx, 4xx, ..) based upon the browser result for the transaction.page.url?

Just thinking. 🙂

---

<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:** [June 3, 2020, 8:26am UTC](https://discuss.elastic.co/t/page-load-transactions-without-result-status/230611/4 "2020-06-03T08:26:33Z")

</div>

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