# How to write OpenTelemetry data into TSDS?

**URL:** <https://discuss.elastic.co/t/how-to-write-opentelemetry-data-into-tsds/364011>\
**Category:** Metrics\
**Created:** [July 29, 2024, 10:06pm UTC](https://discuss.elastic.co/t/how-to-write-opentelemetry-data-into-tsds/364011 "2024-07-29T22:06:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hollis.wu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hollis.wu/32/134794_2.png) [@hollis.wu](https://discuss.elastic.co/u/hollis.wu)\
**Post date:** [July 29, 2024, 10:06pm UTC](https://discuss.elastic.co/t/how-to-write-opentelemetry-data-into-tsds/364011/1 "2024-07-29T22:06:25Z")

</div>

I am instrumenting our apps via OpenTelemetry SDK and write the metrics into Elastic via OpenTelemetry Protocol described in here: [OpenTelemetry native support | Elastic Observability [8.14] | Elastic](https://www.elastic.co/guide/en/observability/current/apm-open-telemetry-direct.html).

Is there any way to make the data stream/backing index for the metrics work as TSDS (Time series data stream described in [Time series data stream (TSDS) | Elasticsearch Guide [8.14] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html))? I want to enable rollup/downsampling for our metrics data. Our server can't keep up with the resolution of the metrics and taking ages to query when the timespan is large.
