|author||Jess Frazelle <email@example.com>||Mon Mar 26 14:43:43 2018 -0400|
|committer||Jess Frazelle <firstname.lastname@example.org>||Mon Mar 26 14:43:43 2018 -0400|
initial jenkins support Signed-off-by: Jess Frazelle <email@example.com>
A single page dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins. Very much built specific to me.
$ go get github.com/jessfraz/dash
$ docker run --rm -it \ --name dash \ --volume /home/user/.dash:/root/.dash:ro \ # for the Google Analytics key file r.j3ss.co/dash
$ dash -h _ _ __| | __ _ ___| |__ / _` |/ _` / __| '_ \ | (_| | (_| \__ \ | | | \__,_|\__,_|___/_| |_| A single page dashboard with stats from Google Analytics, GitHub, Travis CI, and Jenkins. Version: v0.0.0 Build: 338723b -d run in debug mode -ga-keyfile string Path to Google Analytics keyfile (default "/home/jessie/.dash/ga.json") -ga-viewid value Google Analytics view IDs (can have more than one) -travis-owner value Travis owner name for builds (can have more than one) -travis-token string Travis CI API token (or env var TRAVISCI_API_TOKEN) -v print version and exit (shorthand) -version print version and exit
Enable the API: To get started using Analytics Reporting API v4, you need to first create a project in the Google API Console, enable the API, and create credentials.
Follow the instructions for step enabling the API here.
Add the new service account to the Google Analytics account with Read & Analyze permission.
The newly created service account will have an email address that looks similar to:
Use this email address to add a user to the Google Analytics view you want to access via the API.