Netlify Epsagon Build Plugin - Instrument JavaScript functions with epsagon.
There are two ways to install the plugin in your Netlify site: with the Netlify UI or with file-based installation.
UI-based Installation
You can install this from your team's Plugins directory in the Netlify UI.
Read more about UI-based plugin installation in our docs.
File-based Installation
Create a netlify.toml
in the root of your project. Your file should include the plugins section below:
[build]
(...)
[[plugins]]
package = "netlify-plugin-epsagon"
From your project's base directory, use npm
, yarn
, or any other Node.js package manager to add this plugin to devDependencies
in package.json
.
npm install -D netlify-plugin-epsagon
or
yarn add -D netlify-plugin-epsagon
Read more about file-based plugin installation in our docs.
In order for this plugin to work a build environment variable
EPSAGON_TOKEN
needs to be provided.
The following plugin inputs
are available for further configuration:
ignoredKeys
: List of sensitive properties and names to be filtered out from traces (defaults to ["token", "authorization"]
)