Each 30seconds, tatDashing computes dashboard. This uService gets information on tat and “relabel” messages on your dashing topic.
export TATDASHING_PRODUCTION=true
export TATDASHING_LISTEN_PORT=8080
export TATDASHING_PASSWORD_TAT_ENGINE="very-long-tat-password-of-tat.system.dashing"
export TATDASHING_URL_TAT_ENGINE="http://tat.your-domain"
export TATDASHING_USERNAME_TAT_ENGINE="tat.system.dashing"
# Run TatDashing
./api -h
mkdir -p $GOPATH/src/github.com/ovh
cd $GOPATH/src/github.com/ovh
git clone git@github.com:ovh/tat-contrib.git
cd tat-contrib/tatdashing/api
go build
./api -h
$ ./api -h
Tat Dashing
Usage:
tatdashing [flags]
Flags:
--listen-port string Listen Port (default "8085")
--log-level string Log Level : debug, info or warn
--password-tat-engine string Password Tat Engine
--production Production mode
--url-tat-engine string URL Tat Engine (default "http://localhost:8080")
--username-tat-engine string Username Tat Engine (default "tat.system.dashing")
To use it, you have to :
Example for compute label “color”:
#label:color:08f1f4:0:10,ce352c
: if value is >= 0 and value <= 10, color will be #08f1f4, else color will be #ce352c#label:color:08f1f4:0:10,ce352c:11:20,fa6800
: if value is >= 0 and value <= 10, color will be #08f1f4, else if value is >=11 and value <= 20, color will be #ce352c, else color will be #fa6800This reply : #TatDashing #label:0:value #value:0:/Internal/Alerts?tag=CD¬Label=done&onlyMsgRoot=true will :
This reply : #TatDashing #label:0:value #valuelabel:0:qos/Internal/Alerts?tag=CD will :
Display alerts from /Internal/Alerts with tag=CD and notLabel=done. Don’t forget onlyMsgRoot for exclude alert replay
Labels color, bg-color and value are computed by TatDashing uService.
Display Opened and Approved Pull Requests for projects TEXTANDTAGS, CDS and CD,
Labels color, bg-color and value are computed by TatDashing uService.
A graph with Chartist (see. https://gionkunz.github.io/chartist-js/examples.html )
Label widget-data-series is computed by TatDashing uService. value:0 is first point, value:1 is second point, etc…