Skip to content

forselli-stratio/grafana-reporter-stratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stratio Grafana Reporter

Stratio grafana reporter is a tool based on IzakMarais/reporter, which is a service that generates a PDF report from a Grafana dashboard. After generating the PDF, Stratio Grafana Reporter also sends this report to the email account you configure.

Stratio Grafana Reporter also sends the PDF report to the email account you configure.

Stratio Grafana reporters runs as a Metronome job.

Prerequisites

You need to set the Grafana hostport to 3000(or what you want, but consider Grafana reporter connects to the port where the host exposes the container where Grafana runs)

Also, the email adress from which mail is sent needs to have two factor authentication, and you need to create an application password.

You have to specify some vars to make it work:

Variable Definition
SSL_CHECK Check the SSL issuer and validity. Set this to false if your grafana serves https using an unverified self-signed certificate.(true/false)
DASHBOARD_ID Grafana dashboard id you want to get the report from.
PROTO Grafana Protocol. Change to 'https://' if Grafana is using https.(https:// or http://)
API_KEY API key to connect to Grafana.
GRAFANA_URL Grafana mesos slave URL and port.(grafana-prueba.marathon.slave.mesos:3000)
MAIL_TO Destination mail to send the PDF report.
MAIL_FROM Address from which mail is sent.
IMAP_PASS Mail from application password.
SMTP Smtp address and port.

About

Stratio Grafana Reporter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published