Defaults to
null
Path: config.authn.healthcheck.username
Defaults to
null
Path: config.authn.healthcheck.password
Defaults to
null
Path: config.authn.metrics.username
Defaults to
null
Path: config.authn.metrics.password
Defaults to
null
Path: config.authn.jwt.key.private
Defaults to
null
Path: config.authn.jwt.key.public
Defaults to
"127.0.0.1"
Path: config.cache.host
Defaults to
"6379"
Path: config.cache.port
Defaults to
"annams_user"
Path: config.database.auth.username
Defaults to
"annams_password"
Path: config.database.auth.password
Defaults to
"127.0.0.1"
Path: config.database.host
Defaults to
"annams"
Path: config.database.name
Defaults to
"3306"
Path: config.database.port
Defaults to
"/healthz"
Path: config.endpoint.live
Defaults to
"/readyz"
Path: config.endpoint.ready
Defaults to
"/metrics"
Path: config.endpoint.metrics
Defaults to
5000
Path: config.error.addrinuse.interval
Defaults to
5
Path: config.error.addrinuse.ttl
Defaults to
5000
Path: config.error.dbnotfound.interval
Defaults to
15
Path: config.error.dbnotfound.ttl
Defaults to
5000
Path: config.metrics.interval
Defaults to
"http://localhost"
Path: config.metrics.pushgateway.host
Defaults to
"19091"
Path: config.metrics.pushgateway.port
Defaults to
10000
Path: config.metrics.pushgateway.timeout
Defaults to
5000
Path: config.metrics.pushgateway.interval
Defaults to
"development"
Path: config.environment
Defaults to
0.0.0.0
Path: config.server.bind.address
Defaults to
[]
Path: config.server.cors.allowed.hosts
Defaults to
[]
Path: config.server.cors.allowed.methods
Defaults to
"trace"
One of:
"fatal"
"error"
"warn"
"info"
"debug"
"trace"
"silent"
Path: config.server.log.level
Defaults to
true
When set to false
, logs look like:
{"level":30,"time":1519833207129,"msg":"Server listening on port 10000 > http://127.0.0.1:10000","pid":34325,"hostname":"<HOSTNAME>","v":1}
When set to true
, logs look like:
[2018-02-28T15:52:03.283Z] INFO (34278 on <HOSTNAME>): Server listening on port 10000 > http://127.0.0.1:10000
Path: config.server.log.pretty
Defaults to
10000
The port which Annams will listen to when it is up.
Path: config.server.port
Defaults to
true
When this is set to false
, Zipkin request tracing will be disabled.
Path: config.server.tracing.zipkin.enabled
Defaults to
"http://localhost:19411"
When this is not specified, the tracer will send the traces to console.trace
. When specified, the traces will be sent to the Zipkin server.
Path: config.server.tracing.zipkin.hostname
Defaults to
"annams"
Path: config.service.name