mirror of
https://github.com/valitydev/helmsdeep.git
synced 2024-11-06 08:55:21 +00:00
70fc4438cc
* Prometeus integration in erlang services * Downgrade prometheus chart to 10.1.0 I got strange crd-related errors with the new version. Like `manifest_sorter.go:192: info: skipping unknown hook: "crd-install"` * Add ServiceMonitors Co-authored-by: Andrey Fadeev <me@ciiol.net>
94 lines
2.5 KiB
Plaintext
94 lines
2.5 KiB
Plaintext
[
|
|
{cds, [
|
|
{ip, "::"},
|
|
{port, 8022},
|
|
{transport_opts, #{}},
|
|
{protocol_opts, #{
|
|
request_timeout => 60000
|
|
}},
|
|
{shutdown_timeout, 0},
|
|
{scrypt_opts, {16384, 8, 1}},
|
|
{keyring, #{
|
|
url => <<"https://kds:8023">>,
|
|
ssl_options => [
|
|
{server_name_indication, "kds"},
|
|
{verify, verify_peer},
|
|
{cacertfile, "/var/lib/cds/ca.crt"},
|
|
{certfile, "/var/lib/cds/client.pem"}
|
|
],
|
|
transport_opts => #{
|
|
recv_timeout => 10000,
|
|
connect_timeout => 1000
|
|
},
|
|
timeout => 10000
|
|
}},
|
|
|
|
{storage, cds_storage_riak},
|
|
{cds_storage_riak, #{
|
|
conn_params => #{
|
|
host => "riak",
|
|
port => 8087,
|
|
options => #{
|
|
connect_timeout => 1000,
|
|
keepalive => true
|
|
}
|
|
},
|
|
pool_params => #{
|
|
max_count => 10,
|
|
init_count => 10,
|
|
cull_interval => {0, min},
|
|
pool_timeout => {1, sec}
|
|
}
|
|
}},
|
|
{session_cleaning, #{
|
|
interval => 3000,
|
|
batch_size => 5000,
|
|
session_lifetime => 3600
|
|
}},
|
|
{recrypting, #{
|
|
interval => 3000,
|
|
batch_size => 5000
|
|
}},
|
|
{health_checkers, [
|
|
{erl_health, disk , ["/", 99] },
|
|
{erl_health, cg_memory, [99] },
|
|
{erl_health, service , [<<"cds">>]}
|
|
]}
|
|
]},
|
|
|
|
{scoper, [
|
|
{storage, scoper_storage_logger}
|
|
]},
|
|
|
|
{kernel, [
|
|
{logger_sasl_compatible, false},
|
|
{logger_level, debug},
|
|
{logger, [
|
|
{handler, default, logger_std_h, #{
|
|
config => #{
|
|
type => standard_io
|
|
},
|
|
formatter => {logger_logstash_formatter, #{
|
|
message_redaction_regex_list => [
|
|
"[0-9]{12,19}", %% pan
|
|
"[0-9]{2}.[0-9]{2,4}", %% expiration date
|
|
"[0-9]{3,4}" %% cvv
|
|
]
|
|
}}
|
|
}}
|
|
]}
|
|
]},
|
|
|
|
{os_mon, [
|
|
{disksup_posix_only, true}
|
|
]},
|
|
|
|
{how_are_you, [
|
|
{metrics_publishers, []}
|
|
]},
|
|
|
|
{prometheus, [
|
|
{collectors, [default]}
|
|
]}
|
|
].
|