In order to use this feature , we need to use customized Grafana(v7.1.0) uploaded here .
Expand | ||
---|---|---|
| ||
https://infra.cogdevops.com:8443/#browserepository/browse:docroot:/insights_install%2FinstallationScripts%2Flatest%2FRHEL%2FCustom_Grafanainstall/installationScripts/latest/RHEL/Custom_Grafana/v7.1.0/Grafana/grafana-v7.1.0.tar.gz |
Expand | ||
---|---|---|
| ||
https://infra.cogdevops.com:8443/#browserepository/browse:docroot:/insights_install%2FinstallationScripts%2Flatest%2Fwindows%2FCustom_Grafanainstall/installationScripts/latest/windows/Custom_Grafana/v7.1.0/Grafana/grafana-v7.1.0.zip |
Info |
---|
Note : Please check the grafana configurations before starting the Grafana and modify it if any changes. |
...
Prerequisites:
Start the Grafana
configure datasource.
Name - PDF_ENDPOINT
url - http://localhost:8080/PlatformService/datasource/exportPDF/getDashboardAsPDF
Make sure you have workflow and report jar are running to receive mails.
Configure your mail id in Grafana → Preference → email. ( For this you need admin permission)
Configure work type in INSIGHTS_WORKFLOW_TYPE - > GRAFANADASHBOARDPDFREPORT.
Configure work flow task in INSIGHS_WORKFLOW_TASK as below
Code Block language json { "description":"Grafana Email_Exeute", "mqChannel":"WORKFLOW.TASK.EMAIL.EXCECUTION", "componentName":"com.cognizant.devops.platformreports.assessment.core.ReportEmailSubscriber", "dependency":"21", "workflowType":"GRAFANADASHBOARDPDFREPORT" }
Code Block language json { "description":"GRAFANA_PDF_Execute", "mqChannel":"WORKFLOW.TASK.GRAFANAPDF.EXCECUTION", "componentName":"com.cognizant.devops.platformreports.assessment.core.GrafanaPDFExecutionSubscriber", "dependency":"10", "workflowType":"GRAFANADASHBOARDPDFREPORT" }
...
Check your smtp configurations in server-config.json .
...
Usage:
Grafana PDF Download Options:
...