You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A good tool I found now that I need to backup all my monitors from datadog (around 1600) but there is a problem when I run it.
After a while, the script is running, I got a timeout error
Traceback (most recent call last):
16: from ./datadog-backups-cli:102:in `<main>'
15: from ./datadog-backups-cli:102:in `each'
14: from ./datadog-backups-cli:110:in `block in <main>'
13: from /Users/jairovelasquez/datadog-management/datadogmanagement.rb:103:in `backup_monitors'
12: from /Users/jairovelasquez/datadog-management/datadogmanagement.rb:103:in `each'
11: from /Users/jairovelasquez/datadog-management/datadogmanagement.rb:111:in `block in backup_monitors'
10: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/dogapi-1.45.0/lib/dogapi/facade.rb:594:in `get_monitor'
9: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/dogapi-1.45.0/lib/dogapi/v1/monitor.rb:42:in `get_monitor'
8: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/dogapi-1.45.0/lib/dogapi/common.rb:137:in `request'
7: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/gems/dogapi-1.45.0/lib/dogapi/common.rb:117:in `connect'
6: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:932:in `start'
5: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
4: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:958:in `connect'
3: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
2: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
1: from /Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:960:in `open'
/Users/jairovelasquez/.rbenv/versions/2.7.4/lib/ruby/2.7.0/net/http.rb:960:in `initialize': execution expired (Net::OpenTimeout)
Also is there an option to backup monitors only? What I did was to comment on the lines referencing dashboards and screenboards
The text was updated successfully, but these errors were encountered:
A good tool I found now that I need to backup all my monitors from datadog (around 1600) but there is a problem when I run it.
After a while, the script is running, I got a timeout error
Also is there an option to backup monitors only? What I did was to comment on the lines referencing dashboards and screenboards
The text was updated successfully, but these errors were encountered: