Sentry Tools
Sentry Create Organization Alert Rule
通过 Aident Loadout 使用 Sentry Tools 的 Sentry Create Organization Alert Rule。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
Creates a Sentry metric alert rule for an organization, mandating a 'critical' trigger, typically for a single project, where actions may require Sentry integrations.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- The name for the alert rule. Maximum length of 256 characters.namestring必填
- The ID of the Sentry team or user that owns this alert rule. Can be a numeric ID or a string in the format 'team:<team_id>' or 'user:<user_id>'.ownerstring
- An event search query to filter events for the alert. For example, to include only transactions with status code 400, use `http.status_code:400`. Use an empty string for no filter.querystring必填
- The Sentry dataset this query will execute on. Valid values include `events`, `transactions`, `metrics`, `sessions`, and `generic-metrics`. Defaults to `events` if not specified. Refer to Sentry's [Metric Alert Rule Types] documentation for valid configurations.datasetstring
- A list of project slugs to filter by. For metric alerts, this list is typically limited to containing a single project slug.projectsarray必填
- List of trigger configurations. Each trigger must specify `label` ('critical' or 'warning'; 'critical' is mandatory), `alertThreshold` (numeric value to trigger), and `actions`. Each action specifies `type` (e.g., 'email', 'slack', 'msteams', 'pagerduty', 'sentry_app', 'sentry_n…triggersarray必填
- The aggregate function used in this alert rule. Valid functions include `count`, `count_unique`, `percentage`, `avg`, `apdex`, `failure_rate`, `p50`, `p75`, `p95`, `p99`, `p100`, and `percentile`. Refer to Sentry's [Metric Alert Rule Types] documentation for valid configurations…aggregatestring必填
- The type of query. If no value is provided, `queryType` defaults based on the specified `dataset`. Supported values: `0` (Error events: event.type:error), `1` (Transaction events: event.type:transaction), `2` (None: for datasets like metrics that don't use this). See Sentry's [M…queryTypeinteger
- A list of event types this alert will relate to. Valid values are `default` (for events captured via Capture Message), `error`, and `transaction`.eventTypesarray
- The time period in minutes to aggregate over. Supported values: `1` (1 minute), `5` (5 minutes), `10` (10 minutes), `15` (15 minutes), `30` (30 minutes), `60` (1 hour), `120` (2 hours), `240` (4 hours), `1440` (24 hours).timeWindowinteger必填
- The name of the environment to filter by. If None or omitted, the alert rule applies to all environments.environmentstring
- Integer representing the monitor type. This determines if the alert rule is actively monitored or monitored based on a specific activation condition. Consult Sentry documentation for specific values and their meanings.monitorTypeinteger
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。