statsig.Metric
Explore with Pulumi AI
This resource allows you to configure metrics for your Statsig project.
To learn more about metrics, see Metrics Documentation
To learn more about the API powering this resource, see Metrics API Documentation
Note: Warehouse Native metrics can only be used in Warehouse Native projects
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
customEventCountMetric:
type: statsig:Metric
properties:
customRollUpEnd: 14
customRollUpStart: 0
description: A short description of this metric.
directionality: decrease
isPermanent: false
isReadOnly: false
isVerified: false
metricEvents:
- criteria: []
name: test_event_1
rollupTimeWindow: custom
tags:
- test-tag
type: event_count_custom
unitTypes:
- userID
warehouseNativeMetric:
type: statsig:Metric
properties:
description: A short description of this metric.
directionality: increase
isPermanent: false
isReadOnly: false
isVerified: false
tags:
- test-tag
type: user_warehouse
unitTypes:
- userID
warehouseNative:
aggregation: count
cap: 150
criteria:
- column: event
condition: =
type: metadata
values:
- add_to_cart
cuped_attribution_window: 7
metric_source_name: shoppy_events
Create Metric Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Metric(name: string, args: MetricArgs, opts?: CustomResourceOptions);
@overload
def Metric(resource_name: str,
args: MetricArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Metric(resource_name: str,
opts: Optional[ResourceOptions] = None,
type: Optional[str] = None,
metric_component_metrics: Optional[Sequence[MetricMetricComponentMetricArgs]] = None,
metric_events: Optional[Sequence[MetricMetricEventArgs]] = None,
directionality: Optional[str] = None,
custom_roll_up_end: Optional[float] = None,
funnel_count_distinct: Optional[str] = None,
funnel_event_lists: Optional[Sequence[MetricFunnelEventListArgs]] = None,
is_permanent: Optional[bool] = None,
is_read_only: Optional[bool] = None,
description: Optional[str] = None,
is_verified: Optional[bool] = None,
dry_run: Optional[bool] = None,
name: Optional[str] = None,
rollup_time_window: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
team: Optional[str] = None,
team_id: Optional[str] = None,
custom_roll_up_start: Optional[float] = None,
unit_types: Optional[Sequence[str]] = None,
warehouse_native: Optional[MetricWarehouseNativeArgs] = None)
func NewMetric(ctx *Context, name string, args MetricArgs, opts ...ResourceOption) (*Metric, error)
public Metric(string name, MetricArgs args, CustomResourceOptions? opts = null)
public Metric(String name, MetricArgs args)
public Metric(String name, MetricArgs args, CustomResourceOptions options)
type: statsig:Metric
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 MetricArgs
- 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 MetricArgs
- 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 MetricArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MetricArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MetricArgs
- 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 metricResource = new Pulumi.Metric("metricResource", new()
{
Type = "string",
MetricComponentMetrics = new[]
{
new Pulumi.Inputs.MetricMetricComponentMetricArgs
{
Name = "string",
Type = "string",
},
},
MetricEvents = new[]
{
new Pulumi.Inputs.MetricMetricEventArgs
{
Name = "string",
Criterias = new[]
{
new Pulumi.Inputs.MetricMetricEventCriteriaArgs
{
Condition = "string",
Type = "string",
Column = "string",
NullVacuousOverride = false,
Values = new[]
{
"string",
},
},
},
MetadataKey = "string",
Type = "string",
},
},
Directionality = "string",
CustomRollUpEnd = 0,
FunnelCountDistinct = "string",
FunnelEventLists = new[]
{
new Pulumi.Inputs.MetricFunnelEventListArgs
{
Name = "string",
Type = "string",
},
},
IsPermanent = false,
IsReadOnly = false,
Description = "string",
IsVerified = false,
DryRun = false,
Name = "string",
RollupTimeWindow = "string",
Tags = new[]
{
"string",
},
Team = "string",
TeamId = "string",
CustomRollUpStart = 0,
UnitTypes = new[]
{
"string",
},
WarehouseNative = new Pulumi.Inputs.MetricWarehouseNativeArgs
{
Aggregation = "string",
AllowNullRatioDenominator = false,
Cap = 0,
Criterias = new[]
{
new Pulumi.Inputs.MetricWarehouseNativeCriteriaArgs
{
Condition = "string",
Type = "string",
Column = "string",
NullVacuousOverride = false,
Values = new[]
{
"string",
},
},
},
CupedAttributionWindow = 0,
CustomRollUpEnd = 0,
CustomRollUpStart = 0,
DenominatorAggregation = "string",
DenominatorCriterias = new[]
{
new Pulumi.Inputs.MetricWarehouseNativeDenominatorCriteriaArgs
{
Condition = "string",
Type = "string",
Column = "string",
NullVacuousOverride = false,
Values = new[]
{
"string",
},
},
},
DenominatorCustomRollupEnd = 0,
DenominatorCustomRollupStart = 0,
DenominatorMetricSourceName = "string",
DenominatorRollupTimeWindow = "string",
DenominatorValueColumn = "string",
FunnelCalculationWindow = 0,
FunnelCountDistinct = "string",
FunnelEvents = new[]
{
new Pulumi.Inputs.MetricWarehouseNativeFunnelEventArgs
{
Criterias = new[]
{
new Pulumi.Inputs.MetricWarehouseNativeFunnelEventCriteriaArgs
{
Condition = "string",
Type = "string",
Column = "string",
NullVacuousOverride = false,
Values = new[]
{
"string",
},
},
},
MetricSourceName = "string",
Name = "string",
SessionIdentifierField = "string",
},
},
FunnelStartCriteria = "string",
MetricBakeDays = 0,
MetricDimensionColumns = new[]
{
"string",
},
MetricSourceName = "string",
NumeratorAggregation = "string",
OnlyIncludeUsersWithConversionEvent = false,
Percentile = 0,
RollupTimeWindow = "string",
ValueColumn = "string",
ValueThreshold = 0,
WaitForCohortWindow = false,
WinsorizationHigh = 0,
WinsorizationLow = 0,
},
});
example, err := statsig.NewMetric(ctx, "metricResource", &statsig.MetricArgs{
Type: pulumi.String("string"),
MetricComponentMetrics: statsig.MetricMetricComponentMetricArray{
&statsig.MetricMetricComponentMetricArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
MetricEvents: statsig.MetricMetricEventArray{
&statsig.MetricMetricEventArgs{
Name: pulumi.String("string"),
Criterias: statsig.MetricMetricEventCriteriaArray{
&statsig.MetricMetricEventCriteriaArgs{
Condition: pulumi.String("string"),
Type: pulumi.String("string"),
Column: pulumi.String("string"),
NullVacuousOverride: pulumi.Bool(false),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MetadataKey: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Directionality: pulumi.String("string"),
CustomRollUpEnd: pulumi.Float64(0),
FunnelCountDistinct: pulumi.String("string"),
FunnelEventLists: statsig.MetricFunnelEventListArray{
&statsig.MetricFunnelEventListArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
IsPermanent: pulumi.Bool(false),
IsReadOnly: pulumi.Bool(false),
Description: pulumi.String("string"),
IsVerified: pulumi.Bool(false),
DryRun: pulumi.Bool(false),
Name: pulumi.String("string"),
RollupTimeWindow: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Team: pulumi.String("string"),
TeamId: pulumi.String("string"),
CustomRollUpStart: pulumi.Float64(0),
UnitTypes: pulumi.StringArray{
pulumi.String("string"),
},
WarehouseNative: &statsig.MetricWarehouseNativeArgs{
Aggregation: pulumi.String("string"),
AllowNullRatioDenominator: pulumi.Bool(false),
Cap: pulumi.Float64(0),
Criterias: statsig.MetricWarehouseNativeCriteriaArray{
&statsig.MetricWarehouseNativeCriteriaArgs{
Condition: pulumi.String("string"),
Type: pulumi.String("string"),
Column: pulumi.String("string"),
NullVacuousOverride: pulumi.Bool(false),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
CupedAttributionWindow: pulumi.Float64(0),
CustomRollUpEnd: pulumi.Float64(0),
CustomRollUpStart: pulumi.Float64(0),
DenominatorAggregation: pulumi.String("string"),
DenominatorCriterias: statsig.MetricWarehouseNativeDenominatorCriteriaArray{
&statsig.MetricWarehouseNativeDenominatorCriteriaArgs{
Condition: pulumi.String("string"),
Type: pulumi.String("string"),
Column: pulumi.String("string"),
NullVacuousOverride: pulumi.Bool(false),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
DenominatorCustomRollupEnd: pulumi.Float64(0),
DenominatorCustomRollupStart: pulumi.Float64(0),
DenominatorMetricSourceName: pulumi.String("string"),
DenominatorRollupTimeWindow: pulumi.String("string"),
DenominatorValueColumn: pulumi.String("string"),
FunnelCalculationWindow: pulumi.Float64(0),
FunnelCountDistinct: pulumi.String("string"),
FunnelEvents: statsig.MetricWarehouseNativeFunnelEventArray{
&statsig.MetricWarehouseNativeFunnelEventArgs{
Criterias: statsig.MetricWarehouseNativeFunnelEventCriteriaArray{
&statsig.MetricWarehouseNativeFunnelEventCriteriaArgs{
Condition: pulumi.String("string"),
Type: pulumi.String("string"),
Column: pulumi.String("string"),
NullVacuousOverride: pulumi.Bool(false),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
MetricSourceName: pulumi.String("string"),
Name: pulumi.String("string"),
SessionIdentifierField: pulumi.String("string"),
},
},
FunnelStartCriteria: pulumi.String("string"),
MetricBakeDays: pulumi.Float64(0),
MetricDimensionColumns: pulumi.StringArray{
pulumi.String("string"),
},
MetricSourceName: pulumi.String("string"),
NumeratorAggregation: pulumi.String("string"),
OnlyIncludeUsersWithConversionEvent: pulumi.Bool(false),
Percentile: pulumi.Float64(0),
RollupTimeWindow: pulumi.String("string"),
ValueColumn: pulumi.String("string"),
ValueThreshold: pulumi.Float64(0),
WaitForCohortWindow: pulumi.Bool(false),
WinsorizationHigh: pulumi.Float64(0),
WinsorizationLow: pulumi.Float64(0),
},
})
var metricResource = new Metric("metricResource", MetricArgs.builder()
.type("string")
.metricComponentMetrics(MetricMetricComponentMetricArgs.builder()
.name("string")
.type("string")
.build())
.metricEvents(MetricMetricEventArgs.builder()
.name("string")
.criterias(MetricMetricEventCriteriaArgs.builder()
.condition("string")
.type("string")
.column("string")
.nullVacuousOverride(false)
.values("string")
.build())
.metadataKey("string")
.type("string")
.build())
.directionality("string")
.customRollUpEnd(0.0)
.funnelCountDistinct("string")
.funnelEventLists(MetricFunnelEventListArgs.builder()
.name("string")
.type("string")
.build())
.isPermanent(false)
.isReadOnly(false)
.description("string")
.isVerified(false)
.dryRun(false)
.name("string")
.rollupTimeWindow("string")
.tags("string")
.team("string")
.teamId("string")
.customRollUpStart(0.0)
.unitTypes("string")
.warehouseNative(MetricWarehouseNativeArgs.builder()
.aggregation("string")
.allowNullRatioDenominator(false)
.cap(0.0)
.criterias(MetricWarehouseNativeCriteriaArgs.builder()
.condition("string")
.type("string")
.column("string")
.nullVacuousOverride(false)
.values("string")
.build())
.cupedAttributionWindow(0.0)
.customRollUpEnd(0.0)
.customRollUpStart(0.0)
.denominatorAggregation("string")
.denominatorCriterias(MetricWarehouseNativeDenominatorCriteriaArgs.builder()
.condition("string")
.type("string")
.column("string")
.nullVacuousOverride(false)
.values("string")
.build())
.denominatorCustomRollupEnd(0.0)
.denominatorCustomRollupStart(0.0)
.denominatorMetricSourceName("string")
.denominatorRollupTimeWindow("string")
.denominatorValueColumn("string")
.funnelCalculationWindow(0.0)
.funnelCountDistinct("string")
.funnelEvents(MetricWarehouseNativeFunnelEventArgs.builder()
.criterias(MetricWarehouseNativeFunnelEventCriteriaArgs.builder()
.condition("string")
.type("string")
.column("string")
.nullVacuousOverride(false)
.values("string")
.build())
.metricSourceName("string")
.name("string")
.sessionIdentifierField("string")
.build())
.funnelStartCriteria("string")
.metricBakeDays(0.0)
.metricDimensionColumns("string")
.metricSourceName("string")
.numeratorAggregation("string")
.onlyIncludeUsersWithConversionEvent(false)
.percentile(0.0)
.rollupTimeWindow("string")
.valueColumn("string")
.valueThreshold(0.0)
.waitForCohortWindow(false)
.winsorizationHigh(0.0)
.winsorizationLow(0.0)
.build())
.build());
metric_resource = statsig.Metric("metricResource",
type="string",
metric_component_metrics=[{
"name": "string",
"type": "string",
}],
metric_events=[{
"name": "string",
"criterias": [{
"condition": "string",
"type": "string",
"column": "string",
"null_vacuous_override": False,
"values": ["string"],
}],
"metadata_key": "string",
"type": "string",
}],
directionality="string",
custom_roll_up_end=0,
funnel_count_distinct="string",
funnel_event_lists=[{
"name": "string",
"type": "string",
}],
is_permanent=False,
is_read_only=False,
description="string",
is_verified=False,
dry_run=False,
name="string",
rollup_time_window="string",
tags=["string"],
team="string",
team_id="string",
custom_roll_up_start=0,
unit_types=["string"],
warehouse_native={
"aggregation": "string",
"allow_null_ratio_denominator": False,
"cap": 0,
"criterias": [{
"condition": "string",
"type": "string",
"column": "string",
"null_vacuous_override": False,
"values": ["string"],
}],
"cuped_attribution_window": 0,
"custom_roll_up_end": 0,
"custom_roll_up_start": 0,
"denominator_aggregation": "string",
"denominator_criterias": [{
"condition": "string",
"type": "string",
"column": "string",
"null_vacuous_override": False,
"values": ["string"],
}],
"denominator_custom_rollup_end": 0,
"denominator_custom_rollup_start": 0,
"denominator_metric_source_name": "string",
"denominator_rollup_time_window": "string",
"denominator_value_column": "string",
"funnel_calculation_window": 0,
"funnel_count_distinct": "string",
"funnel_events": [{
"criterias": [{
"condition": "string",
"type": "string",
"column": "string",
"null_vacuous_override": False,
"values": ["string"],
}],
"metric_source_name": "string",
"name": "string",
"session_identifier_field": "string",
}],
"funnel_start_criteria": "string",
"metric_bake_days": 0,
"metric_dimension_columns": ["string"],
"metric_source_name": "string",
"numerator_aggregation": "string",
"only_include_users_with_conversion_event": False,
"percentile": 0,
"rollup_time_window": "string",
"value_column": "string",
"value_threshold": 0,
"wait_for_cohort_window": False,
"winsorization_high": 0,
"winsorization_low": 0,
})
const metricResource = new statsig.Metric("metricResource", {
type: "string",
metricComponentMetrics: [{
name: "string",
type: "string",
}],
metricEvents: [{
name: "string",
criterias: [{
condition: "string",
type: "string",
column: "string",
nullVacuousOverride: false,
values: ["string"],
}],
metadataKey: "string",
type: "string",
}],
directionality: "string",
customRollUpEnd: 0,
funnelCountDistinct: "string",
funnelEventLists: [{
name: "string",
type: "string",
}],
isPermanent: false,
isReadOnly: false,
description: "string",
isVerified: false,
dryRun: false,
name: "string",
rollupTimeWindow: "string",
tags: ["string"],
team: "string",
teamId: "string",
customRollUpStart: 0,
unitTypes: ["string"],
warehouseNative: {
aggregation: "string",
allowNullRatioDenominator: false,
cap: 0,
criterias: [{
condition: "string",
type: "string",
column: "string",
nullVacuousOverride: false,
values: ["string"],
}],
cupedAttributionWindow: 0,
customRollUpEnd: 0,
customRollUpStart: 0,
denominatorAggregation: "string",
denominatorCriterias: [{
condition: "string",
type: "string",
column: "string",
nullVacuousOverride: false,
values: ["string"],
}],
denominatorCustomRollupEnd: 0,
denominatorCustomRollupStart: 0,
denominatorMetricSourceName: "string",
denominatorRollupTimeWindow: "string",
denominatorValueColumn: "string",
funnelCalculationWindow: 0,
funnelCountDistinct: "string",
funnelEvents: [{
criterias: [{
condition: "string",
type: "string",
column: "string",
nullVacuousOverride: false,
values: ["string"],
}],
metricSourceName: "string",
name: "string",
sessionIdentifierField: "string",
}],
funnelStartCriteria: "string",
metricBakeDays: 0,
metricDimensionColumns: ["string"],
metricSourceName: "string",
numeratorAggregation: "string",
onlyIncludeUsersWithConversionEvent: false,
percentile: 0,
rollupTimeWindow: "string",
valueColumn: "string",
valueThreshold: 0,
waitForCohortWindow: false,
winsorizationHigh: 0,
winsorizationLow: 0,
},
});
type: statsig:Metric
properties:
customRollUpEnd: 0
customRollUpStart: 0
description: string
directionality: string
dryRun: false
funnelCountDistinct: string
funnelEventLists:
- name: string
type: string
isPermanent: false
isReadOnly: false
isVerified: false
metricComponentMetrics:
- name: string
type: string
metricEvents:
- criterias:
- column: string
condition: string
nullVacuousOverride: false
type: string
values:
- string
metadataKey: string
name: string
type: string
name: string
rollupTimeWindow: string
tags:
- string
team: string
teamId: string
type: string
unitTypes:
- string
warehouseNative:
aggregation: string
allowNullRatioDenominator: false
cap: 0
criterias:
- column: string
condition: string
nullVacuousOverride: false
type: string
values:
- string
cupedAttributionWindow: 0
customRollUpEnd: 0
customRollUpStart: 0
denominatorAggregation: string
denominatorCriterias:
- column: string
condition: string
nullVacuousOverride: false
type: string
values:
- string
denominatorCustomRollupEnd: 0
denominatorCustomRollupStart: 0
denominatorMetricSourceName: string
denominatorRollupTimeWindow: string
denominatorValueColumn: string
funnelCalculationWindow: 0
funnelCountDistinct: string
funnelEvents:
- criterias:
- column: string
condition: string
nullVacuousOverride: false
type: string
values:
- string
metricSourceName: string
name: string
sessionIdentifierField: string
funnelStartCriteria: string
metricBakeDays: 0
metricDimensionColumns:
- string
metricSourceName: string
numeratorAggregation: string
onlyIncludeUsersWithConversionEvent: false
percentile: 0
rollupTimeWindow: string
valueColumn: string
valueThreshold: 0
waitForCohortWindow: false
winsorizationHigh: 0
winsorizationLow: 0
Metric 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 Metric resource accepts the following input properties:
- Type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- Custom
Roll doubleUp End - Custom time window end date in days since exposure.
- Custom
Roll doubleUp Start - Custom time window start date in days since exposure.
- Description string
- A description of the new metric, providing context and purpose.
- Directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- Dry
Run bool - Skips persisting the metric (used to validate that inputs are correct)
- Funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- Funnel
Event List<Statsig.Lists Pulumi. Inputs. Metric Funnel Event List> - List of events used to create funnel metrics.
- Is
Permanent bool - Indicates whether the metric is permanent and should not be deleted.
- Is
Read boolOnly - Set to true to make the metric definition editable only from the Console API.
- Is
Verified bool - Marks the metric as verified for internal trustworthiness.
- Metric
Component List<Statsig.Metrics Pulumi. Inputs. Metric Metric Component Metric> - List of input metrics used to calculate the new metric for composite types.
- Metric
Events List<Statsig.Pulumi. Inputs. Metric Metric Event> - An array of event definitions used to compute the metric.
- Name string
- The name of the new metric, which identifies it within the system.
- Rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<string>
- Tags associated with the metric for categorization and searchability.
- Team string
- The team associated with the metric, applicable for enterprise environments.
- Team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- Unit
Types List<string> - Array of unit types associated with the metric, such as stableID or userID.
- Warehouse
Native Statsig.Pulumi. Inputs. Metric Warehouse Native - Defines warehouse native metrics for advanced configurations.
- Type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- Custom
Roll float64Up End - Custom time window end date in days since exposure.
- Custom
Roll float64Up Start - Custom time window start date in days since exposure.
- Description string
- A description of the new metric, providing context and purpose.
- Directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- Dry
Run bool - Skips persisting the metric (used to validate that inputs are correct)
- Funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- Funnel
Event []MetricLists Funnel Event List Args - List of events used to create funnel metrics.
- Is
Permanent bool - Indicates whether the metric is permanent and should not be deleted.
- Is
Read boolOnly - Set to true to make the metric definition editable only from the Console API.
- Is
Verified bool - Marks the metric as verified for internal trustworthiness.
- Metric
Component []MetricMetrics Metric Component Metric Args - List of input metrics used to calculate the new metric for composite types.
- Metric
Events []MetricMetric Event Args - An array of event definitions used to compute the metric.
- Name string
- The name of the new metric, which identifies it within the system.
- Rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- []string
- Tags associated with the metric for categorization and searchability.
- Team string
- The team associated with the metric, applicable for enterprise environments.
- Team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- Unit
Types []string - Array of unit types associated with the metric, such as stableID or userID.
- Warehouse
Native MetricWarehouse Native Args - Defines warehouse native metrics for advanced configurations.
- type String
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- custom
Roll DoubleUp End - Custom time window end date in days since exposure.
- custom
Roll DoubleUp Start - Custom time window start date in days since exposure.
- description String
- A description of the new metric, providing context and purpose.
- directionality String
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run Boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count StringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event List<MetricLists Funnel Event List> - List of events used to create funnel metrics.
- is
Permanent Boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read BooleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified Boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component List<MetricMetrics Metric Component Metric> - List of input metrics used to calculate the new metric for composite types.
- metric
Events List<MetricMetric Event> - An array of event definitions used to compute the metric.
- name String
- The name of the new metric, which identifies it within the system.
- rollup
Time StringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<String>
- Tags associated with the metric for categorization and searchability.
- team String
- The team associated with the metric, applicable for enterprise environments.
- team
Id String - The team ID associated with the metric, applicable for enterprise environments.
- unit
Types List<String> - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native MetricWarehouse Native - Defines warehouse native metrics for advanced configurations.
- type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- custom
Roll numberUp End - Custom time window end date in days since exposure.
- custom
Roll numberUp Start - Custom time window start date in days since exposure.
- description string
- A description of the new metric, providing context and purpose.
- directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event MetricLists Funnel Event List[] - List of events used to create funnel metrics.
- is
Permanent boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read booleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component MetricMetrics Metric Component Metric[] - List of input metrics used to calculate the new metric for composite types.
- metric
Events MetricMetric Event[] - An array of event definitions used to compute the metric.
- name string
- The name of the new metric, which identifies it within the system.
- rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- string[]
- Tags associated with the metric for categorization and searchability.
- team string
- The team associated with the metric, applicable for enterprise environments.
- team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- unit
Types string[] - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native MetricWarehouse Native - Defines warehouse native metrics for advanced configurations.
- type str
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- custom_
roll_ floatup_ end - Custom time window end date in days since exposure.
- custom_
roll_ floatup_ start - Custom time window start date in days since exposure.
- description str
- A description of the new metric, providing context and purpose.
- directionality str
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry_
run bool - Skips persisting the metric (used to validate that inputs are correct)
- funnel_
count_ strdistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel_
event_ Sequence[Metriclists Funnel Event List Args] - List of events used to create funnel metrics.
- is_
permanent bool - Indicates whether the metric is permanent and should not be deleted.
- is_
read_ boolonly - Set to true to make the metric definition editable only from the Console API.
- is_
verified bool - Marks the metric as verified for internal trustworthiness.
- metric_
component_ Sequence[Metricmetrics Metric Component Metric Args] - List of input metrics used to calculate the new metric for composite types.
- metric_
events Sequence[MetricMetric Event Args] - An array of event definitions used to compute the metric.
- name str
- The name of the new metric, which identifies it within the system.
- rollup_
time_ strwindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- Sequence[str]
- Tags associated with the metric for categorization and searchability.
- team str
- The team associated with the metric, applicable for enterprise environments.
- team_
id str - The team ID associated with the metric, applicable for enterprise environments.
- unit_
types Sequence[str] - Array of unit types associated with the metric, such as stableID or userID.
- warehouse_
native MetricWarehouse Native Args - Defines warehouse native metrics for advanced configurations.
- type String
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- custom
Roll NumberUp End - Custom time window end date in days since exposure.
- custom
Roll NumberUp Start - Custom time window start date in days since exposure.
- description String
- A description of the new metric, providing context and purpose.
- directionality String
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run Boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count StringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event List<Property Map>Lists - List of events used to create funnel metrics.
- is
Permanent Boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read BooleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified Boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component List<Property Map>Metrics - List of input metrics used to calculate the new metric for composite types.
- metric
Events List<Property Map> - An array of event definitions used to compute the metric.
- name String
- The name of the new metric, which identifies it within the system.
- rollup
Time StringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<String>
- Tags associated with the metric for categorization and searchability.
- team String
- The team associated with the metric, applicable for enterprise environments.
- team
Id String - The team ID associated with the metric, applicable for enterprise environments.
- unit
Types List<String> - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native Property Map - Defines warehouse native metrics for advanced configurations.
Outputs
All input properties are implicitly available as output properties. Additionally, the Metric 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 Metric Resource
Get an existing Metric 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?: MetricState, opts?: CustomResourceOptions): Metric
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
custom_roll_up_end: Optional[float] = None,
custom_roll_up_start: Optional[float] = None,
description: Optional[str] = None,
directionality: Optional[str] = None,
dry_run: Optional[bool] = None,
funnel_count_distinct: Optional[str] = None,
funnel_event_lists: Optional[Sequence[MetricFunnelEventListArgs]] = None,
is_permanent: Optional[bool] = None,
is_read_only: Optional[bool] = None,
is_verified: Optional[bool] = None,
metric_component_metrics: Optional[Sequence[MetricMetricComponentMetricArgs]] = None,
metric_events: Optional[Sequence[MetricMetricEventArgs]] = None,
name: Optional[str] = None,
rollup_time_window: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
team: Optional[str] = None,
team_id: Optional[str] = None,
type: Optional[str] = None,
unit_types: Optional[Sequence[str]] = None,
warehouse_native: Optional[MetricWarehouseNativeArgs] = None) -> Metric
func GetMetric(ctx *Context, name string, id IDInput, state *MetricState, opts ...ResourceOption) (*Metric, error)
public static Metric Get(string name, Input<string> id, MetricState? state, CustomResourceOptions? opts = null)
public static Metric get(String name, Output<String> id, MetricState state, CustomResourceOptions options)
resources: _: type: statsig:Metric 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.
- Custom
Roll doubleUp End - Custom time window end date in days since exposure.
- Custom
Roll doubleUp Start - Custom time window start date in days since exposure.
- Description string
- A description of the new metric, providing context and purpose.
- Directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- Dry
Run bool - Skips persisting the metric (used to validate that inputs are correct)
- Funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- Funnel
Event List<Statsig.Lists Pulumi. Inputs. Metric Funnel Event List> - List of events used to create funnel metrics.
- Is
Permanent bool - Indicates whether the metric is permanent and should not be deleted.
- Is
Read boolOnly - Set to true to make the metric definition editable only from the Console API.
- Is
Verified bool - Marks the metric as verified for internal trustworthiness.
- Metric
Component List<Statsig.Metrics Pulumi. Inputs. Metric Metric Component Metric> - List of input metrics used to calculate the new metric for composite types.
- Metric
Events List<Statsig.Pulumi. Inputs. Metric Metric Event> - An array of event definitions used to compute the metric.
- Name string
- The name of the new metric, which identifies it within the system.
- Rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<string>
- Tags associated with the metric for categorization and searchability.
- Team string
- The team associated with the metric, applicable for enterprise environments.
- Team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- Type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- Unit
Types List<string> - Array of unit types associated with the metric, such as stableID or userID.
- Warehouse
Native Statsig.Pulumi. Inputs. Metric Warehouse Native - Defines warehouse native metrics for advanced configurations.
- Custom
Roll float64Up End - Custom time window end date in days since exposure.
- Custom
Roll float64Up Start - Custom time window start date in days since exposure.
- Description string
- A description of the new metric, providing context and purpose.
- Directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- Dry
Run bool - Skips persisting the metric (used to validate that inputs are correct)
- Funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- Funnel
Event []MetricLists Funnel Event List Args - List of events used to create funnel metrics.
- Is
Permanent bool - Indicates whether the metric is permanent and should not be deleted.
- Is
Read boolOnly - Set to true to make the metric definition editable only from the Console API.
- Is
Verified bool - Marks the metric as verified for internal trustworthiness.
- Metric
Component []MetricMetrics Metric Component Metric Args - List of input metrics used to calculate the new metric for composite types.
- Metric
Events []MetricMetric Event Args - An array of event definitions used to compute the metric.
- Name string
- The name of the new metric, which identifies it within the system.
- Rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- []string
- Tags associated with the metric for categorization and searchability.
- Team string
- The team associated with the metric, applicable for enterprise environments.
- Team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- Type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- Unit
Types []string - Array of unit types associated with the metric, such as stableID or userID.
- Warehouse
Native MetricWarehouse Native Args - Defines warehouse native metrics for advanced configurations.
- custom
Roll DoubleUp End - Custom time window end date in days since exposure.
- custom
Roll DoubleUp Start - Custom time window start date in days since exposure.
- description String
- A description of the new metric, providing context and purpose.
- directionality String
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run Boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count StringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event List<MetricLists Funnel Event List> - List of events used to create funnel metrics.
- is
Permanent Boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read BooleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified Boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component List<MetricMetrics Metric Component Metric> - List of input metrics used to calculate the new metric for composite types.
- metric
Events List<MetricMetric Event> - An array of event definitions used to compute the metric.
- name String
- The name of the new metric, which identifies it within the system.
- rollup
Time StringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<String>
- Tags associated with the metric for categorization and searchability.
- team String
- The team associated with the metric, applicable for enterprise environments.
- team
Id String - The team ID associated with the metric, applicable for enterprise environments.
- type String
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- unit
Types List<String> - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native MetricWarehouse Native - Defines warehouse native metrics for advanced configurations.
- custom
Roll numberUp End - Custom time window end date in days since exposure.
- custom
Roll numberUp Start - Custom time window start date in days since exposure.
- description string
- A description of the new metric, providing context and purpose.
- directionality string
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count stringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event MetricLists Funnel Event List[] - List of events used to create funnel metrics.
- is
Permanent boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read booleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component MetricMetrics Metric Component Metric[] - List of input metrics used to calculate the new metric for composite types.
- metric
Events MetricMetric Event[] - An array of event definitions used to compute the metric.
- name string
- The name of the new metric, which identifies it within the system.
- rollup
Time stringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- string[]
- Tags associated with the metric for categorization and searchability.
- team string
- The team associated with the metric, applicable for enterprise environments.
- team
Id string - The team ID associated with the metric, applicable for enterprise environments.
- type string
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- unit
Types string[] - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native MetricWarehouse Native - Defines warehouse native metrics for advanced configurations.
- custom_
roll_ floatup_ end - Custom time window end date in days since exposure.
- custom_
roll_ floatup_ start - Custom time window start date in days since exposure.
- description str
- A description of the new metric, providing context and purpose.
- directionality str
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry_
run bool - Skips persisting the metric (used to validate that inputs are correct)
- funnel_
count_ strdistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel_
event_ Sequence[Metriclists Funnel Event List Args] - List of events used to create funnel metrics.
- is_
permanent bool - Indicates whether the metric is permanent and should not be deleted.
- is_
read_ boolonly - Set to true to make the metric definition editable only from the Console API.
- is_
verified bool - Marks the metric as verified for internal trustworthiness.
- metric_
component_ Sequence[Metricmetrics Metric Component Metric Args] - List of input metrics used to calculate the new metric for composite types.
- metric_
events Sequence[MetricMetric Event Args] - An array of event definitions used to compute the metric.
- name str
- The name of the new metric, which identifies it within the system.
- rollup_
time_ strwindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- Sequence[str]
- Tags associated with the metric for categorization and searchability.
- team str
- The team associated with the metric, applicable for enterprise environments.
- team_
id str - The team ID associated with the metric, applicable for enterprise environments.
- type str
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- unit_
types Sequence[str] - Array of unit types associated with the metric, such as stableID or userID.
- warehouse_
native MetricWarehouse Native Args - Defines warehouse native metrics for advanced configurations.
- custom
Roll NumberUp End - Custom time window end date in days since exposure.
- custom
Roll NumberUp Start - Custom time window start date in days since exposure.
- description String
- A description of the new metric, providing context and purpose.
- directionality String
- Indicates the desired change direction for the metric. Use "increase" for positive changes and "decrease" for negative changes.
- dry
Run Boolean - Skips persisting the metric (used to validate that inputs are correct)
- funnel
Count StringDistinct - Specifies whether to count events or distinct users for the funnel metric.
- funnel
Event List<Property Map>Lists - List of events used to create funnel metrics.
- is
Permanent Boolean - Indicates whether the metric is permanent and should not be deleted.
- is
Read BooleanOnly - Set to true to make the metric definition editable only from the Console API.
- is
Verified Boolean - Marks the metric as verified for internal trustworthiness.
- metric
Component List<Property Map>Metrics - List of input metrics used to calculate the new metric for composite types.
- metric
Events List<Property Map> - An array of event definitions used to compute the metric.
- name String
- The name of the new metric, which identifies it within the system.
- rollup
Time StringWindow - Time window for the metric rollup. Specify "custom" for a customized time window.
- List<String>
- Tags associated with the metric for categorization and searchability.
- team String
- The team associated with the metric, applicable for enterprise environments.
- team
Id String - The team ID associated with the metric, applicable for enterprise environments.
- type String
- The type of the metric. Allowed values include sum, ratio, mean, eventcountsum, composite, compositesum, undefined, funnel, userwarehouse.
- unit
Types List<String> - Array of unit types associated with the metric, such as stableID or userID.
- warehouse
Native Property Map - Defines warehouse native metrics for advanced configurations.
Supporting Types
MetricFunnelEventList, MetricFunnelEventListArgs
MetricMetricComponentMetric, MetricMetricComponentMetricArgs
MetricMetricEvent, MetricMetricEventArgs
- Name string
- The name of the metric event.
- Criterias
List<Statsig.
Pulumi. Inputs. Metric Metric Event Criteria> - Filtering criteria for the metric event, including conditions and values to refine the event data.
- Metadata
Key string - The key for associated metadata, if applicable.
- Type string
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
- Name string
- The name of the metric event.
- Criterias
[]Metric
Metric Event Criteria - Filtering criteria for the metric event, including conditions and values to refine the event data.
- Metadata
Key string - The key for associated metadata, if applicable.
- Type string
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
- name String
- The name of the metric event.
- criterias
List<Metric
Metric Event Criteria> - Filtering criteria for the metric event, including conditions and values to refine the event data.
- metadata
Key String - The key for associated metadata, if applicable.
- type String
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
- name string
- The name of the metric event.
- criterias
Metric
Metric Event Criteria[] - Filtering criteria for the metric event, including conditions and values to refine the event data.
- metadata
Key string - The key for associated metadata, if applicable.
- type string
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
- name str
- The name of the metric event.
- criterias
Sequence[Metric
Metric Event Criteria] - Filtering criteria for the metric event, including conditions and values to refine the event data.
- metadata_
key str - The key for associated metadata, if applicable.
- type str
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
- name String
- The name of the metric event.
- criterias List<Property Map>
- Filtering criteria for the metric event, including conditions and values to refine the event data.
- metadata
Key String - The key for associated metadata, if applicable.
- type String
- The type of metric event. Allowed values include: count, count_distinct, value, and metadata.
MetricMetricEventCriteria, MetricMetricEventCriteriaArgs
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values List<string>
- Optional array of values for the criterion to match against.
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values []string
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
- condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column string
- Optional column specifying which data attribute to filter on.
- null
Vacuous booleanOverride - If true, overrides null values in criterion evaluation.
- values string[]
- Optional array of values for the criterion to match against.
- condition str
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type str
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column str
- Optional column specifying which data attribute to filter on.
- null_
vacuous_ booloverride - If true, overrides null values in criterion evaluation.
- values Sequence[str]
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
MetricWarehouseNative, MetricWarehouseNativeArgs
- Aggregation string
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- Allow
Null boolRatio Denominator - Include units which do not have a denominator. Only applicable to ratios.
- Cap double
- Maximum cap for metric values.
- Criterias
List<Statsig.
Pulumi. Inputs. Metric Warehouse Native Criteria> - Filtering criteria for the metric source
- Cuped
Attribution doubleWindow - Attribution window for CUPED adjustments in days.
- Custom
Roll doubleUp End - Custom end date for rollup in days since exposure.
- Custom
Roll doubleUp Start - Custom start date for rollup in days since exposure.
- Denominator
Aggregation string - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- Denominator
Criterias List<Statsig.Pulumi. Inputs. Metric Warehouse Native Denominator Criteria> - Filtering criteria for the denominator metric source, if this metric is a ratio
- Denominator
Custom doubleRollup End - Custom end date for rollup in days since exposure.
- Denominator
Custom doubleRollup Start - Custom start date for rollup in days since exposure.
- Denominator
Metric stringSource Name - Name of the metric source for the denominator.
- Denominator
Rollup stringTime Window - Time window for the denominator metric. Specify "custom" for a custom window.
- Denominator
Value stringColumn - Column name for the denominator’s value.
- Funnel
Calculation doubleWindow - Duration for counting funnel events in days.
- Funnel
Count stringDistinct - Allowed: users┃sessions for distinct count method in funnel events.
- Funnel
Events List<Statsig.Pulumi. Inputs. Metric Warehouse Native Funnel Event> - List of funnel events with associated criteria and identifiers.
- Funnel
Start stringCriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- Metric
Bake doubleDays - Number of days for metric baking; specify duration for analysis.
- Metric
Dimension List<string>Columns - Specify metadata columns for breaking down metric analysis.
- Metric
Source stringName - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- Numerator
Aggregation string - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- Only
Include boolUsers With Conversion Event - Flag to include only users with a conversion event in the metric.
- Percentile double
- Percentile value for statistical calculations.
- Rollup
Time stringWindow - General time window for rollup; can specify custom settings.
- Value
Column string - Column name representing the metric’s value.
- Value
Threshold double - Threshold value for filtering metrics.
- Wait
For boolCohort Window - Winsorization
High double - High threshold for winsorization; must be between 0 and 1.
- Winsorization
Low double - Low threshold for winsorization; must be between 0 and 1.
- Aggregation string
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- Allow
Null boolRatio Denominator - Include units which do not have a denominator. Only applicable to ratios.
- Cap float64
- Maximum cap for metric values.
- Criterias
[]Metric
Warehouse Native Criteria - Filtering criteria for the metric source
- Cuped
Attribution float64Window - Attribution window for CUPED adjustments in days.
- Custom
Roll float64Up End - Custom end date for rollup in days since exposure.
- Custom
Roll float64Up Start - Custom start date for rollup in days since exposure.
- Denominator
Aggregation string - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- Denominator
Criterias []MetricWarehouse Native Denominator Criteria - Filtering criteria for the denominator metric source, if this metric is a ratio
- Denominator
Custom float64Rollup End - Custom end date for rollup in days since exposure.
- Denominator
Custom float64Rollup Start - Custom start date for rollup in days since exposure.
- Denominator
Metric stringSource Name - Name of the metric source for the denominator.
- Denominator
Rollup stringTime Window - Time window for the denominator metric. Specify "custom" for a custom window.
- Denominator
Value stringColumn - Column name for the denominator’s value.
- Funnel
Calculation float64Window - Duration for counting funnel events in days.
- Funnel
Count stringDistinct - Allowed: users┃sessions for distinct count method in funnel events.
- Funnel
Events []MetricWarehouse Native Funnel Event - List of funnel events with associated criteria and identifiers.
- Funnel
Start stringCriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- Metric
Bake float64Days - Number of days for metric baking; specify duration for analysis.
- Metric
Dimension []stringColumns - Specify metadata columns for breaking down metric analysis.
- Metric
Source stringName - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- Numerator
Aggregation string - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- Only
Include boolUsers With Conversion Event - Flag to include only users with a conversion event in the metric.
- Percentile float64
- Percentile value for statistical calculations.
- Rollup
Time stringWindow - General time window for rollup; can specify custom settings.
- Value
Column string - Column name representing the metric’s value.
- Value
Threshold float64 - Threshold value for filtering metrics.
- Wait
For boolCohort Window - Winsorization
High float64 - High threshold for winsorization; must be between 0 and 1.
- Winsorization
Low float64 - Low threshold for winsorization; must be between 0 and 1.
- aggregation String
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- allow
Null BooleanRatio Denominator - Include units which do not have a denominator. Only applicable to ratios.
- cap Double
- Maximum cap for metric values.
- criterias
List<Metric
Warehouse Native Criteria> - Filtering criteria for the metric source
- cuped
Attribution DoubleWindow - Attribution window for CUPED adjustments in days.
- custom
Roll DoubleUp End - Custom end date for rollup in days since exposure.
- custom
Roll DoubleUp Start - Custom start date for rollup in days since exposure.
- denominator
Aggregation String - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- denominator
Criterias List<MetricWarehouse Native Denominator Criteria> - Filtering criteria for the denominator metric source, if this metric is a ratio
- denominator
Custom DoubleRollup End - Custom end date for rollup in days since exposure.
- denominator
Custom DoubleRollup Start - Custom start date for rollup in days since exposure.
- denominator
Metric StringSource Name - Name of the metric source for the denominator.
- denominator
Rollup StringTime Window - Time window for the denominator metric. Specify "custom" for a custom window.
- denominator
Value StringColumn - Column name for the denominator’s value.
- funnel
Calculation DoubleWindow - Duration for counting funnel events in days.
- funnel
Count StringDistinct - Allowed: users┃sessions for distinct count method in funnel events.
- funnel
Events List<MetricWarehouse Native Funnel Event> - List of funnel events with associated criteria and identifiers.
- funnel
Start StringCriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- metric
Bake DoubleDays - Number of days for metric baking; specify duration for analysis.
- metric
Dimension List<String>Columns - Specify metadata columns for breaking down metric analysis.
- metric
Source StringName - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- numerator
Aggregation String - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- only
Include BooleanUsers With Conversion Event - Flag to include only users with a conversion event in the metric.
- percentile Double
- Percentile value for statistical calculations.
- rollup
Time StringWindow - General time window for rollup; can specify custom settings.
- value
Column String - Column name representing the metric’s value.
- value
Threshold Double - Threshold value for filtering metrics.
- wait
For BooleanCohort Window - winsorization
High Double - High threshold for winsorization; must be between 0 and 1.
- winsorization
Low Double - Low threshold for winsorization; must be between 0 and 1.
- aggregation string
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- allow
Null booleanRatio Denominator - Include units which do not have a denominator. Only applicable to ratios.
- cap number
- Maximum cap for metric values.
- criterias
Metric
Warehouse Native Criteria[] - Filtering criteria for the metric source
- cuped
Attribution numberWindow - Attribution window for CUPED adjustments in days.
- custom
Roll numberUp End - Custom end date for rollup in days since exposure.
- custom
Roll numberUp Start - Custom start date for rollup in days since exposure.
- denominator
Aggregation string - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- denominator
Criterias MetricWarehouse Native Denominator Criteria[] - Filtering criteria for the denominator metric source, if this metric is a ratio
- denominator
Custom numberRollup End - Custom end date for rollup in days since exposure.
- denominator
Custom numberRollup Start - Custom start date for rollup in days since exposure.
- denominator
Metric stringSource Name - Name of the metric source for the denominator.
- denominator
Rollup stringTime Window - Time window for the denominator metric. Specify "custom" for a custom window.
- denominator
Value stringColumn - Column name for the denominator’s value.
- funnel
Calculation numberWindow - Duration for counting funnel events in days.
- funnel
Count stringDistinct - Allowed: users┃sessions for distinct count method in funnel events.
- funnel
Events MetricWarehouse Native Funnel Event[] - List of funnel events with associated criteria and identifiers.
- funnel
Start stringCriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- metric
Bake numberDays - Number of days for metric baking; specify duration for analysis.
- metric
Dimension string[]Columns - Specify metadata columns for breaking down metric analysis.
- metric
Source stringName - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- numerator
Aggregation string - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- only
Include booleanUsers With Conversion Event - Flag to include only users with a conversion event in the metric.
- percentile number
- Percentile value for statistical calculations.
- rollup
Time stringWindow - General time window for rollup; can specify custom settings.
- value
Column string - Column name representing the metric’s value.
- value
Threshold number - Threshold value for filtering metrics.
- wait
For booleanCohort Window - winsorization
High number - High threshold for winsorization; must be between 0 and 1.
- winsorization
Low number - Low threshold for winsorization; must be between 0 and 1.
- aggregation str
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- allow_
null_ boolratio_ denominator - Include units which do not have a denominator. Only applicable to ratios.
- cap float
- Maximum cap for metric values.
- criterias
Sequence[Metric
Warehouse Native Criteria] - Filtering criteria for the metric source
- cuped_
attribution_ floatwindow - Attribution window for CUPED adjustments in days.
- custom_
roll_ floatup_ end - Custom end date for rollup in days since exposure.
- custom_
roll_ floatup_ start - Custom start date for rollup in days since exposure.
- denominator_
aggregation str - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- denominator_
criterias Sequence[MetricWarehouse Native Denominator Criteria] - Filtering criteria for the denominator metric source, if this metric is a ratio
- denominator_
custom_ floatrollup_ end - Custom end date for rollup in days since exposure.
- denominator_
custom_ floatrollup_ start - Custom start date for rollup in days since exposure.
- denominator_
metric_ strsource_ name - Name of the metric source for the denominator.
- denominator_
rollup_ strtime_ window - Time window for the denominator metric. Specify "custom" for a custom window.
- denominator_
value_ strcolumn - Column name for the denominator’s value.
- funnel_
calculation_ floatwindow - Duration for counting funnel events in days.
- funnel_
count_ strdistinct - Allowed: users┃sessions for distinct count method in funnel events.
- funnel_
events Sequence[MetricWarehouse Native Funnel Event] - List of funnel events with associated criteria and identifiers.
- funnel_
start_ strcriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- metric_
bake_ floatdays - Number of days for metric baking; specify duration for analysis.
- metric_
dimension_ Sequence[str]columns - Specify metadata columns for breaking down metric analysis.
- metric_
source_ strname - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- numerator_
aggregation str - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- only_
include_ boolusers_ with_ conversion_ event - Flag to include only users with a conversion event in the metric.
- percentile float
- Percentile value for statistical calculations.
- rollup_
time_ strwindow - General time window for rollup; can specify custom settings.
- value_
column str - Column name representing the metric’s value.
- value_
threshold float - Threshold value for filtering metrics.
- wait_
for_ boolcohort_ window - winsorization_
high float - High threshold for winsorization; must be between 0 and 1.
- winsorization_
low float - Low threshold for winsorization; must be between 0 and 1.
- aggregation String
- Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- allow
Null BooleanRatio Denominator - Include units which do not have a denominator. Only applicable to ratios.
- cap Number
- Maximum cap for metric values.
- criterias List<Property Map>
- Filtering criteria for the metric source
- cuped
Attribution NumberWindow - Attribution window for CUPED adjustments in days.
- custom
Roll NumberUp End - Custom end date for rollup in days since exposure.
- custom
Roll NumberUp Start - Custom start date for rollup in days since exposure.
- denominator
Aggregation String - Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile
- denominator
Criterias List<Property Map> - Filtering criteria for the denominator metric source, if this metric is a ratio
- denominator
Custom NumberRollup End - Custom end date for rollup in days since exposure.
- denominator
Custom NumberRollup Start - Custom start date for rollup in days since exposure.
- denominator
Metric StringSource Name - Name of the metric source for the denominator.
- denominator
Rollup StringTime Window - Time window for the denominator metric. Specify "custom" for a custom window.
- denominator
Value StringColumn - Column name for the denominator’s value.
- funnel
Calculation NumberWindow - Duration for counting funnel events in days.
- funnel
Count StringDistinct - Allowed: users┃sessions for distinct count method in funnel events.
- funnel
Events List<Property Map> - List of funnel events with associated criteria and identifiers.
- funnel
Start StringCriteria - Allowed: start_event┃exposure to determine funnel start criteria.
- metric
Bake NumberDays - Number of days for metric baking; specify duration for analysis.
- metric
Dimension List<String>Columns - Specify metadata columns for breaking down metric analysis.
- metric
Source StringName - For Count, Sum, Mean, User Count aggregation types: the name of metric source
- numerator
Aggregation String - Aggregation type for numerator; Allowed: count┃sum┃mean┃dailyparticipation┃ratio┃funnel┃countdistinct┃percentile.
- only
Include BooleanUsers With Conversion Event - Flag to include only users with a conversion event in the metric.
- percentile Number
- Percentile value for statistical calculations.
- rollup
Time StringWindow - General time window for rollup; can specify custom settings.
- value
Column String - Column name representing the metric’s value.
- value
Threshold Number - Threshold value for filtering metrics.
- wait
For BooleanCohort Window - winsorization
High Number - High threshold for winsorization; must be between 0 and 1.
- winsorization
Low Number - Low threshold for winsorization; must be between 0 and 1.
MetricWarehouseNativeCriteria, MetricWarehouseNativeCriteriaArgs
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values List<string>
- Optional array of values for the criterion to match against.
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values []string
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
- condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column string
- Optional column specifying which data attribute to filter on.
- null
Vacuous booleanOverride - If true, overrides null values in criterion evaluation.
- values string[]
- Optional array of values for the criterion to match against.
- condition str
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type str
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column str
- Optional column specifying which data attribute to filter on.
- null_
vacuous_ booloverride - If true, overrides null values in criterion evaluation.
- values Sequence[str]
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
MetricWarehouseNativeDenominatorCriteria, MetricWarehouseNativeDenominatorCriteriaArgs
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values List<string>
- Optional array of values for the criterion to match against.
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values []string
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
- condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column string
- Optional column specifying which data attribute to filter on.
- null
Vacuous booleanOverride - If true, overrides null values in criterion evaluation.
- values string[]
- Optional array of values for the criterion to match against.
- condition str
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type str
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column str
- Optional column specifying which data attribute to filter on.
- null_
vacuous_ booloverride - If true, overrides null values in criterion evaluation.
- values Sequence[str]
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
MetricWarehouseNativeFunnelEvent, MetricWarehouseNativeFunnelEventArgs
- Criterias
List<Statsig.
Pulumi. Inputs. Metric Warehouse Native Funnel Event Criteria> - Optional array of criteria to filter the funnel events, defined by various types and conditions.
- Metric
Source stringName - Optional name of the metric source associated with the funnel event.
- Name string
- Optional step name for the funnel event, can be null if not specified.
- Session
Identifier stringField - Name of column which being used as session identifier. Funnel event with the same metric source
- Criterias
[]Metric
Warehouse Native Funnel Event Criteria - Optional array of criteria to filter the funnel events, defined by various types and conditions.
- Metric
Source stringName - Optional name of the metric source associated with the funnel event.
- Name string
- Optional step name for the funnel event, can be null if not specified.
- Session
Identifier stringField - Name of column which being used as session identifier. Funnel event with the same metric source
- criterias
List<Metric
Warehouse Native Funnel Event Criteria> - Optional array of criteria to filter the funnel events, defined by various types and conditions.
- metric
Source StringName - Optional name of the metric source associated with the funnel event.
- name String
- Optional step name for the funnel event, can be null if not specified.
- session
Identifier StringField - Name of column which being used as session identifier. Funnel event with the same metric source
- criterias
Metric
Warehouse Native Funnel Event Criteria[] - Optional array of criteria to filter the funnel events, defined by various types and conditions.
- metric
Source stringName - Optional name of the metric source associated with the funnel event.
- name string
- Optional step name for the funnel event, can be null if not specified.
- session
Identifier stringField - Name of column which being used as session identifier. Funnel event with the same metric source
- criterias
Sequence[Metric
Warehouse Native Funnel Event Criteria] - Optional array of criteria to filter the funnel events, defined by various types and conditions.
- metric_
source_ strname - Optional name of the metric source associated with the funnel event.
- name str
- Optional step name for the funnel event, can be null if not specified.
- session_
identifier_ strfield - Name of column which being used as session identifier. Funnel event with the same metric source
- criterias List<Property Map>
- Optional array of criteria to filter the funnel events, defined by various types and conditions.
- metric
Source StringName - Optional name of the metric source associated with the funnel event.
- name String
- Optional step name for the funnel event, can be null if not specified.
- session
Identifier StringField - Name of column which being used as session identifier. Funnel event with the same metric source
MetricWarehouseNativeFunnelEventCriteria, MetricWarehouseNativeFunnelEventCriteriaArgs
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values List<string>
- Optional array of values for the criterion to match against.
- Condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- Type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - Column string
- Optional column specifying which data attribute to filter on.
- Null
Vacuous boolOverride - If true, overrides null values in criterion evaluation.
- Values []string
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
- condition string
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type string
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column string
- Optional column specifying which data attribute to filter on.
- null
Vacuous booleanOverride - If true, overrides null values in criterion evaluation.
- values string[]
- Optional array of values for the criterion to match against.
- condition str
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type str
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column str
- Optional column specifying which data attribute to filter on.
- null_
vacuous_ booloverride - If true, overrides null values in criterion evaluation.
- values Sequence[str]
- Optional array of values for the criterion to match against.
- condition String
- sqlfilter, startwiths, endswith, and afterexposure are only applicable in Warehouse Native
- type String
- Type of event criterion for filtering metrics. Options include
value
,metadata
,user
, anduser_custom
; in Warehouse Native, this should always bemetadata
. - column String
- Optional column specifying which data attribute to filter on.
- null
Vacuous BooleanOverride - If true, overrides null values in criterion evaluation.
- values List<String>
- Optional array of values for the criterion to match against.
Package Details
- Repository
- statsig statsig-io/pulumi-statsig
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
statsig
Terraform Provider.