# No data for breakdown graphs

**URL:** https://discuss.elastic.co/t/no-data-for-breakdown-graphs/218328
**Category:** APM
**Tags:** ruby
**Created:** [February 7, 2020, 11:04am UTC](https://discuss.elastic.co/t/no-data-for-breakdown-graphs/218328 "2020-02-07T11:04:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dmitrii\_Burlutckii](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitrii_burlutckii/32/46835_2.png) [@Dmitrii\_Burlutckii](https://discuss.elastic.co/u/Dmitrii_Burlutckii)
#### Post date: [February 7, 2020, 11:04am UTC](https://discuss.elastic.co/t/no-data-for-breakdown-graphs/218328/1 "2020-02-07T11:04:40Z")

</div>

Hello

**Kibana version** : 7.5.2

**Elasticsearch version** : 7.5.2

**APM Server version** : 7.5.2

**APM Agent language and version** : 3.4.0

**Browser version** : Crome Version 80.0.3987.87 (Official Build) beta (64-bit)

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

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

**Is there anything special in your setup?** No

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

A problem which I've been dealing with is missing data for " Time spent by span type" graph in my staging environment. However, it works for development environment (the app sends events to the same APM server). I checked raw events in APM logs and they looks similar for both environments. I also checked that data is in the APM indexes for both environments.

This request that loads data from breakdown metrics returns empty objects  
`http://0.0.0.0/api/apm/services/Buyer/transaction_groups/breakdown?start=2020-01-31T10%3A05%3A09.815Z&end=2020-01-31T10%3A20%3A09.815Z&transactionName=GET%20%2F%3Aversion%2Flots%2F%3Alot_id%2Fdetail&transactionType=request&uiFilters=%7B%22environment%22%3A%22staging%22%7D`

`{"kpis":[],"timeseries":[]}`

I have a single APM instance running in a Kubernetes cluster along with Elastic and Kibana instances. I instrumented my Rails/Rack application using `elastic_apm` gem with following configuration.

config/elastic\_apm.yml  
server\_url: '[http://0.0.0.0.0:8200](http://0.0.0.0.0:8200)' # fake ip  
secret\_token: ''  
service\_name: 'MyApp'

[config.ru](http://config.ru)  
require ::File.expand\_path('../config/environment', **FILE** )

```
# unicorn self-process killer
require 'unicorn/worker_killer'

# worker will be killed between 400 to 420 Mb
use Unicorn::WorkerKiller::Oom, 419430400, 450887680

builder = Rack::Builder.new do
  map '/private/health-check' do
    run lambda{ |_| [200, { 'Content-Type' => 'text/plain' }, ['imalive']] }
  end

  map '/track' do
    use ElasticAPM::Middleware
    # TODO: use Honeybadger::Rack::ErrorNotifier
    use ActionDispatch::RemoteIp, false

    # add addition request information
    use CW::SDK::Middleware::LoggerContext

    run MyApp::Rack::Track.new
  end

  map '/' do
    run Rails.application
  end

```

Also, my staging environment is running on a Kubernetes cluster and there is no significant difference in app environments. So I got stuck with it. Any ideas what else I can check?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![Dmitrii\_Burlutckii](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dmitrii_burlutckii/32/46835_2.png) [@Dmitrii\_Burlutckii](https://discuss.elastic.co/u/Dmitrii_Burlutckii)
#### Post date: [February 7, 2020, 12:32pm UTC](https://discuss.elastic.co/t/no-data-for-breakdown-graphs/218328/2 "2020-02-07T12:32:29Z")

</div>

There is a screenshot bellow that shows there traces/spans but not data for breakdown metrics.

I also checked that `breakdown_metrics` is enabled.

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

---

<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: [February 28, 2020, 8:32am UTC](https://discuss.elastic.co/t/no-data-for-breakdown-graphs/218328/3 "2020-02-28T08:32:44Z")

</div>

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