From 2b4be61d211f2eb25054f9582a18fae833edc86e Mon Sep 17 00:00:00 2001 From: Ainsey11 Date: Fri, 15 Apr 2022 01:12:37 +0100 Subject: [PATCH] Addition of example prometheus configuration --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 8bab919..f8b5e61 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,15 @@ Environment variables can be passed in via normal syntax for your OS. --- +### Prometheus example config +``` + - job_name: 'tubearchivist-metrics' + metrics_path: / + static_configs: + - targets: + - :9934 +``` +--- ## How are metrics gathered? Typically, a prometheus server will poll the HTTP endpoint of the metrics service to obtain its metrics.