{{if (and .Servers (not .SharedServers))}}
{{else if (and .SharedServers (not .Servers))}}
{{else if (and .SharedServers .Servers)}}
{{else}}
{{end}}
Servers
{{template "freetrial.tpl" .}}Servers
{{template "freetrial.tpl" .}}
Welcome to pgDash!
{{template "freetrial.tpl" .}}
To collect and report metrics to pgDash, follow the steps in the
screencast below.
It should only take you a few minutes to get going:
For more information check out the Getting Started guide in the pgDash documentation.
Your API Key is available from the profile page.
Here are the commands for quick copy-pasting:
{{$pgmver := "1.6.1"}}{{$pgdver := "1.3.3"}}
# get pgmetrics
curl -O -L https://github.com/rapidloop/pgmetrics/releases/download/v{{$pgmver}}/pgmetrics_{{$pgmver}}_linux_amd64.tar.gz
# unpack pgmetrics
tar xvf pgmetrics_{{$pgmver}}_linux_amd64.tar.gz
# get pgdash CLI
curl -O -L https://github.com/rapidloop/pgdash/releases/download/v{{$pgdver}}/pgdash_{{$pgdver}}_linux_amd64.tar.gz
# unpack pgdash CLI
tar xvf pgdash_{{$pgdver}}_linux_amd64.tar.gz
# invoke pgmetrics
./pgmetrics_{{$pgmver}}_linux_amd64/pgmetrics --help
# example command line to send to pgdash
./pgmetrics_{{$pgmver}}_linux_amd64/pgmetrics --no-password -f json mydb | \
./pgdash_{{$pgdver}}_linux_amd64/pgdash -a YOUR-API-KEY report myserver
Have questions? Email us at support@rapidloop.com.