Replies: 6 comments 3 replies
-
My opinion on this is that you would need to implement this in a way that Monaco becomes aware of an centralised repository to compare those diffs. |
Beta Was this translation helpful? Give feedback.
-
That is exactly what we need. This would allow Monaco to clean up any manual changes in the UI because people are not supposed to make manual changes. That would allow us to enforce that everyone makes config changes via pull requests. |
Beta Was this translation helpful? Give feedback.
-
I think we already had discussion about this some time ago but storing the state locally would complicate the things a bit. To properly implement this, support in product would also be needed. But, there is actually a way of making this work:
|
Beta Was this translation helpful? Give feedback.
-
i like this idea the terraform provider is already working in this mode |
Beta Was this translation helpful? Give feedback.
-
Personal (but strong) opinion: I do not want monaco to keep state. As the need exists, I would prefer us to solve it by focusing on:
|
Beta Was this translation helpful? Give feedback.
-
This feature is something that we would really like to see added, as well. One way I think this could be implemented, without impacting manually managed configuration, would be to have a unique tag added to each resource in a particular Monaco project. If you enable auto purge, you could then scope the Monaco resource gathering runs based upon that tag and delete anything that isn't currently managed by the project. This was the strategy we took when implementing resource management via Puppet (before Monaco was available) and it worked as expected, though we only scoped that work to the four resources we needed for that use case. |
Beta Was this translation helpful? Give feedback.
-
I believe this ties into #16 as well, but wanted to make a separate feature request for it.
Monaco should have a mode where it is running as "single source of truth" for configuration, in a true GitOps model.
This means that when a configuration is removed from a centralised Monaco repo, upon the next Monaco run this config should also be removed from Dynatrace.
Since Monaco does not keep a state, one solution could be that Monaco retrieves a list of all configurations (e.g. Applications). After a successful run of applying configuration, it does a diff between what the desired state is (in Monaco config repo) and the current state (in Dynatrace). What is extra in Dynatrace should be removed.
This should probably not be the defacto standard operating mode of Monaco, but it should be an option controlled either by a flag or an environment variable.
Beta Was this translation helpful? Give feedback.
All reactions