github.com/m3db/m3@v1.5.0/scripts/development/m3_stack/m3dbnode.yml (about)

     1  db:
     2    tracing:
     3      backend: jaeger
     4      jaeger:
     5        reporter:
     6          localAgentHostPort: jaeger:6831
     7        sampler:
     8          type: const
     9          param: 1
    10  
    11    hostID:
    12      resolver: environment
    13      envVarName: M3DB_HOST_ID
    14  
    15    # Note: cannot use type: "m3db_single_node" since sometimes
    16    # multiple DB nodes spawned using the m3_stack start script
    17    # and as such the non-seed nodes need to point etcd not to 
    18    # localhost but to m3db_seed:2379 specifically.
    19    discovery:
    20      config:
    21        service:
    22          env: default_env
    23          zone: embedded
    24          service: m3db
    25          cacheDir: /var/lib/m3kv
    26          etcdClusters:
    27            - zone: embedded
    28              endpoints:
    29                - m3db_seed:2379
    30        seedNodes:
    31          initialCluster:
    32            - hostID: m3db_seed
    33              endpoint: http://m3db_seed:2380
    34  
    35    # proto:
    36    #   schemaFilePath: /etc/m3dbnode/schema.proto