Last updated Feb 14, 2022

Rate this page:

Connect, view, and disconnect component metrics

Connect a metric to a component

Connecting metrics to components in Compass helps you track their performance and that of their owner teams.

Metrics in Compass are global across the site. It means that you can connect a metric available on your Compass site to any component on the same site.

We will show you how to connect a metric to a component in Compass.

To connect a metric to a component:

  1. Go to your component’s details page in Compass.

  2. Select the field under the Metrics section.

    • If you haven't connected any metrics so far, select + Connect metrics to measure the performance of your component and team.
    • If you’ve connected at least one metric, select + Connect metric.
  3. On the Connect a metric dialog, select a metric from the Metric dropdown list.

  4. Select Connect.

    Image of the connect a metric dialog with a selected metric

You can add a given metric only once per component.

Once you connect a metric to a component, Compass creates a metric source for that metric on the component. A metric source contains values that provide numerical data about the component for a given metric. Tools such as source code repositories, incident trackers, and CI/CD tools, emit these metric values. You can use our REST API to push the metric values from your tool to the component’s metric source, and hence on to the component in Compass. We provide you with a cURL command to call the REST API. Learn how to push metric values to a component using a cURL command

View a component's metrics

A component’s metric value gives you an indication of how your component or the team managing the component is performing. Metrics can be distributed across several tools and processes that a software team uses during development and operations, for example, source code repositories, incident tracking tools, or CI/CD tools. Compass gives you the ability to view these metrics from a single place.

You can view a component’s metric values in Compass by connecting a metric to it and pushing metric values to your component.

Before you begin

Before you view a metric value in Compass, ensure that you’ve:

View a component’s metric

To view a component’s metrics:

  1. Go to your component’s details page in Compass.

  2. On the Overview page, locate the metric you want to view in the Metrics section.

    Image of a component’s details page with a metric having a metric value.

The value of the metric is displayed on the metric tile.

Disconnect a metric from a component

If you no longer want to track a metric for a component, you can disconnect the metric from it.

Disconnecting a metric from a component also removes the metric from that component along with the metric values associated with that component. If you reconnect the same metric again to the component at a later time, you’ll need to push values again to it. The values prior to the disconnection are not retained.

Disconnecting a metric from a component doesn’t affect other components that have the same metric on them, nor does it delete the metric from the Compass site.

To disconnect a metric:

  1. Go to your components details page in Compass.

  2. In the Overview page, locate the metric you want to remove under the Metrics section.

  3. Select the more actions icon (More actions icon) on the metric tile for the metric you want to disconnect, then select Disconnect metric.

    Image of the disconnect metric menu item on a metric tile.
  4. Select Disconnect on the confirmation dialog to complete the disconnection.

Rate this page: