@backstage-community/plugin-rollbar
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

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

# From your Backstage root directory
yarn --cwd packages/app add @backstage-community/plugin-rollbar
  1. Add to the app EntityPage component:
// In packages/app/src/components/catalog/EntityPage.tsx
import { EntityRollbarContent } from '@backstage-community/plugin-rollbar';

const serviceEntityPage = (
  <EntityLayout>
    {/* other tabs... */}
    <EntityLayout.Route path="/rollbar" title="Rollbar">
      <EntityRollbarContent />
    </EntityLayout.Route>
  1. Setup the app-config.yaml and account token environment variable
# app.config.yaml
rollbar:
  organization: organization-name
  # used by rollbar-backend
  accountToken: ${ROLLBAR_ACCOUNT_TOKEN}
  1. Annotate entities with the rollbar project slug
# pump-station-catalog-component.yaml
# ...
metadata:
  annotations:
    rollbar.com/project-slug: organization-name/project-name
    # -- or just ---
    rollbar.com/project-slug: project-name
  1. Run app with yarn start and navigate to /rollbar or a catalog entity

Features

  • List rollbar entities that are annotated with rollbar.com/project-slug
  • View top active items for each rollbar annotated entity

Limitations

  • Rollbar has rate limits per token

Links

Readme

Keywords

Package Sidebar

Install

npm i @backstage-community/plugin-rollbar

Homepage

backstage.io

Weekly Downloads

262

Version

0.7.2

License

Apache-2.0

Unpacked Size

98.3 kB

Total Files

33

Last publish

Collaborators

  • patriko