X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fdescription.exs;h=0bfa9979f91ab37f11226d60eec2b8f05b497116;hb=1204aaa2e35983f7361d61ee7906ccf3d09d84e4;hp=0da1da57d85a55b35ef9f8e0a712b3e52ab37a90;hpb=073ad7e6d91884f3c972f903d936f029c7a884e6;p=akkoma diff --git a/config/description.exs b/config/description.exs index 0da1da57d..0bfa9979f 100644 --- a/config/description.exs +++ b/config/description.exs @@ -831,6 +831,12 @@ config :pleroma, :config_description, [ description: "Set to nicknames of (local) users that every new user should automatically follow" }, + %{ + key: :autofollowing_nicknames, + type: {:list, :string}, + description: + "Set to nicknames of (local) users that automatically follows every newly registered user" + }, %{ key: :attachment_links, type: :boolean, @@ -3716,5 +3722,42 @@ config :pleroma, :config_description, [ suggestions: [2] } ] + }, + %{ + group: :prometheus, + key: Pleroma.Web.Endpoint.MetricsExporter, + type: :group, + description: "Prometheus app metrics endpoint configuration", + children: [ + %{ + key: :enabled, + type: :boolean, + description: "[Pleroma extension] Enables app metrics endpoint." + }, + %{ + key: :ip_whitelist, + type: [{:list, :string}, {:list, :charlist}, {:list, :tuple}], + description: + "[Pleroma extension] If non-empty, restricts access to app metrics endpoint to specified IP addresses." + }, + %{ + key: :auth, + type: [:boolean, :tuple], + description: "Enables HTTP Basic Auth for app metrics endpoint.", + suggestion: [false, {:basic, "myusername", "mypassword"}] + }, + %{ + key: :path, + type: :string, + description: "App metrics endpoint URI path.", + suggestions: ["/api/pleroma/app_metrics"] + }, + %{ + key: :format, + type: :atom, + description: "App metrics endpoint output format.", + suggestions: [:text, :protobuf] + } + ] } ]