e5327abaa3
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>
Rollbar Plugin
Website: https://rollbar.com/
Setup
-
Configure the rollbar backend plugin
-
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
- Add to the app
EntityPagecomponent:
// 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>
- Setup the
app-config.yamland account token environment variable
# app.config.yaml
rollbar:
organization: organization-name
# used by rollbar-backend
accountToken: ${ROLLBAR_ACCOUNT_TOKEN}
- 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
- Run app with
yarn startand navigate to/rollbaror 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