Logo
Database Discovery

High availability #

Description of configuration items #

rules:
- !DB_DISCOVERY
  dataSources:
    <data-source-name> (+): # Logical data source name
      dataSourceNames: # Data source name list
        - <data-source>
        - <data-source>
      discoveryHeartbeatName: # Discovery heartbeat name
      discoveryTypeName: # Database discover type name
  
  # Heartbeats configuration
  discoveryHeartbeats:
    <discovery-heartbeat-name> (+): # Heartbeats name
      props:
        keep-alive-cron: # cron expression,such as:'0/5 * * * * ?'
  
  # Database discovery type configuration
  discoveryTypes:
    <discovery-type-name> (+): # Database discovery type name
      type: # Database discovery type,such as: MySQL.NORMAL_REPLICATION、MySQL.MGR、openGauss.NORMAL_REPLICATION、SphereEx:GaussDB_for_MySQL.NORMAL_REPLICATION 
      props (?):
        group-name: 92504d5b-6dec-11e8-91ea-246e9612aaf1 # Database discovery type necessary properties, such as MGR's group-name