0.3.10 • Published 18 days ago

@backstage/plugin-newrelic-dashboard v0.3.10

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
18 days ago

New Relic Dashboard Plugin

Welcome to the newrelic-dashboard plugin!

Features

  • Adds New Relic Dashboard Pages Links to Overview section of the catalog
  • Shows Snapshots of dashboards in New Relic

Getting started

This plugin uses the Backstage proxy to securely communicate with New Relic's APIs. We use NerdGraph (New Relic's GraphQL API)

To generate a New Relic API Key , you can visit this link

  1. Add the following to your app-config.yaml to enable this configuration:
// app-config.yaml
proxy:
  '/newrelic/api':
    target: https://api.newrelic.com
    headers:
      X-Api-Key: ${NEW_RELIC_USER_KEY}
  1. Add the following to EntityPage.tsx to display New Relic Dashboard Tab
// In packages/app/src/components/catalog/EntityPage.tsx
import {
  isNewRelicDashboardAvailable,
  EntityNewRelicDashboardContent,
  EntityNewRelicDashboardCard,
} from '@backstage/plugin-newrelic-dashboard';

const serviceEntityPage = (
  <EntityLayout>
    {/* other tabs... */}
    <EntityLayout.Route
      if={isNewRelicDashboardAvailable}
      path="/newrelic-dashboard"
      title="New Relic Dashboard"
    >
      <EntityNewRelicDashboardContent />
    </EntityLayout.Route>
  1. Add the following in EntityPage.tsx to display dashboard links in overview page
const overviewContent = (
    {/* other tabs... */}
    <EntitySwitch>
      <EntitySwitch.Case if={isNewRelicDashboardAvailable}>
        <Grid item md={6} xs={12}>
          <EntityNewRelicDashboardCard />
        </Grid>
      </EntitySwitch.Case>
    </EntitySwitch>
  1. Add newrelic.com/dashboard-guid annotation in catalog descriptor file

To Obtain the dashboard's GUID: Click the info icon by the dashboard's name to access the See metadata and manage tags modal and see the dashboard's GUID.

// catalog-info.yaml
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  # ...
  annotations:
    newrelic.com/dashboard-guid: <dashboard_guid>
spec:
  type: service

All set , you will be able to see the plugin in action!

0.3.10

21 days ago

0.3.9

24 days ago

0.3.9-next.1

1 month ago

0.3.9-next.0

1 month ago

0.3.8

1 month ago

0.3.7

2 months ago

0.3.6

2 months ago

0.3.6-next.2

2 months ago

0.3.6-next.1

2 months ago

0.3.6-next.0

2 months ago

0.3.5

3 months ago

0.3.5-next.3

3 months ago

0.3.5-next.2

3 months ago

0.3.5-next.1

3 months ago

0.3.5-next.0

4 months ago

0.3.4

4 months ago

0.3.4-next.2

4 months ago

0.3.4-next.1

4 months ago

0.3.4-next.0

5 months ago

0.3.3

5 months ago

0.3.3-next.3

5 months ago

0.3.3-next.2

5 months ago

0.3.3-next.1

5 months ago

0.2.13-next.2

10 months ago

0.2.13-next.1

10 months ago

0.3.3-next.0

6 months ago

0.2.17-next.2

8 months ago

0.2.17-next.3

8 months ago

0.2.17-next.1

8 months ago

0.2.18-next.0

8 months ago

0.2.18-next.1

7 months ago

0.2.14-next.1

9 months ago

0.2.14-next.2

9 months ago

0.2.14-next.0

10 months ago

0.2.16-next.0

9 months ago

0.3.1-next.2

6 months ago

0.3.0-next.2

7 months ago

0.3.1-next.0

7 months ago

0.3.1-next.1

6 months ago

0.2.17

8 months ago

0.2.16

9 months ago

0.2.15

9 months ago

0.2.14

9 months ago

0.2.13

10 months ago

0.3.0

7 months ago

0.3.2

6 months ago

0.3.1

6 months ago

0.2.13-next.0

11 months ago

0.2.12

11 months ago

0.2.12-next.2

11 months ago

0.2.12-next.3

11 months ago

0.2.11-next.1

1 year ago

0.2.11-next.2

1 year ago

0.2.11

12 months ago

0.2.12-next.1

12 months ago

0.2.12-next.0

12 months ago

0.2.10-next.3

1 year ago

0.2.11-next.0

1 year ago

0.2.10

1 year ago

0.2.9-next.1

1 year ago

0.2.9-next.2

1 year ago

0.2.9-next.0

1 year ago

0.2.10-next.2

1 year ago

0.2.10-next.1

1 year ago

0.2.10-next.0

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.8-next.1

1 year ago

0.2.8-next.0

1 year ago

0.2.8-next.2

1 year ago

0.2.7-next.2

1 year ago

0.2.7-next.1

1 year ago

0.2.7

1 year ago

0.2.5-next.0

1 year ago

0.2.5-next.2

1 year ago

0.2.5-next.1

1 year ago

0.2.5-next.4

1 year ago

0.2.5-next.3

1 year ago

0.2.7-next.0

1 year ago

0.2.4-next.0

2 years ago

0.2.4-next.1

2 years ago

0.2.6

1 year ago

0.2.3

2 years ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3-next.2

2 years ago

0.2.3-next.1

2 years ago

0.2.3-next.0

2 years ago

0.2.2-next.2

2 years ago

0.2.2-next.1

2 years ago

0.2.2-next.0

2 years ago

0.2.2

2 years ago

0.2.0-next.3

2 years ago

0.1.15-next.2

2 years ago

0.1.15-next.1

2 years ago

0.1.15-next.0

2 years ago

0.1.14

2 years ago

0.1.14-next.1

2 years ago

0.1.14-next.0

2 years ago

0.2.1-next.1

2 years ago

0.2.1-next.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.13-next.0

2 years ago

0.1.13-next.1

2 years ago

0.1.13-next.2

2 years ago

0.1.13

2 years ago

0.1.12-next.1

2 years ago

0.1.12-next.0

2 years ago

0.1.10-next.0

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.6-next.0

2 years ago

0.1.5

2 years ago

0.1.5-next.0

2 years ago

0.1.4

2 years ago

0.1.4-next.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago