Actually, we have a Azure Devops pipeline to create custom-alerts and extensions as well. But, as part of monaco automation in the pipeline order structure we first create custom-alerts and then custom extensions.
So, I need a clarification that does we need extensions to create the remote DB metrics.
Because when we trying to create the mysql remote DB alert for eg: Table-locks-waited which is extension metric getting the below error.
I see that you are using Monaco.
If you create a dependency between the configurations monaco will figure out the order automatically. This is done in the yaml definition. Information can be found in the Monaco documentation: https://dynatrace-oss.github.io/dynatrace-monitoring-as-code/configuration/yaml_config#referencing-o...
Hope this helps.