[#1668] Restricted access to app metrics endpoint by default. Added ability to config...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 18 Oct 2020 18:22:21 +0000 (21:22 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Sun, 18 Oct 2020 18:22:21 +0000 (21:22 +0300)
commit524fb0e4c2561f4a2e4c8e58519df991f034c901
treec3940d2ef45022425e6ca9d7520ba0e63c154dfc
parentbe611b143bf2840c039aaf63dbf1a73d9f9daf7b
[#1668] Restricted access to app metrics endpoint by default. Added ability to configure IP whitelist for this endpoint.
Added tests and documentation.
CHANGELOG.md
config/config.exs
docs/API/prometheus.md
lib/pleroma/helpers/inet_helper.ex [new file with mode: 0644]
lib/pleroma/web/endpoint.ex
test/pleroma/web/endpoint/metrics_exporter_test.exs [new file with mode: 0644]