Files
backstage/plugins/xcmetrics
renovate[bot] cb1e3b052e chore(deps): update dependency @testing-library/dom to v10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-14 20:20:07 +00:00
..
2024-04-02 14:11:36 +00:00
2024-02-12 11:06:30 +01: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 --cwd packages/app 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!