enable metrics endpoint
This commit is contained in:
parent
6a175d1bdb
commit
aca0283a17
1 changed files with 15 additions and 0 deletions
|
|
@ -31,6 +31,21 @@ data:
|
||||||
static_dir: "/static-files/",
|
static_dir: "/static-files/",
|
||||||
show_scrobbles: false
|
show_scrobbles: false
|
||||||
|
|
||||||
|
config :pleroma, Pleroma.PromEx,
|
||||||
|
disabled: true,
|
||||||
|
manual_metrics_start_delay: :no_delay,
|
||||||
|
drop_metrics_groups: [],
|
||||||
|
metrics_server: [
|
||||||
|
port: 4021,
|
||||||
|
path: "/metrics",
|
||||||
|
protocol: :http,
|
||||||
|
pool_size: 5,
|
||||||
|
cowboy_opts: [],
|
||||||
|
auth_strategy: :none
|
||||||
|
],
|
||||||
|
datasource: "Prometheus"
|
||||||
|
|
||||||
|
|
||||||
# config :pleroma, :http, proxy_url: {:socks5h, System.get_env("SOCKS_ADDRESS"), System.get_env("SOCKS_PORT")}
|
# config :pleroma, :http, proxy_url: {:socks5h, System.get_env("SOCKS_ADDRESS"), System.get_env("SOCKS_PORT")}
|
||||||
config :pleroma, :http,
|
config :pleroma, :http,
|
||||||
proxy_url: "http://privoxy:8118"
|
proxy_url: "http://privoxy:8118"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue