apiVersion: v1
data:
  accountinfo.yaml: |-
    oidc:
      gcp-autonomous-prod.svc.id.goog
    account:
      gcp-autonomous-prod.iam.gserviceaccount.com
    project:
      gcp-autonomous-prod
    region:
      asia-northeast1
    env:
      prod
  alertmanagerinfo.yaml: |
    namespace:
      default
    name:
      alertmanager-operated
    port:
      web
  azconfig.yaml: |-
    asia-northeast1-a:
      endpointServiceID: o11y-prod-nginx-nlb-asia-northeast1-a
      ingressClassName: nginx-a
      dnsName: promethues-enpoint-a.observability.tidbcloud.com
      readIngressClassName: nginx
      defaultDataAZ: true
    asia-northeast1-b:
      endpointServiceID: o11y-prod-nginx-nlb-asia-northeast1-b
      ingressClassName: nginx-b
      dnsName: promethues-enpoint-b.observability.tidbcloud.com
      readIngressClassName: nginx
  biztypeconfig.yaml: |-
    tidbcloud:
      bizType: "tidbcloud"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "dbaas-prod"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 4
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 15d
      multiTenancyRule: true
    datamigration:
      bizType: "datamigration"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "dbaas-prod"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 4
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 15d
    ft-biz:
      bizType: "ft-biz"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "gcp-autonomous-prod"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 3
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 3d
      specificBucket: "o11y-test-shared-asia-northeast1"
  dataauthconfig.yaml: 'externalMetricsAuthUrlTemplate: https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me'
  monitor_spec.yaml: |
    spec1:
      cpu: 0.25
      memory: 1Gi
      initialStorage: 8Gi
      overSell: 1.0
      maxQueryConcurrency: 10
      maxQuerySamples: 10000000
    spec.for.test:
      cpu: 0.1
      memory: 512Mi
      initialStorage: 4Gi
      overSell: 1.0
      maxQueryConcurrency: 10
      maxQuerySamples: 10000000
    t1g.small.micro:
      cpu: 0.25
      memory: 1Gi
      initialStorage: 8Gi
      overSell: 1.0
      isDefault: true
      maxQueryConcurrency: 10
      maxQuerySamples: 10000000
    t1g.micro:
      cpu: 0.5
      memory: 2Gi
      initialStorage: 16Gi
      overSell: 1.0
      maxQueryConcurrency: 10
      maxQuerySamples: 10000000
    t1g.small:
      cpu: 1
      memory: 4Gi
      initialStorage: 32Gi
      overSell: 0.5
      maxQueryConcurrency: 10
      maxQuerySamples: 20000000
    t1g.medium:
      cpu: 2
      memory: 8Gi
      initialStorage: 64Gi
      overSell: 0.5
      maxQueryConcurrency: 10
      maxQuerySamples: 40000000
    t1m.small.micro:
      cpu: 0.25
      memory: 2Gi
      initialStorage: 8Gi
      overSell: 1.0
      maxQueryConcurrency: 10
      maxQuerySamples: 10000000
    t1m.micro:
      cpu: 0.5
      memory: 4Gi
      initialStorage: 16Gi
      overSell: 0.5
      maxQueryConcurrency: 10
      maxQuerySamples: 20000000
    t1m.small:
      cpu: 1
      memory: 8Gi
      initialStorage: 32Gi
      overSell: 0.5
      maxQueryConcurrency: 10
      maxQuerySamples: 40000000
    t1m.medium:
      cpu: 2
      memory: 16Gi
      initialStorage: 64Gi
      overSell: 0.5
      maxQueryConcurrency: 20
      maxQuerySamples: 50000000
    paused:
      cpu: 0.02
      memory: 256Mi
      initialStorage: 5Gi
      overSell: 1.0
    vmalert.default:
      cpu: 0.02
      memory: 50Mi
      overSell: 1.0
    vmalert.small:
      cpu: 0.05
      memory: 128Mi
      overSell: 1.0
    vmalert.medium:
      cpu: 0.1
      memory: 256Mi
      overSell: 1.0
    vmalert.big:
      cpu: 0.2
      memory: 512Mi
      overSell: 1.0
    vmalert.huge:
      cpu: 0.5
      memory: 1Gi
      overSell: 1.0
  monitordefaultconfig.yaml: |
    ttl: 24
    monitorReplicas: 1
    monitorVersion: "v2.33.5"
    monitorRetention: "15d"
  snsconfig.yaml: |
    region: us-west-2
  syncalertruleconfig.yaml: |
    maxWorkers: 8
    maxJobs: 1000
    queryClusterLimit: 200
    failedRetryTimes: 3
    rotationInterval: 1800s
    resyncPeriod: 3600s
    enabled: true
  vmconfig.yaml: "-  \n  vmClusterName:\n    vmcluster"
  alertrulecacheconfig.yaml: |
    expireTime: 30m
    maxItems: 2000
    maxAlertRulesPerCluster: 100
    enabled: true
    maxDeletionPerCycle: 10
    sleepTime: 10s
  diagcontrollerconfig.yaml: |
    enable: true
    provider: gcp
    region: asia-northeast1
    project: gcp-autonomous-prod
    task:
      interval: 15m
      bucket: o11y-prod-shared-asia-northeast1
      taskFilePrefix: drhouse/diag-task
      clusterMetaFilePrefix: drhouse/cluster-meta
      catalogPath: drhouse/diag-catalog/catalog.yaml
      enableServerless: true
    diagEngine:
      interval: 30m
      namespace: drhouse
      name: diagnosis
      maxTasksPerEngine: 50
      minTasksPerEngine: 5
kind: ConfigMap
metadata:
  name: regionalserver
  namespace: observability
