Files
backstage/plugins/xcmetrics/README.md
T
Jan Van Bruggen c51efce2a0 Update docs to always use yarn add --cwd for app & backend
Some commands currently error, and others are simply formatted inconsistently.
This format seems to work and be the most popular/common,
so I applied it to all similar occurrences.

Signed-off-by: Jan Van Bruggen <JanVB@verily.com>
2023-02-13 09:40:20 -07:00

831 B

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!