From 8e9efc4f918add92eb7f561bdd435d4dbb53eb44 Mon Sep 17 00:00:00 2001 From: Lewis Buckley Date: Thu, 2 Oct 2025 16:44:17 +0100 Subject: [PATCH] Use labels so the OTel collector on the host can scrape containers --- config/deploy.staging.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/deploy.staging.yml b/config/deploy.staging.yml index c0b6502e4..8ea76fc72 100644 --- a/config/deploy.staging.yml +++ b/config/deploy.staging.yml @@ -3,9 +3,13 @@ servers: hosts: - fizzy-staging-app-01 - fizzy-staging-app-101 + labels: + otel_scrape_enabled: true jobs: hosts: - fizzy-staging-app-01 + labels: + otel_scrape_enabled: true proxy: ssl: false @@ -25,6 +29,9 @@ accessories: username: robot$harbor-bot password: - BASECAMP_REGISTRY_PASSWORD + labels: + role: beamer + service: fizzy-beamer options: user: 1000 # Match the UID of the Rails app, for volume permissions publish: