Centralized observability best practices

Google Cloud Observability lets you centrally govern storage and access policies across folders and projects while giving teams a unified view of their log, metric, and trace data. You can combine write-time aggregation for centralized log storage with views, read-time aggregation scopes, and Identity and Access Management (IAM) roles to control how teams query telemetry across your organization.

About centralized governance

Centralized governance enforces uniform policies—such as data residency, customer-managed encryption keys (CMEKs), retention periods, and IAM access controls—across your resource hierarchy. Google Cloud Observability uses two aggregation models:

  • Write-time aggregation (log data only): This model routes log entries from multiple projects, folders, or organizations to a central log bucket before storage. You configure residency, CMEKs, retention, views, and IAM roles once on the central destination, and you can link that bucket to services like BigQuery.

  • Read-time aggregation (all telemetry types): This model reads data stored in different locations and aggregates the results. You configure scopes to establish a single query boundary across all three telemetry types.

The following table summarizes support for each telemetry type:

Telemetry type Write-time aggregation Views Read-time aggregation
Log data Supported. Required audit logs always match the origin resource's _Required sink. By default, other logs match its _Default sink and stay in the _Default bucket. All buckets have the _AllLogs view and support custom views; the _Default bucket also includes the _Default view. A log scope can list up to 100 log views.
Metric data Not supported. Metric data is stored in the origin project. Views aren't supported. A metrics scope can list up to 375 projects by default, or up to 3,500 with a quota increase.
Trace data Not supported. Spans are stored in a dataset managed by the origin project's _Trace observability bucket. Only the system-created _AllSpans view is supported. A trace scope can list up to 200 _AllSpans views.

Best practices

Follow these guidelines when planning your organization's setup:

  • Set organization policies and defaults first. Configure organization policies, default settings for observability buckets, and default resource settings for Cloud Logging before creating projects.

    Default settings control the location and CMEK for new observability buckets and log buckets. After a bucket is created, you can't edit its location or encryption model in place, though you might be able to reprovision a _Trace observability bucket.

  • Align your centralization boundary with scope limits. Because read-time scope limits vary across telemetry types, decide whether to centralize across an organization, a folder, or a tag-based boundary based on the number of projects in your hierarchy.

    If your hierarchy contains management projects, then use them to view telemetry data; otherwise, use standard projects. For each viewing project, configure the following scopes:

    • Default log scope
    • Default trace scope
    • Metrics scope for a standard project

    For management projects, the system automatically synchronizes the metrics scope with member projects. If the number of member projects exceeds 375, you can request a quota increase.

    For more information, see Configure observability scopes for multi-project queries and Cross-project boundaries.

  • Centralize storage of log data. Centralizing operational logs, such as application and service logs, simplifies operations and monitoring. Centralizing required audit logs gives security administrators a single query location with independent retention and CMEK policies. Required audit logs are stored at no charge in their origin resource, whereas centralizing them adds ingestion charges.

    When planning centralized log storage, follow these guidelines:

    • Store centralized logs in a dedicated standard project or self-managed management project. Don't store centralized logs in a Google-managed project, such as a google-mpf-* or google-mpo-* management project.

    • Store operational logs in that project's _Default log bucket. Using the _Default log bucket ensures that services that build dashboards or compute performance metrics can find operational log data.

    • If you centralize required audit logs, then route them to a dedicated custom log bucket in that same project. Don't store centralized required logs in the _Default log bucket. Include Audit in the custom bucket's name, regardless of capitalization, to help identify audit log usage.

  • Grant access to groups instead of individuals. Group-based grants let you change team membership without updating resource policies, simplifying audits and maintaining least privilege.

What's next

To configure centralization, see the following documents: