1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. GcpMetricsIntegration
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere
Viewing docs for Chronosphere v0.9.16
published on Friday, Jun 5, 2026 by Chronosphere

    Scrapes Google Cloud Monitoring metrics from the configured projects and metric prefixes using a GCP service-account credential, with optional filters and rollup rules.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var customer = new Pulumi.GcpMetricsIntegration("customer", new()
        {
            Name = "GCP Metrics Integration",
            ServiceAccount = new Pulumi.Inputs.GcpMetricsIntegrationServiceAccountArgs
            {
                ClientEmail = "chronosphere-collector@my-project.iam.gserviceaccount.com",
            },
            Slug = "gcp-metrics-integration",
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewGcpMetricsIntegration(ctx, "customer", &chronosphere.GcpMetricsIntegrationArgs{
    			Name: pulumi.String("GCP Metrics Integration"),
    			ServiceAccount: &chronosphere.GcpMetricsIntegrationServiceAccountArgs{
    				ClientEmail: pulumi.String("chronosphere-collector@my-project.iam.gserviceaccount.com"),
    			},
    			Slug: pulumi.String("gcp-metrics-integration"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.GcpMetricsIntegration;
    import com.pulumi.chronosphere.GcpMetricsIntegrationArgs;
    import com.pulumi.chronosphere.inputs.GcpMetricsIntegrationServiceAccountArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var customer = new GcpMetricsIntegration("customer", GcpMetricsIntegrationArgs.builder()        
                .name("GCP Metrics Integration")
                .serviceAccount(GcpMetricsIntegrationServiceAccountArgs.builder()
                    .clientEmail("chronosphere-collector@my-project.iam.gserviceaccount.com")
                    .build())
                .slug("gcp-metrics-integration")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const customer = new chronosphere.GcpMetricsIntegration("customer", {
        name: "GCP Metrics Integration",
        serviceAccount: {
            clientEmail: "chronosphere-collector@my-project.iam.gserviceaccount.com",
        },
        slug: "gcp-metrics-integration",
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    customer = chronosphere.GcpMetricsIntegration("customer",
        name="GCP Metrics Integration",
        service_account=chronosphere.GcpMetricsIntegrationServiceAccountArgs(
            client_email="chronosphere-collector@my-project.iam.gserviceaccount.com",
        ),
        slug="gcp-metrics-integration")
    
    resources:
      customer:
        type: chronosphere:GcpMetricsIntegration
        properties:
          name: GCP Metrics Integration
          serviceAccount:
            clientEmail: chronosphere-collector@my-project.iam.gserviceaccount.com
          slug: gcp-metrics-integration
    

    Create GcpMetricsIntegration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new GcpMetricsIntegration(name: string, args: GcpMetricsIntegrationArgs, opts?: CustomResourceOptions);
    @overload
    def GcpMetricsIntegration(resource_name: str,
                              args: GcpMetricsIntegrationArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def GcpMetricsIntegration(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              name: Optional[str] = None,
                              metric_groups: Optional[Sequence[GcpMetricsIntegrationMetricGroupArgs]] = None,
                              service_account: Optional[GcpMetricsIntegrationServiceAccountArgs] = None,
                              slug: Optional[str] = None)
    func NewGcpMetricsIntegration(ctx *Context, name string, args GcpMetricsIntegrationArgs, opts ...ResourceOption) (*GcpMetricsIntegration, error)
    public GcpMetricsIntegration(string name, GcpMetricsIntegrationArgs args, CustomResourceOptions? opts = null)
    public GcpMetricsIntegration(String name, GcpMetricsIntegrationArgs args)
    public GcpMetricsIntegration(String name, GcpMetricsIntegrationArgs args, CustomResourceOptions options)
    
    type: chronosphere:GcpMetricsIntegration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_gcpmetricsintegration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args GcpMetricsIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args GcpMetricsIntegrationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args GcpMetricsIntegrationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args GcpMetricsIntegrationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args GcpMetricsIntegrationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var gcpMetricsIntegrationResource = new Pulumi.GcpMetricsIntegration("gcpMetricsIntegrationResource", new()
    {
        Name = "string",
        MetricGroups = new[]
        {
            new Pulumi.Inputs.GcpMetricsIntegrationMetricGroupArgs
            {
                ProjectId = "string",
                Filters = new[]
                {
                    new Pulumi.Inputs.GcpMetricsIntegrationMetricGroupFilterArgs
                    {
                        Context = "string",
                        Name = "string",
                        ValueGlob = "string",
                    },
                },
                Prefixes = new[]
                {
                    "string",
                },
                RollupRules = new[]
                {
                    new Pulumi.Inputs.GcpMetricsIntegrationMetricGroupRollupRuleArgs
                    {
                        Aggregation = "string",
                        LabelPolicy = new Pulumi.Inputs.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyArgs
                        {
                            Keeps = new[]
                            {
                                new Pulumi.Inputs.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeepArgs
                                {
                                    Context = "string",
                                    Name = "string",
                                },
                            },
                        },
                        MetricName = "string",
                    },
                },
            },
        },
        ServiceAccount = new Pulumi.Inputs.GcpMetricsIntegrationServiceAccountArgs
        {
            ClientEmail = "string",
        },
        Slug = "string",
    });
    
    example, err := chronosphere.NewGcpMetricsIntegration(ctx, "gcpMetricsIntegrationResource", &chronosphere.GcpMetricsIntegrationArgs{
    	Name: pulumi.String("string"),
    	MetricGroups: chronosphere.GcpMetricsIntegrationMetricGroupArray{
    		&chronosphere.GcpMetricsIntegrationMetricGroupArgs{
    			ProjectId: pulumi.String("string"),
    			Filters: chronosphere.GcpMetricsIntegrationMetricGroupFilterArray{
    				&chronosphere.GcpMetricsIntegrationMetricGroupFilterArgs{
    					Context:   pulumi.String("string"),
    					Name:      pulumi.String("string"),
    					ValueGlob: pulumi.String("string"),
    				},
    			},
    			Prefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			RollupRules: chronosphere.GcpMetricsIntegrationMetricGroupRollupRuleArray{
    				&chronosphere.GcpMetricsIntegrationMetricGroupRollupRuleArgs{
    					Aggregation: pulumi.String("string"),
    					LabelPolicy: &chronosphere.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyArgs{
    						Keeps: chronosphere.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeepArray{
    							&chronosphere.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeepArgs{
    								Context: pulumi.String("string"),
    								Name:    pulumi.String("string"),
    							},
    						},
    					},
    					MetricName: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ServiceAccount: &chronosphere.GcpMetricsIntegrationServiceAccountArgs{
    		ClientEmail: pulumi.String("string"),
    	},
    	Slug: pulumi.String("string"),
    })
    
    resource "chronosphere_gcpmetricsintegration" "gcpMetricsIntegrationResource" {
      name = "string"
      metric_groups {
        project_id = "string"
        filters {
          context    = "string"
          name       = "string"
          value_glob = "string"
        }
        prefixes = ["string"]
        rollup_rules {
          aggregation = "string"
          label_policy = {
            keeps = [{
              "context" = "string"
              "name"    = "string"
            }]
          }
          metric_name = "string"
        }
      }
      service_account = {
        client_email = "string"
      }
      slug = "string"
    }
    
    var gcpMetricsIntegrationResource = new GcpMetricsIntegration("gcpMetricsIntegrationResource", GcpMetricsIntegrationArgs.builder()
        .name("string")
        .metricGroups(GcpMetricsIntegrationMetricGroupArgs.builder()
            .projectId("string")
            .filters(GcpMetricsIntegrationMetricGroupFilterArgs.builder()
                .context("string")
                .name("string")
                .valueGlob("string")
                .build())
            .prefixes("string")
            .rollupRules(GcpMetricsIntegrationMetricGroupRollupRuleArgs.builder()
                .aggregation("string")
                .labelPolicy(GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyArgs.builder()
                    .keeps(GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeepArgs.builder()
                        .context("string")
                        .name("string")
                        .build())
                    .build())
                .metricName("string")
                .build())
            .build())
        .serviceAccount(GcpMetricsIntegrationServiceAccountArgs.builder()
            .clientEmail("string")
            .build())
        .slug("string")
        .build());
    
    gcp_metrics_integration_resource = chronosphere.GcpMetricsIntegration("gcpMetricsIntegrationResource",
        name="string",
        metric_groups=[{
            "project_id": "string",
            "filters": [{
                "context": "string",
                "name": "string",
                "value_glob": "string",
            }],
            "prefixes": ["string"],
            "rollup_rules": [{
                "aggregation": "string",
                "label_policy": {
                    "keeps": [{
                        "context": "string",
                        "name": "string",
                    }],
                },
                "metric_name": "string",
            }],
        }],
        service_account={
            "client_email": "string",
        },
        slug="string")
    
    const gcpMetricsIntegrationResource = new chronosphere.GcpMetricsIntegration("gcpMetricsIntegrationResource", {
        name: "string",
        metricGroups: [{
            projectId: "string",
            filters: [{
                context: "string",
                name: "string",
                valueGlob: "string",
            }],
            prefixes: ["string"],
            rollupRules: [{
                aggregation: "string",
                labelPolicy: {
                    keeps: [{
                        context: "string",
                        name: "string",
                    }],
                },
                metricName: "string",
            }],
        }],
        serviceAccount: {
            clientEmail: "string",
        },
        slug: "string",
    });
    
    type: chronosphere:GcpMetricsIntegration
    properties:
        metricGroups:
            - filters:
                - context: string
                  name: string
                  valueGlob: string
              prefixes:
                - string
              projectId: string
              rollupRules:
                - aggregation: string
                  labelPolicy:
                    keeps:
                        - context: string
                          name: string
                  metricName: string
        name: string
        serviceAccount:
            clientEmail: string
        slug: string
    

    GcpMetricsIntegration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The GcpMetricsIntegration resource accepts the following input properties:

    Name string
    Label name to filter on.
    MetricGroups List<Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationMetricGroup>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    ServiceAccount Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    Slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    Name string
    Label name to filter on.
    MetricGroups []GcpMetricsIntegrationMetricGroupArgs
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    ServiceAccount GcpMetricsIntegrationServiceAccountArgs
    Google Cloud service account that Chronosphere impersonates to read metrics.
    Slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    name string
    Label name to filter on.
    metric_groups list(object)
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    service_account object
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    name String
    Label name to filter on.
    metricGroups List<GcpMetricsIntegrationMetricGroup>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    serviceAccount GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug String
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    name string
    Label name to filter on.
    metricGroups GcpMetricsIntegrationMetricGroup[]
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    serviceAccount GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    name str
    Label name to filter on.
    metric_groups Sequence[GcpMetricsIntegrationMetricGroupArgs]
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    service_account GcpMetricsIntegrationServiceAccountArgs
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug str
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    name String
    Label name to filter on.
    metricGroups List<Property Map>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    serviceAccount Property Map
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug String
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the GcpMetricsIntegration resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing GcpMetricsIntegration Resource

    Get an existing GcpMetricsIntegration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: GcpMetricsIntegrationState, opts?: CustomResourceOptions): GcpMetricsIntegration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            metric_groups: Optional[Sequence[GcpMetricsIntegrationMetricGroupArgs]] = None,
            name: Optional[str] = None,
            service_account: Optional[GcpMetricsIntegrationServiceAccountArgs] = None,
            slug: Optional[str] = None) -> GcpMetricsIntegration
    func GetGcpMetricsIntegration(ctx *Context, name string, id IDInput, state *GcpMetricsIntegrationState, opts ...ResourceOption) (*GcpMetricsIntegration, error)
    public static GcpMetricsIntegration Get(string name, Input<string> id, GcpMetricsIntegrationState? state, CustomResourceOptions? opts = null)
    public static GcpMetricsIntegration get(String name, Output<String> id, GcpMetricsIntegrationState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:GcpMetricsIntegration    get:      id: ${id}
    import {
      to = chronosphere_gcpmetricsintegration.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    MetricGroups List<Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationMetricGroup>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    Name string
    Label name to filter on.
    ServiceAccount Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    Slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    MetricGroups []GcpMetricsIntegrationMetricGroupArgs
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    Name string
    Label name to filter on.
    ServiceAccount GcpMetricsIntegrationServiceAccountArgs
    Google Cloud service account that Chronosphere impersonates to read metrics.
    Slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    metric_groups list(object)
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    name string
    Label name to filter on.
    service_account object
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    metricGroups List<GcpMetricsIntegrationMetricGroup>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    name String
    Label name to filter on.
    serviceAccount GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug String
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    metricGroups GcpMetricsIntegrationMetricGroup[]
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    name string
    Label name to filter on.
    serviceAccount GcpMetricsIntegrationServiceAccount
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug string
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    metric_groups Sequence[GcpMetricsIntegrationMetricGroupArgs]
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    name str
    Label name to filter on.
    service_account GcpMetricsIntegrationServiceAccountArgs
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug str
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.
    metricGroups List<Property Map>
    Groups of Google Cloud metrics to ingest. Each group targets a specific project and set of metric prefixes.
    name String
    Label name to filter on.
    serviceAccount Property Map
    Google Cloud service account that Chronosphere impersonates to read metrics.
    slug String
    Stable identifier for the integration. Generated from name if omitted. Immutable after creation.

    Supporting Types

    GcpMetricsIntegrationMetricGroup, GcpMetricsIntegrationMetricGroupArgs

    ProjectId string
    Google Cloud project ID to read metrics from. The configured service account must have access.
    Filters List<Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationMetricGroupFilter>
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    Prefixes List<string>
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    RollupRules List<Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationMetricGroupRollupRule>
    Server-side aggregation rules applied to metrics in this group before they are stored.
    ProjectId string
    Google Cloud project ID to read metrics from. The configured service account must have access.
    Filters []GcpMetricsIntegrationMetricGroupFilter
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    Prefixes []string
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    RollupRules []GcpMetricsIntegrationMetricGroupRollupRule
    Server-side aggregation rules applied to metrics in this group before they are stored.
    project_id string
    Google Cloud project ID to read metrics from. The configured service account must have access.
    filters list(object)
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    prefixes list(string)
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    rollup_rules list(object)
    Server-side aggregation rules applied to metrics in this group before they are stored.
    projectId String
    Google Cloud project ID to read metrics from. The configured service account must have access.
    filters List<GcpMetricsIntegrationMetricGroupFilter>
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    prefixes List<String>
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    rollupRules List<GcpMetricsIntegrationMetricGroupRollupRule>
    Server-side aggregation rules applied to metrics in this group before they are stored.
    projectId string
    Google Cloud project ID to read metrics from. The configured service account must have access.
    filters GcpMetricsIntegrationMetricGroupFilter[]
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    prefixes string[]
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    rollupRules GcpMetricsIntegrationMetricGroupRollupRule[]
    Server-side aggregation rules applied to metrics in this group before they are stored.
    project_id str
    Google Cloud project ID to read metrics from. The configured service account must have access.
    filters Sequence[GcpMetricsIntegrationMetricGroupFilter]
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    prefixes Sequence[str]
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    rollup_rules Sequence[GcpMetricsIntegrationMetricGroupRollupRule]
    Server-side aggregation rules applied to metrics in this group before they are stored.
    projectId String
    Google Cloud project ID to read metrics from. The configured service account must have access.
    filters List<Property Map>
    Label filters applied to metrics in this group. All filters must match for a metric to be ingested.
    prefixes List<String>
    List of Google Cloud metric prefixes to ingest (e.g. compute.googleapis.com/).
    rollupRules List<Property Map>
    Server-side aggregation rules applied to metrics in this group before they are stored.

    GcpMetricsIntegrationMetricGroupFilter, GcpMetricsIntegrationMetricGroupFilterArgs

    Context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    Name string
    Label name to filter on.
    ValueGlob string
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    Context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    Name string
    Label name to filter on.
    ValueGlob string
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name string
    Label name to filter on.
    value_glob string
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    context String
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name String
    Label name to filter on.
    valueGlob String
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name string
    Label name to filter on.
    valueGlob string
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    context str
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name str
    Label name to filter on.
    value_glob str
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.
    context String
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name String
    Label name to filter on.
    valueGlob String
    Value pattern using glob syntax (e.g. prod-*). An exact match is applied when no glob characters are present.

    GcpMetricsIntegrationMetricGroupRollupRule, GcpMetricsIntegrationMetricGroupRollupRuleArgs

    Aggregation string
    Aggregation function applied across the dropped labels (e.g. sum, max).
    LabelPolicy Chronosphere.Pulumi.Inputs.GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    MetricName string
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    Aggregation string
    Aggregation function applied across the dropped labels (e.g. sum, max).
    LabelPolicy GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    MetricName string
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    aggregation string
    Aggregation function applied across the dropped labels (e.g. sum, max).
    label_policy object
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    metric_name string
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    aggregation String
    Aggregation function applied across the dropped labels (e.g. sum, max).
    labelPolicy GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    metricName String
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    aggregation string
    Aggregation function applied across the dropped labels (e.g. sum, max).
    labelPolicy GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    metricName string
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    aggregation str
    Aggregation function applied across the dropped labels (e.g. sum, max).
    label_policy GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    metric_name str
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).
    aggregation String
    Aggregation function applied across the dropped labels (e.g. sum, max).
    labelPolicy Property Map
    Specifies which labels to preserve during aggregation. Labels not listed are dropped.
    metricName String
    Fully-qualified Google Cloud metric name the rollup rule targets (e.g. cloudsql.googleapis.com/database/uptime).

    GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicy, GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyArgs

    keeps list(object)
    Labels to retain after aggregation.
    keeps List<Property Map>
    Labels to retain after aggregation.

    GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeep, GcpMetricsIntegrationMetricGroupRollupRuleLabelPolicyKeepArgs

    Context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    Name string
    Label name to filter on.
    Context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    Name string
    Label name to filter on.
    context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name string
    Label name to filter on.
    context String
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name String
    Label name to filter on.
    context string
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name string
    Label name to filter on.
    context str
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name str
    Label name to filter on.
    context String
    Label context, e.g. resource vs. metric label. See the Chronosphere GCP integration documentation for accepted values.
    name String
    Label name to filter on.

    GcpMetricsIntegrationServiceAccount, GcpMetricsIntegrationServiceAccountArgs

    ClientEmail string
    Email address of the Google Cloud service account to impersonate for authentication.
    ClientEmail string
    Email address of the Google Cloud service account to impersonate for authentication.
    client_email string
    Email address of the Google Cloud service account to impersonate for authentication.
    clientEmail String
    Email address of the Google Cloud service account to impersonate for authentication.
    clientEmail string
    Email address of the Google Cloud service account to impersonate for authentication.
    client_email str
    Email address of the Google Cloud service account to impersonate for authentication.
    clientEmail String
    Email address of the Google Cloud service account to impersonate for authentication.

    Package Details

    Repository
    chronosphere chronosphereio/pulumi-chronosphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the chronosphere Terraform Provider.
    Viewing docs for Chronosphere v0.9.16
    published on Friday, Jun 5, 2026 by Chronosphere

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial