# Support for opentracing 0.32.0

**URL:** <https://discuss.elastic.co/t/support-for-opentracing-0-32-0/180624>\
**Category:** APM\
**Tags:** java\
**Created:** [May 10, 2019, 11:11pm UTC](https://discuss.elastic.co/t/support-for-opentracing-0-32-0/180624 "2019-05-10T23:11:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miuler](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/miuler/32/15884_2.png) [@Miuler](https://discuss.elastic.co/u/Miuler)\
**Post date:** [May 10, 2019, 11:11pm UTC](https://discuss.elastic.co/t/support-for-opentracing-0-32-0/180624/1 "2019-05-10T23:11:57Z")

</div>

Please add support for opentracing 0.32.0, that version brings improvements, specifically the ability to obtain the traceId and the spantId using the SpanContext Interface, example:

```
io.opentracing.Span span = tracer.activeSpan().context();
span.toTraceId();
span.toSpanId();

```

**APM Agent language and version** :  
apm-opentracing: 1.6.1  
elastic-apm-agent: 1.6.1  
apm-agent-attach: 1.6.1

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [May 13, 2019, 12:32pm UTC](https://discuss.elastic.co/t/support-for-opentracing-0-32-0/180624/2 "2019-05-13T12:32:02Z")

</div>

Hi and welcome to the forum 🙂.

Please open a GitHub issue in the Java agent repo for that. It wouldn't guarantee that this will happen right away, but it will be good for us in order to track and will give other users the chance to upvote.

---

<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:** [June 3, 2019, 8:32am UTC](https://discuss.elastic.co/t/support-for-opentracing-0-32-0/180624/3 "2019-06-03T08:32:02Z")

</div>

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