diff options
author | feld <feld@feld.me> | 2020-10-27 22:13:50 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2020-10-27 22:13:50 +0000 |
commit | 03a318af9ac1cc86e1201d6f55babd06c0b5ecd9 (patch) | |
tree | 1f45ec8d85a95ea677fc1e1a5e78f64e5241f36b /config/description.exs | |
parent | e062329a177e1a1382cb3a44ef71e6d278b4963e (diff) | |
parent | 7d31122781c27e11e9e4ab62290cb772d64472d4 (diff) | |
download | pleroma-03a318af9ac1cc86e1201d6f55babd06c0b5ecd9.tar.gz pleroma-03a318af9ac1cc86e1201d6f55babd06c0b5ecd9.zip |
Merge branch 'develop' into 'feature/autofollowing'
# Conflicts:
# CHANGELOG.md
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 1c300cc45..0bfa9979f 100644 --- a/config/description.exs +++ b/config/description.exs @@ -3722,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] + } + ] } ] |