Skip to content

Instantly share code, notes, and snippets.

@vtomasr5
Last active June 26, 2019 08:49
Show Gist options
  • Save vtomasr5/a7cdd15ae2c500d1b9ec0f1cb0524f5b to your computer and use it in GitHub Desktop.
Save vtomasr5/a7cdd15ae2c500d1b9ec0f1cb0524f5b to your computer and use it in GitHub Desktop.
logging:
level: debug
listenAddress:
type: "config"
value: "0.0.0.0:7201"
metrics:
scope:
prefix: "coordinator"
prometheus:
handlerPath: /metrics
listenAddress: 0.0.0.0:7203 # until https://github.com/m3db/m3/issues/682 is resolved
sanitization: prometheus
samplingRate: 1.0
extended: none
limits:
maxComputedDatapoints: 10000
tagOptions:
# Configuration setting for generating metric IDs from tags.
idScheme: quoted
clusters:
- namespaces:
- namespace: "metrics"
type: unaggregated
retention: 10m
- namespace: "metricsagg"
type: aggregated
retention: 25m
resolution: 30s
client:
config:
service:
env: default_env
zone: embedded
service: m3db
cacheDir: /var/lib/m3kv
etcdClusters:
- zone: embedded
endpoints:
- 172.25.120.55:2379
- 172.25.120.70:2379
- 172.25.120.69:2379
seedNodes:
initialCluster:
- hostID: etcd1
endpoint: http://172.25.120.55:2380
- hostID: etcd2
endpoint: http://172.25.120.70:2380
- hostID: etcd3
endpoint: http://172.25.120.69:2380
db:
logging:
level: debug
metrics:
prometheus:
handlerPath: /metrics
sanitization: prometheus
samplingRate: 1.0
extended: detailed
listenAddress: 0.0.0.0:9000
clusterListenAddress: 0.0.0.0:9001
httpNodeListenAddress: 0.0.0.0:9002
httpClusterListenAddress: 0.0.0.0:9003
debugListenAddress: 0.0.0.0:9004
hostID:
resolver: hostname
client:
writeConsistencyLevel: majority
readConsistencyLevel: unstrict_majority
gcPercentage: 100
writeNewSeriesAsync: true
writeNewSeriesLimitPerSecond: 1048576
writeNewSeriesBackoffDuration: 2ms
bootstrap:
bootstrappers:
- filesystem
- commitlog
- peers
- uninitialized_topology
fs:
numProcessorsPerCPU: 0.125
commitlog:
returnUnfulfilledForCorruptCommitLogFiles: false
cache:
series:
policy: lru
postingsList:
size: 262144
commitlog:
flushMaxBytes: 524288
flushEvery: 1s
queue:
calculationType: fixed
size: 2097152
fs:
filePathPrefix: /var/lib/m3db
config:
service:
env: default_env
zone: embedded
service: m3db
cacheDir: /var/lib/m3kv
etcdClusters:
- zone: embedded
endpoints:
- 172.25.120.55:2379
- 172.25.120.70:2379
- 172.25.120.69:2379
seedNodes:
initialCluster:
- hostID: etcd1
endpoint: http://172.25.120.55:2380
- hostID: etcd2
endpoint: http://172.25.120.70:2380
- hostID: etcd3
endpoint: http://172.25.120.69:2380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment