> [!WARNING]
>
> **Preview**
>
>
> This product or feature is
>
> subject to the "Pre-GA Offerings Terms" in the General Service Terms section
> of the [Service Specific
> Terms](https://docs.cloud.google.com/terms/service-terms#1).
>
> Pre-GA products and features are available "as is" and might have limited support.
>
> For more information, see the
> [launch stage descriptions](https://cloud.google.com/products/#product-launch-stages).


When you [set up application management](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub.md.txt) such that you have a
[management project](https://docs.cloud.google.com/app-hub/docs/key-concepts.md.txt#mgmt-project), Google Cloud Observability automatically configures
the metrics scope of that management project
so that you can view telemetry across its associated *member projects*. This
project also stores configuration information required by Google Cloud Observability
services. When your member projects approach or exceed your metrics scope
quota, you can view your quota usage, request a quota increase, or manually
update the metrics scope by removing projects that you don't want to monitor.

If you're using an App Hub [host project](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub-host-project.md.txt)
with attached service projects, then this document doesn't apply.
Instead, see [Configure a metrics scope](https://docs.cloud.google.com/monitoring/settings/multiple-projects.md.txt).

## About management projects

A [management project](https://docs.cloud.google.com/app-hub/docs/key-concepts.md.txt#mgmt-project) is a specialized Google Cloud project that
serves as the central control plane and repository for application-centric
metadata, management APIs, and cross-project observability configurations. For
example, the metrics scope of a management project determines which
projects' metric data you can chart and monitor from the management project.

How a management project is created and how its *member projects* are
defined depend on how you configure your boundary:

- **Folder-level boundary (app-enabled folder)** : When you enable a
  folder for application management, Google Cloud automatically creates a
  management project in that folder. All descendant projects in the
  folder are member projects of the management project. Membership updates
  automatically as you add, move, or remove projects in the folder. For more
  information, see [Managing applications in a folder](https://docs.cloud.google.com/resource-manager/docs/manage-applications.md.txt) and
  [Set up a folder](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub-folder.md.txt).

- **Tag-based management boundary** : When you configure a tag-based
  management boundary and capability configuration type `APP_MANAGEMENT` in
  Resource Manager, you can either designate an existing project as the
  management project or let Resource Manager automatically create one
  for you. If you designate an existing project, Google Cloud Observability only adds
  or removes member projects from its metrics scope; any projects already
  in that metrics scope aren't affected. Projects in your folder or
  organization dynamically become member
  projects when they have a matching resource tag bound to them or inherited
  from a parent folder. For more information, see
  [Management boundaries overview](https://docs.cloud.google.com/resource-manager/docs/boundaries-and-capabilities-overview.md.txt) and
  [Configure management boundaries](https://docs.cloud.google.com/resource-manager/docs/manage-capability-configs.md.txt).

- **Single-project boundary** : When you [set up a single project](https://docs.cloud.google.com/app-hub/docs/set-up-app-hub-single-project.md.txt)
  for application management, that project acts as its own standalone
  management project and has no other member projects. Because a
  project's metrics scope always includes itself, no additional projects
  are synchronized to its metrics scope.

## How the metrics scope for a management project is managed

Google Cloud Observability runs a background task to keep a management project's
metrics scope synchronized with its member projects. By default, the
metrics scope quota is 375 projects, which lets the
metrics scope include the management project itself and up to
374 member projects.

If your management project has more member projects than your quota allows,
Google Cloud Observability adds member projects until the quota is exhausted. The
remaining member projects aren't added to the metrics scope, and their
metric data isn't available from the management project.

If the metrics scope quota is exhausted, then try the following:

- Request a quota increase.
- Remove projects from the metrics scope.

When quota becomes available, the background task that manages the
metrics scopes of management projects automatically updates those
scopes. You don't need to make any manual changes.

## Before you begin

- If you aren't familiar with the term *metrics scope* , then see [Metrics scopes overview](https://docs.cloud.google.com/monitoring/settings.md.txt).

<!-- -->

-

  To get the permissions that
  you need to configure a metrics scope,

  ask your administrator to grant you the
  [Monitoring Metrics Scopes Admin](https://docs.cloud.google.com/iam/docs/roles-permissions/monitoring.md.txt#monitoring.metricsScopesAdmin) (`roles/monitoring.metricsScopesAdmin`) IAM role on the management project and on each project
  that you want to add to, or remove from, the metrics scope.


  For more information about granting roles, see [Manage access to projects, folders, and organizations](https://docs.cloud.google.com/iam/docs/granting-changing-revoking-access.md.txt).


  You might also be able to get
  the required permissions through [custom
  roles](https://docs.cloud.google.com/iam/docs/creating-custom-roles) or other [predefined
  roles](https://docs.cloud.google.com/iam/docs/roles-overview#predefined).
- If you use the Google Cloud console to add projects to the metrics scope of
  a management project whose parent is a folder, then ensure that you
  also have the `cloudasset.assets.searchAllResources` permission on the
  folder. You can get this permission through the
  [Cloud Asset Viewer](https://docs.cloud.google.com/iam/docs/roles-permissions/cloudasset.md.txt#cloudasset.viewer)
  (`roles/cloudasset.viewer`) IAM role.

## View your quota usage

To prevent the need to manually manage the metrics scope for a
management project, make sure that you have quota
available before you add member projects to the management project. This
section describes how to view your current quota usage.

To view your metrics scope quota usage, do the following:

1. In the Google Cloud console, go to the
   **Settings** page:

   [Go to **Settings**](https://console.cloud.google.com/monitoring/settings)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the Google Cloud console, select the management project.
3. Select **Metric Scope**.

   The **Metric Scope quota** pane displays your current quota usage and your
   quota limit.

## Request a quota increase

By default, a metrics scope can include 375
Google Cloud projects. You can request a quota increase up to
3,500 Google Cloud projects per
metrics scope. However, if you increase your quota and add more than
375 Google Cloud projects to a metrics scope, then you
might experience performance issues.

To request a quota increase, do the following:

1. In the Google Cloud console, go to the
   **Settings** page:

   [Go to **Settings**](https://console.cloud.google.com/monitoring/settings)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the Google Cloud console, select the management project.
3. Select **Metric Scope**.
4. In the **Metric Scope quota** pane, select **Request quota increase**.

   The **Quotas \& System Limits** page opens and is filtered to the
   Cloud Monitoring API.
5. Request an increase for the quota named
   **Monitored Projects / Monitoring Metrics Scope** . For instructions, see
   [Request a quota adjustment](https://docs.cloud.google.com/docs/quotas/view-manage.md.txt#requesting_higher_quota).

After your quota is increased, you can add projects to your metrics scope.

> [!NOTE]
> **Note:** For each member project of a management project, Google Cloud Observability issues a request to add the project to the metrics scope. If that request fails, then Google Cloud Observability won't issue a retry, even when quota becomes available. However, if quota is available, then you can add the project to the metrics scope.

## Add projects to a metrics scope

To add projects to a metrics scope, do the following:

1. In the Google Cloud console, go to the
   **Settings** page:

   [Go to **Settings**](https://console.cloud.google.com/monitoring/settings)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the Google Cloud console, select the management project.
3. Select **Metric Scope**.

   The **Metric Scope** tab lists the resources monitored by the current
   Google Cloud project. It also lists the Google Cloud projects whose
   metrics scope includes the current Google Cloud project.
4. To add Google Cloud projects to the metrics scope:

   1. In the **Google Cloud Projects** pane, click **Add projects**.
   2. On the **Add Google Cloud projects** page, click **Select projects** ,
      select the projects that you want to add, and then click **Select**.


      > [!NOTE]
      > **Note**: Only member projects of the management project can be added to its metrics scope.

      <br />

      The table on the **Add Google Cloud projects** page is updated to list
      your selections. If you want to remove a Google Cloud project from
      the list before saving, click **Remove project**.
   3. To save your changes and return to the **Settings** page, click
      **Add projects**.


   After you add projects to a metrics scope, it takes about 60 seconds for
   changes to propagate through all Monitoring systems.

   Before you create a chart or alerting policy, wait at least 60 seconds.
   You might need to refresh the Google Cloud console page for the new metrics to be visible.

   The metrics scope of your selected project has been updated to include
   the Google Cloud projects you selected.

## Remove projects from a metrics scope

> [!NOTE]
> **Note**: If you remove a project from the metrics scope of a management project, then the project you removed won't be automatically added back to the metrics scope, even when quota is available. That is, the synchronization algorithm won't override your actions.

You might want to remove projects from a metrics scope to improve
performance or to free up quota so that you can add a different project.
For example, by default, a metrics scope can include
375 Google Cloud projects. If you've exhausted this quota,
then you might remove one project so that you can add another.

After you remove a project from a metrics scope, the time-series
data stored in that project can't be charted or monitored by the
scoping project. Removing a project from a metrics scope doesn't
change the configuration of charts,
dashboards, alerting policies, uptime checks, or groups that you defined.
However, the time series displayed on charts and the time series monitored by
alerting policies might change.

To remove projects from a metrics scope, do the following:

1. In the Google Cloud console, go to the
   **Settings** page:

   [Go to **Settings**](https://console.cloud.google.com/monitoring/settings)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the Google Cloud console, select the management project.
3. Select **Metric Scope**.
4. In the **Google Cloud Projects** pane, select the projects that you want to remove, click **Remove project**, and then complete the confirmation dialog.

## List projects in a metrics scope

To list the resources in a metrics scope, do the following:

1. In the Google Cloud console, go to the
   **Settings** page:

   [Go to **Settings**](https://console.cloud.google.com/monitoring/settings)

   <br />

   If you use the search bar to find this page, then select the result whose subheading is
   **Monitoring**.
2. In the Google Cloud console, select the management project.
3. Select **Metric Scope**.

   The **Metric Scope** tab lists the resources monitored by the current
   Google Cloud project. It also lists the Google Cloud projects whose
   metrics scope includes the current Google Cloud project.