published on Sunday, Nov 15, 2026 by Pulumiverse
published on Sunday, Nov 15, 2026 by Pulumiverse
Creates a project-scoped custom Vercel monitor (formerly custom alert rule) using the monitors API. Supports threshold and anomaly conditions on a metric or same-event ratio. Custom monitors must be enabled for the team. Manage Slack and webhook links with vercel.MonitorSlackNotification and vercel.MonitorWebhookNotification.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vercel from "@pulumiverse/vercel";
const checkout = vercel.getProject({
name: "checkout",
});
const checkoutErrors = new vercel.CustomMonitor("checkout_errors", {
name: "Checkout server errors",
projectId: checkout.then(checkout => checkout.id),
severity: "high",
tags: [
"checkout",
"payments",
],
evaluation: {
window: "5m",
query: {
metrics: {
errors: {
metric: "vercel.request.count",
aggregation: "count",
filter: "httpStatus >= 500",
},
},
outputs: ["errors"],
},
},
trigger: {
type: "threshold",
output: "errors",
operator: "gt",
threshold: 20,
},
notificationSettings: {
enableTeamOwnerNotifications: true,
},
});
const checkoutErrorsMonitorSlackNotification = new vercel.MonitorSlackNotification("checkout_errors", {
monitorId: checkoutErrors.id,
slackChannelId: "C0123456789",
});
// Page on-call only when the agent investigation classifies the alert as Critical.
const checkoutErrorsOncall = new vercel.MonitorSlackNotification("checkout_errors_oncall", {
monitorId: checkoutErrors.id,
slackChannelId: "C0ONCALL00",
minimumSeverityLevel: "critical",
});
const alerts = new vercel.Webhook("alerts", {
endpoint: "https://example.com/vercel-alerts",
events: ["alerts.triggered"],
});
const checkoutErrorsMonitorWebhookNotification = new vercel.MonitorWebhookNotification("checkout_errors", {
monitorId: checkoutErrors.id,
webhookId: alerts.id,
});
import pulumi
import pulumi_vercel as vercel
import pulumiverse_vercel as vercel
checkout = vercel.get_project(name="checkout")
checkout_errors = vercel.CustomMonitor("checkout_errors",
name="Checkout server errors",
project_id=checkout.id,
severity="high",
tags=[
"checkout",
"payments",
],
evaluation={
"window": "5m",
"query": {
"metrics": {
"errors": {
"metric": "vercel.request.count",
"aggregation": "count",
"filter": "httpStatus >= 500",
},
},
"outputs": ["errors"],
},
},
trigger={
"type": "threshold",
"output": "errors",
"operator": "gt",
"threshold": 20,
},
notification_settings={
"enable_team_owner_notifications": True,
})
checkout_errors_monitor_slack_notification = vercel.MonitorSlackNotification("checkout_errors",
monitor_id=checkout_errors.id,
slack_channel_id="C0123456789")
# Page on-call only when the agent investigation classifies the alert as Critical.
checkout_errors_oncall = vercel.MonitorSlackNotification("checkout_errors_oncall",
monitor_id=checkout_errors.id,
slack_channel_id="C0ONCALL00",
minimum_severity_level="critical")
alerts = vercel.Webhook("alerts",
endpoint="https://example.com/vercel-alerts",
events=["alerts.triggered"])
checkout_errors_monitor_webhook_notification = vercel.MonitorWebhookNotification("checkout_errors",
monitor_id=checkout_errors.id,
webhook_id=alerts.id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-vercel/sdk/v5/go/vercel"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
checkout, err := vercel.LookupProject(ctx, &vercel.LookupProjectArgs{
Name: pulumi.StringRef("checkout"),
}, nil)
if err != nil {
return err
}
checkoutErrors, err := vercel.NewCustomMonitor(ctx, "checkout_errors", &vercel.CustomMonitorArgs{
Name: pulumi.String("Checkout server errors"),
ProjectId: pulumi.String(checkout.Id),
Severity: pulumi.String("high"),
Tags: pulumi.StringArray{
pulumi.String("checkout"),
pulumi.String("payments"),
},
Evaluation: &vercel.CustomMonitorEvaluationArgs{
Window: pulumi.String("5m"),
Query: &vercel.CustomMonitorEvaluationQueryArgs{
Metrics: vercel.CustomMonitorEvaluationQueryMetricsMap{
"errors": &vercel.CustomMonitorEvaluationQueryMetricsArgs{
Metric: pulumi.String("vercel.request.count"),
Aggregation: pulumi.String("count"),
Filter: pulumi.String("httpStatus >= 500"),
},
},
Outputs: pulumi.StringArray{
pulumi.String("errors"),
},
},
},
Trigger: &vercel.CustomMonitorTriggerArgs{
Type: pulumi.String("threshold"),
Output: pulumi.String("errors"),
Operator: pulumi.String("gt"),
Threshold: pulumi.Float64(20),
},
NotificationSettings: &vercel.CustomMonitorNotificationSettingsArgs{
EnableTeamOwnerNotifications: pulumi.Bool(true),
},
})
if err != nil {
return err
}
_, err = vercel.NewMonitorSlackNotification(ctx, "checkout_errors", &vercel.MonitorSlackNotificationArgs{
MonitorId: checkoutErrors.ID(),
SlackChannelId: pulumi.String("C0123456789"),
})
if err != nil {
return err
}
// Page on-call only when the agent investigation classifies the alert as Critical.
_, err = vercel.NewMonitorSlackNotification(ctx, "checkout_errors_oncall", &vercel.MonitorSlackNotificationArgs{
MonitorId: checkoutErrors.ID(),
SlackChannelId: pulumi.String("C0ONCALL00"),
MinimumSeverityLevel: pulumi.String("critical"),
})
if err != nil {
return err
}
alerts, err := vercel.NewWebhook(ctx, "alerts", &vercel.WebhookArgs{
Endpoint: pulumi.String("https://example.com/vercel-alerts"),
Events: pulumi.StringArray{
pulumi.String("alerts.triggered"),
},
})
if err != nil {
return err
}
_, err = vercel.NewMonitorWebhookNotification(ctx, "checkout_errors", &vercel.MonitorWebhookNotificationArgs{
MonitorId: checkoutErrors.ID(),
WebhookId: alerts.ID(),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vercel = Pulumiverse.Vercel;
return await Deployment.RunAsync(() =>
{
var checkout = Vercel.GetProject.Invoke(new()
{
Name = "checkout",
});
var checkoutErrors = new Vercel.CustomMonitor("checkout_errors", new()
{
Name = "Checkout server errors",
ProjectId = checkout.Apply(getProjectResult => getProjectResult.Id),
Severity = "high",
Tags = new[]
{
"checkout",
"payments",
},
Evaluation = new Vercel.Inputs.CustomMonitorEvaluationArgs
{
Window = "5m",
Query = new Vercel.Inputs.CustomMonitorEvaluationQueryArgs
{
Metrics =
{
{ "errors", new Vercel.Inputs.CustomMonitorEvaluationQueryMetricsArgs
{
Metric = "vercel.request.count",
Aggregation = "count",
Filter = "httpStatus >= 500",
} },
},
Outputs = new[]
{
"errors",
},
},
},
Trigger = new Vercel.Inputs.CustomMonitorTriggerArgs
{
Type = "threshold",
Output = "errors",
Operator = "gt",
Threshold = 20,
},
NotificationSettings = new Vercel.Inputs.CustomMonitorNotificationSettingsArgs
{
EnableTeamOwnerNotifications = true,
},
});
var checkoutErrorsMonitorSlackNotification = new Vercel.MonitorSlackNotification("checkout_errors", new()
{
MonitorId = checkoutErrors.Id,
SlackChannelId = "C0123456789",
});
// Page on-call only when the agent investigation classifies the alert as Critical.
var checkoutErrorsOncall = new Vercel.MonitorSlackNotification("checkout_errors_oncall", new()
{
MonitorId = checkoutErrors.Id,
SlackChannelId = "C0ONCALL00",
MinimumSeverityLevel = "critical",
});
var alerts = new Vercel.Webhook("alerts", new()
{
Endpoint = "https://example.com/vercel-alerts",
Events = new[]
{
"alerts.triggered",
},
});
var checkoutErrorsMonitorWebhookNotification = new Vercel.MonitorWebhookNotification("checkout_errors", new()
{
MonitorId = checkoutErrors.Id,
WebhookId = alerts.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vercel.VercelFunctions;
import com.pulumi.vercel.inputs.GetProjectArgs;
import com.pulumiverse.vercel.CustomMonitor;
import com.pulumiverse.vercel.CustomMonitorArgs;
import com.pulumi.vercel.inputs.CustomMonitorEvaluationArgs;
import com.pulumi.vercel.inputs.CustomMonitorEvaluationQueryArgs;
import com.pulumi.vercel.inputs.CustomMonitorTriggerArgs;
import com.pulumi.vercel.inputs.CustomMonitorNotificationSettingsArgs;
import com.pulumiverse.vercel.MonitorSlackNotification;
import com.pulumiverse.vercel.MonitorSlackNotificationArgs;
import com.pulumiverse.vercel.Webhook;
import com.pulumiverse.vercel.WebhookArgs;
import com.pulumiverse.vercel.MonitorWebhookNotification;
import com.pulumiverse.vercel.MonitorWebhookNotificationArgs;
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) {
final var checkout = VercelFunctions.getProject(GetProjectArgs.builder()
.name("checkout")
.build());
var checkoutErrors = new CustomMonitor("checkoutErrors", CustomMonitorArgs.builder()
.name("Checkout server errors")
.projectId(checkout.id())
.severity("high")
.tags(
"checkout",
"payments")
.evaluation(CustomMonitorEvaluationArgs.builder()
.window("5m")
.query(CustomMonitorEvaluationQueryArgs.builder()
.metrics(Map.of("errors", CustomMonitorEvaluationQueryMetricsArgs.builder()
.metric("vercel.request.count")
.aggregation("count")
.filter("httpStatus >= 500")
.build()))
.outputs("errors")
.build())
.build())
.trigger(CustomMonitorTriggerArgs.builder()
.type("threshold")
.output("errors")
.operator("gt")
.threshold(20.0)
.build())
.notificationSettings(CustomMonitorNotificationSettingsArgs.builder()
.enableTeamOwnerNotifications(true)
.build())
.build());
var checkoutErrorsMonitorSlackNotification = new MonitorSlackNotification("checkoutErrorsMonitorSlackNotification", MonitorSlackNotificationArgs.builder()
.monitorId(checkoutErrors.id())
.slackChannelId("C0123456789")
.build());
// Page on-call only when the agent investigation classifies the alert as Critical.
var checkoutErrorsOncall = new MonitorSlackNotification("checkoutErrorsOncall", MonitorSlackNotificationArgs.builder()
.monitorId(checkoutErrors.id())
.slackChannelId("C0ONCALL00")
.minimumSeverityLevel("critical")
.build());
var alerts = new Webhook("alerts", WebhookArgs.builder()
.endpoint("https://example.com/vercel-alerts")
.events("alerts.triggered")
.build());
var checkoutErrorsMonitorWebhookNotification = new MonitorWebhookNotification("checkoutErrorsMonitorWebhookNotification", MonitorWebhookNotificationArgs.builder()
.monitorId(checkoutErrors.id())
.webhookId(alerts.id())
.build());
}
}
resources:
checkoutErrors:
type: vercel:CustomMonitor
name: checkout_errors
properties:
name: Checkout server errors
projectId: ${checkout.id}
severity: high
tags:
- checkout
- payments
evaluation:
window: 5m
query:
metrics:
errors:
metric: vercel.request.count
aggregation: count
filter: httpStatus >= 500
outputs:
- errors
trigger:
type: threshold
output: errors
operator: gt
threshold: 20
notificationSettings:
enableTeamOwnerNotifications: true
checkoutErrorsMonitorSlackNotification:
type: vercel:MonitorSlackNotification
name: checkout_errors
properties:
monitorId: ${checkoutErrors.id}
slackChannelId: C0123456789
# Page on-call only when the agent investigation classifies the alert as Critical.
checkoutErrorsOncall:
type: vercel:MonitorSlackNotification
name: checkout_errors_oncall
properties:
monitorId: ${checkoutErrors.id}
slackChannelId: C0ONCALL00
minimumSeverityLevel: critical
checkoutErrorsMonitorWebhookNotification:
type: vercel:MonitorWebhookNotification
name: checkout_errors
properties:
monitorId: ${checkoutErrors.id}
webhookId: ${alerts.id}
alerts:
type: vercel:Webhook
properties:
endpoint: https://example.com/vercel-alerts
events:
- alerts.triggered
variables:
checkout:
fn::invoke:
function: vercel:getProject
arguments:
name: checkout
Example coming soon!
Create CustomMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CustomMonitor(name: string, args: CustomMonitorArgs, opts?: CustomResourceOptions);@overload
def CustomMonitor(resource_name: str,
args: CustomMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CustomMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
evaluation: Optional[CustomMonitorEvaluationArgs] = None,
project_id: Optional[str] = None,
severity: Optional[str] = None,
trigger: Optional[CustomMonitorTriggerArgs] = None,
investigation_prompt: Optional[str] = None,
name: Optional[str] = None,
notification_settings: Optional[CustomMonitorNotificationSettingsArgs] = None,
tags: Optional[Sequence[str]] = None,
team_id: Optional[str] = None)func NewCustomMonitor(ctx *Context, name string, args CustomMonitorArgs, opts ...ResourceOption) (*CustomMonitor, error)public CustomMonitor(string name, CustomMonitorArgs args, CustomResourceOptions? opts = null)
public CustomMonitor(String name, CustomMonitorArgs args)
public CustomMonitor(String name, CustomMonitorArgs args, CustomResourceOptions options)
type: vercel:CustomMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "vercel_custom_monitor" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CustomMonitorArgs
- 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 CustomMonitorArgs
- 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 CustomMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CustomMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CustomMonitorArgs
- 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 customMonitorResource = new Vercel.CustomMonitor("customMonitorResource", new()
{
Evaluation = new Vercel.Inputs.CustomMonitorEvaluationArgs
{
Query = new Vercel.Inputs.CustomMonitorEvaluationQueryArgs
{
Metrics =
{
{ "string", new Vercel.Inputs.CustomMonitorEvaluationQueryMetricsArgs
{
Aggregation = "string",
Metric = "string",
Dimensions = new[]
{
"string",
},
Filter = "string",
Normalize = "string",
Per = "string",
} },
},
Outputs = new[]
{
"string",
},
Filter = "string",
Formulas =
{
{ "string", "string" },
},
GroupBies = new[]
{
"string",
},
},
Window = "string",
},
ProjectId = "string",
Severity = "string",
Trigger = new Vercel.Inputs.CustomMonitorTriggerArgs
{
Output = "string",
Type = "string",
Minimum = new Vercel.Inputs.CustomMonitorTriggerMinimumArgs
{
Output = "string",
Threshold = 0.0,
},
Operator = "string",
StandardDeviations = 0.0,
Threshold = 0.0,
},
InvestigationPrompt = "string",
Name = "string",
NotificationSettings = new Vercel.Inputs.CustomMonitorNotificationSettingsArgs
{
EnableTeamOwnerNotifications = false,
IncidentIoRoutingKey = "string",
VercelNotificationsMinimumSeverityLevel = "string",
},
Tags = new[]
{
"string",
},
TeamId = "string",
});
example, err := vercel.NewCustomMonitor(ctx, "customMonitorResource", &vercel.CustomMonitorArgs{
Evaluation: &vercel.CustomMonitorEvaluationArgs{
Query: &vercel.CustomMonitorEvaluationQueryArgs{
Metrics: vercel.CustomMonitorEvaluationQueryMetricsMap{
"string": &vercel.CustomMonitorEvaluationQueryMetricsArgs{
Aggregation: pulumi.String("string"),
Metric: pulumi.String("string"),
Dimensions: pulumi.StringArray{
pulumi.String("string"),
},
Filter: pulumi.String("string"),
Normalize: pulumi.String("string"),
Per: pulumi.String("string"),
},
},
Outputs: pulumi.StringArray{
pulumi.String("string"),
},
Filter: pulumi.String("string"),
Formulas: pulumi.StringMap{
"string": pulumi.String("string"),
},
GroupBies: pulumi.StringArray{
pulumi.String("string"),
},
},
Window: pulumi.String("string"),
},
ProjectId: pulumi.String("string"),
Severity: pulumi.String("string"),
Trigger: &vercel.CustomMonitorTriggerArgs{
Output: pulumi.String("string"),
Type: pulumi.String("string"),
Minimum: &vercel.CustomMonitorTriggerMinimumArgs{
Output: pulumi.String("string"),
Threshold: pulumi.Float64(0),
},
Operator: pulumi.String("string"),
StandardDeviations: pulumi.Float64(0),
Threshold: pulumi.Float64(0),
},
InvestigationPrompt: pulumi.String("string"),
Name: pulumi.String("string"),
NotificationSettings: &vercel.CustomMonitorNotificationSettingsArgs{
EnableTeamOwnerNotifications: pulumi.Bool(false),
IncidentIoRoutingKey: pulumi.String("string"),
VercelNotificationsMinimumSeverityLevel: pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TeamId: pulumi.String("string"),
})
resource "vercel_custom_monitor" "customMonitorResource" {
lifecycle {
create_before_destroy = true
}
evaluation = {
query = {
metrics = {
"string" = {
aggregation = "string"
metric = "string"
dimensions = ["string"]
filter = "string"
normalize = "string"
per = "string"
}
}
outputs = ["string"]
filter = "string"
formulas = {
"string" = "string"
}
group_bies = ["string"]
}
window = "string"
}
project_id = "string"
severity = "string"
trigger = {
output = "string"
type = "string"
minimum = {
output = "string"
threshold = 0
}
operator = "string"
standard_deviations = 0
threshold = 0
}
investigation_prompt = "string"
name = "string"
notification_settings = {
enable_team_owner_notifications = false
incident_io_routing_key = "string"
vercel_notifications_minimum_severity_level = "string"
}
tags = ["string"]
team_id = "string"
}
var customMonitorResource = new CustomMonitor("customMonitorResource", CustomMonitorArgs.builder()
.evaluation(CustomMonitorEvaluationArgs.builder()
.query(CustomMonitorEvaluationQueryArgs.builder()
.metrics(Map.of("string", CustomMonitorEvaluationQueryMetricsArgs.builder()
.aggregation("string")
.metric("string")
.dimensions("string")
.filter("string")
.normalize("string")
.per("string")
.build()))
.outputs("string")
.filter("string")
.formulas(Map.of("string", "string"))
.groupBies("string")
.build())
.window("string")
.build())
.projectId("string")
.severity("string")
.trigger(CustomMonitorTriggerArgs.builder()
.output("string")
.type("string")
.minimum(CustomMonitorTriggerMinimumArgs.builder()
.output("string")
.threshold(0.0)
.build())
.operator("string")
.standardDeviations(0.0)
.threshold(0.0)
.build())
.investigationPrompt("string")
.name("string")
.notificationSettings(CustomMonitorNotificationSettingsArgs.builder()
.enableTeamOwnerNotifications(false)
.incidentIoRoutingKey("string")
.vercelNotificationsMinimumSeverityLevel("string")
.build())
.tags("string")
.teamId("string")
.build());
custom_monitor_resource = vercel.CustomMonitor("customMonitorResource",
evaluation={
"query": {
"metrics": {
"string": {
"aggregation": "string",
"metric": "string",
"dimensions": ["string"],
"filter": "string",
"normalize": "string",
"per": "string",
},
},
"outputs": ["string"],
"filter": "string",
"formulas": {
"string": "string",
},
"group_bies": ["string"],
},
"window": "string",
},
project_id="string",
severity="string",
trigger={
"output": "string",
"type": "string",
"minimum": {
"output": "string",
"threshold": float(0),
},
"operator": "string",
"standard_deviations": float(0),
"threshold": float(0),
},
investigation_prompt="string",
name="string",
notification_settings={
"enable_team_owner_notifications": False,
"incident_io_routing_key": "string",
"vercel_notifications_minimum_severity_level": "string",
},
tags=["string"],
team_id="string")
const customMonitorResource = new vercel.CustomMonitor("customMonitorResource", {
evaluation: {
query: {
metrics: {
string: {
aggregation: "string",
metric: "string",
dimensions: ["string"],
filter: "string",
normalize: "string",
per: "string",
},
},
outputs: ["string"],
filter: "string",
formulas: {
string: "string",
},
groupBies: ["string"],
},
window: "string",
},
projectId: "string",
severity: "string",
trigger: {
output: "string",
type: "string",
minimum: {
output: "string",
threshold: 0,
},
operator: "string",
standardDeviations: 0,
threshold: 0,
},
investigationPrompt: "string",
name: "string",
notificationSettings: {
enableTeamOwnerNotifications: false,
incidentIoRoutingKey: "string",
vercelNotificationsMinimumSeverityLevel: "string",
},
tags: ["string"],
teamId: "string",
});
type: vercel:CustomMonitor
properties:
evaluation:
query:
filter: string
formulas:
string: string
groupBies:
- string
metrics:
string:
aggregation: string
dimensions:
- string
filter: string
metric: string
normalize: string
per: string
outputs:
- string
window: string
investigationPrompt: string
name: string
notificationSettings:
enableTeamOwnerNotifications: false
incidentIoRoutingKey: string
vercelNotificationsMinimumSeverityLevel: string
projectId: string
severity: string
tags:
- string
teamId: string
trigger:
minimum:
output: string
threshold: 0
operator: string
output: string
standardDeviations: 0
threshold: 0
type: string
CustomMonitor 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 CustomMonitor resource accepts the following input properties:
- Evaluation
Pulumiverse.
Vercel. Inputs. Custom Monitor Evaluation - The metric query and evaluation window.
- Project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- Severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - Trigger
Pulumiverse.
Vercel. Inputs. Custom Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- Investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- Name string
- A human-readable name for the monitor.
- Notification
Settings Pulumiverse.Vercel. Inputs. Custom Monitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - List<string>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - Team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- Evaluation
Custom
Monitor Evaluation Args - The metric query and evaluation window.
- Project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- Severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - Trigger
Custom
Monitor Trigger Args - A fixed threshold or anomaly condition on the query output.
- Investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- Name string
- A human-readable name for the monitor.
- Notification
Settings CustomMonitor Notification Settings Args - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - []string
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - Team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- evaluation object
- The metric query and evaluation window.
- project_
id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - trigger object
- A fixed threshold or anomaly condition on the query output.
- investigation_
prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name string
- A human-readable name for the monitor.
- notification_
settings object - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - list(string)
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team_
id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- evaluation
Custom
Monitor Evaluation - The metric query and evaluation window.
- project
Id String - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity String
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - trigger
Custom
Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- investigation
Prompt String - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name String
- A human-readable name for the monitor.
- notification
Settings CustomMonitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - List<String>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id String - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- evaluation
Custom
Monitor Evaluation - The metric query and evaluation window.
- project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - trigger
Custom
Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name string
- A human-readable name for the monitor.
- notification
Settings CustomMonitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - string[]
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- evaluation
Custom
Monitor Evaluation Args - The metric query and evaluation window.
- project_
id str - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity str
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - trigger
Custom
Monitor Trigger Args - A fixed threshold or anomaly condition on the query output.
- investigation_
prompt str - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name str
- A human-readable name for the monitor.
- notification_
settings CustomMonitor Notification Settings Args - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - Sequence[str]
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team_
id str - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- evaluation Property Map
- The metric query and evaluation window.
- project
Id String - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity String
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - trigger Property Map
- A fixed threshold or anomaly condition on the query output.
- investigation
Prompt String - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name String
- A human-readable name for the monitor.
- notification
Settings Property Map - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - List<String>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id String - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
Outputs
All input properties are implicitly available as output properties. Additionally, the CustomMonitor resource produces the following output properties:
- created_
at number - Creation time as a Unix epoch timestamp in milliseconds.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at number - Last update time as a Unix epoch timestamp in milliseconds.
- created_
at int - Creation time as a Unix epoch timestamp in milliseconds.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at int - Last update time as a Unix epoch timestamp in milliseconds.
Look up Existing CustomMonitor Resource
Get an existing CustomMonitor 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?: CustomMonitorState, opts?: CustomResourceOptions): CustomMonitor@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_at: Optional[int] = None,
evaluation: Optional[CustomMonitorEvaluationArgs] = None,
investigation_prompt: Optional[str] = None,
name: Optional[str] = None,
notification_settings: Optional[CustomMonitorNotificationSettingsArgs] = None,
project_id: Optional[str] = None,
severity: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
team_id: Optional[str] = None,
trigger: Optional[CustomMonitorTriggerArgs] = None,
updated_at: Optional[int] = None) -> CustomMonitorfunc GetCustomMonitor(ctx *Context, name string, id IDInput, state *CustomMonitorState, opts ...ResourceOption) (*CustomMonitor, error)public static CustomMonitor Get(string name, Input<string> id, CustomMonitorState? state, CustomResourceOptions? opts = null)public static CustomMonitor get(String name, Output<String> id, CustomMonitorState state, CustomResourceOptions options)resources: existingCustomMonitor: type: vercel:CustomMonitor get: id: ${id}import {
to = vercel_custom_monitor.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state CustomMonitorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state CustomMonitorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state CustomMonitorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state CustomMonitorState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Created
At int - Creation time as a Unix epoch timestamp in milliseconds.
- Evaluation
Pulumiverse.
Vercel. Inputs. Custom Monitor Evaluation - The metric query and evaluation window.
- Investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- Name string
- A human-readable name for the monitor.
- Notification
Settings Pulumiverse.Vercel. Inputs. Custom Monitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - Project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- Severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - List<string>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - Team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- Trigger
Pulumiverse.
Vercel. Inputs. Custom Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- Updated
At int - Last update time as a Unix epoch timestamp in milliseconds.
- Created
At int - Creation time as a Unix epoch timestamp in milliseconds.
- Evaluation
Custom
Monitor Evaluation Args - The metric query and evaluation window.
- Investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- Name string
- A human-readable name for the monitor.
- Notification
Settings CustomMonitor Notification Settings Args - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - Project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- Severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - []string
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - Team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- Trigger
Custom
Monitor Trigger Args - A fixed threshold or anomaly condition on the query output.
- Updated
At int - Last update time as a Unix epoch timestamp in milliseconds.
- created_
at number - Creation time as a Unix epoch timestamp in milliseconds.
- evaluation object
- The metric query and evaluation window.
- investigation_
prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name string
- A human-readable name for the monitor.
- notification_
settings object - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - project_
id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - list(string)
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team_
id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- trigger object
- A fixed threshold or anomaly condition on the query output.
- updated_
at number - Last update time as a Unix epoch timestamp in milliseconds.
- created
At Integer - Creation time as a Unix epoch timestamp in milliseconds.
- evaluation
Custom
Monitor Evaluation - The metric query and evaluation window.
- investigation
Prompt String - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name String
- A human-readable name for the monitor.
- notification
Settings CustomMonitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - project
Id String - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity String
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - List<String>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id String - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- trigger
Custom
Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- updated
At Integer - Last update time as a Unix epoch timestamp in milliseconds.
- created
At number - Creation time as a Unix epoch timestamp in milliseconds.
- evaluation
Custom
Monitor Evaluation - The metric query and evaluation window.
- investigation
Prompt string - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name string
- A human-readable name for the monitor.
- notification
Settings CustomMonitor Notification Settings - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - project
Id string - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity string
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - string[]
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id string - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- trigger
Custom
Monitor Trigger - A fixed threshold or anomaly condition on the query output.
- updated
At number - Last update time as a Unix epoch timestamp in milliseconds.
- created_
at int - Creation time as a Unix epoch timestamp in milliseconds.
- evaluation
Custom
Monitor Evaluation Args - The metric query and evaluation window.
- investigation_
prompt str - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name str
- A human-readable name for the monitor.
- notification_
settings CustomMonitor Notification Settings Args - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - project_
id str - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity str
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - Sequence[str]
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team_
id str - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- trigger
Custom
Monitor Trigger Args - A fixed threshold or anomaly condition on the query output.
- updated_
at int - Last update time as a Unix epoch timestamp in milliseconds.
- created
At Number - Creation time as a Unix epoch timestamp in milliseconds.
- evaluation Property Map
- The metric query and evaluation window.
- investigation
Prompt String - Optional guidance stored for agent investigations. The API currently stores this prompt without passing it to the investigation workflow. Removing it clears the stored prompt.
- name String
- A human-readable name for the monitor.
- notification
Settings Property Map - Notification delivery settings stored on the monitor. Notification destination links are managed with the
vercel.MonitorSlackNotificationandvercel.MonitorWebhookNotificationresources. - project
Id String - The project evaluated by this custom monitor. Creating a monitor or changing its query requires Observability Plus on this project.
- severity String
- Severity assigned when the monitor triggers:
low,medium, orhigh. Critical severity is assigned only by a completed agent investigation. - List<String>
- Up to 10 unique tags used to organize the monitor. The provider adds
terraform-provider-vercelwhen fewer than 10 user tags are configured. The provider-owned tag is hidden from Terraform state unless configured explicitly. Removing all user tags leaves only the provider-owned tag on the monitor. - team
Id String - The ID of the team that owns the monitor. Required if a default team is not configured in the provider.
- trigger Property Map
- A fixed threshold or anomaly condition on the query output.
- updated
At Number - Last update time as a Unix epoch timestamp in milliseconds.
Supporting Types
CustomMonitorEvaluation, CustomMonitorEvaluationArgs
- Query
Pulumiverse.
Vercel. Inputs. Custom Monitor Evaluation Query - The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - Window string
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
- Query
Custom
Monitor Evaluation Query - The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - Window string
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
- query
Custom
Monitor Evaluation Query - The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - window String
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
- query
Custom
Monitor Evaluation Query - The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - window string
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
- query
Custom
Monitor Evaluation Query - The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - window str
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
- query Property Map
- The structured Alerts v3 query. Use one metric without formulas, or two metrics with a division formula named
formula. Discover supported metrics withvc metrics schema <metric-or-prefix>. - window String
- Aggregation granularity and detection cadence:
5m,15m,1h, or1d.
CustomMonitorEvaluationQuery, CustomMonitorEvaluationQueryArgs
- Metrics
Dictionary<string, Pulumiverse.
Vercel. Inputs. Custom Monitor Evaluation Query Metrics> - One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - Outputs List<string>
- Exactly one output: the sole metric alias, or
formulafor a ratio. - Filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- Formulas Dictionary<string, string>
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - Group
Bies List<string> - Optional grouping dimension. Exactly one dimension is supported.
- Metrics
map[string]Custom
Monitor Evaluation Query Metrics - One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - Outputs []string
- Exactly one output: the sole metric alias, or
formulafor a ratio. - Filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- Formulas map[string]string
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - Group
Bies []string - Optional grouping dimension. Exactly one dimension is supported.
- metrics map(object)
- One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - outputs list(string)
- Exactly one output: the sole metric alias, or
formulafor a ratio. - filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- formulas map(string)
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - group_
bies list(string) - Optional grouping dimension. Exactly one dimension is supported.
- metrics
Map<String,Custom
Monitor Evaluation Query Metrics> - One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - outputs List<String>
- Exactly one output: the sole metric alias, or
formulafor a ratio. - filter String
- KQL filter. Syntax and metric dimensions are validated by the API.
- formulas Map<String,String>
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - group
Bies List<String> - Optional grouping dimension. Exactly one dimension is supported.
- metrics
{[key: string]: Custom
Monitor Evaluation Query Metrics} - One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - outputs string[]
- Exactly one output: the sole metric alias, or
formulafor a ratio. - filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- formulas {[key: string]: string}
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - group
Bies string[] - Optional grouping dimension. Exactly one dimension is supported.
- metrics
Mapping[str, Custom
Monitor Evaluation Query Metrics] - One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - outputs Sequence[str]
- Exactly one output: the sole metric alias, or
formulafor a ratio. - filter str
- KQL filter. Syntax and metric dimensions are validated by the API.
- formulas Mapping[str, str]
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - group_
bies Sequence[str] - Optional grouping dimension. Exactly one dimension is supported.
- metrics Map<Property Map>
- One or two metric selections keyed by caller-chosen aliases. The alias
formulais reserved. - outputs List<String>
- Exactly one output: the sole metric alias, or
formulafor a ratio. - filter String
- KQL filter. Syntax and metric dimensions are validated by the API.
- formulas Map<String>
- Optional division formula, keyed by
formula, referencing the two metric aliases, for exampleerrors / requests. - group
Bies List<String> - Optional grouping dimension. Exactly one dimension is supported.
CustomMonitorEvaluationQueryMetrics, CustomMonitorEvaluationQueryMetricsArgs
- Aggregation string
- Metric aggregation. Supported combinations depend on the metric.
- Metric string
- Semantic metric ID or custom metric name. Availability is validated by the API.
- Dimensions List<string>
- Dimensions required by the unique aggregation.
- Filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- Normalize string
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - Per string
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- Aggregation string
- Metric aggregation. Supported combinations depend on the metric.
- Metric string
- Semantic metric ID or custom metric name. Availability is validated by the API.
- Dimensions []string
- Dimensions required by the unique aggregation.
- Filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- Normalize string
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - Per string
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- aggregation string
- Metric aggregation. Supported combinations depend on the metric.
- metric string
- Semantic metric ID or custom metric name. Availability is validated by the API.
- dimensions list(string)
- Dimensions required by the unique aggregation.
- filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- normalize string
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - per string
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- aggregation String
- Metric aggregation. Supported combinations depend on the metric.
- metric String
- Semantic metric ID or custom metric name. Availability is validated by the API.
- dimensions List<String>
- Dimensions required by the unique aggregation.
- filter String
- KQL filter. Syntax and metric dimensions are validated by the API.
- normalize String
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - per String
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- aggregation string
- Metric aggregation. Supported combinations depend on the metric.
- metric string
- Semantic metric ID or custom metric name. Availability is validated by the API.
- dimensions string[]
- Dimensions required by the unique aggregation.
- filter string
- KQL filter. Syntax and metric dimensions are validated by the API.
- normalize string
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - per string
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- aggregation str
- Metric aggregation. Supported combinations depend on the metric.
- metric str
- Semantic metric ID or custom metric name. Availability is validated by the API.
- dimensions Sequence[str]
- Dimensions required by the unique aggregation.
- filter str
- KQL filter. Syntax and metric dimensions are validated by the API.
- normalize str
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - per str
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
- aggregation String
- Metric aggregation. Supported combinations depend on the metric.
- metric String
- Semantic metric ID or custom metric name. Availability is validated by the API.
- dimensions List<String>
- Dimensions required by the unique aggregation.
- filter String
- KQL filter. Syntax and metric dimensions are validated by the API.
- normalize String
- Set to
percentfor percentage normalization. Only supported for count or sum; cannot be combined with per. - per String
- Set to
secondfor a per-second rate. Only supported for count or sum; cannot be combined with normalize.
CustomMonitorNotificationSettings, CustomMonitorNotificationSettingsArgs
- Enable
Team boolOwner Notifications - Incident
Io stringRouting Key - Vercel
Notifications stringMinimum Severity Level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- Enable
Team boolOwner Notifications - Incident
Io stringRouting Key - Vercel
Notifications stringMinimum Severity Level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- enable_
team_ boolowner_ notifications - incident_
io_ stringrouting_ key - vercel_
notifications_ stringminimum_ severity_ level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- enable
Team BooleanOwner Notifications - incident
Io StringRouting Key - vercel
Notifications StringMinimum Severity Level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- enable
Team booleanOwner Notifications - incident
Io stringRouting Key - vercel
Notifications stringMinimum Severity Level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- enable_
team_ boolowner_ notifications - incident_
io_ strrouting_ key - vercel_
notifications_ strminimum_ severity_ level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
- enable
Team BooleanOwner Notifications - incident
Io StringRouting Key - vercel
Notifications StringMinimum Severity Level - Set to
criticalto send Vercel notifications only for alerts classified as Critical. Omit to send Vercel notifications for every severity.
CustomMonitorTrigger, CustomMonitorTriggerArgs
- Output string
- The query's single output alias.
- Type string
- The condition type:
thresholdoranomaly. - Minimum
Pulumiverse.
Vercel. Inputs. Custom Monitor Trigger Minimum - Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - Operator string
- Required for threshold triggers; omitted for anomaly triggers.
- Standard
Deviations double - Required anomaly threshold in standard deviations, at least 0.1.
- Threshold double
- Required numeric threshold for threshold triggers. Zero is supported.
- Output string
- The query's single output alias.
- Type string
- The condition type:
thresholdoranomaly. - Minimum
Custom
Monitor Trigger Minimum - Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - Operator string
- Required for threshold triggers; omitted for anomaly triggers.
- Standard
Deviations float64 - Required anomaly threshold in standard deviations, at least 0.1.
- Threshold float64
- Required numeric threshold for threshold triggers. Zero is supported.
- output string
- The query's single output alias.
- type string
- The condition type:
thresholdoranomaly. - minimum object
- Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - operator string
- Required for threshold triggers; omitted for anomaly triggers.
- standard_
deviations number - Required anomaly threshold in standard deviations, at least 0.1.
- threshold number
- Required numeric threshold for threshold triggers. Zero is supported.
- output String
- The query's single output alias.
- type String
- The condition type:
thresholdoranomaly. - minimum
Custom
Monitor Trigger Minimum - Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - operator String
- Required for threshold triggers; omitted for anomaly triggers.
- standard
Deviations Double - Required anomaly threshold in standard deviations, at least 0.1.
- threshold Double
- Required numeric threshold for threshold triggers. Zero is supported.
- output string
- The query's single output alias.
- type string
- The condition type:
thresholdoranomaly. - minimum
Custom
Monitor Trigger Minimum - Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - operator string
- Required for threshold triggers; omitted for anomaly triggers.
- standard
Deviations number - Required anomaly threshold in standard deviations, at least 0.1.
- threshold number
- Required numeric threshold for threshold triggers. Zero is supported.
- output str
- The query's single output alias.
- type str
- The condition type:
thresholdoranomaly. - minimum
Custom
Monitor Trigger Minimum - Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - operator str
- Required for threshold triggers; omitted for anomaly triggers.
- standard_
deviations float - Required anomaly threshold in standard deviations, at least 0.1.
- threshold float
- Required numeric threshold for threshold triggers. Zero is supported.
- output String
- The query's single output alias.
- type String
- The condition type:
thresholdoranomaly. - minimum Property Map
- Optional evaluation floor. Allowed for anomalies or ratio thresholds using
gtorgte. - operator String
- Required for threshold triggers; omitted for anomaly triggers.
- standard
Deviations Number - Required anomaly threshold in standard deviations, at least 0.1.
- threshold Number
- Required numeric threshold for threshold triggers. Zero is supported.
CustomMonitorTriggerMinimum, CustomMonitorTriggerMinimumArgs
Import
Include the team ID, or omit it when the provider has a default team.
$ pulumi import vercel:index/customMonitor:CustomMonitor checkout_errors team_123/ar_123
$ pulumi import vercel:index/customMonitor:CustomMonitor checkout_errors ar_123
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- vercel pulumiverse/pulumi-vercel
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vercelTerraform Provider.
published on Sunday, Nov 15, 2026 by Pulumiverse