diff options
author | rinpatch <rinpatch@sdf.org> | 2019-10-02 23:28:45 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-10-02 23:28:45 +0300 |
commit | acc62f327d45c0a9a0414da56bc339ec3e22cb63 (patch) | |
tree | 6ac0fbfc1c489e7e1823562f1717b29bf875d593 /docs/api/prometheus.md | |
parent | c5e937b156ea1f8f96ade7d9104fc2c5fd1dd9cd (diff) | |
download | pleroma-acc62f327d45c0a9a0414da56bc339ec3e22cb63.tar.gz |
Rename some directories because MkDocs uses them for categories
Diffstat (limited to 'docs/api/prometheus.md')
-rw-r--r-- | docs/api/prometheus.md | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/docs/api/prometheus.md b/docs/api/prometheus.md deleted file mode 100644 index 19c564e3c..000000000 --- a/docs/api/prometheus.md +++ /dev/null @@ -1,22 +0,0 @@ -# Prometheus Metrics - -Pleroma includes support for exporting metrics via the [prometheus_ex](https://github.com/deadtrickster/prometheus.ex) library. - -## `/api/pleroma/app_metrics` -### Exports Prometheus application metrics -* Method: `GET` -* Authentication: not required -* Params: none -* Response: JSON - -## Grafana -### Config example -The following is a config example to use with [Grafana](https://grafana.com) - -``` - - job_name: 'beam' - metrics_path: /api/pleroma/app_metrics - scheme: https - static_configs: - - targets: ['pleroma.soykaf.com'] -``` |