feat(nowchess): add Prometheus annotations for metrics scraping
This commit is contained in:
@@ -12,6 +12,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-account
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8083"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -103,6 +107,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-bot-platform
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8087"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -160,6 +168,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-coordinator
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8086"
|
||||
spec:
|
||||
serviceAccountName: default
|
||||
imagePullSecrets:
|
||||
@@ -232,6 +244,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-core
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8080"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -322,6 +338,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-io
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8081"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -380,6 +400,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-official-bots
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8088"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -437,6 +461,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-rule
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8082"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -495,6 +523,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-store
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8085"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
@@ -572,6 +604,10 @@ spec:
|
||||
metadata:
|
||||
labels:
|
||||
app: nowchess-ws
|
||||
annotations:
|
||||
prometheus.io/scrape: "true"
|
||||
prometheus.io/path: /q/metrics
|
||||
prometheus.io/port: "8084"
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: ghcr-pull-secret
|
||||
|
||||
Reference in New Issue
Block a user