# Using OneAgent as an OTel generator

**URL:** <https://community.dynatrace.com/t/using-oneagent-as-an-otel-generator/45643>\
**Category:** OpenTelemetry\
**Tags:** opentelemetry, oneagent\
**Created:** [May 17, 2024, 7:48am UTC](https://community.dynatrace.com/t/using-oneagent-as-an-otel-generator/45643 "2024-05-17T07:48:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 17, 2024, 7:48am UTC](https://community.dynatrace.com/t/using-oneagent-as-an-otel-generator/45643/1 "2024-05-17T07:48:47Z")

</div>

Hello All,

I think the answer will be, not possible. But is there a switch to make oneAgent generate OTel traces instead of the Dynatrace PP.

(sometimes there is an intermediate system that can use OTel but not PP)

KR Henk

---

<div class="post-metadata">

**Author:** ![FranciscoGarcia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/franciscogarcia/32/38292_2.png) [@FranciscoGarcia](https://community.dynatrace.com/u/FranciscoGarcia)\
**Post date:** [May 20, 2024, 10:53am UTC](https://community.dynatrace.com/t/using-oneagent-as-an-otel-generator/45643/2 "2024-05-20T10:53:05Z")

</div>

Afraid not. You always need to generate your own Otel traces via an instrumenatation library, Otel auto instrumentation, etc.. One Agent can ingest these traces, but it can’t generate them. ([Use OneAgent with OpenTelemetry data — Dynatrace Docs](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/getting-started/traces/oneagent))
