Replies: 2 comments
-
Hi @fhmlsml thanks for reaching out. I don't know what the issue might be here — do you get an error when running your code? If you view the logs (via adding |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am experiencing an issue with a Boto script that I am using to update metrics in a dashboard. Specifically, the script is not updating the metrics (widget) automatically when a new instance appears.
The script is supposed to automatically detect when a new instance appears and add its metrics to the existing dashboard. However, this is not happening, and I have to manually add the new instance's metrics to the dashboard (*edit the
dashboard source
json editor and add theoutput json text
from my code manually to it.Dashboard source
Here's my code, i followed this tutorial and adjust the script for my needs
https://aws.amazon.com/blogs/mt/update-your-amazon-cloudwatch-dashboards-automatically-using-amazon-eventbridge-and-aws-lambda/
However, If i copy the result from
all_widgets
and updated it manually indashboard source
cloudwatch console, it worksis this kind of bug or something ? thanks
Beta Was this translation helpful? Give feedback.
All reactions