1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. DropRule
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

    Discards matching metric data at ingest time before it is stored. Supports unconditional drops, NaN-value drops, value-based drops, and conditional drops that activate only when a cardinality threshold is exceeded.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var noisyMetric = new Pulumi.DropRule("noisyMetric", new()
        {
            Mode = "ENABLED",
            Name = "Drop noisy metric",
            Queries = new[]
            {
                "__name__:noisy_metric_name",
            },
        });
    
    });
    
    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.NewDropRule(ctx, "noisyMetric", &chronosphere.DropRuleArgs{
    			Mode: pulumi.String("ENABLED"),
    			Name: pulumi.String("Drop noisy metric"),
    			Queries: pulumi.StringArray{
    				pulumi.String("__name__:noisy_metric_name"),
    			},
    		})
    		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.DropRule;
    import com.pulumi.chronosphere.DropRuleArgs;
    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 noisyMetric = new DropRule("noisyMetric", DropRuleArgs.builder()        
                .mode("ENABLED")
                .name("Drop noisy metric")
                .queries("__name__:noisy_metric_name")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const noisyMetric = new chronosphere.DropRule("noisyMetric", {
        mode: "ENABLED",
        name: "Drop noisy metric",
        queries: ["__name__:noisy_metric_name"],
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    noisy_metric = chronosphere.DropRule("noisyMetric",
        mode="ENABLED",
        name="Drop noisy metric",
        queries=["__name__:noisy_metric_name"])
    
    resources:
      noisyMetric:
        type: chronosphere:DropRule
        properties:
          mode: ENABLED
          name: Drop noisy metric
          queries:
            - __name__:noisy_metric_name
    

    Create DropRule Resource

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

    Constructor syntax

    new DropRule(name: string, args: DropRuleArgs, opts?: CustomResourceOptions);
    @overload
    def DropRule(resource_name: str,
                 args: DropRuleArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def DropRule(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 name: Optional[str] = None,
                 queries: Optional[Sequence[str]] = None,
                 activated_drop_duration: Optional[str] = None,
                 active: Optional[bool] = None,
                 conditional_drop: Optional[bool] = None,
                 drop_nan_value: Optional[bool] = None,
                 mode: Optional[str] = None,
                 rate_limit_threshold: Optional[float] = None,
                 slug: Optional[str] = None,
                 value_based_drop: Optional[DropRuleValueBasedDropArgs] = None)
    func NewDropRule(ctx *Context, name string, args DropRuleArgs, opts ...ResourceOption) (*DropRule, error)
    public DropRule(string name, DropRuleArgs args, CustomResourceOptions? opts = null)
    public DropRule(String name, DropRuleArgs args)
    public DropRule(String name, DropRuleArgs args, CustomResourceOptions options)
    
    type: chronosphere:DropRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_droprule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DropRuleArgs
    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 DropRuleArgs
    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 DropRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DropRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DropRuleArgs
    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 dropRuleResource = new Pulumi.DropRule("dropRuleResource", new()
    {
        Name = "string",
        Queries = new[]
        {
            "string",
        },
        ActivatedDropDuration = "string",
        ConditionalDrop = false,
        DropNanValue = false,
        Mode = "string",
        RateLimitThreshold = 0,
        Slug = "string",
        ValueBasedDrop = new Pulumi.Inputs.DropRuleValueBasedDropArgs
        {
            TargetDropValue = 0,
        },
    });
    
    example, err := chronosphere.NewDropRule(ctx, "dropRuleResource", &chronosphere.DropRuleArgs{
    	Name: pulumi.String("string"),
    	Queries: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ActivatedDropDuration: pulumi.String("string"),
    	ConditionalDrop:       pulumi.Bool(false),
    	DropNanValue:          pulumi.Bool(false),
    	Mode:                  pulumi.String("string"),
    	RateLimitThreshold:    pulumi.Float64(0),
    	Slug:                  pulumi.String("string"),
    	ValueBasedDrop: &chronosphere.DropRuleValueBasedDropArgs{
    		TargetDropValue: pulumi.Float64(0),
    	},
    })
    
    resource "chronosphere_droprule" "dropRuleResource" {
      name                    = "string"
      queries                 = ["string"]
      activated_drop_duration = "string"
      conditional_drop        = false
      drop_nan_value          = false
      mode                    = "string"
      rate_limit_threshold    = 0
      slug                    = "string"
      value_based_drop = {
        target_drop_value = 0
      }
    }
    
    var dropRuleResource = new DropRule("dropRuleResource", DropRuleArgs.builder()
        .name("string")
        .queries("string")
        .activatedDropDuration("string")
        .conditionalDrop(false)
        .dropNanValue(false)
        .mode("string")
        .rateLimitThreshold(0.0)
        .slug("string")
        .valueBasedDrop(DropRuleValueBasedDropArgs.builder()
            .targetDropValue(0.0)
            .build())
        .build());
    
    drop_rule_resource = chronosphere.DropRule("dropRuleResource",
        name="string",
        queries=["string"],
        activated_drop_duration="string",
        conditional_drop=False,
        drop_nan_value=False,
        mode="string",
        rate_limit_threshold=float(0),
        slug="string",
        value_based_drop={
            "target_drop_value": float(0),
        })
    
    const dropRuleResource = new chronosphere.DropRule("dropRuleResource", {
        name: "string",
        queries: ["string"],
        activatedDropDuration: "string",
        conditionalDrop: false,
        dropNanValue: false,
        mode: "string",
        rateLimitThreshold: 0,
        slug: "string",
        valueBasedDrop: {
            targetDropValue: 0,
        },
    });
    
    type: chronosphere:DropRule
    properties:
        activatedDropDuration: string
        conditionalDrop: false
        dropNanValue: false
        mode: string
        name: string
        queries:
            - string
        rateLimitThreshold: 0
        slug: string
        valueBasedDrop:
            targetDropValue: 0
    

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

    Name string
    Display name of the drop rule. Can be changed after creation.
    Queries List<string>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    ActivatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    Active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    ConditionalDrop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    DropNanValue bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    Mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    RateLimitThreshold double
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    Slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    ValueBasedDrop Chronosphere.Pulumi.Inputs.DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    Name string
    Display name of the drop rule. Can be changed after creation.
    Queries []string
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    ActivatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    Active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    ConditionalDrop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    DropNanValue bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    Mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    RateLimitThreshold float64
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    Slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    ValueBasedDrop DropRuleValueBasedDropArgs
    Configuration for dropping data points whose value matches a target.
    name string
    Display name of the drop rule. Can be changed after creation.
    queries list(string)
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    activated_drop_duration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditional_drop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    drop_nan_value bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    rate_limit_threshold number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    value_based_drop object
    Configuration for dropping data points whose value matches a target.
    name String
    Display name of the drop rule. Can be changed after creation.
    queries List<String>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    activatedDropDuration String
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active Boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop Boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue Boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode String
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    rateLimitThreshold Double
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug String
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    name string
    Display name of the drop rule. Can be changed after creation.
    queries string[]
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    activatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    rateLimitThreshold number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    name str
    Display name of the drop rule. Can be changed after creation.
    queries Sequence[str]
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    activated_drop_duration str
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditional_drop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    drop_nan_value bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode str
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    rate_limit_threshold float
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug str
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    value_based_drop DropRuleValueBasedDropArgs
    Configuration for dropping data points whose value matches a target.
    name String
    Display name of the drop rule. Can be changed after creation.
    queries List<String>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    activatedDropDuration String
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active Boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop Boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue Boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode String
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    rateLimitThreshold Number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug String
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop Property Map
    Configuration for dropping data points whose value matches a target.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DropRule 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 DropRule Resource

    Get an existing DropRule 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?: DropRuleState, opts?: CustomResourceOptions): DropRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            activated_drop_duration: Optional[str] = None,
            active: Optional[bool] = None,
            conditional_drop: Optional[bool] = None,
            drop_nan_value: Optional[bool] = None,
            mode: Optional[str] = None,
            name: Optional[str] = None,
            queries: Optional[Sequence[str]] = None,
            rate_limit_threshold: Optional[float] = None,
            slug: Optional[str] = None,
            value_based_drop: Optional[DropRuleValueBasedDropArgs] = None) -> DropRule
    func GetDropRule(ctx *Context, name string, id IDInput, state *DropRuleState, opts ...ResourceOption) (*DropRule, error)
    public static DropRule Get(string name, Input<string> id, DropRuleState? state, CustomResourceOptions? opts = null)
    public static DropRule get(String name, Output<String> id, DropRuleState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:DropRule    get:      id: ${id}
    import {
      to = chronosphere_droprule.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:
    ActivatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    Active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    ConditionalDrop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    DropNanValue bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    Mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    Name string
    Display name of the drop rule. Can be changed after creation.
    Queries List<string>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    RateLimitThreshold double
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    Slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    ValueBasedDrop Chronosphere.Pulumi.Inputs.DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    ActivatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    Active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    ConditionalDrop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    DropNanValue bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    Mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    Name string
    Display name of the drop rule. Can be changed after creation.
    Queries []string
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    RateLimitThreshold float64
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    Slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    ValueBasedDrop DropRuleValueBasedDropArgs
    Configuration for dropping data points whose value matches a target.
    activated_drop_duration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditional_drop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    drop_nan_value bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    name string
    Display name of the drop rule. Can be changed after creation.
    queries list(string)
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    rate_limit_threshold number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    value_based_drop object
    Configuration for dropping data points whose value matches a target.
    activatedDropDuration String
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active Boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop Boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue Boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode String
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    name String
    Display name of the drop rule. Can be changed after creation.
    queries List<String>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    rateLimitThreshold Double
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug String
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    activatedDropDuration string
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode string
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    name string
    Display name of the drop rule. Can be changed after creation.
    queries string[]
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    rateLimitThreshold number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug string
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop DropRuleValueBasedDrop
    Configuration for dropping data points whose value matches a target.
    activated_drop_duration str
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active bool
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditional_drop bool
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    drop_nan_value bool
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode str
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    name str
    Display name of the drop rule. Can be changed after creation.
    queries Sequence[str]
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    rate_limit_threshold float
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug str
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    value_based_drop DropRuleValueBasedDropArgs
    Configuration for dropping data points whose value matches a target.
    activatedDropDuration String
    Once a conditional drop activates, how long it stays activated before re-checking against rate_limit_threshold.
    active Boolean
    Whether the drop rule is active. Deprecated: use mode instead.

    Deprecated: use mode instead

    conditionalDrop Boolean
    If true, the drop only activates when the configured rate_limit_threshold is exceeded.
    dropNanValue Boolean
    If true, drops data points whose value is NaN, including any associated staleness markers.
    mode String
    Drop rule mode controlling whether it is enabled, disabled, or in a preview state. Defaults to ENABLED.
    name String
    Display name of the drop rule. Can be changed after creation.
    queries List<String>
    List of label filter queries that select which metrics to drop. A metric is dropped if it matches all filters in any one query.
    rateLimitThreshold Number
    Percentage of the licensed metrics limit (0-100) at which a conditional drop activates.
    slug String
    Stable identifier for the drop rule. Generated from name if omitted. Immutable after creation.
    valueBasedDrop Property Map
    Configuration for dropping data points whose value matches a target.

    Supporting Types

    DropRuleValueBasedDrop, DropRuleValueBasedDropArgs

    TargetDropValue double
    Data point value at which matching points are dropped.
    TargetDropValue float64
    Data point value at which matching points are dropped.
    target_drop_value number
    Data point value at which matching points are dropped.
    targetDropValue Double
    Data point value at which matching points are dropped.
    targetDropValue number
    Data point value at which matching points are dropped.
    target_drop_value float
    Data point value at which matching points are dropped.
    targetDropValue Number
    Data point value at which matching points are dropped.

    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