mirror of
https://github.com/valitydev/party-management.git
synced 2024-11-06 01:05:21 +00:00
e16301bd9a
* IMP-278: Retires payouts * Refactors fixture for `pm_party_tests_SUITE:check_all_payment_methods/1` testcase * Fixes dialyzer warns and updates woody metrics publishing * Bumps CI cache * Fixes deps order in main application * Bumps damsel * Reverts removed fields * Bumps damsel * Bumps CI * Bumps damsel
85 lines
2.4 KiB
Plaintext
85 lines
2.4 KiB
Plaintext
[
|
|
{kernel, [
|
|
{logger_sasl_compatible, false},
|
|
{logger_level, info},
|
|
{logger, [
|
|
{handler, default, logger_std_h, #{
|
|
level => error,
|
|
config => #{
|
|
type => standard_error
|
|
},
|
|
formatter => {logger_formatter, #{
|
|
depth => 30
|
|
}}
|
|
}},
|
|
{handler, console_logger, logger_std_h, #{
|
|
level => debug,
|
|
config => #{
|
|
type => {file, "/var/log/party-management/console.json"},
|
|
sync_mode_qlen => 20
|
|
},
|
|
formatter => {logger_logstash_formatter, #{}}
|
|
}}
|
|
]}
|
|
]},
|
|
|
|
{scoper, [
|
|
{storage, scoper_storage_logger}
|
|
]},
|
|
|
|
{party_management, [
|
|
{scoper_event_handler_options, #{
|
|
event_handler_opts => #{
|
|
formatter_opts => #{
|
|
max_length => 1000
|
|
}
|
|
}
|
|
}},
|
|
{services, #{
|
|
automaton => "http://machinegun:8022/v1/automaton",
|
|
accounter => "http://shumway:8022/accounter"
|
|
}},
|
|
{cache_options, #{ %% see `pm_party_cache:cache_options/0`
|
|
memory => 209715200, % 200Mb, cache memory quota in bytes
|
|
ttl => 3600,
|
|
size => 3000
|
|
}}
|
|
]},
|
|
|
|
{dmt_client, [
|
|
% для интеграционных берем latest_version из доминанты
|
|
{use_cached_last_version, false},
|
|
{cache_update_interval, 5000}, % milliseconds
|
|
{max_cache_size, #{
|
|
elements => 20,
|
|
memory => 52428800 % 50Mb
|
|
}},
|
|
{woody_event_handlers, [
|
|
{scoper_woody_event_handler, #{
|
|
event_handler_opts => #{
|
|
formatter_opts => #{
|
|
max_length => 1000
|
|
}
|
|
}
|
|
}}
|
|
]},
|
|
{service_urls, #{
|
|
'Repository' => <<"http://dominant:8022/v1/domain/repository">>,
|
|
'RepositoryClient' => <<"http://dominant:8022/v1/domain/repository_client">>
|
|
}}
|
|
]},
|
|
|
|
{snowflake, [
|
|
{max_backward_clock_moving, 1000}, % 1 second
|
|
{machine_id, hostname_hash}
|
|
]},
|
|
|
|
{prometheus, [
|
|
{collectors, [default]}
|
|
]},
|
|
|
|
{hackney, [
|
|
{mod_metrics, woody_hackney_prometheus}
|
|
]}
|
|
].
|