image:
  repository: 552185537300.dkr.ecr.us-west-2.amazonaws.com/tidbcloud/metrics-integration-pipeline
  pullPolicy: IfNotPresent
  tag: "1169b6d5be1e079803ce50db530a46a92d5dc88d"

# 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: false

service:
  type: ClusterIP
  port: 8080

vector:
  enable: true
  # datadog or newrelic
  # downstream_type: datadog
  deployment:
    image:
      repository: gcr.io/pingcap-public/third-party/timberio/vector
      tag: 0.47.X-debian
  # sink:
  #   # new_relic_sinks:
  #   type: new_relic
  #   inputs: ["newrelic_transformation"]
  #   account_id: account_id_placeholder
  #   api: metrics
  #   license_key: 645f01f2743502d97624beaac9110af6FFFFNRAL
  #   region: us

  #   # datadog_sinks:
  #   type: datadog_metrics
  #   inputs: [datadog_transformation]
  #   default_api_key: 948dd8f3b2c1049acefcf9a38873086c
  #   site: datadoghq.com

  #   # debug sink
  #   type: "console"
  #   encoding:
  #     codec: "json"
  #   inputs: ["metrics_in.metrics"]
pipeline:
  # targetClusterId: "10969582653838277747"
  # backfill:
  #   batchModeEnabled: true
  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
    #   # bizTypeConfigs maps service plan names (lowercase) to bizType strings used by the
    #   # observability global server. Premium clusters route to a "-premium" suffixed bizType;
    #   # all other NextGen plans (Essential, Starter, BYOC) and Dedicated use the base bizType.
    #   bizTypeConfigs:
    #     dedicated: dev-tidbcloud
    #     premium: dev-tidbcloud-premium
    #     starter: dev-tidbcloud
    #     essential: 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
    # targetClusters:
    #   # use quota, otherwise id will lose precision
    #   - id: "10969582653838277747"
    #     tenantId: "60205"
    #     projectId: "3199728"
    #     projectName: "New-Dedicated-Test"
    #     name: "dev-integration"
    #     cloudProviderName: "aws"
    #     regionName: "us-west-2"
    #     # servicePlan identifies the cluster tier: Essential, Premium, Dedicated, Starter, BYOC.
    #     # Used by the pipeline to select the correct bizType via o11yGlobalServer.bizTypeConfigs.
    #     servicePlan: "Dedicated"
    #     components:
    #       - componentType: "COMPONENT_TYPE_TIDB"
    #         cpuNum: 8
    #       - componentType: "COMPONENT_TYPE_TIKV"
    #         cpuNum: 16
    #       - componentType: "COMPONENT_TYPE_PD"
    #         cpuNum: 2
