# Span attributes retention time

**URL:** <https://community.dynatrace.com/t/span-attributes-retention-time/44596>\
**Category:** Open Q&A\
**Tags:** distributed-traces-classic\
**Created:** [March 12, 2024, 3:21pm UTC](https://community.dynatrace.com/t/span-attributes-retention-time/44596 "2024-03-12T15:21:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonGoosen](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antongoosen/32/29737_2.png) [@AntonGoosen](https://community.dynatrace.com/u/AntonGoosen)\
**Post date:** [March 12, 2024, 3:21pm UTC](https://community.dynatrace.com/t/span-attributes-retention-time/44596/1 "2024-03-12T15:21:25Z")

</div>

Does Span Attributes have the same Retention period as Distributed traces (10 days default)?&nbsp; It is not stated in the docs.

---

<div class="post-metadata">

**Author:** ![PedroDeodato](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pedrodeodato/32/32284_2.png) [@PedroDeodato](https://community.dynatrace.com/u/PedroDeodato)\
**Post date:** [March 14, 2024, 6:18pm UTC](https://community.dynatrace.com/t/span-attributes-retention-time/44596/2 "2024-03-14T18:18:39Z")

</div>

Greetings,

Although not clearly stated on the Documentation (maybe someone from Dynatrace could give a clearer insight on this one?), my understanding is that Span Attributes are either considered “code level insights” or part of “Opentelemetry Traces”: both have a 10-day retention period.

However, if that is an issue, maybe you could create a Request Attribute that uses a Span Attribute as its source: this way, you leverage the 35-day retention period that comes with Request Attribute and are able to graph your data for longer.

[@Islam\_Zedan](https://community.dynatrace.com/user/16821)&nbsp;explains how on his [reply](https://community.dynatrace.com/post/217456) to a similar post.

Hope this helps! 🙂
