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

    A rule that extracts a histogram metric from spans matching a trace filter, with configurable group-by keys and histogram buckets.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var paymentsLatency = new Pulumi.TraceMetricsRule("paymentsLatency", new()
        {
            GroupBies = new[]
            {
                "operation",
            },
            HistogramBucketsSeconds = new[]
            {
                0.1,
                0.5,
                1,
                2,
                5,
            },
            MetricLabels = 
            {
                { "service", "payments" },
            },
            MetricName = "payments_request_duration",
            Name = "Payments service latency",
            Slug = "payments-latency",
            TraceFilter = new Pulumi.Inputs.TraceMetricsRuleTraceFilterArgs
            {
                Spans = new[]
                {
                    new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanArgs
                    {
                        MatchType = "include",
                        Service = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanServiceArgs
                        {
                            Match = "exact",
                            Value = "payments",
                        },
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/chronosphereio/pulumi-chronosphere/sdk/go/chronosphere"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chronosphere.NewTraceMetricsRule(ctx, "paymentsLatency", &chronosphere.TraceMetricsRuleArgs{
    			GroupBies: chronosphere.TraceMetricsRuleGroupByArray{
    				"operation",
    			},
    			HistogramBucketsSeconds: pulumi.Float64Array{
    				pulumi.Float64(0.1),
    				pulumi.Float64(0.5),
    				pulumi.Float64(1),
    				pulumi.Float64(2),
    				pulumi.Float64(5),
    			},
    			MetricLabels: pulumi.StringMap{
    				"service": pulumi.String("payments"),
    			},
    			MetricName: pulumi.String("payments_request_duration"),
    			Name:       pulumi.String("Payments service latency"),
    			Slug:       pulumi.String("payments-latency"),
    			TraceFilter: &chronosphere.TraceMetricsRuleTraceFilterArgs{
    				Spans: chronosphere.TraceMetricsRuleTraceFilterSpanArray{
    					&chronosphere.TraceMetricsRuleTraceFilterSpanArgs{
    						MatchType: pulumi.String("include"),
    						Service: &chronosphere.TraceMetricsRuleTraceFilterSpanServiceArgs{
    							Match: pulumi.String("exact"),
    							Value: pulumi.String("payments"),
    						},
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.chronosphere.TraceMetricsRule;
    import com.pulumi.chronosphere.TraceMetricsRuleArgs;
    import com.pulumi.chronosphere.inputs.TraceMetricsRuleTraceFilterArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var paymentsLatency = new TraceMetricsRule("paymentsLatency", TraceMetricsRuleArgs.builder()        
                .groupBies("operation")
                .histogramBucketsSeconds(            
                    0.1,
                    0.5,
                    1,
                    2,
                    5)
                .metricLabels(Map.of("service", "payments"))
                .metricName("payments_request_duration")
                .name("Payments service latency")
                .slug("payments-latency")
                .traceFilter(TraceMetricsRuleTraceFilterArgs.builder()
                    .spans(TraceMetricsRuleTraceFilterSpanArgs.builder()
                        .matchType("include")
                        .service(TraceMetricsRuleTraceFilterSpanServiceArgs.builder()
                            .match("exact")
                            .value("payments")
                            .build())
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const paymentsLatency = new chronosphere.TraceMetricsRule("paymentsLatency", {
        groupBies: ["operation"],
        histogramBucketsSeconds: [
            0.1,
            0.5,
            1,
            2,
            5,
        ],
        metricLabels: {
            service: "payments",
        },
        metricName: "payments_request_duration",
        name: "Payments service latency",
        slug: "payments-latency",
        traceFilter: {
            spans: [{
                matchType: "include",
                service: {
                    match: "exact",
                    value: "payments",
                },
            }],
        },
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    payments_latency = chronosphere.TraceMetricsRule("paymentsLatency",
        group_bies=["operation"],
        histogram_buckets_seconds=[
            0.1,
            0.5,
            1,
            2,
            5,
        ],
        metric_labels={
            "service": "payments",
        },
        metric_name="payments_request_duration",
        name="Payments service latency",
        slug="payments-latency",
        trace_filter=chronosphere.TraceMetricsRuleTraceFilterArgs(
            spans=[chronosphere.TraceMetricsRuleTraceFilterSpanArgs(
                match_type="include",
                service=chronosphere.TraceMetricsRuleTraceFilterSpanServiceArgs(
                    match="exact",
                    value="payments",
                ),
            )],
        ))
    
    resources:
      paymentsLatency:
        type: chronosphere:TraceMetricsRule
        properties:
          groupBies:
            - operation
          histogramBucketsSeconds:
            - 0.1
            - 0.5
            - 1
            - 2
            - 5
          metricLabels:
            service: payments
          metricName: payments_request_duration
          name: Payments service latency
          slug: payments-latency
          traceFilter:
            spans:
              - matchType: include
                service:
                  match: exact
                  value: payments
    

    Create TraceMetricsRule Resource

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

    Constructor syntax

    new TraceMetricsRule(name: string, args: TraceMetricsRuleArgs, opts?: CustomResourceOptions);
    @overload
    def TraceMetricsRule(resource_name: str,
                         args: TraceMetricsRuleArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def TraceMetricsRule(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         metric_name: Optional[str] = None,
                         name: Optional[str] = None,
                         trace_filter: Optional[TraceMetricsRuleTraceFilterArgs] = None,
                         group_bies: Optional[Sequence[TraceMetricsRuleGroupByArgs]] = None,
                         histogram_buckets_seconds: Optional[Sequence[float]] = None,
                         metric_labels: Optional[Mapping[str, str]] = None,
                         scope_filter: Optional[TraceMetricsRuleScopeFilterArgs] = None,
                         slug: Optional[str] = None)
    func NewTraceMetricsRule(ctx *Context, name string, args TraceMetricsRuleArgs, opts ...ResourceOption) (*TraceMetricsRule, error)
    public TraceMetricsRule(string name, TraceMetricsRuleArgs args, CustomResourceOptions? opts = null)
    public TraceMetricsRule(String name, TraceMetricsRuleArgs args)
    public TraceMetricsRule(String name, TraceMetricsRuleArgs args, CustomResourceOptions options)
    
    type: chronosphere:TraceMetricsRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_tracemetricsrule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args TraceMetricsRuleArgs
    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 TraceMetricsRuleArgs
    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 TraceMetricsRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TraceMetricsRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TraceMetricsRuleArgs
    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 traceMetricsRuleResource = new Pulumi.TraceMetricsRule("traceMetricsRuleResource", new()
    {
        MetricName = "string",
        Name = "string",
        TraceFilter = new Pulumi.Inputs.TraceMetricsRuleTraceFilterArgs
        {
            ScopeFilter = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterArgs
            {
                SpanScopes = new[]
                {
                    new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeArgs
                    {
                        Duration = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeDurationArgs
                        {
                            MaxSecs = 0,
                            MinSecs = 0,
                        },
                        Error = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeErrorArgs
                        {
                            Value = false,
                        },
                        IsRootSpan = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpanArgs
                        {
                            Value = false,
                        },
                        MatchType = "string",
                        Operation = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperationArgs
                        {
                            InValues = new[]
                            {
                                "string",
                            },
                            Match = "string",
                            Value = "string",
                        },
                        ParentOperation = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperationArgs
                        {
                            InValues = new[]
                            {
                                "string",
                            },
                            Match = "string",
                            Value = "string",
                        },
                        ParentService = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentServiceArgs
                        {
                            InValues = new[]
                            {
                                "string",
                            },
                            Match = "string",
                            Value = "string",
                        },
                        Service = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeServiceArgs
                        {
                            InValues = new[]
                            {
                                "string",
                            },
                            Match = "string",
                            Value = "string",
                        },
                        SpanCount = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCountArgs
                        {
                            Max = 0,
                            Min = 0,
                        },
                        Tags = new[]
                        {
                            new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagArgs
                            {
                                Key = "string",
                                NumericValue = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValueArgs
                                {
                                    Comparison = "string",
                                    Value = 0,
                                },
                                Value = new Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValueArgs
                                {
                                    InValues = new[]
                                    {
                                        "string",
                                    },
                                    Match = "string",
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
            Spans = new[]
            {
                new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanArgs
                {
                    Duration = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanDurationArgs
                    {
                        MaxSecs = 0,
                        MinSecs = 0,
                    },
                    Error = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanErrorArgs
                    {
                        Value = false,
                    },
                    IsRootSpan = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanIsRootSpanArgs
                    {
                        Value = false,
                    },
                    MatchType = "string",
                    Operation = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanOperationArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    ParentOperation = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanParentOperationArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    ParentService = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanParentServiceArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    Service = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanServiceArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    SpanCount = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanSpanCountArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                    Tags = new[]
                    {
                        new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTagArgs
                        {
                            Key = "string",
                            NumericValue = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTagNumericValueArgs
                            {
                                Comparison = "string",
                                Value = 0,
                            },
                            Value = new Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTagValueArgs
                            {
                                InValues = new[]
                                {
                                    "string",
                                },
                                Match = "string",
                                Value = "string",
                            },
                        },
                    },
                },
            },
            Trace = new Pulumi.Inputs.TraceMetricsRuleTraceFilterTraceArgs
            {
                Duration = new Pulumi.Inputs.TraceMetricsRuleTraceFilterTraceDurationArgs
                {
                    MaxSecs = 0,
                    MinSecs = 0,
                },
                Error = new Pulumi.Inputs.TraceMetricsRuleTraceFilterTraceErrorArgs
                {
                    Value = false,
                },
            },
        },
        GroupBies = new[]
        {
            new Pulumi.Inputs.TraceMetricsRuleGroupByArgs
            {
                Key = new Pulumi.Inputs.TraceMetricsRuleGroupByKeyArgs
                {
                    Type = "string",
                    NamedKey = "string",
                },
                Label = "string",
            },
        },
        HistogramBucketsSeconds = new[]
        {
            0,
        },
        MetricLabels = 
        {
            { "string", "string" },
        },
        ScopeFilter = new Pulumi.Inputs.TraceMetricsRuleScopeFilterArgs
        {
            SpanScopes = new[]
            {
                new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeArgs
                {
                    Duration = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeDurationArgs
                    {
                        MaxSecs = 0,
                        MinSecs = 0,
                    },
                    Error = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeErrorArgs
                    {
                        Value = false,
                    },
                    IsRootSpan = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeIsRootSpanArgs
                    {
                        Value = false,
                    },
                    MatchType = "string",
                    Operation = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeOperationArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    ParentOperation = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeParentOperationArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    ParentService = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeParentServiceArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    Service = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeServiceArgs
                    {
                        InValues = new[]
                        {
                            "string",
                        },
                        Match = "string",
                        Value = "string",
                    },
                    SpanCount = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeSpanCountArgs
                    {
                        Max = 0,
                        Min = 0,
                    },
                    Tags = new[]
                    {
                        new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTagArgs
                        {
                            Key = "string",
                            NumericValue = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTagNumericValueArgs
                            {
                                Comparison = "string",
                                Value = 0,
                            },
                            Value = new Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTagValueArgs
                            {
                                InValues = new[]
                                {
                                    "string",
                                },
                                Match = "string",
                                Value = "string",
                            },
                        },
                    },
                },
            },
        },
        Slug = "string",
    });
    
    example, err := chronosphere.NewTraceMetricsRule(ctx, "traceMetricsRuleResource", &chronosphere.TraceMetricsRuleArgs{
    	MetricName: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	TraceFilter: &chronosphere.TraceMetricsRuleTraceFilterArgs{
    		ScopeFilter: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterArgs{
    			SpanScopes: chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeArray{
    				&chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeArgs{
    					Duration: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeDurationArgs{
    						MaxSecs: pulumi.Float64(0),
    						MinSecs: pulumi.Float64(0),
    					},
    					Error: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeErrorArgs{
    						Value: pulumi.Bool(false),
    					},
    					IsRootSpan: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpanArgs{
    						Value: pulumi.Bool(false),
    					},
    					MatchType: pulumi.String("string"),
    					Operation: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperationArgs{
    						InValues: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Match: pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    					ParentOperation: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperationArgs{
    						InValues: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Match: pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    					ParentService: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentServiceArgs{
    						InValues: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Match: pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    					Service: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeServiceArgs{
    						InValues: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Match: pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    					SpanCount: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCountArgs{
    						Max: pulumi.Int(0),
    						Min: pulumi.Int(0),
    					},
    					Tags: chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagArray{
    						&chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagArgs{
    							Key: pulumi.String("string"),
    							NumericValue: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValueArgs{
    								Comparison: pulumi.String("string"),
    								Value:      pulumi.Float64(0),
    							},
    							Value: &chronosphere.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValueArgs{
    								InValues: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    								Match: pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    		Spans: chronosphere.TraceMetricsRuleTraceFilterSpanArray{
    			&chronosphere.TraceMetricsRuleTraceFilterSpanArgs{
    				Duration: &chronosphere.TraceMetricsRuleTraceFilterSpanDurationArgs{
    					MaxSecs: pulumi.Float64(0),
    					MinSecs: pulumi.Float64(0),
    				},
    				Error: &chronosphere.TraceMetricsRuleTraceFilterSpanErrorArgs{
    					Value: pulumi.Bool(false),
    				},
    				IsRootSpan: &chronosphere.TraceMetricsRuleTraceFilterSpanIsRootSpanArgs{
    					Value: pulumi.Bool(false),
    				},
    				MatchType: pulumi.String("string"),
    				Operation: &chronosphere.TraceMetricsRuleTraceFilterSpanOperationArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				ParentOperation: &chronosphere.TraceMetricsRuleTraceFilterSpanParentOperationArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				ParentService: &chronosphere.TraceMetricsRuleTraceFilterSpanParentServiceArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				Service: &chronosphere.TraceMetricsRuleTraceFilterSpanServiceArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				SpanCount: &chronosphere.TraceMetricsRuleTraceFilterSpanSpanCountArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    				Tags: chronosphere.TraceMetricsRuleTraceFilterSpanTagArray{
    					&chronosphere.TraceMetricsRuleTraceFilterSpanTagArgs{
    						Key: pulumi.String("string"),
    						NumericValue: &chronosphere.TraceMetricsRuleTraceFilterSpanTagNumericValueArgs{
    							Comparison: pulumi.String("string"),
    							Value:      pulumi.Float64(0),
    						},
    						Value: &chronosphere.TraceMetricsRuleTraceFilterSpanTagValueArgs{
    							InValues: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Match: pulumi.String("string"),
    							Value: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    		Trace: &chronosphere.TraceMetricsRuleTraceFilterTraceArgs{
    			Duration: &chronosphere.TraceMetricsRuleTraceFilterTraceDurationArgs{
    				MaxSecs: pulumi.Float64(0),
    				MinSecs: pulumi.Float64(0),
    			},
    			Error: &chronosphere.TraceMetricsRuleTraceFilterTraceErrorArgs{
    				Value: pulumi.Bool(false),
    			},
    		},
    	},
    	GroupBies: chronosphere.TraceMetricsRuleGroupByArray{
    		&chronosphere.TraceMetricsRuleGroupByArgs{
    			Key: &chronosphere.TraceMetricsRuleGroupByKeyArgs{
    				Type:     pulumi.String("string"),
    				NamedKey: pulumi.String("string"),
    			},
    			Label: pulumi.String("string"),
    		},
    	},
    	HistogramBucketsSeconds: pulumi.Float64Array{
    		pulumi.Float64(0),
    	},
    	MetricLabels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ScopeFilter: &chronosphere.TraceMetricsRuleScopeFilterArgs{
    		SpanScopes: chronosphere.TraceMetricsRuleScopeFilterSpanScopeArray{
    			&chronosphere.TraceMetricsRuleScopeFilterSpanScopeArgs{
    				Duration: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeDurationArgs{
    					MaxSecs: pulumi.Float64(0),
    					MinSecs: pulumi.Float64(0),
    				},
    				Error: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeErrorArgs{
    					Value: pulumi.Bool(false),
    				},
    				IsRootSpan: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeIsRootSpanArgs{
    					Value: pulumi.Bool(false),
    				},
    				MatchType: pulumi.String("string"),
    				Operation: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeOperationArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				ParentOperation: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeParentOperationArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				ParentService: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeParentServiceArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				Service: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeServiceArgs{
    					InValues: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Match: pulumi.String("string"),
    					Value: pulumi.String("string"),
    				},
    				SpanCount: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeSpanCountArgs{
    					Max: pulumi.Int(0),
    					Min: pulumi.Int(0),
    				},
    				Tags: chronosphere.TraceMetricsRuleScopeFilterSpanScopeTagArray{
    					&chronosphere.TraceMetricsRuleScopeFilterSpanScopeTagArgs{
    						Key: pulumi.String("string"),
    						NumericValue: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeTagNumericValueArgs{
    							Comparison: pulumi.String("string"),
    							Value:      pulumi.Float64(0),
    						},
    						Value: &chronosphere.TraceMetricsRuleScopeFilterSpanScopeTagValueArgs{
    							InValues: pulumi.StringArray{
    								pulumi.String("string"),
    							},
    							Match: pulumi.String("string"),
    							Value: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    	},
    	Slug: pulumi.String("string"),
    })
    
    resource "chronosphere_tracemetricsrule" "traceMetricsRuleResource" {
      metric_name = "string"
      name        = "string"
      trace_filter = {
        scope_filter = {
          span_scopes = [{
            "duration" = {
              "maxSecs" = 0
              "minSecs" = 0
            }
            "error" = {
              "value" = false
            }
            "isRootSpan" = {
              "value" = false
            }
            "matchType" = "string"
            "operation" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
            "parentOperation" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
            "parentService" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
            "service" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
            "spanCount" = {
              "max" = 0
              "min" = 0
            }
            "tags" = [{
              "key" = "string"
              "numericValue" = {
                "comparison" = "string"
                "value"      = 0
              }
              "value" = {
                "inValues" = ["string"]
                "match"    = "string"
                "value"    = "string"
              }
            }]
          }]
        }
        spans = [{
          "duration" = {
            "maxSecs" = 0
            "minSecs" = 0
          }
          "error" = {
            "value" = false
          }
          "isRootSpan" = {
            "value" = false
          }
          "matchType" = "string"
          "operation" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "parentOperation" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "parentService" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "service" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "spanCount" = {
            "max" = 0
            "min" = 0
          }
          "tags" = [{
            "key" = "string"
            "numericValue" = {
              "comparison" = "string"
              "value"      = 0
            }
            "value" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
          }]
        }]
        trace = {
          duration = {
            max_secs = 0
            min_secs = 0
          }
          error = {
            value = false
          }
        }
      }
      group_bies {
        key = {
          type      = "string"
          named_key = "string"
        }
        label = "string"
      }
      histogram_buckets_seconds = [0]
      metric_labels = {
        "string" = "string"
      }
      scope_filter = {
        span_scopes = [{
          "duration" = {
            "maxSecs" = 0
            "minSecs" = 0
          }
          "error" = {
            "value" = false
          }
          "isRootSpan" = {
            "value" = false
          }
          "matchType" = "string"
          "operation" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "parentOperation" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "parentService" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "service" = {
            "inValues" = ["string"]
            "match"    = "string"
            "value"    = "string"
          }
          "spanCount" = {
            "max" = 0
            "min" = 0
          }
          "tags" = [{
            "key" = "string"
            "numericValue" = {
              "comparison" = "string"
              "value"      = 0
            }
            "value" = {
              "inValues" = ["string"]
              "match"    = "string"
              "value"    = "string"
            }
          }]
        }]
      }
      slug = "string"
    }
    
    var traceMetricsRuleResource = new TraceMetricsRule("traceMetricsRuleResource", TraceMetricsRuleArgs.builder()
        .metricName("string")
        .name("string")
        .traceFilter(TraceMetricsRuleTraceFilterArgs.builder()
            .scopeFilter(TraceMetricsRuleTraceFilterScopeFilterArgs.builder()
                .spanScopes(TraceMetricsRuleTraceFilterScopeFilterSpanScopeArgs.builder()
                    .duration(TraceMetricsRuleTraceFilterScopeFilterSpanScopeDurationArgs.builder()
                        .maxSecs(0.0)
                        .minSecs(0.0)
                        .build())
                    .error(TraceMetricsRuleTraceFilterScopeFilterSpanScopeErrorArgs.builder()
                        .value(false)
                        .build())
                    .isRootSpan(TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpanArgs.builder()
                        .value(false)
                        .build())
                    .matchType("string")
                    .operation(TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperationArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .parentOperation(TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperationArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .parentService(TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentServiceArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .service(TraceMetricsRuleTraceFilterScopeFilterSpanScopeServiceArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .spanCount(TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCountArgs.builder()
                        .max(0)
                        .min(0)
                        .build())
                    .tags(TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagArgs.builder()
                        .key("string")
                        .numericValue(TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValueArgs.builder()
                            .comparison("string")
                            .value(0.0)
                            .build())
                        .value(TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValueArgs.builder()
                            .inValues("string")
                            .match("string")
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .spans(TraceMetricsRuleTraceFilterSpanArgs.builder()
                .duration(TraceMetricsRuleTraceFilterSpanDurationArgs.builder()
                    .maxSecs(0.0)
                    .minSecs(0.0)
                    .build())
                .error(TraceMetricsRuleTraceFilterSpanErrorArgs.builder()
                    .value(false)
                    .build())
                .isRootSpan(TraceMetricsRuleTraceFilterSpanIsRootSpanArgs.builder()
                    .value(false)
                    .build())
                .matchType("string")
                .operation(TraceMetricsRuleTraceFilterSpanOperationArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .parentOperation(TraceMetricsRuleTraceFilterSpanParentOperationArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .parentService(TraceMetricsRuleTraceFilterSpanParentServiceArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .service(TraceMetricsRuleTraceFilterSpanServiceArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .spanCount(TraceMetricsRuleTraceFilterSpanSpanCountArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .tags(TraceMetricsRuleTraceFilterSpanTagArgs.builder()
                    .key("string")
                    .numericValue(TraceMetricsRuleTraceFilterSpanTagNumericValueArgs.builder()
                        .comparison("string")
                        .value(0.0)
                        .build())
                    .value(TraceMetricsRuleTraceFilterSpanTagValueArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .trace(TraceMetricsRuleTraceFilterTraceArgs.builder()
                .duration(TraceMetricsRuleTraceFilterTraceDurationArgs.builder()
                    .maxSecs(0.0)
                    .minSecs(0.0)
                    .build())
                .error(TraceMetricsRuleTraceFilterTraceErrorArgs.builder()
                    .value(false)
                    .build())
                .build())
            .build())
        .groupBies(TraceMetricsRuleGroupByArgs.builder()
            .key(TraceMetricsRuleGroupByKeyArgs.builder()
                .type("string")
                .namedKey("string")
                .build())
            .label("string")
            .build())
        .histogramBucketsSeconds(0.0)
        .metricLabels(Map.of("string", "string"))
        .scopeFilter(TraceMetricsRuleScopeFilterArgs.builder()
            .spanScopes(TraceMetricsRuleScopeFilterSpanScopeArgs.builder()
                .duration(TraceMetricsRuleScopeFilterSpanScopeDurationArgs.builder()
                    .maxSecs(0.0)
                    .minSecs(0.0)
                    .build())
                .error(TraceMetricsRuleScopeFilterSpanScopeErrorArgs.builder()
                    .value(false)
                    .build())
                .isRootSpan(TraceMetricsRuleScopeFilterSpanScopeIsRootSpanArgs.builder()
                    .value(false)
                    .build())
                .matchType("string")
                .operation(TraceMetricsRuleScopeFilterSpanScopeOperationArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .parentOperation(TraceMetricsRuleScopeFilterSpanScopeParentOperationArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .parentService(TraceMetricsRuleScopeFilterSpanScopeParentServiceArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .service(TraceMetricsRuleScopeFilterSpanScopeServiceArgs.builder()
                    .inValues("string")
                    .match("string")
                    .value("string")
                    .build())
                .spanCount(TraceMetricsRuleScopeFilterSpanScopeSpanCountArgs.builder()
                    .max(0)
                    .min(0)
                    .build())
                .tags(TraceMetricsRuleScopeFilterSpanScopeTagArgs.builder()
                    .key("string")
                    .numericValue(TraceMetricsRuleScopeFilterSpanScopeTagNumericValueArgs.builder()
                        .comparison("string")
                        .value(0.0)
                        .build())
                    .value(TraceMetricsRuleScopeFilterSpanScopeTagValueArgs.builder()
                        .inValues("string")
                        .match("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .slug("string")
        .build());
    
    trace_metrics_rule_resource = chronosphere.TraceMetricsRule("traceMetricsRuleResource",
        metric_name="string",
        name="string",
        trace_filter={
            "scope_filter": {
                "span_scopes": [{
                    "duration": {
                        "max_secs": float(0),
                        "min_secs": float(0),
                    },
                    "error": {
                        "value": False,
                    },
                    "is_root_span": {
                        "value": False,
                    },
                    "match_type": "string",
                    "operation": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                    "parent_operation": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                    "parent_service": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                    "service": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                    "span_count": {
                        "max": 0,
                        "min": 0,
                    },
                    "tags": [{
                        "key": "string",
                        "numeric_value": {
                            "comparison": "string",
                            "value": float(0),
                        },
                        "value": {
                            "in_values": ["string"],
                            "match": "string",
                            "value": "string",
                        },
                    }],
                }],
            },
            "spans": [{
                "duration": {
                    "max_secs": float(0),
                    "min_secs": float(0),
                },
                "error": {
                    "value": False,
                },
                "is_root_span": {
                    "value": False,
                },
                "match_type": "string",
                "operation": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "parent_operation": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "parent_service": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "service": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "span_count": {
                    "max": 0,
                    "min": 0,
                },
                "tags": [{
                    "key": "string",
                    "numeric_value": {
                        "comparison": "string",
                        "value": float(0),
                    },
                    "value": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                }],
            }],
            "trace": {
                "duration": {
                    "max_secs": float(0),
                    "min_secs": float(0),
                },
                "error": {
                    "value": False,
                },
            },
        },
        group_bies=[{
            "key": {
                "type": "string",
                "named_key": "string",
            },
            "label": "string",
        }],
        histogram_buckets_seconds=[float(0)],
        metric_labels={
            "string": "string",
        },
        scope_filter={
            "span_scopes": [{
                "duration": {
                    "max_secs": float(0),
                    "min_secs": float(0),
                },
                "error": {
                    "value": False,
                },
                "is_root_span": {
                    "value": False,
                },
                "match_type": "string",
                "operation": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "parent_operation": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "parent_service": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "service": {
                    "in_values": ["string"],
                    "match": "string",
                    "value": "string",
                },
                "span_count": {
                    "max": 0,
                    "min": 0,
                },
                "tags": [{
                    "key": "string",
                    "numeric_value": {
                        "comparison": "string",
                        "value": float(0),
                    },
                    "value": {
                        "in_values": ["string"],
                        "match": "string",
                        "value": "string",
                    },
                }],
            }],
        },
        slug="string")
    
    const traceMetricsRuleResource = new chronosphere.TraceMetricsRule("traceMetricsRuleResource", {
        metricName: "string",
        name: "string",
        traceFilter: {
            scopeFilter: {
                spanScopes: [{
                    duration: {
                        maxSecs: 0,
                        minSecs: 0,
                    },
                    error: {
                        value: false,
                    },
                    isRootSpan: {
                        value: false,
                    },
                    matchType: "string",
                    operation: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                    parentOperation: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                    parentService: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                    service: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                    spanCount: {
                        max: 0,
                        min: 0,
                    },
                    tags: [{
                        key: "string",
                        numericValue: {
                            comparison: "string",
                            value: 0,
                        },
                        value: {
                            inValues: ["string"],
                            match: "string",
                            value: "string",
                        },
                    }],
                }],
            },
            spans: [{
                duration: {
                    maxSecs: 0,
                    minSecs: 0,
                },
                error: {
                    value: false,
                },
                isRootSpan: {
                    value: false,
                },
                matchType: "string",
                operation: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                parentOperation: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                parentService: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                service: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                spanCount: {
                    max: 0,
                    min: 0,
                },
                tags: [{
                    key: "string",
                    numericValue: {
                        comparison: "string",
                        value: 0,
                    },
                    value: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                }],
            }],
            trace: {
                duration: {
                    maxSecs: 0,
                    minSecs: 0,
                },
                error: {
                    value: false,
                },
            },
        },
        groupBies: [{
            key: {
                type: "string",
                namedKey: "string",
            },
            label: "string",
        }],
        histogramBucketsSeconds: [0],
        metricLabels: {
            string: "string",
        },
        scopeFilter: {
            spanScopes: [{
                duration: {
                    maxSecs: 0,
                    minSecs: 0,
                },
                error: {
                    value: false,
                },
                isRootSpan: {
                    value: false,
                },
                matchType: "string",
                operation: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                parentOperation: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                parentService: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                service: {
                    inValues: ["string"],
                    match: "string",
                    value: "string",
                },
                spanCount: {
                    max: 0,
                    min: 0,
                },
                tags: [{
                    key: "string",
                    numericValue: {
                        comparison: "string",
                        value: 0,
                    },
                    value: {
                        inValues: ["string"],
                        match: "string",
                        value: "string",
                    },
                }],
            }],
        },
        slug: "string",
    });
    
    type: chronosphere:TraceMetricsRule
    properties:
        groupBies:
            - key:
                namedKey: string
                type: string
              label: string
        histogramBucketsSeconds:
            - 0
        metricLabels:
            string: string
        metricName: string
        name: string
        scopeFilter:
            spanScopes:
                - duration:
                    maxSecs: 0
                    minSecs: 0
                  error:
                    value: false
                  isRootSpan:
                    value: false
                  matchType: string
                  operation:
                    inValues:
                        - string
                    match: string
                    value: string
                  parentOperation:
                    inValues:
                        - string
                    match: string
                    value: string
                  parentService:
                    inValues:
                        - string
                    match: string
                    value: string
                  service:
                    inValues:
                        - string
                    match: string
                    value: string
                  spanCount:
                    max: 0
                    min: 0
                  tags:
                    - key: string
                      numericValue:
                        comparison: string
                        value: 0
                      value:
                        inValues:
                            - string
                        match: string
                        value: string
        slug: string
        traceFilter:
            scopeFilter:
                spanScopes:
                    - duration:
                        maxSecs: 0
                        minSecs: 0
                      error:
                        value: false
                      isRootSpan:
                        value: false
                      matchType: string
                      operation:
                        inValues:
                            - string
                        match: string
                        value: string
                      parentOperation:
                        inValues:
                            - string
                        match: string
                        value: string
                      parentService:
                        inValues:
                            - string
                        match: string
                        value: string
                      service:
                        inValues:
                            - string
                        match: string
                        value: string
                      spanCount:
                        max: 0
                        min: 0
                      tags:
                        - key: string
                          numericValue:
                            comparison: string
                            value: 0
                          value:
                            inValues:
                                - string
                            match: string
                            value: string
            spans:
                - duration:
                    maxSecs: 0
                    minSecs: 0
                  error:
                    value: false
                  isRootSpan:
                    value: false
                  matchType: string
                  operation:
                    inValues:
                        - string
                    match: string
                    value: string
                  parentOperation:
                    inValues:
                        - string
                    match: string
                    value: string
                  parentService:
                    inValues:
                        - string
                    match: string
                    value: string
                  service:
                    inValues:
                        - string
                    match: string
                    value: string
                  spanCount:
                    max: 0
                    min: 0
                  tags:
                    - key: string
                      numericValue:
                        comparison: string
                        value: 0
                      value:
                        inValues:
                            - string
                        match: string
                        value: string
            trace:
                duration:
                    maxSecs: 0
                    minSecs: 0
                error:
                    value: false
    

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

    MetricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    Name string
    Display name of the trace metrics rule.
    TraceFilter Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    GroupBies List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleGroupBy>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    HistogramBucketsSeconds List<double>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    MetricLabels Dictionary<string, string>
    Static key/value labels added to every metric series emitted by the rule.
    ScopeFilter Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    MetricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    Name string
    Display name of the trace metrics rule.
    TraceFilter TraceMetricsRuleTraceFilterArgs
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    GroupBies []TraceMetricsRuleGroupByArgs
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    HistogramBucketsSeconds []float64
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    MetricLabels map[string]string
    Static key/value labels added to every metric series emitted by the rule.
    ScopeFilter TraceMetricsRuleScopeFilterArgs
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    metric_name string
    Base name of the generated Prometheus metrics emitted by this rule.
    name string
    Display name of the trace metrics rule.
    trace_filter object
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    group_bies list(object)
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogram_buckets_seconds list(number)
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metric_labels map(string)
    Static key/value labels added to every metric series emitted by the rule.
    scope_filter object
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    metricName String
    Base name of the generated Prometheus metrics emitted by this rule.
    name String
    Display name of the trace metrics rule.
    traceFilter TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies List<TraceMetricsRuleGroupBy>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds List<Double>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels Map<String,String>
    Static key/value labels added to every metric series emitted by the rule.
    scopeFilter TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug String
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    metricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    name string
    Display name of the trace metrics rule.
    traceFilter TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies TraceMetricsRuleGroupBy[]
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds number[]
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels {[key: string]: string}
    Static key/value labels added to every metric series emitted by the rule.
    scopeFilter TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    metric_name str
    Base name of the generated Prometheus metrics emitted by this rule.
    name str
    Display name of the trace metrics rule.
    trace_filter TraceMetricsRuleTraceFilterArgs
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    group_bies Sequence[TraceMetricsRuleGroupByArgs]
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogram_buckets_seconds Sequence[float]
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metric_labels Mapping[str, str]
    Static key/value labels added to every metric series emitted by the rule.
    scope_filter TraceMetricsRuleScopeFilterArgs
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug str
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    metricName String
    Base name of the generated Prometheus metrics emitted by this rule.
    name String
    Display name of the trace metrics rule.
    traceFilter Property Map
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies List<Property Map>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds List<Number>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels Map<String>
    Static key/value labels added to every metric series emitted by the rule.
    scopeFilter Property Map
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug String
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.

    Outputs

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

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

    Look up Existing TraceMetricsRule Resource

    Get an existing TraceMetricsRule 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?: TraceMetricsRuleState, opts?: CustomResourceOptions): TraceMetricsRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            group_bies: Optional[Sequence[TraceMetricsRuleGroupByArgs]] = None,
            histogram_buckets_seconds: Optional[Sequence[float]] = None,
            metric_labels: Optional[Mapping[str, str]] = None,
            metric_name: Optional[str] = None,
            name: Optional[str] = None,
            scope_filter: Optional[TraceMetricsRuleScopeFilterArgs] = None,
            slug: Optional[str] = None,
            trace_filter: Optional[TraceMetricsRuleTraceFilterArgs] = None) -> TraceMetricsRule
    func GetTraceMetricsRule(ctx *Context, name string, id IDInput, state *TraceMetricsRuleState, opts ...ResourceOption) (*TraceMetricsRule, error)
    public static TraceMetricsRule Get(string name, Input<string> id, TraceMetricsRuleState? state, CustomResourceOptions? opts = null)
    public static TraceMetricsRule get(String name, Output<String> id, TraceMetricsRuleState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:TraceMetricsRule    get:      id: ${id}
    import {
      to = chronosphere_tracemetricsrule.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    GroupBies List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleGroupBy>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    HistogramBucketsSeconds List<double>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    MetricLabels Dictionary<string, string>
    Static key/value labels added to every metric series emitted by the rule.
    MetricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    Name string
    Display name of the trace metrics rule.
    ScopeFilter Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    TraceFilter Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    GroupBies []TraceMetricsRuleGroupByArgs
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    HistogramBucketsSeconds []float64
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    MetricLabels map[string]string
    Static key/value labels added to every metric series emitted by the rule.
    MetricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    Name string
    Display name of the trace metrics rule.
    ScopeFilter TraceMetricsRuleScopeFilterArgs
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    TraceFilter TraceMetricsRuleTraceFilterArgs
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    group_bies list(object)
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogram_buckets_seconds list(number)
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metric_labels map(string)
    Static key/value labels added to every metric series emitted by the rule.
    metric_name string
    Base name of the generated Prometheus metrics emitted by this rule.
    name string
    Display name of the trace metrics rule.
    scope_filter object
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    trace_filter object
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies List<TraceMetricsRuleGroupBy>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds List<Double>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels Map<String,String>
    Static key/value labels added to every metric series emitted by the rule.
    metricName String
    Base name of the generated Prometheus metrics emitted by this rule.
    name String
    Display name of the trace metrics rule.
    scopeFilter TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug String
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    traceFilter TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies TraceMetricsRuleGroupBy[]
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds number[]
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels {[key: string]: string}
    Static key/value labels added to every metric series emitted by the rule.
    metricName string
    Base name of the generated Prometheus metrics emitted by this rule.
    name string
    Display name of the trace metrics rule.
    scopeFilter TraceMetricsRuleScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug string
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    traceFilter TraceMetricsRuleTraceFilter
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    group_bies Sequence[TraceMetricsRuleGroupByArgs]
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogram_buckets_seconds Sequence[float]
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metric_labels Mapping[str, str]
    Static key/value labels added to every metric series emitted by the rule.
    metric_name str
    Base name of the generated Prometheus metrics emitted by this rule.
    name str
    Display name of the trace metrics rule.
    scope_filter TraceMetricsRuleScopeFilterArgs
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug str
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    trace_filter TraceMetricsRuleTraceFilterArgs
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.
    groupBies List<Property Map>
    Span attributes to project into metric labels. Each entry maps a key on the matched span to a label on the resulting metric series.
    histogramBucketsSeconds List<Number>
    Histogram bucket upper bounds in seconds for the generated span-duration histogram metric.
    metricLabels Map<String>
    Static key/value labels added to every metric series emitted by the rule.
    metricName String
    Base name of the generated Prometheus metrics emitted by this rule.
    name String
    Display name of the trace metrics rule.
    scopeFilter Property Map
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    slug String
    Stable identifier for the trace metrics rule. Generated from name if omitted. Immutable after creation.
    traceFilter Property Map
    Filter that selects traces and spans. A trace matches when its trace-level conditions hold and every span block is satisfied by at least one span in the trace.

    Supporting Types

    TraceMetricsRuleGroupBy, TraceMetricsRuleGroupByArgs

    Key Chronosphere.Pulumi.Inputs.TraceMetricsRuleGroupByKey
    Span attribute to group by.
    Label string
    Name of the resulting metric label.
    Key TraceMetricsRuleGroupByKey
    Span attribute to group by.
    Label string
    Name of the resulting metric label.
    key object
    Span attribute to group by.
    label string
    Name of the resulting metric label.
    key TraceMetricsRuleGroupByKey
    Span attribute to group by.
    label String
    Name of the resulting metric label.
    key TraceMetricsRuleGroupByKey
    Span attribute to group by.
    label string
    Name of the resulting metric label.
    key TraceMetricsRuleGroupByKey
    Span attribute to group by.
    label str
    Name of the resulting metric label.
    key Property Map
    Span attribute to group by.
    label String
    Name of the resulting metric label.

    TraceMetricsRuleGroupByKey, TraceMetricsRuleGroupByKeyArgs

    Type string
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    NamedKey string
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    Type string
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    NamedKey string
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    type string
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    named_key string
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    type String
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    namedKey String
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    type string
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    namedKey string
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    type str
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    named_key str
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.
    type String
    Category of span attribute to group by (for example a well-known field such as SERVICE or OPERATION, or a generic span TAG).
    namedKey String
    Name of the span tag when type requires one (for example TAG). Ignored for fixed-key types.

    TraceMetricsRuleScopeFilter, TraceMetricsRuleScopeFilterArgs

    SpanScopes List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScope>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    SpanScopes []TraceMetricsRuleScopeFilterSpanScope
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    span_scopes list(object)
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes List<TraceMetricsRuleScopeFilterSpanScope>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes TraceMetricsRuleScopeFilterSpanScope[]
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    span_scopes Sequence[TraceMetricsRuleScopeFilterSpanScope]
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes List<Property Map>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.

    TraceMetricsRuleScopeFilterSpanScope, TraceMetricsRuleScopeFilterSpanScopeArgs

    Duration Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    Duration TraceMetricsRuleScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error TraceMetricsRuleScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan TraceMetricsRuleScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation TraceMetricsRuleScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation TraceMetricsRuleScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService TraceMetricsRuleScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service TraceMetricsRuleScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount TraceMetricsRuleScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags []TraceMetricsRuleScopeFilterSpanScopeTag
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration object
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error object
    Matches traces or spans where the target boolean field equals value.
    is_root_span object
    Matches traces or spans where the target boolean field equals value.
    match_type string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service object
    Matches traces or spans where the target string field satisfies the match condition.
    service object
    Matches traces or spans where the target string field satisfies the match condition.
    span_count object
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags list(object)
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<TraceMetricsRuleScopeFilterSpanScopeTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags TraceMetricsRuleScopeFilterSpanScopeTag[]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    is_root_span TraceMetricsRuleScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    match_type str
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation TraceMetricsRuleScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service TraceMetricsRuleScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    span_count TraceMetricsRuleScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags Sequence[TraceMetricsRuleScopeFilterSpanScopeTag]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration Property Map
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error Property Map
    Matches traces or spans where the target boolean field equals value.
    isRootSpan Property Map
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentService Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    service Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount Property Map
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<Property Map>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.

    TraceMetricsRuleScopeFilterSpanScopeDuration, TraceMetricsRuleScopeFilterSpanScopeDurationArgs

    MaxSecs double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs double
    Minimum duration in seconds, inclusive. Defaults to 0.
    MaxSecs float64
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs float64
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Double
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs float
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs float
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Number
    Minimum duration in seconds, inclusive. Defaults to 0.

    TraceMetricsRuleScopeFilterSpanScopeError, TraceMetricsRuleScopeFilterSpanScopeErrorArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeIsRootSpan, TraceMetricsRuleScopeFilterSpanScopeIsRootSpanArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeOperation, TraceMetricsRuleScopeFilterSpanScopeOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeParentOperation, TraceMetricsRuleScopeFilterSpanScopeParentOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeParentService, TraceMetricsRuleScopeFilterSpanScopeParentServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeService, TraceMetricsRuleScopeFilterSpanScopeServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeSpanCount, TraceMetricsRuleScopeFilterSpanScopeSpanCountArgs

    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Integer
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Integer
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Number
    Minimum number of matching spans, inclusive. Defaults to 0.

    TraceMetricsRuleScopeFilterSpanScopeTag, TraceMetricsRuleScopeFilterSpanScopeTagArgs

    Key string
    Span attribute to group by.
    NumericValue Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value Chronosphere.Pulumi.Inputs.TraceMetricsRuleScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    Key string
    Span attribute to group by.
    NumericValue TraceMetricsRuleScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value TraceMetricsRuleScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numeric_value object
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value object
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue TraceMetricsRuleScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numericValue TraceMetricsRuleScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key str
    Span attribute to group by.
    numeric_value TraceMetricsRuleScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue Property Map
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value Property Map
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeTagNumericValue, TraceMetricsRuleScopeFilterSpanScopeTagNumericValueArgs

    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value double
    Boolean value the target field is compared against.
    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value float64
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Double
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison str
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value float
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Number
    Boolean value the target field is compared against.

    TraceMetricsRuleScopeFilterSpanScopeTagValue, TraceMetricsRuleScopeFilterSpanScopeTagValueArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilter, TraceMetricsRuleTraceFilterArgs

    ScopeFilter Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Spans List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpan>
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    Trace Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterTrace
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    ScopeFilter TraceMetricsRuleTraceFilterScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    Spans []TraceMetricsRuleTraceFilterSpan
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    Trace TraceMetricsRuleTraceFilterTrace
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    scope_filter object
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    spans list(object)
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    trace object
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    scopeFilter TraceMetricsRuleTraceFilterScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    spans List<TraceMetricsRuleTraceFilterSpan>
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    trace TraceMetricsRuleTraceFilterTrace
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    scopeFilter TraceMetricsRuleTraceFilterScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    spans TraceMetricsRuleTraceFilterSpan[]
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    trace TraceMetricsRuleTraceFilterTrace
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    scope_filter TraceMetricsRuleTraceFilterScopeFilter
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    spans Sequence[TraceMetricsRuleTraceFilterSpan]
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    trace TraceMetricsRuleTraceFilterTrace
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).
    scopeFilter Property Map
    Scope filter that further restricts which spans within a matched trace contribute to metrics or sampling. Only spans matching span_scopes are included in aggregation.
    spans List<Property Map>
    Span-level conditions. Each block defines a set of conditions that must all be satisfied by a single span in the trace for the trace to match.
    trace Property Map
    Trace-level conditions evaluated against the whole trace (aggregated duration and error status).

    TraceMetricsRuleTraceFilterScopeFilter, TraceMetricsRuleTraceFilterScopeFilterArgs

    SpanScopes List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScope>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    SpanScopes []TraceMetricsRuleTraceFilterScopeFilterSpanScope
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    span_scopes list(object)
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes List<TraceMetricsRuleTraceFilterScopeFilterSpanScope>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes TraceMetricsRuleTraceFilterScopeFilterSpanScope[]
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    span_scopes Sequence[TraceMetricsRuleTraceFilterScopeFilterSpanScope]
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.
    spanScopes List<Property Map>
    Span conditions that select which spans are aggregated. Spans must match at least one block to be included.

    TraceMetricsRuleTraceFilterScopeFilterSpanScope, TraceMetricsRuleTraceFilterScopeFilterSpanScopeArgs

    Duration Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    Duration TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error TraceMetricsRuleTraceFilterScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service TraceMetricsRuleTraceFilterScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags []TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration object
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error object
    Matches traces or spans where the target boolean field equals value.
    is_root_span object
    Matches traces or spans where the target boolean field equals value.
    match_type string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service object
    Matches traces or spans where the target string field satisfies the match condition.
    service object
    Matches traces or spans where the target string field satisfies the match condition.
    span_count object
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags list(object)
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag[]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterScopeFilterSpanScopeError
    Matches traces or spans where the target boolean field equals value.
    is_root_span TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    match_type str
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterScopeFilterSpanScopeService
    Matches traces or spans where the target string field satisfies the match condition.
    span_count TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags Sequence[TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration Property Map
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error Property Map
    Matches traces or spans where the target boolean field equals value.
    isRootSpan Property Map
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentService Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    service Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount Property Map
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<Property Map>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeDuration, TraceMetricsRuleTraceFilterScopeFilterSpanScopeDurationArgs

    MaxSecs double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs double
    Minimum duration in seconds, inclusive. Defaults to 0.
    MaxSecs float64
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs float64
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Double
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs float
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs float
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Number
    Minimum duration in seconds, inclusive. Defaults to 0.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeError, TraceMetricsRuleTraceFilterScopeFilterSpanScopeErrorArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpan, TraceMetricsRuleTraceFilterScopeFilterSpanScopeIsRootSpanArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperation, TraceMetricsRuleTraceFilterScopeFilterSpanScopeOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperation, TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentService, TraceMetricsRuleTraceFilterScopeFilterSpanScopeParentServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeService, TraceMetricsRuleTraceFilterScopeFilterSpanScopeServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCount, TraceMetricsRuleTraceFilterScopeFilterSpanScopeSpanCountArgs

    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Integer
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Integer
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Number
    Minimum number of matching spans, inclusive. Defaults to 0.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeTag, TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagArgs

    Key string
    Span attribute to group by.
    NumericValue Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    Key string
    Span attribute to group by.
    NumericValue TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numeric_value object
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value object
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numericValue TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key str
    Span attribute to group by.
    numeric_value TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue Property Map
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value Property Map
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValue, TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagNumericValueArgs

    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value double
    Boolean value the target field is compared against.
    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value float64
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Double
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison str
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value float
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Number
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValue, TraceMetricsRuleTraceFilterScopeFilterSpanScopeTagValueArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpan, TraceMetricsRuleTraceFilterSpanArgs

    Duration Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags List<Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    Duration TraceMetricsRuleTraceFilterSpanDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error TraceMetricsRuleTraceFilterSpanError
    Matches traces or spans where the target boolean field equals value.
    IsRootSpan TraceMetricsRuleTraceFilterSpanIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    MatchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    Operation TraceMetricsRuleTraceFilterSpanOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentOperation TraceMetricsRuleTraceFilterSpanParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    ParentService TraceMetricsRuleTraceFilterSpanParentService
    Matches traces or spans where the target string field satisfies the match condition.
    Service TraceMetricsRuleTraceFilterSpanService
    Matches traces or spans where the target string field satisfies the match condition.
    SpanCount TraceMetricsRuleTraceFilterSpanSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    Tags []TraceMetricsRuleTraceFilterSpanTag
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration object
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error object
    Matches traces or spans where the target boolean field equals value.
    is_root_span object
    Matches traces or spans where the target boolean field equals value.
    match_type string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation object
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service object
    Matches traces or spans where the target string field satisfies the match condition.
    service object
    Matches traces or spans where the target string field satisfies the match condition.
    span_count object
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags list(object)
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterSpanDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterSpanError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleTraceFilterSpanIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterSpanOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleTraceFilterSpanParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleTraceFilterSpanParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterSpanService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleTraceFilterSpanSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<TraceMetricsRuleTraceFilterSpanTag>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterSpanDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterSpanError
    Matches traces or spans where the target boolean field equals value.
    isRootSpan TraceMetricsRuleTraceFilterSpanIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    matchType string
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterSpanOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation TraceMetricsRuleTraceFilterSpanParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parentService TraceMetricsRuleTraceFilterSpanParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterSpanService
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount TraceMetricsRuleTraceFilterSpanSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags TraceMetricsRuleTraceFilterSpanTag[]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration TraceMetricsRuleTraceFilterSpanDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterSpanError
    Matches traces or spans where the target boolean field equals value.
    is_root_span TraceMetricsRuleTraceFilterSpanIsRootSpan
    Matches traces or spans where the target boolean field equals value.
    match_type str
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation TraceMetricsRuleTraceFilterSpanOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_operation TraceMetricsRuleTraceFilterSpanParentOperation
    Matches traces or spans where the target string field satisfies the match condition.
    parent_service TraceMetricsRuleTraceFilterSpanParentService
    Matches traces or spans where the target string field satisfies the match condition.
    service TraceMetricsRuleTraceFilterSpanService
    Matches traces or spans where the target string field satisfies the match condition.
    span_count TraceMetricsRuleTraceFilterSpanSpanCount
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags Sequence[TraceMetricsRuleTraceFilterSpanTag]
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.
    duration Property Map
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error Property Map
    Matches traces or spans where the target boolean field equals value.
    isRootSpan Property Map
    Matches traces or spans where the target boolean field equals value.
    matchType String
    Whether matching spans are included (INCLUDE) or excluded (EXCLUDE) from the scope. Defaults to INCLUDE.
    operation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentOperation Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    parentService Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    service Property Map
    Matches traces or spans where the target string field satisfies the match condition.
    spanCount Property Map
    Matches traces where the number of spans satisfying the surrounding span conditions falls within the inclusive [min, max] range.
    tags List<Property Map>
    Matches spans whose tag (span attribute) with the given key has a value satisfying the nested string or numeric filter.

    TraceMetricsRuleTraceFilterSpanDuration, TraceMetricsRuleTraceFilterSpanDurationArgs

    MaxSecs double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs double
    Minimum duration in seconds, inclusive. Defaults to 0.
    MaxSecs float64
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs float64
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Double
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs float
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs float
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Number
    Minimum duration in seconds, inclusive. Defaults to 0.

    TraceMetricsRuleTraceFilterSpanError, TraceMetricsRuleTraceFilterSpanErrorArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanIsRootSpan, TraceMetricsRuleTraceFilterSpanIsRootSpanArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanOperation, TraceMetricsRuleTraceFilterSpanOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanParentOperation, TraceMetricsRuleTraceFilterSpanParentOperationArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanParentService, TraceMetricsRuleTraceFilterSpanParentServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanService, TraceMetricsRuleTraceFilterSpanServiceArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanSpanCount, TraceMetricsRuleTraceFilterSpanSpanCountArgs

    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    Max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    Min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Integer
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Integer
    Minimum number of matching spans, inclusive. Defaults to 0.
    max number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min number
    Minimum number of matching spans, inclusive. Defaults to 0.
    max int
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min int
    Minimum number of matching spans, inclusive. Defaults to 0.
    max Number
    Maximum number of matching spans, inclusive. 0 means no upper bound.
    min Number
    Minimum number of matching spans, inclusive. Defaults to 0.

    TraceMetricsRuleTraceFilterSpanTag, TraceMetricsRuleTraceFilterSpanTagArgs

    Key string
    Span attribute to group by.
    NumericValue Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterSpanTagValue
    Boolean value the target field is compared against.
    Key string
    Span attribute to group by.
    NumericValue TraceMetricsRuleTraceFilterSpanTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    Value TraceMetricsRuleTraceFilterSpanTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numeric_value object
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value object
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue TraceMetricsRuleTraceFilterSpanTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterSpanTagValue
    Boolean value the target field is compared against.
    key string
    Span attribute to group by.
    numericValue TraceMetricsRuleTraceFilterSpanTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterSpanTagValue
    Boolean value the target field is compared against.
    key str
    Span attribute to group by.
    numeric_value TraceMetricsRuleTraceFilterSpanTagNumericValue
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value TraceMetricsRuleTraceFilterSpanTagValue
    Boolean value the target field is compared against.
    key String
    Span attribute to group by.
    numericValue Property Map
    Matches traces or spans where the target numeric field satisfies the comparison against value.
    value Property Map
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanTagNumericValue, TraceMetricsRuleTraceFilterSpanTagNumericValueArgs

    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value double
    Boolean value the target field is compared against.
    Comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    Value float64
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Double
    Boolean value the target field is compared against.
    comparison string
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value number
    Boolean value the target field is compared against.
    comparison str
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value float
    Boolean value the target field is compared against.
    comparison String
    Numeric comparison operator (for example EQUALS, GREATER_THAN, LESS_THAN_OR_EQUAL).
    value Number
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterSpanTagValue, TraceMetricsRuleTraceFilterSpanTagValueArgs

    InValues List<string>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    InValues []string
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    Match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    Value string
    Boolean value the target field is compared against.
    in_values list(string)
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.
    inValues string[]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match string
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value string
    Boolean value the target field is compared against.
    in_values Sequence[str]
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match str
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value str
    Boolean value the target field is compared against.
    inValues List<String>
    Set of strings tested against the target field. Used with IN and NOT_IN match types.
    match String
    Match operator applied to value or in_values. One of EXACT, REGEX, IN, or NOT_IN. Defaults to EXACT.
    value String
    Boolean value the target field is compared against.

    TraceMetricsRuleTraceFilterTrace, TraceMetricsRuleTraceFilterTraceArgs

    Duration Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterTraceDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error Chronosphere.Pulumi.Inputs.TraceMetricsRuleTraceFilterTraceError
    Matches traces or spans where the target boolean field equals value.
    Duration TraceMetricsRuleTraceFilterTraceDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    Error TraceMetricsRuleTraceFilterTraceError
    Matches traces or spans where the target boolean field equals value.
    duration object
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error object
    Matches traces or spans where the target boolean field equals value.
    duration TraceMetricsRuleTraceFilterTraceDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterTraceError
    Matches traces or spans where the target boolean field equals value.
    duration TraceMetricsRuleTraceFilterTraceDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterTraceError
    Matches traces or spans where the target boolean field equals value.
    duration TraceMetricsRuleTraceFilterTraceDuration
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error TraceMetricsRuleTraceFilterTraceError
    Matches traces or spans where the target boolean field equals value.
    duration Property Map
    Matches traces or spans whose duration in seconds falls within the inclusive [min_secs, max_secs] range.
    error Property Map
    Matches traces or spans where the target boolean field equals value.

    TraceMetricsRuleTraceFilterTraceDuration, TraceMetricsRuleTraceFilterTraceDurationArgs

    MaxSecs double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs double
    Minimum duration in seconds, inclusive. Defaults to 0.
    MaxSecs float64
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    MinSecs float64
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Double
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Double
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs number
    Minimum duration in seconds, inclusive. Defaults to 0.
    max_secs float
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    min_secs float
    Minimum duration in seconds, inclusive. Defaults to 0.
    maxSecs Number
    Maximum duration in seconds, inclusive. Omit for no upper bound.
    minSecs Number
    Minimum duration in seconds, inclusive. Defaults to 0.

    TraceMetricsRuleTraceFilterTraceError, TraceMetricsRuleTraceFilterTraceErrorArgs

    Value bool
    Boolean value the target field is compared against.
    Value bool
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.
    value boolean
    Boolean value the target field is compared against.
    value bool
    Boolean value the target field is compared against.
    value Boolean
    Boolean value the target field is compared against.

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial