# Python OpenTelemetry available endpoints as only Otelcol works

**URL:** <https://community.dynatrace.com/t/python-opentelemetry-available-endpoints-as-only-otelcol-works/43673>\
**Category:** OpenTelemetry\
**Tags:** opentelemetry\
**Created:** [January 17, 2024, 5:30pm UTC](https://community.dynatrace.com/t/python-opentelemetry-available-endpoints-as-only-otelcol-works/43673 "2024-01-17T17:30:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romanenkov\_Al3x](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/romanenkov_al3x/32/36257_2.png) [@Romanenkov\_Al3x](https://community.dynatrace.com/u/Romanenkov_Al3x)\
**Post date:** [January 17, 2024, 5:30pm UTC](https://community.dynatrace.com/t/python-opentelemetry-available-endpoints-as-only-otelcol-works/43673/1 "2024-01-17T17:30:52Z")

</div>

Hello.

Trying to follow python example.&nbsp;[OpenTelemetry and Dynatrace — Dynatrace Docs](https://docs.dynatrace.com/docs/extend-dynatrace/opentelemetry/overview/instrumentation#python-example)

Please confirm that there is no possibility send python traces without otelcol

| Failed to export traces, error code: StatusCode.UNKNOWN |
| --- |

If it possible can anybody share working configuration.

I have tried different endpoints -

- /api/v2/otlp/v1/traces
- /api/v2/otlp
- OTEL\_EXPORTER\_OTLP\_TRACES\_ENDPOINT
- OTEL\_EXPORTER\_OTLP\_ENDPOINT
- OneAgent endpoint
- Managed Cluster
- Env AG
- Cluster AG

 ![Romanenkov_Al3x_1-1705512091835.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/4/046d69ac224a70879f2090479f5c10e29167e8d4.png)

It is working only with otelcol.

Regards,

Alex Romanenkov

---

<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:** [February 5, 2024, 10:57am UTC](https://community.dynatrace.com/t/python-opentelemetry-available-endpoints-as-only-otelcol-works/43673/2 "2024-02-05T10:57:19Z")

</div>

Hi Alex,

that’s right, this particular example focuses on a gRPC export to a local Collector instance.

If you prefer to export straight to an ActiveGate or OneAgent (attention, the latter only supports traces for the time being), you could follow the guides at [Automatically instrument your Python application with OpenTelemetry — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/otel-wt-python), which focus on HTTP exports and explain which URLs you need, which parameters need to be configured, and which token scopes are necessary.

Best,

Alexander
