1. Packages
  2. Packages
  3. Chronosphere
  4. API Docs
  5. Monitor
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 monitor evaluates a query against time-series, log, or trace data and produces signals when configured thresholds are crossed. Signals are routed to notifiers via the referenced notification policy or the parent collection’s default policy.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Pulumi = Chronosphere.Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
        var collection = new Pulumi.Collection("collection", new()
        {
            Name = "Platform",
        });
    
        var namespaceUp = new Pulumi.Monitor("namespaceUp", new()
        {
            Name = "Namespace up",
            CollectionId = collection.Id,
            Query = new Pulumi.Inputs.MonitorQueryArgs
            {
                PrometheusExpr = @"sum by (kubernetes_namespace) (
      up{kubernetes_namespace=""production""}
    )
    ",
            },
            SignalGrouping = new Pulumi.Inputs.MonitorSignalGroupingArgs
            {
                LabelNames = new[]
                {
                    "kubernetes_namespace",
                },
            },
            SeriesConditions = new Pulumi.Inputs.MonitorSeriesConditionsArgs
            {
                Conditions = new[]
                {
                    new Pulumi.Inputs.MonitorSeriesConditionsConditionArgs
                    {
                        Severity = "warn",
                        Value = 20,
                        Op = "GT",
                    },
                },
            },
        });
    
    });
    
    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 {
    		collection, err := chronosphere.NewCollection(ctx, "collection", &chronosphere.CollectionArgs{
    			Name: pulumi.String("Platform"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = chronosphere.NewMonitor(ctx, "namespaceUp", &chronosphere.MonitorArgs{
    			Name:         pulumi.String("Namespace up"),
    			CollectionId: collection.ID(),
    			Query: &chronosphere.MonitorQueryArgs{
    				PrometheusExpr: pulumi.String("sum by (kubernetes_namespace) (\n  up{kubernetes_namespace=\"production\"}\n)\n"),
    			},
    			SignalGrouping: &chronosphere.MonitorSignalGroupingArgs{
    				LabelNames: pulumi.StringArray{
    					pulumi.String("kubernetes_namespace"),
    				},
    			},
    			SeriesConditions: &chronosphere.MonitorSeriesConditionsArgs{
    				Conditions: chronosphere.MonitorSeriesConditionsConditionArray{
    					&chronosphere.MonitorSeriesConditionsConditionArgs{
    						Severity: pulumi.String("warn"),
    						Value:    pulumi.Float64(20),
    						Op:       pulumi.String("GT"),
    					},
    				},
    			},
    		})
    		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.Collection;
    import com.pulumi.chronosphere.CollectionArgs;
    import com.pulumi.chronosphere.Monitor;
    import com.pulumi.chronosphere.MonitorArgs;
    import com.pulumi.chronosphere.inputs.MonitorQueryArgs;
    import com.pulumi.chronosphere.inputs.MonitorSignalGroupingArgs;
    import com.pulumi.chronosphere.inputs.MonitorSeriesConditionsArgs;
    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 collection = new Collection("collection", CollectionArgs.builder()        
                .name("Platform")
                .build());
    
            var namespaceUp = new Monitor("namespaceUp", MonitorArgs.builder()        
                .name("Namespace up")
                .collectionId(collection.id())
                .query(MonitorQueryArgs.builder()
                    .prometheusExpr("""
    sum by (kubernetes_namespace) (
      up{kubernetes_namespace="production"}
    )
                    """)
                    .build())
                .signalGrouping(MonitorSignalGroupingArgs.builder()
                    .labelNames("kubernetes_namespace")
                    .build())
                .seriesConditions(MonitorSeriesConditionsArgs.builder()
                    .conditions(MonitorSeriesConditionsConditionArgs.builder()
                        .severity("warn")
                        .value(20)
                        .op("GT")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as chronosphere from "@pulumi-chronosphere/pulumi-chronosphere";
    
    const collection = new chronosphere.Collection("collection", {name: "Platform"});
    const namespaceUp = new chronosphere.Monitor("namespaceUp", {
        name: "Namespace up",
        collectionId: collection.id,
        query: {
            prometheusExpr: `sum by (kubernetes_namespace) (
      up{kubernetes_namespace="production"}
    )
    `,
        },
        signalGrouping: {
            labelNames: ["kubernetes_namespace"],
        },
        seriesConditions: {
            conditions: [{
                severity: "warn",
                value: 20,
                op: "GT",
            }],
        },
    });
    
    import pulumi
    import pulumi_chronosphere as chronosphere
    
    collection = chronosphere.Collection("collection", name="Platform")
    namespace_up = chronosphere.Monitor("namespaceUp",
        name="Namespace up",
        collection_id=collection.id,
        query=chronosphere.MonitorQueryArgs(
            prometheus_expr="""sum by (kubernetes_namespace) (
      up{kubernetes_namespace="production"}
    )
    """,
        ),
        signal_grouping=chronosphere.MonitorSignalGroupingArgs(
            label_names=["kubernetes_namespace"],
        ),
        series_conditions=chronosphere.MonitorSeriesConditionsArgs(
            conditions=[chronosphere.MonitorSeriesConditionsConditionArgs(
                severity="warn",
                value=20,
                op="GT",
            )],
        ))
    
    resources:
      collection:
        type: chronosphere:Collection
        properties:
          name: Platform
      namespaceUp:
        type: chronosphere:Monitor
        properties:
          name: Namespace up
          collectionId: ${collection.id}
          query:
            prometheusExpr: |
              sum by (kubernetes_namespace) (
                up{kubernetes_namespace="production"}
              )
          signalGrouping:
            labelNames:
              - kubernetes_namespace
          seriesConditions:
            conditions:
              - severity: warn
                value: 20
                op: GT
    

    Create Monitor Resource

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

    Constructor syntax

    new Monitor(name: string, args: MonitorArgs, opts?: CustomResourceOptions);
    @overload
    def Monitor(resource_name: str,
                args: MonitorArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Monitor(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                name: Optional[str] = None,
                series_conditions: Optional[MonitorSeriesConditionsArgs] = None,
                query: Optional[MonitorQueryArgs] = None,
                notification_policy_id: Optional[str] = None,
                labels: Optional[Mapping[str, str]] = None,
                interval: Optional[str] = None,
                annotations: Optional[Mapping[str, str]] = None,
                notification_template: Optional[MonitorNotificationTemplateArgs] = None,
                collection_id: Optional[str] = None,
                schedule: Optional[MonitorScheduleArgs] = None,
                bucket_id: Optional[str] = None,
                signal_grouping: Optional[MonitorSignalGroupingArgs] = None,
                slug: Optional[str] = None)
    func NewMonitor(ctx *Context, name string, args MonitorArgs, opts ...ResourceOption) (*Monitor, error)
    public Monitor(string name, MonitorArgs args, CustomResourceOptions? opts = null)
    public Monitor(String name, MonitorArgs args)
    public Monitor(String name, MonitorArgs args, CustomResourceOptions options)
    
    type: chronosphere:Monitor
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "chronosphere_monitor" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args MonitorArgs
    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 MonitorArgs
    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 MonitorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MonitorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MonitorArgs
    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 monitorResource = new Pulumi.Monitor("monitorResource", new()
    {
        Name = "string",
        SeriesConditions = new Pulumi.Inputs.MonitorSeriesConditionsArgs
        {
            Conditions = new[]
            {
                new Pulumi.Inputs.MonitorSeriesConditionsConditionArgs
                {
                    Op = "string",
                    Severity = "string",
                    ResolveSustain = "string",
                    ResolveValue = new Pulumi.Inputs.MonitorSeriesConditionsConditionResolveValueArgs
                    {
                        Enabled = false,
                        Value = 0,
                    },
                    Sustain = "string",
                    Value = 0,
                },
            },
            Overrides = new[]
            {
                new Pulumi.Inputs.MonitorSeriesConditionsOverrideArgs
                {
                    Conditions = new[]
                    {
                        new Pulumi.Inputs.MonitorSeriesConditionsOverrideConditionArgs
                        {
                            Op = "string",
                            Severity = "string",
                            ResolveSustain = "string",
                            ResolveValue = new Pulumi.Inputs.MonitorSeriesConditionsOverrideConditionResolveValueArgs
                            {
                                Enabled = false,
                                Value = 0,
                            },
                            Sustain = "string",
                            Value = 0,
                        },
                    },
                    LabelMatchers = new[]
                    {
                        new Pulumi.Inputs.MonitorSeriesConditionsOverrideLabelMatcherArgs
                        {
                            Name = "string",
                            Type = "string",
                            Value = "string",
                        },
                    },
                },
            },
        },
        Query = new Pulumi.Inputs.MonitorQueryArgs
        {
            GraphiteExpr = "string",
            LoggingExpr = "string",
            PrometheusExpr = "string",
        },
        NotificationPolicyId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Interval = "string",
        Annotations = 
        {
            { "string", "string" },
        },
        NotificationTemplate = new Pulumi.Inputs.MonitorNotificationTemplateArgs
        {
            Description = "string",
            Title = "string",
        },
        CollectionId = "string",
        Schedule = new Pulumi.Inputs.MonitorScheduleArgs
        {
            Timezone = "string",
            Ranges = new[]
            {
                new Pulumi.Inputs.MonitorScheduleRangeArgs
                {
                    Day = "string",
                    End = "string",
                    Start = "string",
                },
            },
        },
        BucketId = "string",
        SignalGrouping = new Pulumi.Inputs.MonitorSignalGroupingArgs
        {
            LabelNames = new[]
            {
                "string",
            },
            SignalPerSeries = false,
        },
        Slug = "string",
    });
    
    example, err := chronosphere.NewMonitor(ctx, "monitorResource", &chronosphere.MonitorArgs{
    	Name: pulumi.String("string"),
    	SeriesConditions: &chronosphere.MonitorSeriesConditionsArgs{
    		Conditions: chronosphere.MonitorSeriesConditionsConditionArray{
    			&chronosphere.MonitorSeriesConditionsConditionArgs{
    				Op:             pulumi.String("string"),
    				Severity:       pulumi.String("string"),
    				ResolveSustain: pulumi.String("string"),
    				ResolveValue: &chronosphere.MonitorSeriesConditionsConditionResolveValueArgs{
    					Enabled: pulumi.Bool(false),
    					Value:   pulumi.Float64(0),
    				},
    				Sustain: pulumi.String("string"),
    				Value:   pulumi.Float64(0),
    			},
    		},
    		Overrides: chronosphere.MonitorSeriesConditionsOverrideArray{
    			&chronosphere.MonitorSeriesConditionsOverrideArgs{
    				Conditions: chronosphere.MonitorSeriesConditionsOverrideConditionArray{
    					&chronosphere.MonitorSeriesConditionsOverrideConditionArgs{
    						Op:             pulumi.String("string"),
    						Severity:       pulumi.String("string"),
    						ResolveSustain: pulumi.String("string"),
    						ResolveValue: &chronosphere.MonitorSeriesConditionsOverrideConditionResolveValueArgs{
    							Enabled: pulumi.Bool(false),
    							Value:   pulumi.Float64(0),
    						},
    						Sustain: pulumi.String("string"),
    						Value:   pulumi.Float64(0),
    					},
    				},
    				LabelMatchers: chronosphere.MonitorSeriesConditionsOverrideLabelMatcherArray{
    					&chronosphere.MonitorSeriesConditionsOverrideLabelMatcherArgs{
    						Name:  pulumi.String("string"),
    						Type:  pulumi.String("string"),
    						Value: pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	Query: &chronosphere.MonitorQueryArgs{
    		GraphiteExpr:   pulumi.String("string"),
    		LoggingExpr:    pulumi.String("string"),
    		PrometheusExpr: pulumi.String("string"),
    	},
    	NotificationPolicyId: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Interval: pulumi.String("string"),
    	Annotations: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	NotificationTemplate: &chronosphere.MonitorNotificationTemplateArgs{
    		Description: pulumi.String("string"),
    		Title:       pulumi.String("string"),
    	},
    	CollectionId: pulumi.String("string"),
    	Schedule: &chronosphere.MonitorScheduleArgs{
    		Timezone: pulumi.String("string"),
    		Ranges: chronosphere.MonitorScheduleRangeArray{
    			&chronosphere.MonitorScheduleRangeArgs{
    				Day:   pulumi.String("string"),
    				End:   pulumi.String("string"),
    				Start: pulumi.String("string"),
    			},
    		},
    	},
    	BucketId: pulumi.String("string"),
    	SignalGrouping: &chronosphere.MonitorSignalGroupingArgs{
    		LabelNames: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		SignalPerSeries: pulumi.Bool(false),
    	},
    	Slug: pulumi.String("string"),
    })
    
    resource "chronosphere_monitor" "monitorResource" {
      name = "string"
      series_conditions = {
        conditions = [{
          "op"             = "string"
          "severity"       = "string"
          "resolveSustain" = "string"
          "resolveValue" = {
            "enabled" = false
            "value"   = 0
          }
          "sustain" = "string"
          "value"   = 0
        }]
        overrides = [{
          "conditions" = [{
            "op"             = "string"
            "severity"       = "string"
            "resolveSustain" = "string"
            "resolveValue" = {
              "enabled" = false
              "value"   = 0
            }
            "sustain" = "string"
            "value"   = 0
          }]
          "labelMatchers" = [{
            "name"  = "string"
            "type"  = "string"
            "value" = "string"
          }]
        }]
      }
      query = {
        graphite_expr   = "string"
        logging_expr    = "string"
        prometheus_expr = "string"
      }
      notification_policy_id = "string"
      labels = {
        "string" = "string"
      }
      interval = "string"
      annotations = {
        "string" = "string"
      }
      notification_template = {
        description = "string"
        title       = "string"
      }
      collection_id = "string"
      schedule = {
        timezone = "string"
        ranges = [{
          "day"   = "string"
          "end"   = "string"
          "start" = "string"
        }]
      }
      bucket_id = "string"
      signal_grouping = {
        label_names       = ["string"]
        signal_per_series = false
      }
      slug = "string"
    }
    
    var monitorResource = new Monitor("monitorResource", MonitorArgs.builder()
        .name("string")
        .seriesConditions(MonitorSeriesConditionsArgs.builder()
            .conditions(MonitorSeriesConditionsConditionArgs.builder()
                .op("string")
                .severity("string")
                .resolveSustain("string")
                .resolveValue(MonitorSeriesConditionsConditionResolveValueArgs.builder()
                    .enabled(false)
                    .value(0.0)
                    .build())
                .sustain("string")
                .value(0.0)
                .build())
            .overrides(MonitorSeriesConditionsOverrideArgs.builder()
                .conditions(MonitorSeriesConditionsOverrideConditionArgs.builder()
                    .op("string")
                    .severity("string")
                    .resolveSustain("string")
                    .resolveValue(MonitorSeriesConditionsOverrideConditionResolveValueArgs.builder()
                        .enabled(false)
                        .value(0.0)
                        .build())
                    .sustain("string")
                    .value(0.0)
                    .build())
                .labelMatchers(MonitorSeriesConditionsOverrideLabelMatcherArgs.builder()
                    .name("string")
                    .type("string")
                    .value("string")
                    .build())
                .build())
            .build())
        .query(MonitorQueryArgs.builder()
            .graphiteExpr("string")
            .loggingExpr("string")
            .prometheusExpr("string")
            .build())
        .notificationPolicyId("string")
        .labels(Map.of("string", "string"))
        .interval("string")
        .annotations(Map.of("string", "string"))
        .notificationTemplate(MonitorNotificationTemplateArgs.builder()
            .description("string")
            .title("string")
            .build())
        .collectionId("string")
        .schedule(MonitorScheduleArgs.builder()
            .timezone("string")
            .ranges(MonitorScheduleRangeArgs.builder()
                .day("string")
                .end("string")
                .start("string")
                .build())
            .build())
        .bucketId("string")
        .signalGrouping(MonitorSignalGroupingArgs.builder()
            .labelNames("string")
            .signalPerSeries(false)
            .build())
        .slug("string")
        .build());
    
    monitor_resource = chronosphere.Monitor("monitorResource",
        name="string",
        series_conditions={
            "conditions": [{
                "op": "string",
                "severity": "string",
                "resolve_sustain": "string",
                "resolve_value": {
                    "enabled": False,
                    "value": float(0),
                },
                "sustain": "string",
                "value": float(0),
            }],
            "overrides": [{
                "conditions": [{
                    "op": "string",
                    "severity": "string",
                    "resolve_sustain": "string",
                    "resolve_value": {
                        "enabled": False,
                        "value": float(0),
                    },
                    "sustain": "string",
                    "value": float(0),
                }],
                "label_matchers": [{
                    "name": "string",
                    "type": "string",
                    "value": "string",
                }],
            }],
        },
        query={
            "graphite_expr": "string",
            "logging_expr": "string",
            "prometheus_expr": "string",
        },
        notification_policy_id="string",
        labels={
            "string": "string",
        },
        interval="string",
        annotations={
            "string": "string",
        },
        notification_template={
            "description": "string",
            "title": "string",
        },
        collection_id="string",
        schedule={
            "timezone": "string",
            "ranges": [{
                "day": "string",
                "end": "string",
                "start": "string",
            }],
        },
        bucket_id="string",
        signal_grouping={
            "label_names": ["string"],
            "signal_per_series": False,
        },
        slug="string")
    
    const monitorResource = new chronosphere.Monitor("monitorResource", {
        name: "string",
        seriesConditions: {
            conditions: [{
                op: "string",
                severity: "string",
                resolveSustain: "string",
                resolveValue: {
                    enabled: false,
                    value: 0,
                },
                sustain: "string",
                value: 0,
            }],
            overrides: [{
                conditions: [{
                    op: "string",
                    severity: "string",
                    resolveSustain: "string",
                    resolveValue: {
                        enabled: false,
                        value: 0,
                    },
                    sustain: "string",
                    value: 0,
                }],
                labelMatchers: [{
                    name: "string",
                    type: "string",
                    value: "string",
                }],
            }],
        },
        query: {
            graphiteExpr: "string",
            loggingExpr: "string",
            prometheusExpr: "string",
        },
        notificationPolicyId: "string",
        labels: {
            string: "string",
        },
        interval: "string",
        annotations: {
            string: "string",
        },
        notificationTemplate: {
            description: "string",
            title: "string",
        },
        collectionId: "string",
        schedule: {
            timezone: "string",
            ranges: [{
                day: "string",
                end: "string",
                start: "string",
            }],
        },
        bucketId: "string",
        signalGrouping: {
            labelNames: ["string"],
            signalPerSeries: false,
        },
        slug: "string",
    });
    
    type: chronosphere:Monitor
    properties:
        annotations:
            string: string
        bucketId: string
        collectionId: string
        interval: string
        labels:
            string: string
        name: string
        notificationPolicyId: string
        notificationTemplate:
            description: string
            title: string
        query:
            graphiteExpr: string
            loggingExpr: string
            prometheusExpr: string
        schedule:
            ranges:
                - day: string
                  end: string
                  start: string
            timezone: string
        seriesConditions:
            conditions:
                - op: string
                  resolveSustain: string
                  resolveValue:
                    enabled: false
                    value: 0
                  severity: string
                  sustain: string
                  value: 0
            overrides:
                - conditions:
                    - op: string
                      resolveSustain: string
                      resolveValue:
                        enabled: false
                        value: 0
                      severity: string
                      sustain: string
                      value: 0
                  labelMatchers:
                    - name: string
                      type: string
                      value: string
        signalGrouping:
            labelNames:
                - string
            signalPerSeries: false
        slug: string
    

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

    Name string
    Label name to match.
    Query Chronosphere.Pulumi.Inputs.MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    SeriesConditions Chronosphere.Pulumi.Inputs.MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    Annotations Dictionary<string, string>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    BucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    CollectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    Interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    Labels Dictionary<string, string>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    NotificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    NotificationTemplate Chronosphere.Pulumi.Inputs.MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    Schedule Chronosphere.Pulumi.Inputs.MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    SignalGrouping Chronosphere.Pulumi.Inputs.MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    Slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    Name string
    Label name to match.
    Query MonitorQueryArgs
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    SeriesConditions MonitorSeriesConditionsArgs
    Conditions that determine when a series fires a signal.
    Annotations map[string]string
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    BucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    CollectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    Interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    Labels map[string]string
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    NotificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    NotificationTemplate MonitorNotificationTemplateArgs
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    Schedule MonitorScheduleArgs
    Optional schedule restricting when the monitor evaluates and fires.
    SignalGrouping MonitorSignalGroupingArgs
    Controls how individual time series are grouped into signals for alerting purposes.
    Slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    name string
    Label name to match.
    query object
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    series_conditions object
    Conditions that determine when a series fires a signal.
    annotations map(string)
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucket_id string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collection_id string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels map(string)
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    notification_policy_id string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notification_template object
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    schedule object
    Optional schedule restricting when the monitor evaluates and fires.
    signal_grouping object
    Controls how individual time series are grouped into signals for alerting purposes.
    slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    name String
    Label name to match.
    query MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    seriesConditions MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    annotations Map<String,String>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId String
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId String
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval String
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Map<String,String>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    notificationPolicyId String
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    schedule MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    signalGrouping MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    slug String
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    name string
    Label name to match.
    query MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    seriesConditions MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    annotations {[key: string]: string}
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels {[key: string]: string}
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    notificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    schedule MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    signalGrouping MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    name str
    Label name to match.
    query MonitorQueryArgs
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    series_conditions MonitorSeriesConditionsArgs
    Conditions that determine when a series fires a signal.
    annotations Mapping[str, str]
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucket_id str
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collection_id str
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval str
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Mapping[str, str]
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    notification_policy_id str
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notification_template MonitorNotificationTemplateArgs
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    schedule MonitorScheduleArgs
    Optional schedule restricting when the monitor evaluates and fires.
    signal_grouping MonitorSignalGroupingArgs
    Controls how individual time series are grouped into signals for alerting purposes.
    slug str
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    name String
    Label name to match.
    query Property Map
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    seriesConditions Property Map
    Conditions that determine when a series fires a signal.
    annotations Map<String>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId String
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId String
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval String
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Map<String>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    notificationPolicyId String
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate Property Map
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    schedule Property Map
    Optional schedule restricting when the monitor evaluates and fires.
    signalGrouping Property Map
    Controls how individual time series are grouped into signals for alerting purposes.
    slug String
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.

    Outputs

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

    Get an existing Monitor 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?: MonitorState, opts?: CustomResourceOptions): Monitor
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            annotations: Optional[Mapping[str, str]] = None,
            bucket_id: Optional[str] = None,
            collection_id: Optional[str] = None,
            interval: Optional[str] = None,
            labels: Optional[Mapping[str, str]] = None,
            name: Optional[str] = None,
            notification_policy_id: Optional[str] = None,
            notification_template: Optional[MonitorNotificationTemplateArgs] = None,
            query: Optional[MonitorQueryArgs] = None,
            schedule: Optional[MonitorScheduleArgs] = None,
            series_conditions: Optional[MonitorSeriesConditionsArgs] = None,
            signal_grouping: Optional[MonitorSignalGroupingArgs] = None,
            slug: Optional[str] = None) -> Monitor
    func GetMonitor(ctx *Context, name string, id IDInput, state *MonitorState, opts ...ResourceOption) (*Monitor, error)
    public static Monitor Get(string name, Input<string> id, MonitorState? state, CustomResourceOptions? opts = null)
    public static Monitor get(String name, Output<String> id, MonitorState state, CustomResourceOptions options)
    resources:  _:    type: chronosphere:Monitor    get:      id: ${id}
    import {
      to = chronosphere_monitor.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:
    Annotations Dictionary<string, string>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    BucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    CollectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    Interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    Labels Dictionary<string, string>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    Name string
    Label name to match.
    NotificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    NotificationTemplate Chronosphere.Pulumi.Inputs.MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    Query Chronosphere.Pulumi.Inputs.MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    Schedule Chronosphere.Pulumi.Inputs.MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    SeriesConditions Chronosphere.Pulumi.Inputs.MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    SignalGrouping Chronosphere.Pulumi.Inputs.MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    Slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    Annotations map[string]string
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    BucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    CollectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    Interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    Labels map[string]string
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    Name string
    Label name to match.
    NotificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    NotificationTemplate MonitorNotificationTemplateArgs
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    Query MonitorQueryArgs
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    Schedule MonitorScheduleArgs
    Optional schedule restricting when the monitor evaluates and fires.
    SeriesConditions MonitorSeriesConditionsArgs
    Conditions that determine when a series fires a signal.
    SignalGrouping MonitorSignalGroupingArgs
    Controls how individual time series are grouped into signals for alerting purposes.
    Slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    annotations map(string)
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucket_id string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collection_id string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels map(string)
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    name string
    Label name to match.
    notification_policy_id string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notification_template object
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    query object
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    schedule object
    Optional schedule restricting when the monitor evaluates and fires.
    series_conditions object
    Conditions that determine when a series fires a signal.
    signal_grouping object
    Controls how individual time series are grouped into signals for alerting purposes.
    slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    annotations Map<String,String>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId String
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId String
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval String
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Map<String,String>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    name String
    Label name to match.
    notificationPolicyId String
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    query MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    schedule MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    seriesConditions MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    signalGrouping MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    slug String
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    annotations {[key: string]: string}
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId string
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId string
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval string
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels {[key: string]: string}
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    name string
    Label name to match.
    notificationPolicyId string
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate MonitorNotificationTemplate
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    query MonitorQuery
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    schedule MonitorSchedule
    Optional schedule restricting when the monitor evaluates and fires.
    seriesConditions MonitorSeriesConditions
    Conditions that determine when a series fires a signal.
    signalGrouping MonitorSignalGrouping
    Controls how individual time series are grouped into signals for alerting purposes.
    slug string
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    annotations Mapping[str, str]
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucket_id str
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collection_id str
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval str
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Mapping[str, str]
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    name str
    Label name to match.
    notification_policy_id str
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notification_template MonitorNotificationTemplateArgs
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    query MonitorQueryArgs
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    schedule MonitorScheduleArgs
    Optional schedule restricting when the monitor evaluates and fires.
    series_conditions MonitorSeriesConditionsArgs
    Conditions that determine when a series fires a signal.
    signal_grouping MonitorSignalGroupingArgs
    Controls how individual time series are grouped into signals for alerting purposes.
    slug str
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.
    annotations Map<String>
    Free-form key/value pairs attached to every signal, intended for human consumption such as runbook URLs and descriptions.
    bucketId String
    ID of the bucket the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    collectionId String
    ID of the collection the monitor belongs to. Exactly one of bucket_id or collection_id must be set.
    interval String
    Evaluation interval (e.g. 30s, 1m). Defaults to the system default if unset.
    labels Map<String>
    Key/value labels attached to every signal emitted by the monitor. Used for routing and filtering.
    name String
    Label name to match.
    notificationPolicyId String
    ID of the notification policy that routes signals from this monitor. If omitted, the parent collection's default policy applies. Must reference a named policy (anonymous policies are rejected).
    notificationTemplate Property Map
    Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
    query Property Map
    Query that produces the time series evaluated by the monitor. Exactly one of prometheus_expr, graphite_expr, or logging_expr must be set.
    schedule Property Map
    Optional schedule restricting when the monitor evaluates and fires.
    seriesConditions Property Map
    Conditions that determine when a series fires a signal.
    signalGrouping Property Map
    Controls how individual time series are grouped into signals for alerting purposes.
    slug String
    Stable identifier for the monitor. Generated from name if omitted. Immutable after creation.

    Supporting Types

    MonitorNotificationTemplate, MonitorNotificationTemplateArgs

    Description string
    Body/description template for the notification.
    Title string
    Title template for the notification.
    Description string
    Body/description template for the notification.
    Title string
    Title template for the notification.
    description string
    Body/description template for the notification.
    title string
    Title template for the notification.
    description String
    Body/description template for the notification.
    title String
    Title template for the notification.
    description string
    Body/description template for the notification.
    title string
    Title template for the notification.
    description str
    Body/description template for the notification.
    title str
    Title template for the notification.
    description String
    Body/description template for the notification.
    title String
    Title template for the notification.

    MonitorQuery, MonitorQueryArgs

    GraphiteExpr string
    Graphite expression evaluated by the monitor.
    LoggingExpr string
    Log query expression evaluated by the monitor.
    PrometheusExpr string
    PromQL expression evaluated by the monitor.
    GraphiteExpr string
    Graphite expression evaluated by the monitor.
    LoggingExpr string
    Log query expression evaluated by the monitor.
    PrometheusExpr string
    PromQL expression evaluated by the monitor.
    graphite_expr string
    Graphite expression evaluated by the monitor.
    logging_expr string
    Log query expression evaluated by the monitor.
    prometheus_expr string
    PromQL expression evaluated by the monitor.
    graphiteExpr String
    Graphite expression evaluated by the monitor.
    loggingExpr String
    Log query expression evaluated by the monitor.
    prometheusExpr String
    PromQL expression evaluated by the monitor.
    graphiteExpr string
    Graphite expression evaluated by the monitor.
    loggingExpr string
    Log query expression evaluated by the monitor.
    prometheusExpr string
    PromQL expression evaluated by the monitor.
    graphite_expr str
    Graphite expression evaluated by the monitor.
    logging_expr str
    Log query expression evaluated by the monitor.
    prometheus_expr str
    PromQL expression evaluated by the monitor.
    graphiteExpr String
    Graphite expression evaluated by the monitor.
    loggingExpr String
    Log query expression evaluated by the monitor.
    prometheusExpr String
    PromQL expression evaluated by the monitor.

    MonitorSchedule, MonitorScheduleArgs

    Timezone string
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    Ranges List<Chronosphere.Pulumi.Inputs.MonitorScheduleRange>
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    Timezone string
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    Ranges []MonitorScheduleRange
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    timezone string
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    ranges list(object)
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    timezone String
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    ranges List<MonitorScheduleRange>
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    timezone string
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    ranges MonitorScheduleRange[]
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    timezone str
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    ranges Sequence[MonitorScheduleRange]
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
    timezone String
    IANA timezone name (e.g. America/New_York) used to interpret range values.
    ranges List<Property Map>
    Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.

    MonitorScheduleRange, MonitorScheduleRangeArgs

    Day string
    Day of week, e.g. monday. Case-insensitive.
    End string
    End time of day, 24-hour HH:MM format.
    Start string
    Start time of day, 24-hour HH:MM format.
    Day string
    Day of week, e.g. monday. Case-insensitive.
    End string
    End time of day, 24-hour HH:MM format.
    Start string
    Start time of day, 24-hour HH:MM format.
    day string
    Day of week, e.g. monday. Case-insensitive.
    end string
    End time of day, 24-hour HH:MM format.
    start string
    Start time of day, 24-hour HH:MM format.
    day String
    Day of week, e.g. monday. Case-insensitive.
    end String
    End time of day, 24-hour HH:MM format.
    start String
    Start time of day, 24-hour HH:MM format.
    day string
    Day of week, e.g. monday. Case-insensitive.
    end string
    End time of day, 24-hour HH:MM format.
    start string
    Start time of day, 24-hour HH:MM format.
    day str
    Day of week, e.g. monday. Case-insensitive.
    end str
    End time of day, 24-hour HH:MM format.
    start str
    Start time of day, 24-hour HH:MM format.
    day String
    Day of week, e.g. monday. Case-insensitive.
    end String
    End time of day, 24-hour HH:MM format.
    start String
    Start time of day, 24-hour HH:MM format.

    MonitorSeriesConditions, MonitorSeriesConditionsArgs

    Conditions List<Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsCondition>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    Overrides List<Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsOverride>
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    Conditions []MonitorSeriesConditionsCondition
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    Overrides []MonitorSeriesConditionsOverride
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    conditions list(object)
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    overrides list(object)
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    conditions List<MonitorSeriesConditionsCondition>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    overrides List<MonitorSeriesConditionsOverride>
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    conditions MonitorSeriesConditionsCondition[]
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    overrides MonitorSeriesConditionsOverride[]
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    conditions Sequence[MonitorSeriesConditionsCondition]
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    overrides Sequence[MonitorSeriesConditionsOverride]
    Per-series overrides that apply different conditions to series matching a set of label matchers.
    conditions List<Property Map>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    overrides List<Property Map>
    Per-series overrides that apply different conditions to series matching a set of label matchers.

    MonitorSeriesConditionsCondition, MonitorSeriesConditionsConditionArgs

    Op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    Severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    ResolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    ResolveValue Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    Sustain string
    Duration the condition must hold continuously before a signal fires.
    Value double
    Resolution threshold value.
    Op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    Severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    ResolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    ResolveValue MonitorSeriesConditionsConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    Sustain string
    Duration the condition must hold continuously before a signal fires.
    Value float64
    Resolution threshold value.
    op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolve_sustain string
    Duration the condition must remain false continuously before an active signal resolves.
    resolve_value object
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain string
    Duration the condition must hold continuously before a signal fires.
    value number
    Resolution threshold value.
    op String
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity String
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain String
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue MonitorSeriesConditionsConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain String
    Duration the condition must hold continuously before a signal fires.
    value Double
    Resolution threshold value.
    op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue MonitorSeriesConditionsConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain string
    Duration the condition must hold continuously before a signal fires.
    value number
    Resolution threshold value.
    op str
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity str
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolve_sustain str
    Duration the condition must remain false continuously before an active signal resolves.
    resolve_value MonitorSeriesConditionsConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain str
    Duration the condition must hold continuously before a signal fires.
    value float
    Resolution threshold value.
    op String
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity String
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain String
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue Property Map
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain String
    Duration the condition must hold continuously before a signal fires.
    value Number
    Resolution threshold value.

    MonitorSeriesConditionsConditionResolveValue, MonitorSeriesConditionsConditionResolveValueArgs

    Enabled bool
    Whether the resolve-value threshold is active.
    Value double
    Resolution threshold value.
    Enabled bool
    Whether the resolve-value threshold is active.
    Value float64
    Resolution threshold value.
    enabled bool
    Whether the resolve-value threshold is active.
    value number
    Resolution threshold value.
    enabled Boolean
    Whether the resolve-value threshold is active.
    value Double
    Resolution threshold value.
    enabled boolean
    Whether the resolve-value threshold is active.
    value number
    Resolution threshold value.
    enabled bool
    Whether the resolve-value threshold is active.
    value float
    Resolution threshold value.
    enabled Boolean
    Whether the resolve-value threshold is active.
    value Number
    Resolution threshold value.

    MonitorSeriesConditionsOverride, MonitorSeriesConditionsOverrideArgs

    Conditions List<Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsOverrideCondition>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    LabelMatchers List<Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsOverrideLabelMatcher>
    List of label matchers used to select a subset of series.
    Conditions []MonitorSeriesConditionsOverrideCondition
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    LabelMatchers []MonitorSeriesConditionsOverrideLabelMatcher
    List of label matchers used to select a subset of series.
    conditions list(object)
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    label_matchers list(object)
    List of label matchers used to select a subset of series.
    conditions List<MonitorSeriesConditionsOverrideCondition>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    labelMatchers List<MonitorSeriesConditionsOverrideLabelMatcher>
    List of label matchers used to select a subset of series.
    conditions MonitorSeriesConditionsOverrideCondition[]
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    labelMatchers MonitorSeriesConditionsOverrideLabelMatcher[]
    List of label matchers used to select a subset of series.
    conditions Sequence[MonitorSeriesConditionsOverrideCondition]
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    label_matchers Sequence[MonitorSeriesConditionsOverrideLabelMatcher]
    List of label matchers used to select a subset of series.
    conditions List<Property Map>
    One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
    labelMatchers List<Property Map>
    List of label matchers used to select a subset of series.

    MonitorSeriesConditionsOverrideCondition, MonitorSeriesConditionsOverrideConditionArgs

    Op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    Severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    ResolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    ResolveValue Chronosphere.Pulumi.Inputs.MonitorSeriesConditionsOverrideConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    Sustain string
    Duration the condition must hold continuously before a signal fires.
    Value double
    Resolution threshold value.
    Op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    Severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    ResolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    ResolveValue MonitorSeriesConditionsOverrideConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    Sustain string
    Duration the condition must hold continuously before a signal fires.
    Value float64
    Resolution threshold value.
    op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolve_sustain string
    Duration the condition must remain false continuously before an active signal resolves.
    resolve_value object
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain string
    Duration the condition must hold continuously before a signal fires.
    value number
    Resolution threshold value.
    op String
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity String
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain String
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue MonitorSeriesConditionsOverrideConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain String
    Duration the condition must hold continuously before a signal fires.
    value Double
    Resolution threshold value.
    op string
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity string
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain string
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue MonitorSeriesConditionsOverrideConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain string
    Duration the condition must hold continuously before a signal fires.
    value number
    Resolution threshold value.
    op str
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity str
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolve_sustain str
    Duration the condition must remain false continuously before an active signal resolves.
    resolve_value MonitorSeriesConditionsOverrideConditionResolveValue
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain str
    Duration the condition must hold continuously before a signal fires.
    value float
    Resolution threshold value.
    op String
    Comparison operator between the query value and value (e.g. gt, lt, eq).
    severity String
    Severity assigned when this condition matches (e.g. warn, critical). Case-sensitive.
    resolveSustain String
    Duration the condition must remain false continuously before an active signal resolves.
    resolveValue Property Map
    Optional separate threshold used for resolution, enabling hysteresis (e.g. fire at >90, resolve at \n\n).
    sustain String
    Duration the condition must hold continuously before a signal fires.
    value Number
    Resolution threshold value.

    MonitorSeriesConditionsOverrideConditionResolveValue, MonitorSeriesConditionsOverrideConditionResolveValueArgs

    Enabled bool
    Whether the resolve-value threshold is active.
    Value double
    Resolution threshold value.
    Enabled bool
    Whether the resolve-value threshold is active.
    Value float64
    Resolution threshold value.
    enabled bool
    Whether the resolve-value threshold is active.
    value number
    Resolution threshold value.
    enabled Boolean
    Whether the resolve-value threshold is active.
    value Double
    Resolution threshold value.
    enabled boolean
    Whether the resolve-value threshold is active.
    value number
    Resolution threshold value.
    enabled bool
    Whether the resolve-value threshold is active.
    value float
    Resolution threshold value.
    enabled Boolean
    Whether the resolve-value threshold is active.
    value Number
    Resolution threshold value.

    MonitorSeriesConditionsOverrideLabelMatcher, MonitorSeriesConditionsOverrideLabelMatcherArgs

    Name string
    Label name to match.
    Type string
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    Value string
    Resolution threshold value.
    Name string
    Label name to match.
    Type string
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    Value string
    Resolution threshold value.
    name string
    Label name to match.
    type string
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    value string
    Resolution threshold value.
    name String
    Label name to match.
    type String
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    value String
    Resolution threshold value.
    name string
    Label name to match.
    type string
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    value string
    Resolution threshold value.
    name str
    Label name to match.
    type str
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    value str
    Resolution threshold value.
    name String
    Label name to match.
    type String
    Match operator: one of =, !=, =~ (regex), !~ (regex negation).
    value String
    Resolution threshold value.

    MonitorSignalGrouping, MonitorSignalGroupingArgs

    LabelNames List<string>
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    SignalPerSeries bool
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    LabelNames []string
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    SignalPerSeries bool
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    label_names list(string)
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    signal_per_series bool
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    labelNames List<String>
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    signalPerSeries Boolean
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    labelNames string[]
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    signalPerSeries boolean
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    label_names Sequence[str]
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    signal_per_series bool
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.
    labelNames List<String>
    Labels to group by. Series sharing the same values for these labels produce one signal. Defaults to no grouping (one signal per series).
    signalPerSeries Boolean
    If true, treat each individual series as its own signal. Mutually exclusive with label_names.

    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