aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-24 00:49:12 -0800
committerclarkzjw <[email protected]>2023-02-24 00:49:12 -0800
commit391abe42adf3bf065d9543ada068b696b00efdcd (patch)
treeea85f216881bacb54f579cae9814e2f85aa1abe5 /contrib/krakend.json
parentb097f3c13ddfa51551bce9ca9344c796e5cea9cb (diff)
downloadswarm2fediverse-391abe42adf3bf065d9543ada068b696b00efdcd.tar.gz
deploy: add krakend monitoring using influxdb and grafana
Diffstat (limited to 'contrib/krakend.json')
-rw-r--r--contrib/krakend.json20
1 files changed, 7 insertions, 13 deletions
diff --git a/contrib/krakend.json b/contrib/krakend.json
index 1f89340..2ed23d8 100644
--- a/contrib/krakend.json
+++ b/contrib/krakend.json
@@ -3,19 +3,13 @@
3 "version": 3, 3 "version": 3,
4 "name": "Checkin.bot API", 4 "name": "Checkin.bot API",
5 "extra_config": { 5 "extra_config": {
6 "telemetry/opencensus": { 6 "telemetry/influx": {
7 "sample_rate": 100, 7 "address": "http://influx:8086",
8 "reporting_period": 0, 8 "ttl": "25s",
9 "exporters": { 9 "buffer_size": 100,
10 "prometheus": { 10 "db": "krakend",
11 "port": 9091, 11 "username": "krakend",
12 "namespace": "krakend", 12 "password": "password"
13 "tag_host": false,
14 "tag_path": true,
15 "tag_method": true,
16 "tag_statuscode": false
17 }
18 }
19 }, 13 },
20 "telemetry/metrics": { 14 "telemetry/metrics": {
21 "collection_time": "60s", 15 "collection_time": "60s",
Powered by cgit v1.2.3 (git 2.41.0)