Files
backstage/plugins/rollbar
Raghunandan Balachandran 304b7bcb13 Merge pull request #2074 from spotify/rugvip/discovery
[RFC] Add DiscoveryApi
2020-08-27 15:07:21 +02:00
..
2020-08-26 11:33:14 +02:00

Rollbar Plugin

Website: https://rollbar.com/

Setup

  1. Configure the rollbar backend plugin

  2. If you have standalone app (you didn't clone this repo), then do

yarn add @backstage/plugin-rollbar
  1. Add plugin to the list of plugins:
// packages/app/src/plugins.ts
export { plugin as Rollbar } from '@backstage/plugin-rollbar';
  1. Add plugin API to your Backstage instance:
// packages/app/src/api.ts
import { RollbarClient, rollbarApiRef } from '@backstage/plugin-rollbar';

// ...

builder.add(
  rollbarApiRef,
  new RollbarClient({
    apiOrigin: backendUrl,
    basePath: '/rollbar',
  }),
);

// Alternatively you can use the mock client
// builder.add(rollbarApiRef, new RollbarMockClient());
  1. Run app with yarn start and navigate to /rollbar

Features

  • List rollbar projects
  • View top active items for each project

Limitations

  • Rollbar has rate limits per token