# DB Hostname is missing (unnamed)

**URL:** <https://discuss.elastic.co/t/db-hostname-is-missing-unnamed/189852>\
**Category:** APM\
**Tags:** java\
**Created:** [July 10, 2019, 7:23pm UTC](https://discuss.elastic.co/t/db-hostname-is-missing-unnamed/189852 "2019-07-10T19:23:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edhuardotierrez](https://avatars.discourse-cdn.com/v4/letter/e/838e76/32.png) [@edhuardotierrez](https://discuss.elastic.co/u/edhuardotierrez)\
**Post date:** [July 10, 2019, 7:23pm UTC](https://discuss.elastic.co/t/db-hostname-is-missing-unnamed/189852/1 "2019-07-10T19:23:26Z")

</div>

**Kibana version** : 7.1.0

**Elasticsearch version** : 7.1.0

**APM Server version** : 7.1.0

**APM Agent language and version** : Java - 1.x (current)

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

 ![30](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d587746515db72dad6a990e74403375921317eb.png)

It is very important to show the host name during a database transaction.

Thanks in Advance.

---

<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:** [July 11, 2019, 2:19am UTC](https://discuss.elastic.co/t/db-hostname-is-missing-unnamed/189852/2 "2019-07-11T02:19:26Z")

</div>

Hi @edhuardotierrez, and welcome to the forum!

Good timing! We've just started discussing adding the destination address to span context: [https://github.com/elastic/apm/issues/115](https://github.com/elastic/apm/issues/115).

The idea is that agents would record the address of the database server in span context, and then you would be able to see that by clicking on the database span, bringing up the span details.

---

<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 31, 2019, 10:19pm UTC](https://discuss.elastic.co/t/db-hostname-is-missing-unnamed/189852/3 "2019-07-31T22:19:27Z")

</div>

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