diff --git a/config/sys.config b/config/sys.config new file mode 100644 index 0000000..184be39 --- /dev/null +++ b/config/sys.config @@ -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} + ]} +]. diff --git a/config/vm.args b/config/vm.args new file mode 100644 index 0000000..2a271b8 --- /dev/null +++ b/config/vm.args @@ -0,0 +1,2 @@ +-sname pstds +-setcookie pstds_cookie