# Transactions .netCore

**URL:** <https://discuss.elastic.co/t/transactions-netcore/242195>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [July 22, 2020, 1:06pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195 "2020-07-22T13:06:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Post date:** [July 22, 2020, 1:06pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195/1 "2020-07-22T13:06:12Z")

</div>

\*\*Elasticsearch version: Cloud (7.8)

**APM Agent language and version** : Elastic.Apm (1.6) with the nuget NetCoreAll

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

I'm using the service map functionality but It doesn't show the relations between the services and I don't understand the reason. I have 2 applications like Api - Service and this is the result:

 ![map1](https://us1.discourse-cdn.com/elastic/original/3X/3/1/319d25f2f5bcd426a1d7296675212e3577d29a67.png)

But I have one trace with the information:

 ![span1](https://us1.discourse-cdn.com/elastic/original/3X/2/6/26835ec67317f256f5dd77bfff50e33a41397a54.png)

I have been searching the answer and I think that the reason is that i have one transaction in excess.

 ![trace1](https://us1.discourse-cdn.com/elastic/original/3X/4/a/4a2a351a92cf7cd764db8c87a8096112803e3055.png)

The green register looks like a internal listener of the agent or something like this, I don't Know if is correct:

 ![spantrace](https://us1.discourse-cdn.com/elastic/original/3X/0/8/08f0686844c3f2928eea5c5f4a453985797358ca.png)

Thanks for the help.

---

<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:** [July 22, 2020, 2:17pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195/2 "2020-07-22T14:17:08Z")

</div>

Hi @Kirtash,

We released a patch 2 days ago that addresses this issue - its version number is `1.6.1`. Could you try that one?

---

<div class="post-metadata">

**Author:** ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Post date:** [July 22, 2020, 2:55pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195/3 "2020-07-22T14:55:15Z")

</div>

Now the parent.id is correct but not appears the representation in the service map yet ☹

 ![spantrace2](https://us1.discourse-cdn.com/elastic/original/3X/9/2/92aa534d0a092645ea48fc4fe46286856c862ba7.png)

---

<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:** [July 22, 2020, 5:26pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195/4 "2020-07-22T17:26:10Z")

</div>

@Kirtash what do you mean by this?

> but not appears the representation in the service map yet

You still see the 2 services, but they are still not connected? Make sure you select the right time frame.

If it still does not work, could you show me the full document where `span.name` is `GET localhost` ? (it's the 2. one on your screenshot)

---

<div class="post-metadata">

**Author:** ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Post date:** [July 23, 2020, 6:38am UTC](https://discuss.elastic.co/t/transactions-netcore/242195/5 "2020-07-23T06:38:21Z")

</div>

First of all, thanks for the answer GregKalapos.

Correct, not appears the connection. Do you want the stacktrace? If I copy all the document I reach to the max lenght of the message ☹ This is the all the document without the stacktrace.

```auto
{
  "_index": "apm-7.8.0-span",
  "_type": "_doc",
  "_id": "vrv8dnMB42TIazIZksQH",
  "_version": 1,
  "_score": null,
  "_source": {
    "parent": {
      "id": "b4cd898682f5db4b"
    },
    "observer": {
      "hostname": "8cd8204852f1",
      "name": "instance-0000000000",
      "id": "a5e63c40-5d81-4957-b448-442e72dc0586",
      "ephemeral_id": "52b17444-d645-4894-8ec0-473b674935fd",
      "type": "apm-server",
      "version": "7.8.0",
      "version_major": 7
    },
    "agent": {
      "name": "dotnet",
      "version": "1.6.0"
    },
    "trace": {
      "id": "b4496a60d185b54c8d214495fcffd9c1"
    },
    "@timestamp": "2020-07-22T14:45:24.278Z",
    "ecs": {
      "version": "1.5.0"
    },
    "service": {
      "environment": "Development",
      "name": "MyApp"
    },
    "destination": {
      "address": "localhost",
      "port": 5010
    },
    "processor": {
      "name": "transaction",
      "event": "span"
    },
    "transaction": {
      "id": "b4cd898682f5db4b"
    },
    "timestamp": {
      "us": 1595429124278547
    },
    "span": {
      "duration": {
        "us": 478511
      },
"subtype": "http",
      "name": "GET localhost",
      "http": {
        "method": "get",
        "response": {
          "status_code": 200
        },
        "url": {
          "original": "http://localhost:5010/api/values/1"
        }
      },
      "id": "ec7a04be3ad09890",
      "type": "external"
    }
  },
  "fields": {
    "file.created": [],
    "process.parent.start": [],
    "event.end": [],
    "file.ctime": [],
    "tls.client.not_after": [],
    "event.ingested": [],
    "@timestamp": [
      "2020-07-22T14:45:24.278Z"
    ],
    "file.mtime": [],
    "event.created": [],
    "file.accessed": [],
    "tls.server.not_before": [],
    "package.installed": [],
    "tls.client.not_before": [],
    "event.start": [],
    "tls.server.not_after": [],
    "process.start": []
  },
  "highlight": {
    "trace.id": [
      "@kibana-highlighted-field@b4496a60d185b54c8d214495fcffd9c1@/kibana-highlighted-field@"
    ]
  },
  "sort": [
    1595429124278
  ]
}

```

Thanks!!

---

<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:** [July 23, 2020, 10:15am UTC](https://discuss.elastic.co/t/transactions-netcore/242195/6 "2020-07-23T10:15:13Z")

</div>

@Kirtash,

thanks for pasting the document - that already shows the problem.

The agent is version `1.6.0`, but the fix is in `1.6.1.` - Make sure you update to the latest.

> [@Kirtash](#):
>
> ```auto
> "agent": {
> "name": "dotnet",
> "version": "1.6.0"
> 
> ```

---

<div class="post-metadata">

**Author:** ![Kirtash](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@Kirtash](https://discuss.elastic.co/u/Kirtash)\
**Post date:** [July 23, 2020, 12:49pm UTC](https://discuss.elastic.co/t/transactions-netcore/242195/7 "2020-07-23T12:49:16Z")

</div>

@GregKalapos now is working and appears the connection between the services 🙂 I don't know why the agent didn't update but now is perfect.

Thanks for the 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:** [August 13, 2020, 8:49am UTC](https://discuss.elastic.co/t/transactions-netcore/242195/8 "2020-08-13T08:49:19Z")

</div>

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