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

Monaco deploy configuration success with 0 config changes on my environment

SureshK
Frequent Guest

Hi,

I am new to monaco and trying to use it to ceate a autotag and dashabord . Deployment is succeeding but 0 configurations udated to my environment. Can someone advise what I am missing here?

I tried the same configurtion through autotag post API call from API explorer and it worked so no issue with token permission. 

Here is the output after deployment

 

 

2023-01-28 16:01:18 INFO  Dynatrace Monitoring as Code v1.8.9
2023-01-28 16:01:18 INFO  Executing projects in this order:
2023-01-28 16:01:18 INFO        1: D:\monaco exercise\projects\tag (0 configs)
2023-01-28 16:01:18 INFO  Processing environment suresh...
2023-01-28 16:01:18 INFO        Processing project D:\monaco exercise\projects\tag...
2023-01-28 16:01:18 INFO  Deployment summary:
2023-01-28 16:01:18 INFO  Deployment finished without errors
2023-01-28 16:01:18 INFO  There is no delete file delete.yaml found in D:\monaco exercise\projects\delete.yaml. Skipping delete config.

 

 

 

5 REPLIES 5

theharithsa
Dynatrace Champion
Dynatrace Champion

Hi @SureshK 

Looks like the directory structure you are using is not correct and that is the reason it is not relecting. Can you please send the directory structure you are using along with the filenames so that I can take a look at it? 

Love more, hate less; Technology for all, together we grow.

Hi @theharithsa ,

Thanks for your response. Here is the directory structure and files

  • D:\monaco exercise\monaco             <here is my monaco.exe>
  • D:\monaco exercise\projects             <here I have project "tag" and environments.yaml file>
  • D:\monaco exercise\projects\tag      <here I have auto-tag.json and auto-tag.yaml files>

 

Hi @theharithsa  

Did you get a chance to look at this?

 

 

Thanks

Suresh

Hi @SureshK@theharithsa 

Iam in the same situation. I have made a required changes in the alerting-profile.yaml and created new json files for the new alerting profiles. I have tried to deploy only the alerting-profile changes (perviously I downloaded the alerting-profile, dashboard and auto-tags). 

Does not work for the environment sub folder :

Mizs_1-1675112029148.png

Do work for the whole environment folder:

Mizs_0-1675111960709.png

Directory structure:

C:\MONACO\peti-environment\alerting-profile

C:\MONACO\peti-environment\dashboard

C:\MONACO\peti-environment\auto-tag

What is wrong with the first one?

Thanks in advance.

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Hey @theharithsa, were you able to investigate the issue further maybe? Thanks! 😊

The only constant is change. Finding ways for great things to happen!

Featured Posts