Add config

This commit is contained in:
Sergey Yelin 2020-09-04 18:51:33 +03:00
parent 6ca65d3924
commit f92c7d0108
No known key found for this signature in database
GPG Key ID: 0B653F3417EAEC54
2 changed files with 48 additions and 0 deletions

46
config/sys.config Normal file
View 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
View File

@ -0,0 +1,2 @@
-sname pstds
-setcookie pstds_cookie