feat(nowchess): update Prometheus annotations to Grafana-compatible format

This commit is contained in:
2026-05-12 17:26:07 +02:00
parent 4beab3b687
commit 963f7ad271
+27 -27
View File
@@ -13,9 +13,9 @@ spec:
labels: labels:
app: nowchess-account app: nowchess-account
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8083" k8s.grafana.com/metrics_portNumber: "8083"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -108,9 +108,9 @@ spec:
labels: labels:
app: nowchess-bot-platform app: nowchess-bot-platform
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8087" k8s.grafana.com/metrics_portNumber: "8087"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -169,9 +169,9 @@ spec:
labels: labels:
app: nowchess-coordinator app: nowchess-coordinator
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8086" k8s.grafana.com/metrics_portNumber: "8086"
spec: spec:
serviceAccountName: default serviceAccountName: default
imagePullSecrets: imagePullSecrets:
@@ -245,9 +245,9 @@ spec:
labels: labels:
app: nowchess-core app: nowchess-core
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8080" k8s.grafana.com/metrics_portNumber: "8080"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -339,9 +339,9 @@ spec:
labels: labels:
app: nowchess-io app: nowchess-io
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8081" k8s.grafana.com/metrics_portNumber: "8081"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -401,9 +401,9 @@ spec:
labels: labels:
app: nowchess-official-bots app: nowchess-official-bots
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8088" k8s.grafana.com/metrics_portNumber: "8088"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -462,9 +462,9 @@ spec:
labels: labels:
app: nowchess-rule app: nowchess-rule
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8082" k8s.grafana.com/metrics_portNumber: "8082"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -524,9 +524,9 @@ spec:
labels: labels:
app: nowchess-store app: nowchess-store
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8085" k8s.grafana.com/metrics_portNumber: "8085"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret
@@ -605,9 +605,9 @@ spec:
labels: labels:
app: nowchess-ws app: nowchess-ws
annotations: annotations:
prometheus.io/scrape: "true" k8s.grafana.com/scrape: "true"
prometheus.io/path: /q/metrics k8s.grafana.com/metrics_path: "/actuator/prometheus"
prometheus.io/port: "8084" k8s.grafana.com/metrics_portNumber: "8084"
spec: spec:
imagePullSecrets: imagePullSecrets:
- name: ghcr-pull-secret - name: ghcr-pull-secret