From 8c614d2212b71206cd83658f1b4ff6a04a13d9f9 Mon Sep 17 00:00:00 2001 From: Silvestre Zabala <silvestre.zabala@sap.com> Date: Wed, 30 Aug 2023 17:33:58 +0200 Subject: [PATCH] Set `DT_APPLICATIONID` environment variables --- jobs/eventgenerator/templates/bpm.yml.erb | 1 + jobs/golangapiserver/templates/bpm.yml.erb | 1 + jobs/metricsforwarder/templates/bpm.yml.erb | 1 + jobs/metricsgateway/templates/bpm.yml.erb | 1 + jobs/metricsserver/templates/bpm.yml.erb | 1 + jobs/operator/templates/bpm.yml.erb | 1 + jobs/scalingengine/templates/bpm.yml.erb | 1 + jobs/scheduler/templates/bpm.yml.erb | 1 + 8 files changed, 8 insertions(+) diff --git a/jobs/eventgenerator/templates/bpm.yml.erb b/jobs/eventgenerator/templates/bpm.yml.erb index 5ef140a500..9df151045c 100644 --- a/jobs/eventgenerator/templates/bpm.yml.erb +++ b/jobs/eventgenerator/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/eventgenerator/config/eventgenerator.yml env: DT_MONITOR: true + DT_APPLICATIONID: eventgenerator hooks: pre_start: /var/vcap/jobs/eventgenerator/bin/bpm-pre-start diff --git a/jobs/golangapiserver/templates/bpm.yml.erb b/jobs/golangapiserver/templates/bpm.yml.erb index a6a73cdf5a..e12380d2de 100644 --- a/jobs/golangapiserver/templates/bpm.yml.erb +++ b/jobs/golangapiserver/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/golangapiserver/config/apiserver.yml env: DT_MONITOR: true + DT_APPLICATIONID: apiserver hooks: pre_start: /var/vcap/jobs/golangapiserver/bin/bpm-pre-start diff --git a/jobs/metricsforwarder/templates/bpm.yml.erb b/jobs/metricsforwarder/templates/bpm.yml.erb index cc637c42a1..8ce33004fc 100644 --- a/jobs/metricsforwarder/templates/bpm.yml.erb +++ b/jobs/metricsforwarder/templates/bpm.yml.erb @@ -6,3 +6,4 @@ processes: - /var/vcap/jobs/metricsforwarder/config/metricsforwarder.yml env: DT_MONITOR: true + DT_APPLICATIONID: metricsforwarder diff --git a/jobs/metricsgateway/templates/bpm.yml.erb b/jobs/metricsgateway/templates/bpm.yml.erb index e6479ada8f..1cd16104ce 100644 --- a/jobs/metricsgateway/templates/bpm.yml.erb +++ b/jobs/metricsgateway/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/metricsgateway/config/metricsgateway.yml env: DT_MONITOR: true + DT_APPLICATIONID: metricsgateway hooks: pre_start: /var/vcap/jobs/metricsgateway/bin/bpm-pre-start diff --git a/jobs/metricsserver/templates/bpm.yml.erb b/jobs/metricsserver/templates/bpm.yml.erb index da062bd8c5..09bd35b6bf 100644 --- a/jobs/metricsserver/templates/bpm.yml.erb +++ b/jobs/metricsserver/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/metricsserver/config/metricsserver.yml env: DT_MONITOR: true + DT_APPLICATIONID: metricsserver hooks: pre_start: /var/vcap/jobs/metricsserver/bin/bpm-pre-start diff --git a/jobs/operator/templates/bpm.yml.erb b/jobs/operator/templates/bpm.yml.erb index 97990b74b3..efba5b1955 100644 --- a/jobs/operator/templates/bpm.yml.erb +++ b/jobs/operator/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/operator/config/operator.yml env: DT_MONITOR: true + DT_APPLICATIONID: operator hooks: pre_start: /var/vcap/jobs/operator/bin/bpm-pre-start diff --git a/jobs/scalingengine/templates/bpm.yml.erb b/jobs/scalingengine/templates/bpm.yml.erb index 20c4966708..034e4d8459 100644 --- a/jobs/scalingengine/templates/bpm.yml.erb +++ b/jobs/scalingengine/templates/bpm.yml.erb @@ -6,5 +6,6 @@ processes: - /var/vcap/jobs/scalingengine/config/scalingengine.yml env: DT_MONITOR: true + DT_APPLICATIONID: scalingengine hooks: pre_start: /var/vcap/jobs/scalingengine/bin/bpm-pre-start diff --git a/jobs/scheduler/templates/bpm.yml.erb b/jobs/scheduler/templates/bpm.yml.erb index 19c0dfde4d..0a88849e21 100644 --- a/jobs/scheduler/templates/bpm.yml.erb +++ b/jobs/scheduler/templates/bpm.yml.erb @@ -7,5 +7,6 @@ processes: - /var/vcap/packages/scheduler/scheduler-1.0-SNAPSHOT.war env: DT_MONITOR: true + DT_APPLICATIONID: scheduler hooks: pre_start: /var/vcap/jobs/scheduler/bin/bpm-pre-start