FEAT(otel): add OTel Collector for logs and traces

- Add OpenTelemetry Operator for CR management
- Deploy OTel Collector as DaemonSet via CR
- Enable filelog receiver for container log collection
- Replace Promtail with OTel filelog receiver
- Keep Prometheus for ServiceMonitor-based metrics scraping
This commit is contained in:
2026-01-09 23:23:51 +09:00
parent ad9573e998
commit 02faf93555
10 changed files with 550 additions and 87 deletions

View File

@@ -5,18 +5,14 @@ metadata:
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
annotations:
argocd.argoproj.io/sync-wave: "1"
spec:
project: default
sources:
- repoURL: https://open-telemetry.github.io/opentelemetry-helm-charts
chart: opentelemetry-collector
targetRevision: 0.108.0
helm:
valueFiles:
- $values/opentelemetry-collector/helm-values.yaml
- repoURL: https://github.com/K3S-HOME/observability.git
source:
repoURL: https://github.com/K3S-HOME/observability.git
targetRevision: main
ref: values
path: opentelemetry-collector/manifests
destination:
server: https://kubernetes.default.svc
namespace: opentelemetry
@@ -29,6 +25,7 @@ spec:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
- ServerSideApply=true
retry:
limit: 5
backoff: