# Nothing to see in Traces

**URL:** <https://discuss.elastic.co/t/nothing-to-see-in-traces/236917>\
**Category:** APM\
**Tags:** ui\
**Created:** [June 12, 2020, 3:47pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917 "2020-06-12T15:47:33Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![FutuPoul](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@FutuPoul](https://discuss.elastic.co/u/FutuPoul)\
**Post date:** [June 12, 2020, 3:47pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/1 "2020-06-12T15:47:34Z")

</div>

Hello,

I have two services that communicate a-\>b. The information appears in the "Trace sample" but nothing appears on the "Traces" . Details on the screenshots. I am asking for advice as to what may be incorrect.

 ![Adnotacja 2020-06-12 173417](https://us1.discourse-cdn.com/elastic/original/3X/d/b/db6bd008a83abdc052c2f7bd52de468f534c7239.png) ![Adnotacja 2020-06-12 173448](https://us1.discourse-cdn.com/elastic/original/3X/a/5/a56031bcda2214a933b640bc473688a5050fa19c.png) ![Adnotacja 2020-06-12 173509](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56b7ad35a3abeae52393c74f1de1611fb3e7a784.png) ![Adnotacja 2020-06-12 173558](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5dca1ed3d4e21dad7617c5d9be3416897bc52274.png) ![Adnotacja 2020-06-12 173625](https://us1.discourse-cdn.com/elastic/original/3X/8/7/87c38c53e5556155758652d261623bafde342dab.png) ![Adnotacja 2020-06-12 173706](https://us1.discourse-cdn.com/elastic/original/3X/2/e/2ec8d5a48bc195a62f779d2880e0a5ea2794a7b4.png) ![Adnotacja 2020-06-12 173727](https://us1.discourse-cdn.com/elastic/original/3X/a/9/a98d3d708d286d55d3885911efc5fad201abdbe6.png) ![Adnotacja 2020-06-12 174014](https://us1.discourse-cdn.com/elastic/original/3X/5/0/501028f8b262b99a6d80120b29d22428e6d65acd.png) ![Adnotacja 2020-06-12 174031](https://us1.discourse-cdn.com/elastic/original/3X/5/9/59ad95309b01a1068e7fccf75f0ebaf8777e3c56.png)

Best Regards  
Poul

---

<div class="post-metadata">

**Author:** ![dgieselaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dgieselaar/32/46947_2.png) [@dgieselaar](https://discuss.elastic.co/u/dgieselaar)\
**Post date:** [June 16, 2020, 7:08am UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/2 "2020-06-16T07:08:48Z")

</div>

Hello @FutuPoul! The list of traces shows root transactions, ie transactions that do not have a parent [1](https://www.elastic.co/guide/en/apm/get-started/current/distributed-tracing.html). My only guess right now is that all of the transactions somehow have a parent. To figure that out, can you run the following query to ES (from the Kibana Dev Tools Console or directly to ES) and show me the results (please remove any sensitive information):

```auto
GET apm-*/_search
{
  "query": {
    "bool": {
      "filter": [
        {
          "range": {
            "@timestamp": {
              "gte": "now-24h"
            }
          }
        },
        {
          "term": {
            "processor.event": "transaction"
          }
        }
      ],
      "must_not": [
        {
          "exists": {
            "field": "parent.id"
          }
        }
      ]
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![FutuPoul](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@FutuPoul](https://discuss.elastic.co/u/FutuPoul)\
**Post date:** [June 17, 2020, 3:03pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/3 "2020-06-17T15:03:59Z")

</div>

```auto
 "gte": "now-90h"

```

result

```auto
{
  "took" : 18,
  "timed_out" : false,
  "_shards" : {
    "total" : 16,
    "successful" : 16,
    "skipped" : 7,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 0,
      "relation" : "eq"
    },
    "max_score" : null,
    "hits" : []
  }
}

```

---

<div class="post-metadata">

**Author:** ![dgieselaar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dgieselaar/32/46947_2.png) [@dgieselaar](https://discuss.elastic.co/u/dgieselaar)\
**Post date:** [June 17, 2020, 3:34pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/4 "2020-06-17T15:34:14Z")

</div>

Thanks @FutuPoul! Looks like there are no root transactions, which is what we need to populate the trace UI. Do you have any idea how that could happen?

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [June 18, 2020, 1:16pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/5 "2020-06-18T13:16:48Z")

</div>

Hi @FutuPoul,

we discussed this with @dgieselaar and this seems to be caused by the .NET APM Agent. There is already an issue [here](https://github.com/elastic/apm-agent-dotnet/issues/883) with more details - that issue already has 1 theory on how this could happen.

One useful info would be the value of the `parent.id` in those cases - one easy way to get it would be to just select a transaction, click the "View full trace" if it's active (basically your 2. screenshot), select the 1. transaction (in the screenshot it'd be the 1. green box with `HTTP 2xx POST Example/Hello)`, then click the "Actions" button, then click "View sample document", then you should see the `parent.id` there. It'd be very useful for me to see the format of it (this could be an issue with `Activity` which has a different id format - this could be verified by seeing the `parent.id` value).

Nevertheless I'm already working on this and try to figure out a solution.

---

<div class="post-metadata">

**Author:** ![FutuPoul](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@FutuPoul](https://discuss.elastic.co/u/FutuPoul)\
**Post date:** [June 18, 2020, 2:09pm UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/6 "2020-06-18T14:09:48Z")

</div>

View full trace is inactive

```auto
 "parent": {
      "id": "|988db67b-4e2219252ff5676f."
    },

```

My environment:  
Elastic.Apm.NetCoreAll v1.5.1  
.Net Core 3.1

---

<div class="post-metadata">

**Author:** ![FutuPoul](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@FutuPoul](https://discuss.elastic.co/u/FutuPoul)\
**Post date:** [June 22, 2020, 6:59am UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/7 "2020-06-22T06:59:49Z")

</div>

do You know when the problem will be solved?

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [June 22, 2020, 9:31am UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/8 "2020-06-22T09:31:38Z")

</div>

Thanks @FutuPoul,

this is very useful info. Based on the format of that `parent.id` it looks this comes from `System.Diagnostics.Activity` - with that, at least I know how and why this happens.

I can't tell you when it will be solved, but this is fairly high priority - best is to follow [the GitHub issue](https://github.com/elastic/apm-agent-dotnet/issues/883).

---

<div class="post-metadata">

**Author:** ![FutuPoul](https://avatars.discourse-cdn.com/v4/letter/f/eb9ed0/32.png) [@FutuPoul](https://discuss.elastic.co/u/FutuPoul)\
**Post date:** [June 22, 2020, 11:53am UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/9 "2020-06-22T11:53:04Z")

</div>

ok  
Thank you for your help

---

<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:** [July 13, 2020, 7:53am UTC](https://discuss.elastic.co/t/nothing-to-see-in-traces/236917/10 "2020-07-13T07:53:05Z")

</div>

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