apiVersion: v1
data:
  accountinfo.yaml: |
    oidc-arn:
      arn:aws:iam::557537366020:oidc-provider/oidc.eks.ap-southeast-1.amazonaws.com/id/996FD3117482E9133D714D5FB7F4EED3
    oidc:
      oidc.eks.ap-southeast-1.amazonaws.com/id/996FD3117482E9133D714D5FB7F4EED3
    account:
      557537366020
    region:
      ap-southeast-1
    env:
      prod
  alertmanagerinfo.yaml: |-
    namespace: default
    name: alertmanager-operated
    port: web
  azconfig.yaml: |
    ap-southeast-1a:
      endpointServiceID: vpce-svc-0d22573855c6cf00f
      ingressClassName: nginx-azall
      dnsName: promethues-enpoint-a.observability.tidbcloud.com
      readIngressClassName: nginx
      defaultDataAZ: true
    ap-southeast-1b:
      endpointServiceID: vpce-svc-0d22573855c6cf00f
      ingressClassName: nginx-azall
      dnsName: promethues-enpoint-a.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: "arn:aws:iam::380838443567:root"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 4
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 15d
    datamigration:
      bizType: "datamigration"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "arn:aws:iam::380838443567:root"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 4
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 15d
    prod-devtier:
      bizType: "prod-devtier"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "arn:aws:iam::380838443567:root"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 4
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 15d
      inheritedIAM: "arn:aws:iam::557537366020:role/o11yA-zzosQqUySWZDXoguWVTKaC"
      multiTenancyRule: true
    ft-biz:
      bizType: "ft-biz"
      externalApiAuthUrlTemplate: "https://us-west-2.prod.aws.tidbcloud.com/api/v1/orgs/%s/users/me"
      agentManagerARN: "arn:aws:iam::552185537300:role/DBaaS-DevUser-Role"
      monitorPromRuleTemplate: ""
      agentConfigTemplate: "default-template"
      ttl: 3
      monitorReplicas: 1
      monitorVersion: v2.33.5
      monitorRetention: 3d
      specificBucket: "o11y-test-shared-ap-southeast-1"
  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: aws
    region: ap-southeast-1
    task:
      interval: 15m
      bucket: o11y-prod-shared-ap-southeast-1
      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:
  labels:
    app.kubernetes.io/managed-by: pulumi
  name: regionalserver
  namespace: observability
