- Add ServiceMonitors for Traefik, ArgoCD, and Longhorn - Enable cert-manager ServiceMonitor via helm values - Deploy Grafana Tempo for distributed tracing (single-binary, Longhorn PVC) - Add Tempo datasource with trace-to-logs and trace-to-metrics correlation - Instrument API with OpenTelemetry SDK (Prometheus metrics + OTLP traces) - Replace console.log with pino structured logging + pino-http middleware - Add Grafana dashboards for Traefik, API overview, and PostgreSQL (CNPG)
34 lines
805 B
YAML
34 lines
805 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: argocd
|
|
resources:
|
|
- namespace.yaml
|
|
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.3/manifests/install.yaml
|
|
- app-of-apps.yaml
|
|
- appsets/platform.yaml
|
|
- appsets/apps.yaml
|
|
- appsets/previews.yaml
|
|
- servicemonitor.yaml
|
|
patches:
|
|
- target:
|
|
kind: ConfigMap
|
|
name: argocd-cm
|
|
patch: |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cm
|
|
data:
|
|
url: https://argocd.coreworlds.io
|
|
application.resourceTrackingMethod: annotation
|
|
- target:
|
|
kind: ConfigMap
|
|
name: argocd-cmd-params-cm
|
|
patch: |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cmd-params-cm
|
|
data:
|
|
server.insecure: "true"
|