---
extractors:
  component: "{{ with .JiraWebhookEvent.Issue.Fields.Components }}{{ (index . 0).Name }}{{ end }}"
  project: "{{ .JiraWebhookEvent.Issue.Fields.Project.Key }}"
  priority: "{{ .JiraWebhookEvent.Issue.Fields.Priority.Name }}"
  type: "{{ .JiraWebhookEvent.Issue.Fields.Type.Name }}"
  webhook_event: "{{ .JiraWebhookEvent.WebhookEvent }}"
  changed_fields: "{{range .JiraWebhookEvent.Changelog.Items}}<{{.Field}}>{{end}}"
  summary: "{{ .JiraWebhookEvent.Issue.Fields.Summary }}"
  # MIGRATE RELATED
  alert_required: "{{ with .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10223 }}{{ .value }}{{ end }}"
  alarm: "{{ with .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10150 }}{{ .value }}{{ end }}"
  account_code: "{{ .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10217 }}"
  visibility: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.visibility }}"
  status_cat: "{{ .JiraWebhookEvent.Issue.Fields.Status.StatusCategory.Key }}"
  provider_type: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.provider_type }}"
  o11y_biz_type: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.o11y_biz_type }}"
  oncall_team: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.oncall_team }}"
  tenant_id: "{{ .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10157 }}"
  cluster_id: "{{ .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10149 }}"
  alertname: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.alertname }}"
  kind: "{{ .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10159 }}"
  cluster_name: "{{ .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10162 }}"
  stability_governance: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.stability_governance }}"
  daytime: "{{if isDayTime}}day{{else}}night{{end}}"
  changed_from: "{{range .JiraWebhookEvent.Changelog.Items}}<{{.FromString}}>{{end}}"
  changed_to: "{{range .JiraWebhookEvent.Changelog.Items}}<{{.ToString}}>{{end}}"
  tier: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.tier }}"
  o11y_region: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.o11y_region }}"
  regions: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.regions }}"
  controller:   "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.controller }}"
  intent:   "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.intent }}"
  job: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.job }}"
  container: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.container }}"
  forwardRule: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.forwardRule }}"
  tidbcloud_org_asset: "{{ with .JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10110 }}{{ (index . 0).objectId }}{{ end }}"
  o11y_project_id: "{{ (.JiraWebhookEvent.Issue.Fields.Unknowns.customfield_10160 | tryUnmarshalJson).labels.o11y_project_id }}"
routes:
  # - receiver: oncall-assign
  #   continue: true
  #   match:
  #     project: ^GTOC$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <status>
  #     changed_to: <ESCALATE TO L3>
  - receiver: oncall-urgent
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <assignee>
      priority: ^(P0|P1)$
      "!alert_required": ^No$
      "!alarm": ^No$
      "!status_cat": "done"
  - receiver: oncall
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <assignee>
      "!priority": ^(P0|P1)$
      "!status_cat": "done"
  - receiver: oncall
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <assignee>
      priority: ^(P0|P1)$
      alert_required: ^No$
      "!status_cat": "done"
  - receiver: oncall
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <assignee>
      priority: ^(P0|P1)$
      alarm: ^No$
      "!status_cat": "done"
  # - receiver: l2-assign
  #   continue: true
  #   match:
  #     changed_from: Undefined
  #     project: ^GTOC$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <priority>
  #     # TiDB, TiDB Compute, DDL, Performance Tuning, TiFlash, TiDB Optimizer, TiDB SQL, TiSpark, TiKV, PD, TiDB Transaction, DR-autosync
  #     # TiDB Lightning, Cloud Import, TiKV BR, TiKV CDC, BR, Cloud DM, Dumpling, sync-diff-inspector, TiCDC, TiDB Binlog, DM, Import/Export, Backup/Restore, Data Migration
  #     component: ^(TiDB|TiDB Compute|DDL|Performance Tuning|TiFlash|TiDB Optimizer|TiDB SQL|TiSpark|TiKV|PD|TiDB Transaction|DR-autosync|TiDB Lightning|Cloud Import|TiKV BR|TiKV CDC|BR|Cloud DM|Dumpling|sync-diff-inspector|TiCDC|TiDB Binlog|DM|Import/Export|Backup/Restore|Data Migration)$
  #     "!priority": ^(P0|P1)$
  # - receiver: l2-assign-direct-l3
  #   continue: true
  #   match:
  #     changed_from: Undefined
  #     project: ^GTOC$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <priority>
  #     "!component": ^(TiDB|TiDB Compute|DDL|Performance Tuning|TiFlash|TiDB Optimizer|TiDB SQL|TiSpark|TiKV|PD|TiDB Transaction|DR-autosync|TiDB Lightning|Cloud Import|TiKV BR|TiKV CDC|BR|Cloud DM|Dumpling|sync-diff-inspector|TiCDC|TiDB Binlog|DM|Import/Export|Backup/Restore|Data Migration)$
  #     "!priority": ^(P0|P1)$
  # - receiver: l2-assign-direct-l3
  #   continue: true
  #   match:
  #     project: ^GTOC$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <priority>
  #     priority: ^(P0|P1)$
  - receiver: l2-notify
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <L2 assignee>
      "!priority": ^(P0|P1)$
  - receiver: l2-urgent-notify
    continue: true
    match:
      project: ^(TCOC|GTOC)$
      webhook_event: jira:issue_updated
      changed_fields: <L2 assignee>
      priority: ^(P0|P1)$
  # - receiver: devhivery
  #   continue: true
  #   match:
  #     project: ^(ONCALL|GTOC)$
  #     webhook_event: jira:issue_created
  #     account_code: "^IBG-B-20220208-000555$"
  #     "!status_cat": "done"
  # - receiver: devhivery
  #   continue: true
  #   match:
  #     project: ^(ONCALL|GTOC)$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <priority>
  #     account_code: "^IBG-B-20220208-000555$"
  #     "!status_cat": "done"
  - receiver: cloudfb
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!kind": ^(Internal|internal)$
      "!visibility": ^external$
      "!tenant_id": ^(1372813089205701281|1372813089209262418|1372813089209272198|1372813089209262418)$
      "!summary": ^TEST
      "!tier": ^next-gen$
  - receiver: cloudfb
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!kind": ^(Internal|internal)$
      "!visibility": ^external$
      "!summary": ^TEST
      component: ^(cluster-ng-service|ng-auto-scaler)$
      "!tenant_id": ^(1372813089209241232|1372813089209272198|1372813089209262418)$
  - receiver: cloudfb
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!visibility": ^external$
      "!tenant_id": ^(1372813089205701281|1372813089209241232|1372813089209256793|1372813089209271775|1372813089209281154|1372813089209272198|1372813089209262418)$
      "!kind" : ^(Internal|internal)$
      "!summary": ^TEST
      tier: ^next-gen$
      "!component": ^(cluster-ng-service|ng-auto-scaler)$
  - receiver: cloudfb-leader
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!kind": ^(Internal|internal)$
      "!visibility": ^external$
      "!tenant_id": "1372813089205701281"
      "!summary": ^TEST
  - receiver: cloudfb-major-or-external-TiDBOutOfMemory
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Major
      "!summary": KubePersistentVolumeFillingUp$
      "!visibility": ^external$
      "!tenant_id": "1372813089205701281"
  - receiver: cloudfb-major-or-external-TiDBOutOfMemory
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      visibility: ^external$
      alertname: ^(TiDBOutOfMemory|TiDBQueryUnexpectedlyFailed)$
      "!tenant_id": "1372813089205701281"
  # - receiver: cloudfb-major-or-external-TiDBOutOfMemory
  #   continue: true
  #   match:
  #     project: ^(TCA|O11Y)$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     priority: Critical
  #     kind: ^internal$
  #     "!tenant_id": "1372813089205701281"
  - receiver: cloudfb-major-or-external-TiDBOutOfMemory
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      forwardRule: ^internal_major$
  # - receiver: cloudfb-major-or-external-TiDBOutOfMemory
  #   continue: true
  #   match:
  #     project: ^(TCA|O11Y)$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     priority: ^(Major|Critical)$
  #     tier: ^next-gen$
  - receiver: alertcc-major
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Major
      "!summary": (PerformanceDegradeRisk|ENA_PPS_Allowance_Exceeded|ENA_Conntrack_Allowance_Exceeded|PerformanceDegradeRiskForWetech|PerformanceJitterRiskForWetech|TiFlashPerformanceJitterRiskForWetech|NetworkLagIncreaseForWetech)$
      "!tenant_id": "1372813089205701281"
  - receiver: alertcc-major
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!summary": (PerformanceDegradeRisk|ENA_PPS_Allowance_Exceeded|ENA_Conntrack_Allowance_Exceeded|PerformanceDegradeRiskForWetech|PerformanceJitterRiskForWetech|TiFlashPerformanceJitterRiskForWetech)$
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      "!tenant_id": "1372813089205701281"
  - receiver: cloudfb-major-tse
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Major
      summary: KubePersistentVolumeFillingUp$
      "!visibility": ^external$
      "!tenant_id": "1372813089205701281"
  - receiver: dataservice-prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      component: ^dataservice$
  - receiver: account-prod
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      component: ^account-server$
  - receiver: billing-prod
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      component: ^(billing-server)$
  - receiver: auto-prod
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(metering-server|observability-global-server|observability-regional-server|o11y|vmagent|loki|thanos|metrics-server|alertmanager|ngmonitoring|chaos-svc|chaos-provider)$
  - receiver: auto-staging-dev
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Warning
      component: ^(metering-server|observability-global-server|observability-regional-server|o11y|vmagent|loki|thanos|metrics-server|alertmanager|ngmonitoring|chaos-svc|chaos-provider)$
  - receiver: serverless-prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      provider_type: ^aws-free-tier$
      "!visibility": ^external$
  - receiver: serverless-prod
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      o11y_biz_type: ^prod-devtier$
      "!visibility": ^external$
  - receiver: serverless-prod
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^serverless-svc$
      "!visibility": ^external$
  - receiver: serverless-prod-warning
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Warning
      provider_type: ^aws-free-tier$
      "!o11y_project_id": us-east-1-f04
  - receiver: serverless-prod-warning
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Warning
      o11y_biz_type: ^(prod-devtier|serverless-svc)$
      "!o11y_project_id": us-east-1-f04
  - receiver: drill
    continue: true
    match:
      project: ^(O11Y|O11YSTAG|O11YDEV)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      tenant_id: ^(1369847559691367290|1369847559691367400)$
  - receiver: drill
    continue: true
    match:
      project: ^(O11Y|O11YSTAG|O11YDEV)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      cluster_id: ^(1373933076658121634|1373933076658150601)$
  - receiver: dm-update
    continue: true
    match:
      project: ^DM$
      webhook_event: jira:issue_update
      changed_fields: <Fix Version>
  - receiver: generate-report
    continue: true
    match:
      project: ^TCOC$
      webhook_event: jira:issue_created
      priority: ^(P0|P1|P2|P3|P4)$
      "!alert_required": ^No$
      "!alarm": ^No$
      "!status_cat": "done"
  - receiver: generate-report
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      alertname: ^(TotalTiDBMemoryUsageTooHigh|TotalTiKVMemoryUsageTooHigh|TotalTiFlashMemoryUsageTooHigh|TotalTiDBCPUUsageTooHigh|TotalTiKVCPUUsageTooHigh|TotalTiFlashCPUUsageTooHigh)$
  - receiver: backfill
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
  - receiver: backfill
    continue: true
    match:
      project: ^TCOC$
      webhook_event: jira:issue_created
      priority: ^(P0|P1|P2|P3|P4)$
      "!alert_required": ^No$
      "!status_cat": "done"
  # - receiver: oss-tcoc-or-o11y
  #   continue: true
  #   match:
  #     project: ^TCOC$
  #     webhook_event: jira:issue_created
  #     cluster_id: ^1379661944632784068$
  #     "!status_cat": "done"
  - receiver: oss-tcoc-or-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944632784068$
      type: ^Task$
      priority: Critical|Major
  # - receiver: certik-tcoc-or-o11y
  #   continue: true
  #   match:
  #     project: ^TCOC$
  #     webhook_event: jira:issue_created
  #     cluster_id: ^1379661944636804070$
  #     "!status_cat": "done"
  - receiver: certik-tcoc-or-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944636804070$
      type: ^Task$
      priority: Critical|Major|Warning
  # - receiver: tidb_x_oncall_internal_alert
  #   continue: true
  #   match:
  #     project: ^(O11Y|ONCALL|TCOC|GTOC)$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     priority: Critical|Major
  #     component: ^(lightning|data-migration|tcidm-regional|import-controller|br|dataflow-server)$
  #     "!visibility": ^external$
  - receiver: tidb_x_oncall_internal_alert
    continue: true
    match:
      project: ^(O11Y|ONCALL)$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(lightning|data-migration|tcidm-regional|import-controller|br|dataflow-server)$
      "!visibility": ^external$
  - receiver: aipower-prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^aipower$
  # - receiver: prod-br
  #   continue: true
  #   match:
  #     project: ^O11Y$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     component: ^(br|dataflow-server)$
  #     priority: Critical|Major
  - receiver: dataflow-prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^(dataflow-server|dataflow-service|dataflow-worker)$
      priority: Critical|Major
  - receiver: dataflow-prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Sub-task$
      component: ^dataflow-service$
      priority: Critical|Major
  - receiver: prod-cdc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^ticdc$
      priority: Critical|Major
      "!visibility": ^external$
  - receiver: square-tcoc-or-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944643164294$
      type: ^Task$
      priority: Critical|Major
  - receiver: capcom-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^(1379661944606684065|1379661944606654067)$
      type: ^Task$
      priority: Critical|Major
  - receiver: toppan-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944631494089$
      type: ^Task$
      priority: Critical|Major
  - receiver: istyle-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944632844070$
      type: ^Task$
      priority: Critical|Major
  - receiver: mercari-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^(1379661944642534133|1379661944635724066|1379661944635664065)$
      type: ^Task$
      priority: Critical|Major
  - receiver: ctw-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^(1379661944638454106|1379661944633234085|1379661944594744066)$
      type: ^Task$
      priority: Critical|Major
  - receiver: elestyle-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^(1379661944636084123|1379661944635814075)$
      type: ^Task$
      priority: Critical|Major
  - receiver: cpa-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944638574071$
      type: ^Task$
      priority: Critical|Major
  - receiver: plaid-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944644454108$
      type: ^Task$
      priority: Critical|Major
  - receiver: colopl-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^(1379661944629154076|1379661944593934067|1379661944581754072)$
      type: ^Task$
      priority: Critical|Major
  - receiver: micoworks-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944644514084$
      type: ^Task$
      priority: Critical|Major
  - receiver: sla-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^(opsportal|sli)$
  - receiver: sla-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      summary: DedicatedTierSLABreak$
  # - receiver: nftscan-tcoc-or-o11y
  #   continue: true
  #   match:
  #     project: ^TCOC$
  #     webhook_event: jira:issue_created
  #     cluster_id: ^1379661944629574082$
  #     "!status_cat": "done"
  - receiver: nftscan-tcoc-or-o11y
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      cluster_id: ^1379661944629574082$
      type: ^Task$
      priority: Critical|Major|Warning
  - receiver: tidb-management-service-cc
    continue: true
    match:
      project: ^(O11Y|O11YDEV|O11YSTAG)$
      webhook_event: jira:issue_created
      priority: Critical
      type: ^Task$
      component: ^(tidb-management-service|gitops|api-gateway)$
      "!job": dedicated-global-service
  - receiver: tidb-management-service-major-cc
    continue: true
    match:
      project: ^(O11Y|O11YDEV|O11YSTAG)$
      webhook_event: jira:issue_created
      priority: Major
      type: ^Task$
      component: ^(tidb-management-service|gitops|api-gateway)$
      "!job": dedicated-global-service
  # - receiver: wetech-tcoc-or-o11y-external
  #   continue: true
  #   match:
  #     project: ^TCOC$
  #     webhook_event: jira:issue_created
  #     "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc)$
  #     cluster_id: ^(1379661944646412573|1379661944646412567|1379661944646409234|1379661944646409222|1379661944646412844)$
  #     "!status_cat": "done"
  - receiver: wetech-tcoc-or-o11y-external-test
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc)$
      tenant_id: ^1372813089209061633$
      "!summary": (PerformanceDegradeRisk|ENA_PPS_Allowance_Exceeded|ENA_Conntrack_Allowance_Exceeded|PerformanceDegradeRiskForWetech|PerformanceJitterRiskForWetech|TiFlashPerformanceJitterRiskForWetech|NetworkLagIncreaseForWetech|TiKVSlowScoreTooHigh|DiskReadLatencyTooHighForWetech|DiskWriteLatencyTooHighForWetech)$
      type: ^Task$
      priority: Critical|Major
      cluster_name: .*test.*
      "!visibility": ^external$
  - receiver: wetech-tcoc-or-o11y-external
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc)$
      tenant_id: ^1372813089209061633$
      "!summary": (PerformanceDegradeRisk|ENA_PPS_Allowance_Exceeded|ENA_Conntrack_Allowance_Exceeded|PerformanceDegradeRiskForWetech|PerformanceJitterRiskForWetech|TiFlashPerformanceJitterRiskForWetech|NetworkLagIncreaseForWetech|TiKVSlowScoreTooHigh|DiskReadLatencyTooHighForWetech|DiskWriteLatencyTooHighForWetech)$
      type: ^Task$
      priority: Critical|Major
      "!cluster_name": .*test.*
      "!visibility": ^external$
  - receiver: pixl8-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      tenant_id: ^1372813089209265184$
  - receiver: shopline-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      tenant_id: ^(1372813089198261287|1372813089208821887)$
  - receiver: bcbga-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^(1372813089209214865|1372813089209257781|1372813089196937701)$
  - receiver: yyds-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      tenant_id: ^1372813089209223465$
  - receiver: snocko-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209216946$
  - receiver: pionex-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209213994$
  - receiver: jiamin-cc
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      tenant_id: ^(1372813089204711289|1372813089188151296|1372813089208281359)$
  - receiver: clinic-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^clinic$
  - receiver: bluewhale-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089196955543$
  - receiver: ponyft-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209234440$
  - receiver: shoplazza-internal-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      summary: ShoplazzaKVRequestMoreThan1S
      tenant_id: ^1372813089191661281$
  - receiver: catalyst-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089188151296$
  - receiver: bingo-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^1372813089209238420$
  - receiver: bingo-cc-important
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^(1372813089209238420|1372813089209289635)$
  - receiver: bingo-cc-important
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      summary: (TiDBAvgKVRequestLatencyTooLong|TiFlashStorageUsageTooHigh|TiKVStorageUsageTooHigh|TotalTiDBCPUUsageTooHigh|TotalTiKVCPUUsageTooHigh|TotalTiFlashCPUUsageTooHigh|MaxTiDBCPUUsageTooHigh|MaxTiKVCPUUsageTooHigh|DiskReadLatencyTooHigh|TiCDCCheckpointHighDelay|OOM)$
      "!tier": ^(next-gen|serverless)$
      tenant_id: ^(1372813089209238420|1372813089209289635)$
  - receiver: emea_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      regions: ^emea$
  - receiver: drive9_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      oncall_team: ^drive9$
  - receiver: resilience_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: ^(Critical|Major)$
      oncall_team: ^(resilience|fb_perf)$
  - receiver: tagasiagame_external
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^1372813089209292464$
  - receiver: bingo-cc-internal
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      summary: (DiskReadLatencyTooHigh|DiskWriteLatencyTooHigh)$
      tenant_id: ^1372813089209238420$
  - receiver: supterstudio-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209031895$
  # - receiver: azure-cc
  #   continue: true
  #   match:
  #     project: ^O11Y$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     priority: Critical
  #     tenant_id: ^(1372813089196161284|1372813089187791289|1372813089194211283|1372813089209245573)$
  - receiver: dyna-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209225940$
  - receiver: ivi-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209243637$
      visibility: ^external$
  - receiver: cloud-finops-system-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^cloud-finops-system$
  # - receiver: wetech-cc-hou
  #   continue: true
  #   match:
  #     project: ^O11Y$
  #     webhook_event: jira:issue_created
  #     component: ^(tidb|resilience|tikv)$
  #     tenant_id: ^1372813089209061633$
  #     type: ^Task$
  #     cluster_name: .*test.*
  #     "!summary": TotalTiDBCPUUsageTooHigh$
  #     priority: Critical|Major
  - receiver: wetech-cc-hou
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      component: ^(tidb|resilience|tikv)$
      tenant_id: ^1372813089209061633$
      type: ^Task$
      "!cluster_name": .*test.*
      priority: Critical|Major
  - receiver: bw-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209237889$
  - receiver: ue-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      "!stability_governance": ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      "!cluster_id": ^(10601809957776321988|10992652035150181311|10129313401127841163)$
      tenant_id: ^1372813089209256793$
      "!tier": ^next-gen$
  - receiver: ue-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      "!cluster_id": ^(10601809957776321988|10992652035150181311|10129313401127841163)$
      tenant_id: ^1372813089209256793$
      "!tier": ^next-gen$
  - receiver: ue_nextgen_alert_cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      tier: ^next-gen$
      tenant_id: ^1372813089209256793$
  - receiver: cluster-cc
    continue: true
    match:
      "!provider_type": ^aws-free-tier$
      "!o11y_biz_type": ^prod-devtier$
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(TiDB Cloud|Cloud Service|Cluster Service|GitOps|kubernetes|node|infra-api|tidb-cluster|cert-manager|infra-provider|etcd|dbaas-proxy|tidb-auditlog|tidb-operator|nginx-ingress|cluster-autoscaler|eks-provider|gke-provider|quota-exporter|chaos-svc|chaos-provider|gitops|config-manager|k8s-pod|cluster management|core-svc|dedicated-regional-server)$
  - receiver: cluster-cc
    continue: true
    match:
      "!provider_type": ^aws-free-tier$
      "!o11y_biz_type": ^prod-devtier$
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      job: dedicated-global-service
  - receiver: bn-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209256793$
  - receiver: jp-advocate-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^(1372813089191061283|1372813089209215669|1372813089197841286|1372813089201471287)$
  # - receiver: jp-advocate-cc
  #   continue: true
  #   match:
  #     project: ^TCOC$
  #     webhook_event: jira:issue_created
  #     tenant_id: ^(1372813089191061283|1372813089209215669|1372813089197841286|1372813089201471287)$
  # - receiver: jp-advocate-cc
  #   continue: true
  #   match:
  #     project: ^GTOC$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     priority: Critical|Major
  #     "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
  #     account_code: ^IBG-B-20210318-000055$
  - receiver: petlibro-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209250455$
      visibility: ^external$
  - receiver: manus-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209260919$
      visibility: ^external$
  - receiver: next-gen-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(dataplane-controller|next-gen-br)$
      "!o11y_biz_type": byoc
  - receiver: next-gen-cluster-service-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(cluster-ng-service|ng-auto-scaler|)$
  - receiver: autoscale_prod
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^ng-auto-scaler$
  - receiver: next-gen-cc-kernel
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(pd|tikv|tiflash|ticdc|tidb|tiproxy|tidb-worker|br|next-gen-br-kernel|resilience|ticdc-kernel)$
      tier: next-gen
      "!tenant_id": ^(1372813089209241232|1372813089209256793|1372813089209271775|1372813089209281154)$
      "!o11y_biz_type": byoc
  - receiver: next-gen-cc-kernel
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^(ticdc|ticdc-kernel)$
      cluster_id: ^10890423899572033652$
  - receiver: next-gen-cc-kernel
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tier: next-gen
      forwardRule: ^internal
  - receiver: alert_stability_governance
    continue: true
    match:
      project: ^O11Y$
      priority: ^(Major|Critical)$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity|next-gen-kernel-tcocp|next-gen-kernel-governance)$
      "!cluster_name": .*test.*
      "!regions": japan
      tenant_id: ^(1372813089209238420|1372813089209061633|1372813089209289635)$
  - receiver: alert_stability_governance
    continue: true
    match:
      project: ^O11Y$
      priority: ^(Major|Critical)$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(errorlog-governance|errorlog-tcocp)$
      "!cluster_name": .*test.*
      "!regions": japan
  - receiver: alert_stability_governance-test
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      tenant_id: ^1372813089209061633$
      cluster_name: .*test.*
  - receiver: external_bn_production
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      "!cluster_id": ^(10601809957776321988|10992652035150181311|10129313401127841163|10652355502677513793)$
      tenant_id: ^1372813089209256793$
      summary: (TiDBAvgKVRequestLatencyTooLong|TiFlashStorageUsageTooHigh|TiKVStorageUsageTooHigh|TotalTiDBCPUUsageTooHigh|TotalTiKVCPUUsageTooHigh|TotalTiFlashCPUUsageTooHigh|MaxTiDBCPUUsageTooHigh|MaxTiKVCPUUsageTooHigh|DiskReadLatencyTooHigh|TiCDCCheckpointHighDelay|OOM)$
  - receiver: external_bn_qa
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      cluster_id: ^(10601809957776321988|10992652035150181311|10129313401127841163|10652355502677513793)$
      tenant_id: ^1372813089209256793$
      summary: (TiDBAvgKVRequestLatencyTooLong|TiFlashStorageUsageTooHigh|TiKVStorageUsageTooHigh|TotalTiDBCPUUsageTooHigh|TotalTiKVCPUUsageTooHigh|TotalTiFlashCPUUsageTooHigh|MaxTiDBCPUUsageTooHigh|MaxTiKVCPUUsageTooHigh|DiskReadLatencyTooHigh|TiCDCCheckpointHighDelay|OOM)$
  - receiver: alerts_cdc_kernel
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^ticdc-kernel$
      "!regions": japan
  - receiver: kuaiwan-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tenant_id: ^1372813089209248230$
      visibility: ^external$
  - receiver: bingo-brazil-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      cluster_id: ^10919073379278996527$
      visibility: ^external$
  - receiver: bingo-kernel-support-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      tenant_id: ^1372813089209238420$
  - receiver: propertyme-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209274541$
  - receiver: churn-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      summary: ^Potential
  - receiver: iops-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      summary: (EBSElasticVolumeIOPSLimitExceededForBig3|EBSElasticVolumeThroughputLimitExceededForBig3)$
  - receiver: wetech-stability-governance-critical
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      tenant_id: ^1372813089209061633$
  - receiver: big3-http-forward
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
  - receiver: next-gen-import-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^next-gen-import$
  # - receiver: next-gen-prod-cluster-alerts-cc-ap-southeast-1
  #   continue: true
  #   match:
  #     project: ^O11Y$
  #     webhook_event: jira:issue_created
  #     type: ^Task$
  #     component: ^(ng-auto-scaler|cluster-ng-service)$
  #     o11y_region: ap-southeast-1$
  - receiver: next-gen-prod-cluster-alerts-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^(ng-auto-scaler|cluster-ng-service)$
  - receiver: premium_end_user_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tier: next-gen
      tenant_id: ^(1372813089209238420|1372813089209289635)$
  - receiver: external_bitget_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^(1372813089209257781|1372813089209214865)$
  - receiver: dedicated_new_alerts_new_japan_tenant
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      stability_governance: ^(kernel-tcocp|kernel-governance|errorlog-governance|errorlog-tcocp|capacity)$
      regions: japan
  - receiver: cluster_service_workflow_completion
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      intent: cluster-service-remind-only
  - receiver: nbp-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major|Warning
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209259175$
  - receiver: serverless_prod_tikv_tiflash
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tier: serverless
      component: ^(tikv|tiflash)$
  - receiver: serverless_prod_tikv_tiflash
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tier: serverless
      container: ^(tikv-worker|tikv-api|cop-worker|cse-dfsgc|cse-archive|schema-manager|replication-worker|tidb-operator|tiflash|rep-cdc|rep-pd)$
  - receiver: laaffic_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      cluster_id: ^10328469798172483797$
  - receiver: plaud_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tenant_id: ^1372813089209291473$
  - receiver: hlgaming_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!visibility": ^external$
      tenant_id: ^1372813089209336943$
  - receiver: plaud_external_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      tenant_id: ^1372813089209291473$
      visibility: ^external$
  # - receiver: ticket-cc
  #   continue: true
  #   match:
  #     project: ^(APID|EMID|JPID|NAID|TCID|ST)$
  #     webhook_event: jira:issue_updated
  #     changed_fields: <status>
  #     changed_to: <ESCALATE TO L2>
  - receiver: ticket-notify-assignee
    continue: true
    match:
      project: ^(APID|EMID|JPID|NAID|TCID|ST)$
      webhook_event: jira:issue_updated
      changed_fields: <assignee>
  - receiver: premium_preview_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^1372813089209271775$
  - receiver: plaud-external-assign
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^1372813089209291473$
  - receiver: mem9-cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      component: ^mnemos$
  - receiver: serverless-external
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tier: serverless
  - receiver: ue-cassandra-external
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      component: ^cassandra$
      tenant_id: ^1372813089209327038$
  - receiver: ue-cassandra-external
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      visibility: ^external$
      tenant_id: ^1372813089209327038$
      summary: (TiCDCCheckpointHighDelay|ChangefeedIsFailed|ChangefeedIsWarning)$
  - receiver: cassandra-internal
    continue: true
    match:
      project: ^(TCA|O11Y)$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^cassandra$
  - receiver: tidb_x_oncall_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^(dataflow-service-ng|ticdc|next-gen-br|next-gen-export)$
      tier: ^next-gen$
      "!visibility": ^external$
  - receiver: tidb_x_oncall_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      component: ^(dm|export|import|ticdc|br)$
      provider_type: ^aws-free-tier$
      "!visibility": ^external$
  - receiver: grab_cc
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      cluster_id: ^(10053164508501693964|2038582846225911808|10829555627026431901|10599171524819082987|10657338685431318790|10063129449181442452|10640364403249745293|10030147280567077294|10161826328054573463)$
  - receiver: bu_internal_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      priority: Critical|Major
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^1372813089209316213$
  - receiver: openvision_internal
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      tenant_id: ^(1372813089209340225|1372813089209319071)$
  - receiver: prod_test_alert
    continue: true
    match:
      project: ^O11Y$
      webhook_event: jira:issue_created
      type: ^Task$
      "!component": ^(thanos|alertmanager|prometheus|logging|o11y|metrics-server|vmagent|loki|observability-global-server|observability-regional-server|clinic|ngmonitoring|chaos-svc|chaos-provider|gitops|tidb-management-service|core-svc|node|kubernetes)$
      cluster_id: ^(10385139176000150251|10296028835138836655)$
