# Custom OpenTelemetry span attributes in OneAgent

**URL:** <https://community.dynatrace.com/t/custom-opentelemetry-span-attributes-in-oneagent/41039>\
**Category:** OpenTelemetry\
**Tags:** opentelemetry, extensions\
**Created:** [August 4, 2023, 9:03am UTC](https://community.dynatrace.com/t/custom-opentelemetry-span-attributes-in-oneagent/41039 "2023-08-04T09:03:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![alexander\_dt](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@alexander\_dt](https://community.dynatrace.com/u/alexander_dt)\
**Post date:** [August 4, 2023, 9:39am UTC](https://community.dynatrace.com/t/custom-opentelemetry-span-attributes-in-oneagent/41039/2 "2023-08-04T09:39:12Z")

</div>

Hello [@Aelodus](https://community.dynatrace.com/user/65515),

I assume you configured OneAgent to automatically instrument the application and ingest the Java traces, right? Or are you actively exporting to the OneAgent (or ActiveGate) endpoint?

Also, how did you configure the attributes? Via manual instrumentation in the code or using a different approach?

Cheers,

Alexander

---

_[View the full topic](https://community.dynatrace.com/t/custom-opentelemetry-span-attributes-in-oneagent/41039)._
