dominant-v2/config/sys.config

60 lines
1.3 KiB
Plaintext
Raw Normal View History

[
{kernel, [
{log_level, info},
{logger, [
{handler, default, logger_std_h, #{
level =>
debug,
config => #{
type =>
2024-11-04 00:33:24 +00:00
{file, "/var/log/dmt/console.json"},
sync_mode_qlen =>
20
},
formatter =>
{logger_logstash_formatter, #{}}
}}
]}
]},
{dmt, []},
{epg_connector, [
{databases, #{
default_db => #{
host => "db",
port => 5432,
username => "postgres",
password => "postgres",
database => "dmt"
}
}},
{pools, #{
default_pool => #{
database => default_db,
size => 10
}
}}
]},
{scoper, [
{storage, scoper_storage_logger}
]},
{how_are_you, [
{metrics_publishers, [
% {hay_statsd_publisher, #{
2024-11-04 00:33:24 +00:00
% key_prefix => <<".">>,
% host => "localhost",
% port => 8125
% }}
]}
]},
{prometheus, [
{collectors, [
default
]}
]}
].