From c6893dcae8775d1e3861c6f282eae4c209905ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20=C3=81lvarez?= Date: Thu, 2 Oct 2025 10:34:50 +0200 Subject: [PATCH] Add otel_collector accessory for load balancer --- config/deploy.beta.yml | 11 +++++++++++ config/deploy.staging.yml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/config/deploy.beta.yml b/config/deploy.beta.yml index 3b56efcfa..8aee0d69f 100644 --- a/config/deploy.beta.yml +++ b/config/deploy.beta.yml @@ -46,3 +46,14 @@ accessories: - 443:443 volumes: - load-balancer:/home/kamal-proxy/.config/kamal-proxy + + otel_collector-load-balancer: + image: otel/opentelemetry-collector-contrib:0.126.0 + port: 9394 + files: + - config/otel_collector.yml:/etc/otelcol-contrib/config.yaml + volumes: + - /var/run/docker.sock:/var/run/docker.sock + options: + user: 0 + host: fizzy-beta-lb-01 diff --git a/config/deploy.staging.yml b/config/deploy.staging.yml index e1ab533ec..4491bfb71 100644 --- a/config/deploy.staging.yml +++ b/config/deploy.staging.yml @@ -46,3 +46,14 @@ accessories: - 443:443 volumes: - load-balancer:/home/kamal-proxy/.config/kamal-proxy + + otel_collector-load-balancer: + image: otel/opentelemetry-collector-contrib:0.126.0 + port: 9394 + files: + - config/otel_collector.yml:/etc/otelcol-contrib/config.yaml + volumes: + - /var/run/docker.sock:/var/run/docker.sock + options: + user: 0 + host: fizzy-staging-lb-01