gatsby-plugin-build-monitor

A Gatsby plugin which pings an endpoint when gatsby build starts and finishes.

Usage no npm install needed!

<script type="module">
  import gatsbyPluginBuildMonitor from 'https://cdn.skypack.dev/gatsby-plugin-build-monitor';
</script>

README

Build Monitor

A Gatsby plugin which pings an endpoint when gatsby build starts and finishes.

The endpoint is pinged with a POST request. The JSON payload is described in the Payload interface. See scr/gatsby-node.ts file.

Setup

Install the package and set the following environment variables:

  • GATSBY_PLUGIN_BUILD_MONITOR_ENDPOINT: the endpoint URL
  • GATSBY_PLUGIN_BUILD_MONITOR_TOKEN: the token to be sent in token header

Integrations