cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to duplicate/copy existing calculated-service-metrics?

As an experiment, I've configured multiple calc-service-metrics to track the performance of various funds of my customer, in terms of their request-count.


Now I want to create the metrics to track the response-time and also failure-rate of each funds too.

Instead of recreating one-by-one, I am wondering is there way I can duplicate/clone a new one based on existing calc-service-metric, then in the new one simply change from request-count to response-time.


Then it would be time-saving.


Best Regards,

Wai Keat

2 REPLIES 2

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Hello @Wai Keat C.

I wish there was a way to duplicate/clone the existing metrics. In this situation, I see only the less tedious way to use the API.

https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/calculated-metrics/service-me...

Regards,

Babar

adam_gardner
Dynatrace Champion
Dynatrace Champion

Use monaco to download the calculated service metrics (and other configuration) from your tenant. They'll come down in their own folder. Then just modify the YAML and JSON files and you have new CSMs. Then just use `monaco deploy...` to send back to your tenant

Let me know if you want more info on monaco (the repo has most of the info though)

https://github.com/dynatrace-oss/dynatrace-monitoring-as-code

Featured Posts