{{template "header.tpl" .}} {{template "main-navbar.tpl" .}}
{{if (and .Servers (not .SharedServers))}}

Servers

{{template "freetrial.tpl" .}}
{{template "alert-status.tpl" .}}
{{else if (and .SharedServers (not .Servers))}}

Shared Servers

{{template "freetrial.tpl" .}}
{{template "alert-status.tpl" .}}
{{else if (and .SharedServers .Servers)}}

Servers

{{template "freetrial.tpl" .}}

Shared Servers

{{template "alert-status.tpl" .}}
{{else}}

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.7.1"}}{{$pgdver := "1.3.6"}}

# 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.

{{end}}
{{template "footer-pre.tpl" .}} {{template "footer-post.tpl" .}}