github.com/rohankumardubey/aresdb@v0.0.2-0.20190517170215-e54e3ca06b9c/subscriber/config/test.yaml (about)

     1  graphite:
     2    address: "localhost:4756"
     3  
     4  ares:
     5    # A list of namespaces. Each namespace includes a list of ares clusters
     6    namespaces:
     7      dev01:
     8        - dev-ares01
     9  
    10    # A list of ares clusters. Each cluster includes master node address and timeout in seconds.
    11    clusters:
    12      clusters:
    13        dev-ares01:
    14          aresDB:
    15            address: "ares01:9000"
    16            timeout: 20
    17        dev-ares02:
    18          aresDB:
    19            address: "ares02:9000"
    20            timeout: 20
    21  
    22  # A list of jobs which are defined in config/jobs
    23  jobs:
    24    # A list of namespaces. Each namespace includes a list of jobs.
    25    namespaces:
    26      job-test:
    27        - test1
    28      trips:
    29        - job1
    30  
    31  controller:
    32    # enable sync up with aresDB controller
    33    enable: false
    34    address: "localhost:5436"
    35    refreshInterval: 10
    36    serviceName: "ares-controller-staging"
    37  
    38  zookeeper:
    39    server: "localhost:2181"
    40  
    41  etcd:
    42    # KV environment, zone, and service from which to write/read KV data (placement
    43    # and configuration). Leave these as the default values unless you know what
    44    # you're doing.
    45    env: test
    46    zone: local
    47    service: ares-subscriber
    48    # Directory to store cached etcd data in.
    49    cacheDir: /var/lib/areskv
    50    # Configuration to identify the etcd hosts this node should connect to.
    51    etcdClusters:
    52      - zone: local
    53        endpoints:
    54          - 127.0.0.1:2379
    55  
    56  heartbeat:
    57    enabled: true
    58    # heartbeatTimeout in second
    59    timeout: 30
    60    # checkInterval in second
    61    checkInterval: 2
    62    # heartbeatInterval in second
    63    interval: 10
    64  
    65