# Limitation of max 5 metrics in new dashboards

**URL:** <https://community.dynatrace.com/t/limitation-of-max-5-metrics-in-new-dashboards/46270>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, dashboards\
**Created:** [June 24, 2024, 6:57am UTC](https://community.dynatrace.com/t/limitation-of-max-5-metrics-in-new-dashboards/46270 "2024-06-24T06:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario\_rwwa](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@mario\_rwwa](https://community.dynatrace.com/u/mario_rwwa)\
**Post date:** [June 24, 2024, 6:57am UTC](https://community.dynatrace.com/t/limitation-of-max-5-metrics-in-new-dashboards/46270/1 "2024-06-24T06:57:18Z")

</div>

I have 6 custom metrics which I’m extracting from logfiles. I need to visualise all 6 of these metrics separately, but, I also need to be able to perform some calculations against them for some charts. I can do this in Data Explorer, and I can create a chart inside Classic Dashboards which displays what I want it to.

However, I cannot do the same in the new Dashboard view, the error returned is quite clear:

```markup
"errorType": "TOO_MANY_METRIC_KEYS_IN_TIMESERIES",
"errorMessage": "You can only use up to 5 different metric keys."

```

1) Is that a 5 a hard limit or can it be raised? Will it increase in the future?

2) Can I work around this via a better method? I could perhaps extract a new metric from the logs which contains all the pattern matching of each of the 6 metrics, but that feels silly. Duplication of work, plus, if the logs ever change I’d have to update both spots.

3) Can I create a new custom metric, based off of my 6 custom metrics? That way I could just use that single metric in my chart/dashboards.

Cheers,  
Mario

---

<div class="post-metadata">

**Author:** ![fcourbon](https://avatars.discourse-cdn.com/v4/letter/f/df788c/32.png) [@fcourbon](https://community.dynatrace.com/u/fcourbon)\
**Post date:** [August 20, 2024, 7:37am UTC](https://community.dynatrace.com/t/limitation-of-max-5-metrics-in-new-dashboards/46270/2 "2024-08-20T07:37:43Z")

</div>

The maximum number of metric keys that can be used used was raised to 10.
