今すぐ始める
Sentry Tools

Sentry Create Organization Alert Rule

Aident Loadout を通じて Sentry Tools の Sentry Create Organization Alert Rule を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 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.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • namestring
    必須
    The name for the alert rule. Maximum length of 256 characters.
  • ownerstring
    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>'.
  • querystring
    必須
    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.
  • datasetstring
    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.
  • projectsarray
    必須
    A list of project slugs to filter by. For metric alerts, this list is typically limited to containing a single project slug.
  • triggersarray
    必須
    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…
  • aggregatestring
    必須
    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…
  • queryTypeinteger
    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…
  • eventTypesarray
    A list of event types this alert will relate to. Valid values are `default` (for events captured via Capture Message), `error`, and `transaction`.
  • timeWindowinteger
    必須
    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).
  • environmentstring
    The name of the environment to filter by. If None or omitted, the alert rule applies to all environments.
  • monitorTypeinteger
    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.

確認できる出力

  • data
    必須
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必須
    Whether or not the action execution was successful or not

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース