1. Packages
  2. Statsig Provider
  3. API Docs
  4. MetricSource
Statsig v0.0.1 published on Friday, Jun 6, 2025 by Statsig

statsig.MetricSource

Explore with Pulumi AI

statsig logo
Statsig v0.0.1 published on Friday, Jun 6, 2025 by Statsig

    This resource allows you to configure metric sources for your Statsig project.

    To learn more about metric sources, see Metric Source Documentation

    To learn more about the API powering this resource, see Metrics API Documentation

    Note: This resource is only available for Warehouse Native projects

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      query:
        type: statsig:MetricSource
        properties:
          description: A short description of this metric source.
          idTypeMappings:
            - column: user_id
              statsig_unit_id: userID
          isReadOnly: false
          sourceType: query
          sql: SELECT * FROM `shoppy-sales.kenny_dev.shoppy-events`
          tags:
            - test-tag
          timestampColumn: ts
      table:
        type: statsig:MetricSource
        properties:
          customFieldMappings:
            - formula: price_usd/100
              key: price_usd_cents
          description: A short description of this metric source.
          idTypeMappings:
            - column: user_id
              statsig_unit_id: userID
          isReadOnly: false
          sourceType: table
          sql: ""
          tableName: '`shoppy-sales.kenny_dev.shoppy-events`'
          tags:
            - test-tag
          timestampColumn: ts
    

    Create MetricSource Resource

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

    Constructor syntax

    new MetricSource(name: string, args: MetricSourceArgs, opts?: CustomResourceOptions);
    @overload
    def MetricSource(resource_name: str,
                     args: MetricSourceArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def MetricSource(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     id_type_mappings: Optional[Sequence[MetricSourceIdTypeMappingArgs]] = None,
                     sql: Optional[str] = None,
                     timestamp_column: Optional[str] = None,
                     custom_field_mappings: Optional[Sequence[MetricSourceCustomFieldMappingArgs]] = None,
                     description: Optional[str] = None,
                     is_read_only: Optional[bool] = None,
                     name: Optional[str] = None,
                     owner: Optional[MetricSourceOwnerArgs] = None,
                     source_type: Optional[str] = None,
                     table_name: Optional[str] = None,
                     tags: Optional[Sequence[str]] = None,
                     timestamp_as_day: Optional[bool] = None)
    func NewMetricSource(ctx *Context, name string, args MetricSourceArgs, opts ...ResourceOption) (*MetricSource, error)
    public MetricSource(string name, MetricSourceArgs args, CustomResourceOptions? opts = null)
    public MetricSource(String name, MetricSourceArgs args)
    public MetricSource(String name, MetricSourceArgs args, CustomResourceOptions options)
    
    type: statsig:MetricSource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MetricSourceArgs
    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 MetricSourceArgs
    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 MetricSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MetricSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MetricSourceArgs
    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 metricSourceResource = new Pulumi.MetricSource("metricSourceResource", new()
    {
        IdTypeMappings = new[]
        {
            new Pulumi.Inputs.MetricSourceIdTypeMappingArgs
            {
                Column = "string",
                StatsigUnitId = "string",
            },
        },
        Sql = "string",
        TimestampColumn = "string",
        CustomFieldMappings = new[]
        {
            new Pulumi.Inputs.MetricSourceCustomFieldMappingArgs
            {
                Formula = "string",
                Key = "string",
            },
        },
        Description = "string",
        IsReadOnly = false,
        Name = "string",
        Owner = new Pulumi.Inputs.MetricSourceOwnerArgs
        {
            OwnerEmail = "string",
            OwnerId = "string",
            OwnerName = "string",
            OwnerType = "string",
        },
        SourceType = "string",
        TableName = "string",
        Tags = new[]
        {
            "string",
        },
        TimestampAsDay = false,
    });
    
    example, err := statsig.NewMetricSource(ctx, "metricSourceResource", &statsig.MetricSourceArgs{
    	IdTypeMappings: statsig.MetricSourceIdTypeMappingArray{
    		&statsig.MetricSourceIdTypeMappingArgs{
    			Column:        pulumi.String("string"),
    			StatsigUnitId: pulumi.String("string"),
    		},
    	},
    	Sql:             pulumi.String("string"),
    	TimestampColumn: pulumi.String("string"),
    	CustomFieldMappings: statsig.MetricSourceCustomFieldMappingArray{
    		&statsig.MetricSourceCustomFieldMappingArgs{
    			Formula: pulumi.String("string"),
    			Key:     pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	IsReadOnly:  pulumi.Bool(false),
    	Name:        pulumi.String("string"),
    	Owner: &statsig.MetricSourceOwnerArgs{
    		OwnerEmail: pulumi.String("string"),
    		OwnerId:    pulumi.String("string"),
    		OwnerName:  pulumi.String("string"),
    		OwnerType:  pulumi.String("string"),
    	},
    	SourceType: pulumi.String("string"),
    	TableName:  pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	TimestampAsDay: pulumi.Bool(false),
    })
    
    var metricSourceResource = new MetricSource("metricSourceResource", MetricSourceArgs.builder()
        .idTypeMappings(MetricSourceIdTypeMappingArgs.builder()
            .column("string")
            .statsigUnitId("string")
            .build())
        .sql("string")
        .timestampColumn("string")
        .customFieldMappings(MetricSourceCustomFieldMappingArgs.builder()
            .formula("string")
            .key("string")
            .build())
        .description("string")
        .isReadOnly(false)
        .name("string")
        .owner(MetricSourceOwnerArgs.builder()
            .ownerEmail("string")
            .ownerId("string")
            .ownerName("string")
            .ownerType("string")
            .build())
        .sourceType("string")
        .tableName("string")
        .tags("string")
        .timestampAsDay(false)
        .build());
    
    metric_source_resource = statsig.MetricSource("metricSourceResource",
        id_type_mappings=[{
            "column": "string",
            "statsig_unit_id": "string",
        }],
        sql="string",
        timestamp_column="string",
        custom_field_mappings=[{
            "formula": "string",
            "key": "string",
        }],
        description="string",
        is_read_only=False,
        name="string",
        owner={
            "owner_email": "string",
            "owner_id": "string",
            "owner_name": "string",
            "owner_type": "string",
        },
        source_type="string",
        table_name="string",
        tags=["string"],
        timestamp_as_day=False)
    
    const metricSourceResource = new statsig.MetricSource("metricSourceResource", {
        idTypeMappings: [{
            column: "string",
            statsigUnitId: "string",
        }],
        sql: "string",
        timestampColumn: "string",
        customFieldMappings: [{
            formula: "string",
            key: "string",
        }],
        description: "string",
        isReadOnly: false,
        name: "string",
        owner: {
            ownerEmail: "string",
            ownerId: "string",
            ownerName: "string",
            ownerType: "string",
        },
        sourceType: "string",
        tableName: "string",
        tags: ["string"],
        timestampAsDay: false,
    });
    
    type: statsig:MetricSource
    properties:
        customFieldMappings:
            - formula: string
              key: string
        description: string
        idTypeMappings:
            - column: string
              statsigUnitId: string
        isReadOnly: false
        name: string
        owner:
            ownerEmail: string
            ownerId: string
            ownerName: string
            ownerType: string
        sourceType: string
        sql: string
        tableName: string
        tags:
            - string
        timestampAsDay: false
        timestampColumn: string
    

    MetricSource 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 MetricSource resource accepts the following input properties:

    IdTypeMappings List<Statsig.Pulumi.Inputs.MetricSourceIdTypeMapping>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    Sql string
    The SQL query or statement used to extract data from the metric source.
    TimestampColumn string
    The name of the column containing timestamp data for the metric source.
    CustomFieldMappings List<Statsig.Pulumi.Inputs.MetricSourceCustomFieldMapping>
    Optional array defining mappings for custom fields using specific formulas.
    Description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    IsReadOnly bool
    Specifies if the source can only be edited via the Console API.
    Name string
    The name of the metric source, serving as its primary identifier.
    Owner Statsig.Pulumi.Inputs.MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    SourceType string
    The type of source, indicating whether it is a database table or a custom query.
    TableName string
    The name of the database table if the source type is "table".
    Tags List<string>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    TimestampAsDay bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    IdTypeMappings []MetricSourceIdTypeMappingArgs
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    Sql string
    The SQL query or statement used to extract data from the metric source.
    TimestampColumn string
    The name of the column containing timestamp data for the metric source.
    CustomFieldMappings []MetricSourceCustomFieldMappingArgs
    Optional array defining mappings for custom fields using specific formulas.
    Description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    IsReadOnly bool
    Specifies if the source can only be edited via the Console API.
    Name string
    The name of the metric source, serving as its primary identifier.
    Owner MetricSourceOwnerArgs
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    SourceType string
    The type of source, indicating whether it is a database table or a custom query.
    TableName string
    The name of the database table if the source type is "table".
    Tags []string
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    TimestampAsDay bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    idTypeMappings List<MetricSourceIdTypeMapping>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    sql String
    The SQL query or statement used to extract data from the metric source.
    timestampColumn String
    The name of the column containing timestamp data for the metric source.
    customFieldMappings List<MetricSourceCustomFieldMapping>
    Optional array defining mappings for custom fields using specific formulas.
    description String
    An optional description for the metric source, providing context and details about its purpose and usage.
    isReadOnly Boolean
    Specifies if the source can only be edited via the Console API.
    name String
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType String
    The type of source, indicating whether it is a database table or a custom query.
    tableName String
    The name of the database table if the source type is "table".
    tags List<String>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay Boolean
    Indicates whether the timestamp should be treated as a day-level granularity.
    idTypeMappings MetricSourceIdTypeMapping[]
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    sql string
    The SQL query or statement used to extract data from the metric source.
    timestampColumn string
    The name of the column containing timestamp data for the metric source.
    customFieldMappings MetricSourceCustomFieldMapping[]
    Optional array defining mappings for custom fields using specific formulas.
    description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    isReadOnly boolean
    Specifies if the source can only be edited via the Console API.
    name string
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType string
    The type of source, indicating whether it is a database table or a custom query.
    tableName string
    The name of the database table if the source type is "table".
    tags string[]
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay boolean
    Indicates whether the timestamp should be treated as a day-level granularity.
    id_type_mappings Sequence[MetricSourceIdTypeMappingArgs]
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    sql str
    The SQL query or statement used to extract data from the metric source.
    timestamp_column str
    The name of the column containing timestamp data for the metric source.
    custom_field_mappings Sequence[MetricSourceCustomFieldMappingArgs]
    Optional array defining mappings for custom fields using specific formulas.
    description str
    An optional description for the metric source, providing context and details about its purpose and usage.
    is_read_only bool
    Specifies if the source can only be edited via the Console API.
    name str
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwnerArgs
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    source_type str
    The type of source, indicating whether it is a database table or a custom query.
    table_name str
    The name of the database table if the source type is "table".
    tags Sequence[str]
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestamp_as_day bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    idTypeMappings List<Property Map>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    sql String
    The SQL query or statement used to extract data from the metric source.
    timestampColumn String
    The name of the column containing timestamp data for the metric source.
    customFieldMappings List<Property Map>
    Optional array defining mappings for custom fields using specific formulas.
    description String
    An optional description for the metric source, providing context and details about its purpose and usage.
    isReadOnly Boolean
    Specifies if the source can only be edited via the Console API.
    name String
    The name of the metric source, serving as its primary identifier.
    owner Property Map
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType String
    The type of source, indicating whether it is a database table or a custom query.
    tableName String
    The name of the database table if the source type is "table".
    tags List<String>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay Boolean
    Indicates whether the timestamp should be treated as a day-level granularity.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MetricSource 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing MetricSource Resource

    Get an existing MetricSource 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?: MetricSourceState, opts?: CustomResourceOptions): MetricSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_field_mappings: Optional[Sequence[MetricSourceCustomFieldMappingArgs]] = None,
            description: Optional[str] = None,
            id_type_mappings: Optional[Sequence[MetricSourceIdTypeMappingArgs]] = None,
            is_read_only: Optional[bool] = None,
            name: Optional[str] = None,
            owner: Optional[MetricSourceOwnerArgs] = None,
            source_type: Optional[str] = None,
            sql: Optional[str] = None,
            table_name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timestamp_as_day: Optional[bool] = None,
            timestamp_column: Optional[str] = None) -> MetricSource
    func GetMetricSource(ctx *Context, name string, id IDInput, state *MetricSourceState, opts ...ResourceOption) (*MetricSource, error)
    public static MetricSource Get(string name, Input<string> id, MetricSourceState? state, CustomResourceOptions? opts = null)
    public static MetricSource get(String name, Output<String> id, MetricSourceState state, CustomResourceOptions options)
    resources:  _:    type: statsig:MetricSource    get:      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:
    CustomFieldMappings List<Statsig.Pulumi.Inputs.MetricSourceCustomFieldMapping>
    Optional array defining mappings for custom fields using specific formulas.
    Description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    IdTypeMappings List<Statsig.Pulumi.Inputs.MetricSourceIdTypeMapping>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    IsReadOnly bool
    Specifies if the source can only be edited via the Console API.
    Name string
    The name of the metric source, serving as its primary identifier.
    Owner Statsig.Pulumi.Inputs.MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    SourceType string
    The type of source, indicating whether it is a database table or a custom query.
    Sql string
    The SQL query or statement used to extract data from the metric source.
    TableName string
    The name of the database table if the source type is "table".
    Tags List<string>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    TimestampAsDay bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    TimestampColumn string
    The name of the column containing timestamp data for the metric source.
    CustomFieldMappings []MetricSourceCustomFieldMappingArgs
    Optional array defining mappings for custom fields using specific formulas.
    Description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    IdTypeMappings []MetricSourceIdTypeMappingArgs
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    IsReadOnly bool
    Specifies if the source can only be edited via the Console API.
    Name string
    The name of the metric source, serving as its primary identifier.
    Owner MetricSourceOwnerArgs
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    SourceType string
    The type of source, indicating whether it is a database table or a custom query.
    Sql string
    The SQL query or statement used to extract data from the metric source.
    TableName string
    The name of the database table if the source type is "table".
    Tags []string
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    TimestampAsDay bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    TimestampColumn string
    The name of the column containing timestamp data for the metric source.
    customFieldMappings List<MetricSourceCustomFieldMapping>
    Optional array defining mappings for custom fields using specific formulas.
    description String
    An optional description for the metric source, providing context and details about its purpose and usage.
    idTypeMappings List<MetricSourceIdTypeMapping>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    isReadOnly Boolean
    Specifies if the source can only be edited via the Console API.
    name String
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType String
    The type of source, indicating whether it is a database table or a custom query.
    sql String
    The SQL query or statement used to extract data from the metric source.
    tableName String
    The name of the database table if the source type is "table".
    tags List<String>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay Boolean
    Indicates whether the timestamp should be treated as a day-level granularity.
    timestampColumn String
    The name of the column containing timestamp data for the metric source.
    customFieldMappings MetricSourceCustomFieldMapping[]
    Optional array defining mappings for custom fields using specific formulas.
    description string
    An optional description for the metric source, providing context and details about its purpose and usage.
    idTypeMappings MetricSourceIdTypeMapping[]
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    isReadOnly boolean
    Specifies if the source can only be edited via the Console API.
    name string
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwner
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType string
    The type of source, indicating whether it is a database table or a custom query.
    sql string
    The SQL query or statement used to extract data from the metric source.
    tableName string
    The name of the database table if the source type is "table".
    tags string[]
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay boolean
    Indicates whether the timestamp should be treated as a day-level granularity.
    timestampColumn string
    The name of the column containing timestamp data for the metric source.
    custom_field_mappings Sequence[MetricSourceCustomFieldMappingArgs]
    Optional array defining mappings for custom fields using specific formulas.
    description str
    An optional description for the metric source, providing context and details about its purpose and usage.
    id_type_mappings Sequence[MetricSourceIdTypeMappingArgs]
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    is_read_only bool
    Specifies if the source can only be edited via the Console API.
    name str
    The name of the metric source, serving as its primary identifier.
    owner MetricSourceOwnerArgs
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    source_type str
    The type of source, indicating whether it is a database table or a custom query.
    sql str
    The SQL query or statement used to extract data from the metric source.
    table_name str
    The name of the database table if the source type is "table".
    tags Sequence[str]
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestamp_as_day bool
    Indicates whether the timestamp should be treated as a day-level granularity.
    timestamp_column str
    The name of the column containing timestamp data for the metric source.
    customFieldMappings List<Property Map>
    Optional array defining mappings for custom fields using specific formulas.
    description String
    An optional description for the metric source, providing context and details about its purpose and usage.
    idTypeMappings List<Property Map>
    Array defining the mapping between Statsig unit IDs and their respective source columns.
    isReadOnly Boolean
    Specifies if the source can only be edited via the Console API.
    name String
    The name of the metric source, serving as its primary identifier.
    owner Property Map
    Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
    sourceType String
    The type of source, indicating whether it is a database table or a custom query.
    sql String
    The SQL query or statement used to extract data from the metric source.
    tableName String
    The name of the database table if the source type is "table".
    tags List<String>
    Optional array of tags to categorize the metric source, facilitating easier organization and retrieval.
    timestampAsDay Boolean
    Indicates whether the timestamp should be treated as a day-level granularity.
    timestampColumn String
    The name of the column containing timestamp data for the metric source.

    Supporting Types

    MetricSourceCustomFieldMapping, MetricSourceCustomFieldMappingArgs

    Formula string
    The formula or expression used to compute the custom field value.
    Key string
    The identifier for the custom field mapping.
    Formula string
    The formula or expression used to compute the custom field value.
    Key string
    The identifier for the custom field mapping.
    formula String
    The formula or expression used to compute the custom field value.
    key String
    The identifier for the custom field mapping.
    formula string
    The formula or expression used to compute the custom field value.
    key string
    The identifier for the custom field mapping.
    formula str
    The formula or expression used to compute the custom field value.
    key str
    The identifier for the custom field mapping.
    formula String
    The formula or expression used to compute the custom field value.
    key String
    The identifier for the custom field mapping.

    MetricSourceIdTypeMapping, MetricSourceIdTypeMappingArgs

    Column string
    The corresponding column name in the source that relates to the Statsig unit ID.
    StatsigUnitId string
    The identifier mapping for Statsig units.
    Column string
    The corresponding column name in the source that relates to the Statsig unit ID.
    StatsigUnitId string
    The identifier mapping for Statsig units.
    column String
    The corresponding column name in the source that relates to the Statsig unit ID.
    statsigUnitId String
    The identifier mapping for Statsig units.
    column string
    The corresponding column name in the source that relates to the Statsig unit ID.
    statsigUnitId string
    The identifier mapping for Statsig units.
    column str
    The corresponding column name in the source that relates to the Statsig unit ID.
    statsig_unit_id str
    The identifier mapping for Statsig units.
    column String
    The corresponding column name in the source that relates to the Statsig unit ID.
    statsigUnitId String
    The identifier mapping for Statsig units.

    MetricSourceOwner, MetricSourceOwnerArgs

    OwnerEmail string
    The email of the owner. This field is optional.
    OwnerId string
    ID of the owner
    OwnerName string
    The name of the owner. This field is optional.
    OwnerType string
    Type of the owner (e.g., SDK_KEY or USER)
    OwnerEmail string
    The email of the owner. This field is optional.
    OwnerId string
    ID of the owner
    OwnerName string
    The name of the owner. This field is optional.
    OwnerType string
    Type of the owner (e.g., SDK_KEY or USER)
    ownerEmail String
    The email of the owner. This field is optional.
    ownerId String
    ID of the owner
    ownerName String
    The name of the owner. This field is optional.
    ownerType String
    Type of the owner (e.g., SDK_KEY or USER)
    ownerEmail string
    The email of the owner. This field is optional.
    ownerId string
    ID of the owner
    ownerName string
    The name of the owner. This field is optional.
    ownerType string
    Type of the owner (e.g., SDK_KEY or USER)
    owner_email str
    The email of the owner. This field is optional.
    owner_id str
    ID of the owner
    owner_name str
    The name of the owner. This field is optional.
    owner_type str
    Type of the owner (e.g., SDK_KEY or USER)
    ownerEmail String
    The email of the owner. This field is optional.
    ownerId String
    ID of the owner
    ownerName String
    The name of the owner. This field is optional.
    ownerType String
    Type of the owner (e.g., SDK_KEY or USER)

    Package Details

    Repository
    statsig statsig-io/pulumi-statsig
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the statsig Terraform Provider.
    statsig logo
    Statsig v0.0.1 published on Friday, Jun 6, 2025 by Statsig