Replies: 2 comments 1 reply
-
Any plans here? |
Beta Was this translation helpful? Give feedback.
-
Hi @mdicss. Disclaimer, I've only tried this for templating simple lists and due to the complexity of configuration we generally don't advice or support using more than the basic value replacement templating. [1] https://www.dynatrace.com/support/help/manage/configuration-as-code/configuration/yaml-configuration#value |
Beta Was this translation helpful? Give feedback.
-
Hi
It would be very helpful to have a templating engine (something like jinja in Ansible/python - maybe you know a better one) integrated into monaco. One possibility is to integrate this directly or to have a kind of preprocessor.
With this, it would be possible to have loops, conditions, generated variable values or to generate bigger parts of yaml or json configuration files.
My actual example are dashboards where I have a different number of charts (one for each host) in different environments.
See also: #410
My workaround is, to write a python skript to generate json files or to use python and jinja.
Regards, Matthias
Beta Was this translation helpful? Give feedback.
All reactions