mirror of
https://github.com/valitydev/pstds.git
synced 2024-11-06 01:25:19 +00:00
Add config
This commit is contained in:
parent
6ca65d3924
commit
f92c7d0108
46
config/sys.config
Normal file
46
config/sys.config
Normal file
@ -0,0 +1,46 @@
|
||||
[
|
||||
{pstds, [
|
||||
{ip, "::"},
|
||||
{port, 8022},
|
||||
{transport_opts, #{}},
|
||||
{protocol_opts, #{
|
||||
request_timeout => 60000
|
||||
}}
|
||||
]},
|
||||
|
||||
{scoper, [
|
||||
{storage, scoper_storage_logger}
|
||||
]},
|
||||
|
||||
{kernel, [
|
||||
{logger_sasl_compatible, false},
|
||||
{logger_level, debug},
|
||||
{logger, [
|
||||
{handler, default, logger_std_h, #{
|
||||
config => #{
|
||||
type => {file, "/var/log/pstds/console.json"}
|
||||
},
|
||||
formatter => {logger_logstash_formatter, #{}}
|
||||
}}
|
||||
]}
|
||||
]},
|
||||
|
||||
{os_mon, [
|
||||
{disksup_posix_only, true}
|
||||
]},
|
||||
|
||||
{how_are_you, [
|
||||
{metrics_publishers, [
|
||||
% {hay_statsd_publisher, #{
|
||||
% key_prefix => <<"cds.">>,
|
||||
% host => "localhost",
|
||||
% port => 8125
|
||||
% }}
|
||||
]}
|
||||
]},
|
||||
|
||||
{snowflake, [
|
||||
{max_backward_clock_moving, 1000}, % 1 second
|
||||
{machine_id, hostname_hash}
|
||||
]}
|
||||
].
|
2
config/vm.args
Normal file
2
config/vm.args
Normal file
@ -0,0 +1,2 @@
|
||||
-sname pstds
|
||||
-setcookie pstds_cookie
|
Loading…
Reference in New Issue
Block a user