npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@nitin15j/plugin-sleuth-dora

v0.4.0

Published

A Backstage frontend plugin that provides DORA (DevOps Research and Assessment) metrics visualization with Sleuth.io integration. This plugin offers three different views for different user roles and use cases.

Downloads

6

Readme

@nitin15j/plugin-sleuth-dora

A Backstage frontend plugin that provides DORA (DevOps Research and Assessment) metrics visualization with Sleuth.io integration. This plugin offers three different views for different user roles and use cases.

Features

  • Executive Dashboard: High-level organizational DORA metrics and quarterly health overview
  • Lead Dashboard: Team-focused DORA metrics with team selection and performance tracking
  • Entity Dashboard: Project-specific DORA metrics embedded in entity pages
  • Time Range Selection: Configurable time periods for metrics analysis
  • Real-time Data: Live metrics from Sleuth.io integration

Prerequisites

Installation

  1. Install the frontend plugin in your app package:
cd packages/app
yarn add @nitin15j/plugin-sleuth-dora
  1. Install the backend plugin (required):
cd packages/backend
yarn add @nitin15j/plugin-sleuth-dora-backend
  1. Configure the backend plugin in packages/backend/src/index.ts:
import { createBackend } from '@backstage/backend-defaults';

const backend = createBackend();

// Add the DORA backend plugin
backend.add(import('@nitin15j/plugin-sleuth-dora-backend'));

backend.start();
  1. Add configuration to your app-config.yaml:
dora:
  sleuth:
    organizationId: 'your-sleuth-organization-id'
    apiUrl: 'https://app.sleuth.io'
    apiKey: 'your-sleuth-api-key-here'

Available Views

1. Executive Dashboard (DoraELTPage)

Purpose: Provides executive-level overview of organizational DORA metrics and quarterly health trends.

Features:

  • Executive summary with key DORA metrics
  • Quarterly health overview
  • Organization-wide trend analysis
  • Time range selection for historical data

Installation:

// packages/app/src/App.tsx
import { DoraELTPage } from '@nitin15j/plugin-sleuth-dora';

// Add the route
<Route path="/dora-elt" element={<DoraELTPage />} />
// packages/app/src/components/Root/Root.tsx
import { CreateComponentIcon } from '@backstage/core-components';

// Add to sidebar navigation
<SidebarItem icon={CreateComponentIcon} to="dora-elt" text="Sleuth - ELT" />

2. Lead Dashboard (DoraLeadPage)

Purpose: Provides team leaders with detailed team performance metrics and the ability to compare teams.

Features:

  • Team performance overview
  • Team selector for comparing specific teams
  • All teams view for comprehensive analysis
  • Time range selection
  • User team filtering based on Backstage catalog

Installation:

// packages/app/src/App.tsx
import { DoraLeadPage } from '@nitin15j/plugin-sleuth-dora';

// Add the route
<Route path="/dora-lead" element={<DoraLeadPage />} />
// packages/app/src/components/Root/Root.tsx
import { CreateComponentIcon } from '@backstage/core-components';

// Add to sidebar navigation
<SidebarItem icon={CreateComponentIcon} to="dora-lead" text="Sleuth - Lead" />

3. Entity Dashboard (DoraPerformanceComponent)

Purpose: Embeds DORA metrics directly into entity pages for project-specific analysis.

Features:

  • Project-specific DORA metrics
  • Entity-based filtering
  • Time range selection
  • Performance trends and insights
  • Embeddable component for any entity type

Installation:

// packages/app/src/components/catalog/EntityPage.tsx
import { DoraPerformanceComponent } from '@nitin15j/plugin-sleuth-dora/src/plugin';

// Add the component content
const sleuthContent = (
  <Grid container spacing={3} alignItems="stretch">
    <Grid item xs={12}>
      <DoraPerformanceComponent />
    </Grid>
  </Grid>
);

// Add the route to your entity layout
<EntityLayout.Route path="/sleuth" title="Sleuth">
  {sleuthContent}
</EntityLayout.Route>

Entity Configuration: To use the Entity Dashboard, your entities must have the sleuth.io/project-slug annotation:

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: my-component
  annotations:
    sleuth.io/project-slug: 'your-sleuth-project-slug'
spec:
  type: service
  lifecycle: production
  owner: team-a

Complete Setup Example

Here's a complete example of setting up all three views:

1. App.tsx Configuration

// packages/app/src/App.tsx
import { DoraELTPage, DoraLeadPage } from '@nitin15j/plugin-sleuth-dora';

// Inside your Routes component
<Routes>
  {/* ... other routes ... */}
  <Route path="/dora-elt" element={<DoraELTPage />} />
  <Route path="/dora-lead" element={<DoraLeadPage />} />
</Routes>

2. Root.tsx Configuration

// packages/app/src/components/Root/Root.tsx
import { CreateComponentIcon } from '@backstage/core-components';

// Inside your Sidebar component
<SidebarItem icon={CreateComponentIcon} to="dora-elt" text="Sleuth - ELT" />
<SidebarItem icon={CreateComponentIcon} to="dora-lead" text="Sleuth - Lead" />

3. EntityPage.tsx Configuration

// packages/app/src/components/catalog/EntityPage.tsx
import { DoraPerformanceComponent } from '@nitin15j/plugin-sleuth-dora/src/plugin';

// Add the component content
const sleuthContent = (
  <Grid container spacing={3} alignItems="stretch">
    <Grid item xs={12}>
      <DoraPerformanceComponent />
    </Grid>
  </Grid>
);

// Add the route to your entity layout
<EntityLayout.Route path="/sleuth" title="Sleuth">
  {sleuthContent}
</EntityLayout.Route>

Configuration

Required Configuration

The plugin requires the following configuration in your app-config.yaml:

dora:
  sleuth:
    organizationId: 'your-sleuth-organization-id'
    apiUrl: 'https://app.sleuth.io'
    apiKey: 'your-sleuth-api-key-here'

Entity Annotations

For the Entity Dashboard to work, your entities must include:

metadata:
  annotations:
    sleuth.io/project-slug: 'your-sleuth-project-slug'

Development

Running the Plugin Locally

  1. Clone the repository
  2. Install dependencies: yarn install
  3. Configure your Sleuth.io credentials
  4. Start the development server: yarn start

Testing

yarn test

Troubleshooting

Common Issues

  1. Backend Plugin Not Installed: Ensure the backend plugin is properly installed and configured
  2. Missing Configuration: Verify your app-config.yaml has the required Sleuth.io configuration
  3. Entity Annotations: Check that entities have the required sleuth.io/project-slug annotation
  4. API Key Issues: Ensure your Sleuth.io API key is valid and has proper permissions

Error Messages

  • "No Sleuth project Slug found": Add the sleuth.io/project-slug annotation to your entity
  • "Failed to load metrics": Check your backend configuration and Sleuth.io API credentials
  • "No teams found": Verify your user has proper team associations in Backstage

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

License

This project is licensed under the Apache 2.0 License.