Files
backstage/plugins/rollbar
dependabot[bot] e5327abaa3 build(deps): bump @testing-library/react-hooks from 3.4.2 to 7.0.2
Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 3.4.2 to 7.0.2.
- [Release notes](https://github.com/testing-library/react-hooks-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-hooks-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-hooks-testing-library/compare/v3.4.2...v7.0.2)

---
updated-dependencies:
- dependency-name: "@testing-library/react-hooks"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-28 13:01:24 +02:00
..
2021-06-18 20:26:42 +02:00
2021-09-23 10:01:17 +00:00
2021-06-18 20:26:42 +02:00
2021-05-02 22:13:05 +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