# Set up a new custom metrics endpoint for a TimeSeries API

**URL:** <https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975>\
**Category:** Dynatrace API\
**Tags:** dynatrace-managed, dynatrace-api\
**Created:** [March 23, 2023, 2:11pm UTC](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975 "2023-03-23T14:11:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanMarx](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@StefanMarx](https://community.dynatrace.com/u/StefanMarx)\
**Post date:** [March 23, 2023, 2:11pm UTC](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975/1 "2023-03-23T14:11:00Z")

</div>

Hi,

to utilize the TimeSeries API with a custom metrics there seems to be the need to set up a new endpoint. Is there a kind of best practise for this.

Thanks for reading and .. of cause .. very much more for writing ;=).

Greetings, Stefan

---

<div class="post-metadata">

**Author:** ![Ana.Kuzmenchuk](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Ana.Kuzmenchuk](https://community.dynatrace.com/u/Ana.Kuzmenchuk)\
**Post date:** [May 26, 2023, 10:51am UTC](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975/2 "2023-05-26T10:51:30Z")

</div>

Hi&nbsp;[@StefanMarx](https://community.dynatrace.com/user/60899), were you able to resolve that on your own? If so, the Community would really appreciate if you shared your findings in the comments&nbsp;😊

(and if you haven’t, let’s bring this post back up so more people can see it and share their experience)

---

<div class="post-metadata">

**Author:** ![nickvogt](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nickvogt/32/22782_2.png) [@nickvogt](https://community.dynatrace.com/u/nickvogt)\
**Post date:** [June 1, 2023, 8:47am UTC](https://community.dynatrace.com/t/set-up-a-new-custom-metrics-endpoint-for-a-timeseries-api/38975/3 "2023-06-01T08:47:44Z")

</div>

Hi[@StefanMarx](https://community.dynatrace.com/user/60899),

I’d recommend using the [Metrics v2 API](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2) with custom metrics as a best practice—especially if you’re setting up something new. The [Timeseries v1 API](https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v1) has a comparatively smaller feature set.

Take care,  
Nick
