Files
backstage/plugins/xcmetrics
Fredrik Adelöw 98ed4fe065 Merge pull request #18234 from backstage/blam/jsdom-env
cli: Add `Request` `Response` `Headers` and `fetch` to `jsdom` environment
2023-06-20 10:40:26 +02:00
..
2023-06-13 19:37:24 +00:00

XCMetrics

XCMetrics is a tool for collecting build metrics from XCode.
With this plugin, you can view data from XCMetrics directly in Backstage.

XCMetrics-overview

Getting started

# From your Backstage root directory
yarn add --cwd packages/app @backstage/plugin-xcmetrics

In packages/app/src/App.tsx, add the following:

import { XcmetricsPage } from '@backstage/plugin-xcmetrics';
<FlatRoutes>
  {/* Other routes... */}
  <Route path="/xcmetrics" element={<XcmetricsPage />} />
</FlatRoutes>

Add the URL to your XCMetrics backend instance in app-config.yaml like so:

proxy:
  ...
  '/xcmetrics':
    target: http://127.0.0.1:8080/v1

Start Backstage and navigate to /xcmetrics to view your build metrics!