From 928f46579365d18ffbf03d1137d3cb03edbf811f Mon Sep 17 00:00:00 2001 From: Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram Date: Wed, 12 Aug 2020 21:28:09 +0400 Subject: [PATCH] Add prometheus exporter --- .k8s/manifest-europe.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.k8s/manifest-europe.yml b/.k8s/manifest-europe.yml index 8efe792..b0a39db 100644 --- a/.k8s/manifest-europe.yml +++ b/.k8s/manifest-europe.yml @@ -21,6 +21,13 @@ spec: app: aladhan-com-cdn spec: containers: + - name: apache-exporter-sidecar + image: lusotycoon/apache-exporter + args: + - '--scrape_uri=http://localhost:8080/server-status?auto' + ports: + - containerPort: 9117 + protocol: TCP - name: aladhan-com-cdn image: islamicnetwork/cdn.aladhan.com:$COMMIT_TAG livenessProbe: