# RUM react missing page load by region and time spent by span type breakdown

**URL:** <https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604>\
**Category:** APM\
**Tags:** docker, rum, ui\
**Created:** [July 14, 2021, 3:07am UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604 "2021-07-14T03:07:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jake1/32/77509_2.png) [@Jake1](https://discuss.elastic.co/u/Jake1)\
**Post date:** [July 14, 2021, 3:07am UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/1 "2021-07-14T03:07:54Z")

</div>

**Kibana version** :  
7.13.0

**Elasticsearch version** :  
7.13.0

**APM Server version** :  
7.13.0

**APM Agent language and version** :  
react

```auto
"@elastic/apm-rum": "^5.9.0",
"@elastic/apm-rum-react": "^1.3.0",

```

**Browser version** :  
Chrome Version 91.0.4472.114 (Official Build) (x86\_64)

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**:  
`FROM docker.elastic.co/apm/apm-server:7.13.0`

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

**Is there anything special in your setup?**  
Nothing special, out of the box

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

Looking for support on two things here:

1. How do we get the region breakdown on the User Experience dashboard to start showing content?  

2. When viewing the service overview, the `Time spent by span type` is not showing anything even though all Spans have got a valid type/subtype

---

<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:** [July 15, 2021, 3:28pm UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/2 "2021-07-15T15:28:33Z")

</div>

HI @Jake1,

Thanks for creating the thread.

> How do we get the region breakdown on the User Experience dashboard to start showing content?

This is done via the GeoIP processor as part of the APM server - Check [Configure Real User Monitoring (RUM) | APM User Guide [8.11] | Elastic](https://www.elastic.co/guide/en/apm/server/current/configuration-rum.html#_ingest_pipelines) for more information.

> When viewing the service overview, the `Time spent by span type` is not showing anything even though all Spans have got a valid type/subtype

This feature is available via `breakdownMetrics` which is disabled by default in the RUM agent. Set the value to `true` during initialization logic to get the data - [Configuration | APM Real User Monitoring JavaScript Agent Reference [5.x] | Elastic](https://www.elastic.co/guide/en/apm/agent/rum-js/current/configuration.html#breakdown-metrics)

Thanks,  
Vignesh

---

<div class="post-metadata">

**Author:** ![Jake1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jake1/32/77509_2.png) [@Jake1](https://discuss.elastic.co/u/Jake1)\
**Post date:** [July 19, 2021, 5:26pm UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/3 "2021-07-19T17:26:17Z")

</div>

Thanks @vigneshshanmugam !

I got the `breakdownMetrics` working now.

For the GeoIP processor, I see that the `apm_user_geo` processor is active on the APM ingest pipeline.  
 ![Screen Shot 2021-07-19 at 10.13.16 AM](https://us1.discourse-cdn.com/elastic/original/3X/b/4/b46e04157088dee5af56e249f35a2d518dfb2100.png)  
My documents do contain both a `source.ip` and `client.ip` field but `client.geo` is still missing so it doesn't look like the processor is working. Are there any follow up docs on how exactly to debug the GeoIP processor?

---

<div class="post-metadata">

**Author:** ![Jake1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jake1/32/77509_2.png) [@Jake1](https://discuss.elastic.co/u/Jake1)\
**Post date:** [August 5, 2021, 12:47am UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/4 "2021-08-05T00:47:15Z")

</div>

Bumping this.  
Is it possible the default IP database cannot find the location for my IP?  
Or is there some other setup & configuration issue I'm not seeing.

---

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [August 10, 2021, 12:19am UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/5 "2021-08-10T00:19:01Z")

</div>

@Jake1 would you be able to share a transaction document, in case something jumps out? Which version of Elasticsearch are you using? Any errors in its log?

---

<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:** [August 30, 2021, 8:19pm UTC](https://discuss.elastic.co/t/rum-react-missing-page-load-by-region-and-time-spent-by-span-type-breakdown/278604/6 "2021-08-30T20:19:51Z")

</div>

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