From da081be4d208e48721305429b709e1d1a9205877 Mon Sep 17 00:00:00 2001 From: Yurii Date: Sun, 23 Aug 2026 14:09:25 +0300 Subject: [PATCH] feat(tg-bot): add service monitor to handle metrics --- manifests/tg-bot/servicemonitor.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 manifests/tg-bot/servicemonitor.yaml diff --git a/manifests/tg-bot/servicemonitor.yaml b/manifests/tg-bot/servicemonitor.yaml new file mode 100644 index 0000000..b265efd --- /dev/null +++ b/manifests/tg-bot/servicemonitor.yaml @@ -0,0 +1,15 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: tg-downloader-bot + namespace: tg-bot + labels: + app: tg-bot +spec: + selector: + matchLabels: + app: tg-bot + endpoints: + - port: http + path: /metrics + interval: 15s \ No newline at end of file