PerfBeacon Logo
Sign inSign up

Getting Started

What is PerfBeacon?

Automation

General

Deployments

Track your deployments.

This feature lets you know the performance impact of your deployments within seconds.

Create a deployment

At PerfBeacon, we use the following script in our CI to run PerfBeacon against PerfBeacon:

#!/bin/bash

CURRENT_HASH=$(git rev-parse HEAD)
SITE_ID='<siteId>'
TOKEN='<token>'

curl --request POST \
 --url https://app.perfbeacon.com/v1/deploys \
 --header 'content-type: application/json' \
 --data "{\"token\": \"${TOKEN}\", \"site_id\": \"${SITE_ID}\", \"commit_id\": \"${CURRENT_HASH}\"}"

sample response to the above request:

{ 
   "id":"<deployId>",
   "site_id":"<siteId>",
   "notes":{ 
      "commit_id":"<git hash>"
   },
   "created_at":"2020-02-13T21:57:21.357Z",
   "updated_at":"2020-02-13T21:57:21.357Z"
}

Product

  • Features

Company

TwitterGitHub

© 2019-2020 Max Rozen. All rights reserved.