image:
  repository: 552185537300.dkr.ecr.us-west-2.amazonaws.com/tidbcloud/metrics-integration-prometheus
  pullPolicy: IfNotPresent
  tag: "24470316c519edbbc35a21ce5674bc58f980ee4a"

# Set to true to disable dedicated node pool scheduling
# When false (default), pods will be scheduled on nodes with:
# - nodeSelector: component: "metrics-integration"
# - tolerations for taint: app=metrics-integration:NoSchedule
disableDedicatedNodepool: true

service:
  type: ClusterIP
  port: 8080

prometheus:
  serverConfig:
    server:
      logLevel: info
      grpcPort: 10000
      metricsPort: 9090
      metricsListenAddr: 0.0.0.0:8080
    o11yGlobalServer:
      url: https://www.gs.us-west-2.aws.observability.tidbcloud.com
      domainSuffix: observability.tidbcloud.com
      bizType: dev-tidbcloud
      auth0Domain: tidb-soc2.us.auth0.com
      auth0Audience: https://tidb-soc2.us.auth0.com/api/v2/
      auth0ClientID: PjV8VvZDfw1yCr7xVC4W386iMnClp4hn
      auth0ClientSecret: -SLP5UvxJdwGbVaKupxgv53T6otXguApPoG0fBsWCIqDG8_TuvlYnlkhPQHcWaKT
      regionalDataServerUriPrefix: /internal/metrics
      metricsApiUrl: https://us-west-2.nightly.shared.aws.tidbcloud.com
    prometheusTokenMappings:
      - clusterID: "10316586375735147391"
        token: "testToken"
    targetClusters:
      - id: "10316586375735147391"
        tenantId: "60205"
        projectId: "3200331"
        projectName: "tidb-operator-v2"
        name: "cdc-v2-keep-48h"
        cloudProviderName: "aws"
        regionName: "us-west-2"
        components:
          - componentType: "COMPONENT_TYPE_TIDB"
            memoryGi: 4
            cpuNum: 2
            storageSizeGi: 50
          - componentType: "COMPONENT_TYPE_TIKV"
            memoryGi: 4
            cpuNum: 2
            storageSizeGi: 60
          - componentType: "COMPONENT_TYPE_PD"
            memoryGi: 4
            cpuNum: 2
            storageSizeGi: 10
