published on Friday, Jun 5, 2026 by Chronosphere
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. Monitor Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - Series
Conditions Chronosphere.Pulumi. Inputs. Monitor Series Conditions - 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.
- Bucket
Id string - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - Collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- Notification
Policy stringId - 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 Chronosphere.Pulumi. Inputs. Monitor Notification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- Schedule
Chronosphere.
Pulumi. Inputs. Monitor Schedule - Optional schedule restricting when the monitor evaluates and fires.
- Signal
Grouping Chronosphere.Pulumi. Inputs. Monitor Signal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- Slug string
- Stable identifier for the monitor. Generated from
nameif omitted. Immutable after creation.
- Name string
- Label name to match.
- Query
Monitor
Query Args - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - Series
Conditions MonitorSeries Conditions Args - 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.
- Bucket
Id string - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - Collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- Notification
Policy stringId - 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 MonitorNotification Template Args - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- Schedule
Monitor
Schedule Args - Optional schedule restricting when the monitor evaluates and fires.
- Signal
Grouping MonitorSignal Grouping Args - Controls how individual time series are grouped into signals for alerting purposes.
- Slug string
- Stable identifier for the monitor. Generated from
nameif 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, orlogging_exprmust 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_idorcollection_idmust be set. - collection_
id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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_ stringid - 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
nameif omitted. Immutable after creation.
- name String
- Label name to match.
- query
Monitor
Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - series
Conditions MonitorSeries Conditions - 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.
- bucket
Id String - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - collection
Id String - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- notification
Policy StringId - 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 MonitorNotification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- schedule
Monitor
Schedule - Optional schedule restricting when the monitor evaluates and fires.
- signal
Grouping MonitorSignal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- slug String
- Stable identifier for the monitor. Generated from
nameif omitted. Immutable after creation.
- name string
- Label name to match.
- query
Monitor
Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - series
Conditions MonitorSeries Conditions - 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.
- bucket
Id string - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- notification
Policy stringId - 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 MonitorNotification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- schedule
Monitor
Schedule - Optional schedule restricting when the monitor evaluates and fires.
- signal
Grouping MonitorSignal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- slug string
- Stable identifier for the monitor. Generated from
nameif omitted. Immutable after creation.
- name str
- Label name to match.
- query
Monitor
Query Args - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - series_
conditions MonitorSeries Conditions Args - 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_idorcollection_idmust be set. - collection_
id str - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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_ strid - 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 MonitorNotification Template Args - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- schedule
Monitor
Schedule Args - Optional schedule restricting when the monitor evaluates and fires.
- signal_
grouping MonitorSignal Grouping Args - Controls how individual time series are grouped into signals for alerting purposes.
- slug str
- Stable identifier for the monitor. Generated from
nameif 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, orlogging_exprmust be set. - series
Conditions 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.
- bucket
Id String - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - collection
Id String - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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 StringId - 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 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.
- signal
Grouping Property Map - Controls how individual time series are grouped into signals for alerting purposes.
- slug String
- Stable identifier for the monitor. Generated from
nameif 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) -> Monitorfunc 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.
- Annotations Dictionary<string, 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_idorcollection_idmust be set. - Collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- Notification
Policy stringId - 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 Chronosphere.Pulumi. Inputs. Monitor Notification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- Query
Chronosphere.
Pulumi. Inputs. Monitor Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - Schedule
Chronosphere.
Pulumi. Inputs. Monitor Schedule - Optional schedule restricting when the monitor evaluates and fires.
- Series
Conditions Chronosphere.Pulumi. Inputs. Monitor Series Conditions - Conditions that determine when a series fires a signal.
- Signal
Grouping Chronosphere.Pulumi. Inputs. Monitor Signal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- Slug string
- Stable identifier for the monitor. Generated from
nameif 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.
- Bucket
Id string - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - Collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- Notification
Policy stringId - 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 MonitorNotification Template Args - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- Query
Monitor
Query Args - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - Schedule
Monitor
Schedule Args - Optional schedule restricting when the monitor evaluates and fires.
- Series
Conditions MonitorSeries Conditions Args - Conditions that determine when a series fires a signal.
- Signal
Grouping MonitorSignal Grouping Args - Controls how individual time series are grouped into signals for alerting purposes.
- Slug string
- Stable identifier for the monitor. Generated from
nameif 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_idorcollection_idmust be set. - collection_
id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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_ stringid - 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, orlogging_exprmust 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
nameif 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.
- bucket
Id String - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - collection
Id String - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- notification
Policy StringId - 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 MonitorNotification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- query
Monitor
Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - schedule
Monitor
Schedule - Optional schedule restricting when the monitor evaluates and fires.
- series
Conditions MonitorSeries Conditions - Conditions that determine when a series fires a signal.
- signal
Grouping MonitorSignal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- slug String
- Stable identifier for the monitor. Generated from
nameif 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.
- bucket
Id string - ID of the bucket the monitor belongs to. Exactly one of
bucket_idorcollection_idmust be set. - collection
Id string - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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.
- notification
Policy stringId - 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 MonitorNotification Template - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- query
Monitor
Query - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - schedule
Monitor
Schedule - Optional schedule restricting when the monitor evaluates and fires.
- series
Conditions MonitorSeries Conditions - Conditions that determine when a series fires a signal.
- signal
Grouping MonitorSignal Grouping - Controls how individual time series are grouped into signals for alerting purposes.
- slug string
- Stable identifier for the monitor. Generated from
nameif 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_idorcollection_idmust be set. - collection_
id str - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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_ strid - 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 MonitorNotification Template Args - Templated title/description rendered into outbound notifications. Supports Go templating with access to signal labels and annotations.
- query
Monitor
Query Args - Query that produces the time series evaluated by the monitor. Exactly one of
prometheus_expr,graphite_expr, orlogging_exprmust be set. - schedule
Monitor
Schedule Args - Optional schedule restricting when the monitor evaluates and fires.
- series_
conditions MonitorSeries Conditions Args - Conditions that determine when a series fires a signal.
- signal_
grouping MonitorSignal Grouping Args - Controls how individual time series are grouped into signals for alerting purposes.
- slug str
- Stable identifier for the monitor. Generated from
nameif 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_idorcollection_idmust be set. - collection
Id String - ID of the collection the monitor belongs to. Exactly one of
bucket_idorcollection_idmust 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 StringId - 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 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, orlogging_exprmust be set. - schedule Property Map
- Optional schedule restricting when the monitor evaluates and fires.
- series
Conditions Property Map - Conditions that determine when a series fires a signal.
- signal
Grouping Property Map - Controls how individual time series are grouped into signals for alerting purposes.
- slug String
- Stable identifier for the monitor. Generated from
nameif 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
MonitorSchedule, MonitorScheduleArgs
- Timezone string
- IANA timezone name (e.g.
America/New_York) used to interpretrangevalues. - Ranges
List<Chronosphere.
Pulumi. Inputs. Monitor Schedule Range> - 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 interpretrangevalues. - Ranges
[]Monitor
Schedule Range - 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 interpretrangevalues. - 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 interpretrangevalues. - ranges
List<Monitor
Schedule Range> - 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 interpretrangevalues. - ranges
Monitor
Schedule Range[] - 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 interpretrangevalues. - ranges
Sequence[Monitor
Schedule Range] - 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 interpretrangevalues. - ranges List<Property Map>
- Time-of-day ranges during which the monitor is active. The monitor is inactive outside these ranges.
MonitorScheduleRange, MonitorScheduleRangeArgs
MonitorSeriesConditions, MonitorSeriesConditionsArgs
- Conditions
List<Chronosphere.
Pulumi. Inputs. Monitor Series Conditions Condition> - 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. Monitor Series Conditions Override> - Per-series overrides that apply different conditions to series matching a set of label matchers.
- Conditions
[]Monitor
Series Conditions Condition - One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
- Overrides
[]Monitor
Series Conditions Override - 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<Monitor
Series Conditions Condition> - 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<Monitor
Series Conditions Override> - Per-series overrides that apply different conditions to series matching a set of label matchers.
- conditions
Monitor
Series Conditions Condition[] - One or more severity/threshold conditions. Multiple conditions enable multi-severity monitors (e.g. warn at one threshold, page at a higher one).
- overrides
Monitor
Series Conditions Override[] - Per-series overrides that apply different conditions to series matching a set of label matchers.
- conditions
Sequence[Monitor
Series Conditions Condition] - 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[Monitor
Series Conditions Override] - 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. - Resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- Resolve
Value Chronosphere.Pulumi. Inputs. Monitor Series Conditions Condition Resolve Value - 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. - Resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- Resolve
Value MonitorSeries Conditions Condition Resolve Value - 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. - resolve
Sustain String - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value MonitorSeries Conditions Condition Resolve Value - 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. - resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value MonitorSeries Conditions Condition Resolve Value - 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 MonitorSeries Conditions Condition Resolve Value - 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. - resolve
Sustain String - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value 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
MonitorSeriesConditionsOverride, MonitorSeriesConditionsOverrideArgs
- Conditions
List<Chronosphere.
Pulumi. Inputs. Monitor Series Conditions Override Condition> - 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<Chronosphere.Pulumi. Inputs. Monitor Series Conditions Override Label Matcher> - List of label matchers used to select a subset of series.
- Conditions
[]Monitor
Series Conditions Override Condition - 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 []MonitorSeries Conditions Override Label Matcher - 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<Monitor
Series Conditions Override Condition> - 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<MonitorSeries Conditions Override Label Matcher> - List of label matchers used to select a subset of series.
- conditions
Monitor
Series Conditions Override Condition[] - 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 MonitorSeries Conditions Override Label Matcher[] - List of label matchers used to select a subset of series.
- conditions
Sequence[Monitor
Series Conditions Override Condition] - 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[MonitorSeries Conditions Override Label Matcher] - 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).
- label
Matchers 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. - Resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- Resolve
Value Chronosphere.Pulumi. Inputs. Monitor Series Conditions Override Condition Resolve Value - 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. - Resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- Resolve
Value MonitorSeries Conditions Override Condition Resolve Value - 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. - resolve
Sustain String - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value MonitorSeries Conditions Override Condition Resolve Value - 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. - resolve
Sustain string - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value MonitorSeries Conditions Override Condition Resolve Value - 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 MonitorSeries Conditions Override Condition Resolve Value - 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. - resolve
Sustain String - Duration the condition must remain false continuously before an active signal resolves.
- resolve
Value 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
MonitorSeriesConditionsOverrideLabelMatcher, MonitorSeriesConditionsOverrideLabelMatcherArgs
MonitorSignalGrouping, MonitorSignalGroupingArgs
- 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 boolSeries - If true, treat each individual series as its own signal. Mutually exclusive with
label_names.
- Label
Names []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 boolSeries - 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_ boolseries - 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 BooleanSeries - If true, treat each individual series as its own signal. Mutually exclusive with
label_names.
- label
Names 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 booleanSeries - 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_ boolseries - 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 BooleanSeries - 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
chronosphereTerraform Provider.
published on Friday, Jun 5, 2026 by Chronosphere