Files
backstage/plugins/airbrake-backend
Patrik Oldsberg 1f87e8a376 Merge pull request #10037 from backstage/rugvip/role-lint
cli: introduce role-based lint configuration setup
2022-03-08 09:27:19 +01:00
..
2022-02-22 15:53:04 +01:00
2022-03-07 10:15:54 +00:00
2022-03-03 15:23:53 +00:00
2022-02-22 15:53:04 +01:00
2022-02-28 11:35:09 +00:00

airbrake-backend

The Airbrake backend plugin provides a simple proxy to the Airbrake API while hiding away the secret API key from the frontend.

How to use

See the Airbrake plugin instructions.

Local Development

This method of serving the plugin provides quicker iteration speed and a faster startup and hot reloads.

  1. Add the required config to your app-config.local.yaml:

    airbrake:
      apiKey: ${AIRBRAKE_API_KEY}
    
  2. Set the environment variable AIRBRAKE_API_KEY with your API key. You can also write it directly into the config file above for convenience - but beware of accidentally leaking the key.

  3. Go into the plugin's directory and run it in standalone mode by running yarn start.

Access it from http://localhost:7007/api/airbrake. Or use the Airbrake plugin in standalone mode which will talk to it automatically.

Here are some example endpoints: