From 69b24b453e75432fee7671bb4839568535ae82c9 Mon Sep 17 00:00:00 2001 From: Ian Woodard <17186604+IanWoodard@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:21:18 -0800 Subject: [PATCH 1/2] feat(devservices): Adding devservices config for vroom --- devservices/config.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 devservices/config.yml diff --git a/devservices/config.yml b/devservices/config.yml new file mode 100644 index 0000000..70891bb --- /dev/null +++ b/devservices/config.yml @@ -0,0 +1,39 @@ +x-sentry-service-config: + version: 0.1 + service_name: vroom + dependencies: + kafka: + description: Shared instance of kafka used by sentry services + remote: + repo_name: sentry-shared-kafka + branch: main + repo_link: git@github.com:getsentry/sentry-shared-kafka.git + vroom: + description: Sentry's profiling service, processing and deriving data about your profiles + modes: + default: [kafka, vroom] +services: + vroom: + image: us-central1-docker.pkg.dev/sentryio/vroom/vroom:latest + ports: + - 127.0.0.1:8085:8085 + environment: + SENTRY_KAFKA_BROKERS_PROFILING: kafka-kafka-1:9092 + SENTRY_KAFKA_BROKERS_OCCURRENCES: kafka-kafka-1:9092 + SENTRY_BUCKET_PROFILES: file://localhost//var/lib/sentry-profiles + SENTRY_SNUBA_HOST: http://127.0.0.1:1218 + volumes: + - sentry-vroom:/var/lib/sentry-profiles + networks: + - devservices + extra_hosts: + host.docker.internal: host-gateway + restart: unless-stopped + +volumes: + sentry-vroom: + +networks: + devservices: + name: devservices + external: true From 42a1e170b13d3fe7e6b0428e29d41dd2d1522790 Mon Sep 17 00:00:00 2001 From: Ian Woodard <17186604+IanWoodard@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:05:52 -0800 Subject: [PATCH 2/2] Adding label --- devservices/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devservices/config.yml b/devservices/config.yml index 70891bb..a77f7b3 100644 --- a/devservices/config.yml +++ b/devservices/config.yml @@ -28,6 +28,8 @@ services: - devservices extra_hosts: host.docker.internal: host-gateway + labels: + - orchestrator=devservices restart: unless-stopped volumes: