mattm / looker-daily-metrics-email

A Looker-powered daily metrics email report

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Daily Metrics Email

See this post for background: Building a Looker-Powered Daily Metrics Email Report .

Installation

bundle install

Sending the Email

First, configure the constants at the top of run.rb.

Then, set several environment variables (values you probably don't want to commit to your repo) before executing run.rb:

$ env LOOKER_CLIENT_ID="..." LOOKER_CLIENT_SECRET="..." EMAIL_USER_NAME="..." EMAIL_PASSWORD="..." ruby run.rb

You'll want to customize the script according to your business's needs.

Contact

If you have any suggestions, find a bug, or just want to say hey drop me a note at @mhmazur on Twitter or by email at matthew.h.mazur@gmail.com.

License

MIT © Matt Mazur

About

A Looker-powered daily metrics email report

License:MIT License


Languages

Language:Ruby 95.3%Language:HTML 4.7%