# Dynatrace V2 API - Is There a Way to Equate a Chart in the UI With Its API Metric name?

**URL:** <https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799>\
**Category:** Dynatrace API\
**Tags:** dynatrace-api\
**Created:** [June 14, 2021, 7:43pm UTC](https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799 "2021-06-14T19:43:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![louis\_gallo](https://avatars.discourse-cdn.com/v4/letter/l/6f9a4e/32.png) [@louis\_gallo](https://community.dynatrace.com/u/louis_gallo)\
**Post date:** [June 14, 2021, 7:43pm UTC](https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799/1 "2021-06-14T19:43:47Z")

</div>

Sometimes it is almost impossible to equate a metric in the UI with its respective V2 API metric name.

Is there an easy way to do this?

Any help is appreciated.

Lou

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 15, 2021, 6:38am UTC](https://community.dynatrace.com/t/dynatrace-v2-api-is-there-a-way-to-equate-a-chart-in-the-ui-with-its-api-metric-name/31799/2 "2021-06-15T06:38:50Z")

</div>

I agree, it’s sometimes difficult. UI often uses the metric name and the API uses the metric selector which uses the metric keys.

There is a UI menu called Metrics just for that purpose. Unfortunately, it does not allow you to search on all properties, I really would like to see filtering on dimension for example.

Also in the recent Dynatrace versions (I believe, it’s from 1.219), there is the ability to use the metric selector directly using the code tab:

 ![Julius_Loman_0-1623739106194.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/94fcf81067ea8abd1990f689fae2ca4313c3467a.png)
