mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added platform-specific monitoring integration for Google Cloud Platform (GCP) in multiple services, enabling automated pod monitoring for deployments on GCP. - **Chores** - Removed an unused dependency related to Google Cloud monitoring from the backend server package. - **Refactor** - Updated internal monitoring implementation by removing a previously used metric reader method for GCP integration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
13 lines
307 B
YAML
13 lines
307 B
YAML
{{- if eq .Values.global.deployment.platform "gcp" -}}
|
|
apiVersion: monitoring.googleapis.com/v1
|
|
kind: ClusterPodMonitoring
|
|
metadata:
|
|
name: "{{ include "doc.fullname" . }}"
|
|
spec:
|
|
selector:
|
|
{{- include "doc.selectorLabels" . | nindent 4 }}
|
|
endpoints:
|
|
- port: 9464
|
|
interval: 30s
|
|
{{- end }}
|