Files
backstage/plugins/xcmetrics
renovate[bot] 87ec2ba4d6 chore(deps): update dependency msw to ^0.46.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-08-31 01:34:13 +00:00
..
2022-08-30 13:44:09 +02:00
2022-08-19 10:24:00 +02:00
2022-08-30 12:02:13 +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 packages/app:

yarn add @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!