Files
backstage/plugins/rollbar
dependabot[bot] d3b6c6c12a chore(deps): bump msw from 0.21.2 to 0.29.0
Bumps [msw](https://github.com/mswjs/msw) from 0.21.2 to 0.29.0.
- [Release notes](https://github.com/mswjs/msw/releases)
- [Changelog](https://github.com/mswjs/msw/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mswjs/msw/compare/v0.21.2...v0.29.0)

---
updated-dependencies:
- dependency-name: msw
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 04:45:44 +00:00
..
2021-06-18 20:26:42 +02:00
2021-06-22 10:07:18 +02:00
2021-05-27 10:23:15 +00:00
2021-06-18 20:26:42 +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

# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-rollbar
  1. Add to the app EntityPage component:
// In packages/app/src/components/catalog/EntityPage.tsx
import { EntityRollbarContent } from '@backstage/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