enable metrics endpoint
This commit is contained in:
parent
42fbde6bbf
commit
bdd6889f95
1 changed files with 20 additions and 1 deletions
|
|
@ -31,7 +31,26 @@ data:
|
||||||
static_dir: "/static-files/",
|
static_dir: "/static-files/",
|
||||||
show_scrobbles: false
|
show_scrobbles: false
|
||||||
|
|
||||||
|
config :pleroma, Pleroma.PromEx,
|
||||||
|
disabled: false,
|
||||||
|
manual_metrics_start_delay: :no_delay,
|
||||||
|
drop_metrics_groups: [],
|
||||||
|
# grafana: [
|
||||||
|
# host: System.get_env("GRAFANA_HOST", "http://localhost:3000"),
|
||||||
|
# auth_token: System.get_env("GRAFANA_TOKEN"),
|
||||||
|
# upload_dashboards_on_start: false,
|
||||||
|
# folder_name: "BEAM",
|
||||||
|
# annotate_app_lifecycle: true
|
||||||
|
# ],
|
||||||
|
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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue