Backstage

Installation

16min


Rootly plugin for Backstage

The Rootly plugin is a frontend plugin that displays Rootly services, incidents in Backstage. The plugin includes three components that can be integrated into Backstage:

  • The RootlyPage routable extension component which produces a standalone page with the following capabilities:
    • View and search a list of entities
    • View and search a list of services
    • View and search a list of functionalities
    • View and search a list of teams
    • View and search a list of incidents
  • The RootlyOverviewCard component which produces a summary of your entity with incidents over last 30 days and ongoing incidents.
  • The RootlyIncidentsPage component which produces a dedicated page within your entity with details about ongoing and past incidents.

You can link and import entities in rootly services through Backstage Web UI or through annotations.

Installation

Creating an Rootly API key

Because of the features provided by the plugin, an API key with full access to your Rootly domain is required.

  • Read access on services is needed to list services, write access to link entities to services.
  • Read access on functionalities is needed to list functionalities, write access to link entities to functionalities.
  • Read access on incidents needed to list incidents.
  1. Go to Profile -> Manage API Keys.
  2. Click on Generate New API Key button.
  3. Copy the key.



Document image


Backstage Setup

Add the plugin to your frontend app:

Shell


Add the plugin to your backend app:

Shell


Configure the plugin in app-config.yaml. The proxy endpoint described below will allow the frontend to authenticate with Rootly without exposing your API key to users.

YAML


Annotations

Available annotations are the following:

YAML


Example

YAML


Global

RootlyPage component



Document image


Expose the Rootly global page:

JS


Add a link to the sidebar:

JS


Entity

RootlyOverviewCard component



Document image

JS


RootlyIncidentsPage component



Document image

JS


Configuring the Entity Processor

You can enable the entity processor in your Backstage instance by injecting the dependency in the backend system in packages/backend/src/index.ts.

JS


License

This library is under the MIT license.

Support

If you need help or more information about this integration, please contact [email protected] or use the lower right chat widget to get connected with an engineer.

Updated 17 Oct 2024
Doc contributor
Doc contributor
Doc contributor
Did this page help you?