---
# The address to listen on for HTTP requests
listen-address: :9800
# App mode [release|debug]
mode: release
# Print more infomation
verbose: true
# The address to send message
notify-address: http://eelb-1570947222.us-west-1.elb.amazonaws.com:9000/messageForward
# Policy database DSN
# policy-db-dsn: lucifer:Pingcap!@#@tcp(13.56.192.33:4000)/olympus
# Info database DSN (Optional)
# info-db-dsn: application:DzORXVx5sr6faWkeoIfe@tcp(52.8.176.243:4000)/tmp_dw
# Data database DSN
# data-db-dsn: lucifer:Pingcap!@#@tcp(13.56.192.33:4000)/jiraport_one_v4
# Jira Srever base url
jira-base-url: https://tidb.atlassian.net/
# Jira personal token
jira-type: jsm
jira-username: charles.m@pingcap.com
# jira-password: ATAT3xFfGF0U1CAJSJjWEsA1qm9sFkUqIaGdEYssSJqE1XPAZv-KWA4QkQcR4SY9h1S0KSibO3lWoXZmKxaTwWYfn2FsvtPI-vCUTayE1MfNCSzPammtnw2TomRapw8kRWSosZVIK7jUKs5f6zb5UUn_ZBswgT38AxUbzmYckJ9ZOFykQpgxxk=780625DD
# jira-token: NzA4MjQ5NTE2NjY5OrhikLI528+hZgX8pEO7pwiH7P3O
# secret: hvEcKufeF7AEt5cDo9Tn
# Jiraport policy route path
policy-matcher-file: policy-route.yml
# Jiraport policy path
policy-file: policy.yml
# Jiraport event matcher path
event-matcher-file: event-matcher.yml
# Jiraport template path
template-file: jiraport.tmpl
# Need assign issues
need-assign: true
# Assign matcher config file path
assign-matcher-file: assign.yml
# New oncall assign config: assign.yml's special rules with team-name receivers.
# Drives the oncall-service-based routing (generic oncall_team routes are read
# from the label in code). For O11Y issues this is the primary assignment path;
# it falls back to assign.yml on empty/non-email/error. Empty disables it.
oncall-assign-matcher-file: assign-oncall.yml
# L2 assign: maps component -> SEE team (support_compute/storage/tools); the
# custom command then queries that team's oncall on-call. Empty disables it.
l2-matcher-file: l2-assign.yml
# static receivers map
custom-assignee: customfield_10053
receivers:
  charles.zhu:
    type: person
    id: b1c4b6bg
  test:
    type: group
    id: test
  fallback:
    type: group
    id: fallback
  account_alert:
    type: group
    id: iam_alerts_prod
  dataservice_alert:
    type: group
    id: tcds_alerts_prod
  billing_alert:
    type: group
    id: billing_alert
  cp_platform_alert:
    type: group
    id: apigateway_alerts
  ee:
    type: group
    id: escalation_team
  tl:
    type: group
    id: fbtl_channel
  cloudfb:
    type: group
    id: default
  auto:
    type: group
    id: autonomous_alert
  autonomous_staging_alert:
    type: group
    id: autonomous_staging_alert
  devhivery:
    type: group
    id: delhivery_migration
  dev_tier_prod_alert:
    type: group
    id: dev_tier_prod_alert
  critical_and_major_alerts:
    type: group
    id: critical_and_major_alerts
  chaos_experiment:
    type: group
    id: chaos_experiment
  dm:
    type: group
    id: tidb_cloud_sprint_release
  oss:
    type: group
    id: ossinsight_internal_discussion
  certik:
    type: group
    id: certik_poc
  dm_import_alert_channel:
    type: group
    id: dm_import_alert_channel
  tidb_service_oncall_internal:
    type: group
    id: tidb_service_oncall_internal
  ai_power_prod_alerts:
    type: group
    id: ai_power_prod_alerts
  dbaas_br_oncall:
    type: group
    id: dbaas_br_oncall
  dbaas_ticdc_oncall:
    type: group
    id: dbaas_ticdc_oncall
  square_enix:
    type: group
    id: square_enix
  deal_capcom:
    type: group
    id: deal_capcom
  deal_cpa:
    type: group
    id: deal_cpa
  deal_micoworks:
    type: group
    id: deal_micoworks
  deal_colopl:
    type: group
    id: deal_colopl
  deal_plaid:
    type: group
    id: deal_plaid
  deal_elestyle:
    type: group
    id: deal_elestyle
  deal_istyle:
    type: group
    id: deal_istyle
  deal_toppan:
    type: group
    id: deal_toppan
  deal_ctw:
    type: group
    id: deal_ctw
  deal_mercari:
    type: group
    id: deal_mercari
  dataflow_service_alert:
    type: group
    id: dataflow_service_alert
  nftscan:
    type: group
    id: cloud_nftscan
  tidb-management-service-cc:
    type: group
    id: tidb_management_service_alert
  wetech:
    type: group
    id: wetech_support
  serverless_prod_alert_warning:
    type: group
    id: serverless_prod_alert_warning
  test-external:
    type: group
    id: apac_cloud_alerts_webhook
  wetech-external:
    type: group
    id: wetech_webhook
  pixl8:
    type: group
    id: pixl8_internal_alert
  shopline:
    type: group
    id: shopline_internal_webhook
  static-wangbing:
    type: person
    id: c48add44
    botType: new_firewatch
  bcbga:
    type: group
    id: cloud_bcbga_webhook
  yyds:
    type: group
    id: yyds_support_webhook
  snocko:
    type: group
    id: snocko_workshop_webhook
  pionex:
    type: group
    id: pionex_webhook
  static-jiamin:
    type: person
    id: 1766fc5b
    botType: default
  static-hu:
    type: person
    id: 1bede73d
    botType: new_firewatch
  clinic-cc:
    type: group
    id: clinic_workspace
    botType: new_firewatch
  bluewhale-cc:
    type: group
    id: bluwhale_webhook
  ponyft-cc:
    type: group
    id: ponyft_webhook
  shoplazza-internal:
    type: group
    id: shoplazza_webhook
  catalyst:
    type: group
    id: catalyst_webhook
  bingo-cc:
    type: group
    id: bingo_webhook
  bingo-cc-important:
    type: group
    id: bingo_important_alerts
  emea_alert:
    type: group
    id: emea_alert
  drive9_alert:
    type: group
    id: drive9_alert
  resilience_alert:
    type: group
    id: resilience_alert
  tagasiagame_external:
    type: group
    id: tagasiagame_external
  supterstudio-cc:
    type: group
    id: superstudio_webhook
  azure_alerts:
    type: group
    id: azure_alerts
  dyna_internal_webhook:
    type: group
    id: dyna_internal_webhook
  customer_ivi_webhook:
    type: group
    id: customer_ivi_webhook
  finops_system_alert:
    type: group
    id: finops_system_alert
  static-hou:
    type: person
    id: 8f135916
    botType: default
  bw_internal_webhook:
    type: group
    id: bw_internal_webhook
  digiplus_testing:
    type: group
    id: digiplus_testing
  ue_poc:
    type: group
    id: ue_poc
  dedicated_alerts:
    type: group
    id: dedicated_alerts
  ue_rd_work:
    type: group
    id: ue_rd_work
  jpg_advocate:
    type: group
    id: jpg_advocate
  petlibro_customer_group:
    type: group
    id: petlibro_customer_group
  manus_customer_group:
    type: group
    id: manus_customer_group
  cluster_next_gen_alert:
    type: group
    id: cluster_next_gen_alert
  premium_alerts:
    type: group
    id: premium_alerts
  next_gen_cluster_service_alert:
    type: group
    id: next_gen_cluster_service_alert
  alert_stability_governance:
    type: group
    id: alert_stability_governance
  external_bn_qa:
    type: group
    id: external_bn_qa
  external_bn_production:
    type: group
    id: external_bn_production
  static-sihao:
    type: person
    id: "231fa74d"
    botType: default
  static-siyu:
    type: person
    id: "9a36978g"
    botType: default
  alerts_cdc_kernel:
    type: group
    id: alerts_cdc_kernel
  kuaiwan_customer_group:
    type: group
    id: kuaiwan_customer_group
  external_bingo_brazil_alert:
    type: group
    id: external_bingo_brazil_alert
  bingoplus_kernel_support_swat:
    type: group
    id: bingoplus_kernel_support_swat
  propertyme_alert:
    type: group
    id: propertyme_alert
  apac_user_behavior_monitor:
    type: group
    id: apac_user_behavior_monitor
  tidb_cloud_disk_issue:
    type: group
    id: tidb_cloud_disk_issue
  apac_cloud_alerts_webhook:
    type: group
    id: apac_cloud_alerts_webhook
  static-changqiang:
    type: person
    id: "7d8eeg4e"
    botType: default
  static-zhoujian:
    type: person
    id: "63d51e2b"
    botType: default
  dedicated_new_alerts_for_test:
    type: group
    id: dedicated_new_alerts_for_test
  next_gen_import_alert:
    type: group
    id: next_gen_import_alert
  ap_southeast_1_next_gen_cluster_alert:
    type: group
    id: ap_southeast_1_next_gen_cluster_alert
  prod_next_gen_cluster_alert:
    type: group
    id: prod_next_gen_cluster_alert
  premium_end_user_alert:
    type: group
    id: premium_end_user_alert
  external_bitget_alert:
    type: group
    id: external_bitget_alert
  dedicated_new_alerts_new_japan_tenant:
    type: group
    id: dedicated_new_alerts_new_japan_tenant
  cluster_service_workflow_completion:
    type: group
    id: cluster_service_workflow_completion
  external_premium_alert_4_bingoplus:
    type: group
    id: external_premium_alert_4_bingoplus
  ue_nextgen_alert_cc:
    type: group
    id: ue_nextgen_alert
  nbp_internal_alert:
    type: group
    id: nbp_internal_alert
  tidb_management_service_alert_major:
    type: group
    id: tidb_management_service_alert_major
  serverless_prod_tikv_tiflash:
    type: group
    id: serverless_prod_tikv_tiflash
  laaffic_internal_alert:
    type: group
    id: laaffic_internal_alert
  plaud_internal_alert:
    type: group
    id: plaud_internal_alert
  hlgaming_internal_alert:
    type: group
    id: hlgaming_internal
  plaud_external_alert:
    type: group
    id: plaud_external_alert
  premium_preview_internal_alert:
    type: group
    id: premium_preview_internal_alert
  mem9_internal_alert:
    type: group
    id: mem9_internal_alert
  essential_customer_alert:
    type: group
    id: essential_customer_alert
  tidb_x_oncall_internal_alert:
    type: group
    id: tidb_x_oncall_internal_alert
  grab_cc:
    type: group
    id: grab_cc
  bu_internal_alert:
    type: group
    id: bu_internal_alert
  openvision_internal:
    type: group
    id: openvision_internal
  autoscale_prod:
    type: group
    id: autoscale_prod
  prod_test_alert:
    type: group
    id: prod_test_alert
  ue_cassandra_alert:
    type: group
    id: customer_ue_cassandra_alert
  cassandra-internal:
    type: group
    id: cassandra-internal

# for regioncc notification receiver
region-receivers:
  CO: apac_cloud_alerts_webhook
  Japan: japan_cloud_alerts_webhook
  EMEA: na_emea_cloud_alerts_webhook
  NA: na_emea_cloud_alerts_webhook
  APAC: apac_cloud_alerts_webhook
# MIGRATE RELATED
tenant-extractor: "{{ .Fields.Unknowns.customfield_10157 }}"
cluster-extractor: "{{ .Fields.Unknowns.customfield_10149 }}"

# Retry undone actions on startup
retry-on-startup: true
clinic-addr: "https://clinic.pingcap.com"
# clinic-token: "eyJrIjoiREVrd0xYb1Voam50OVJYUSIsInUiOjMwNiwiaWQiOjB9"
devops-addr: "https://prod.devops.pingcap.com"
# devops-apikey: "eyJrIjoiYjZhYjJmZjI3NWI4ZDQ1MGU3MGY1NjgwMGZiYTkyM2ZmYzg5OGNjMjQxODY1OWJhODE3NWEzNzNlYTNjMWEyYSIsIm4iOiJqaXJhcG9ydC1hcGlrZXkifQ=="

# Oncall v2 service (aisupport). Used together with oncall-assign-matcher-file:
# for O11Y issues routed by oncall_team, the service's current on-call engineer
# is the assignee (falling back to assign.yml on empty/non-email/error).
oncall-addr: "https://oncall.pingcap.net"
# oncall-apikey is injected via env ONCALL_APIKEY from the k8s secret (do not
# commit it here).

# FB owner matcher config file path
fbowner-matcher-file: fbowner.yml
# FB owner field name
fbowner-field-name: customfield_10634

resolver-function-name: jiraport-resolver-prod-tidbcloud
