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

This product reached the end of support date on March 31, 2021.

Exporting dashboard and scheduling a report for the same

vikram_narawad1
Participant

Hi,

Exporting dashboard and scheduling a report for the same in dynaTrace Oneagent (Saas). We had this functionality in AppMon but in One agent it don't have such feature.

Client need daily/Weekly report about the environment health which we are not able to do so.

Any solution please ?


2 REPLIES 2

roman_windischh
Dynatrace Mentor
Dynatrace Mentor

Hi Vikram! This is planned, see https://answers.dynatrace.com/spaces/483/dynatrace-product-ideas/idea/217503/dashboard-subscriptions...

For a regular update on the progress and other planned topics, check our online roadmap https://bit.ly/dashboard-roadmap


In the meantime, you can just make a very simple python script using selenium to export the dashboard into png and do the distribution by yourself. In python it would look like this: (just setup a proper executable path for chromedriver and the URL link for your publicly available dashboard):

You might need to tune the 20 sleep time as well or use the selenium means to identify when the webpage is fully loaded.

import time
from selenium import webdriver
from selenium.webdriver.chrome.options import Optio

chrome_options = Options()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--window-size=1920x1080")

driver = webdriver.Chrome(executable_path="/usr/local/bin/chromedriver", options=chrome_options)
driver.get('https://xxx.live.dynatrace.com/dashboards/xxxx/yyy')
time.sleep(20)
screenshot = driver.save_screenshot('dashboard.png')
driver.quit()

TEMPEST a.s., Slovakia, Dynatrace Master Partner