[kbn-journeys] extend apm labels with branch, gitRev, ciBuildName (#144521)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Dzmitry Lemechko 2022-11-04 23:11:45 +01:00 committed by GitHub
parent a30e6c2555
commit 6bc74ae155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,6 +117,9 @@ export function makeFtrConfigProvider(
journeyName: config.getName(),
ftrConfig: config.getRepoRelPath(),
performancePhase: process.env.TEST_PERFORMANCE_PHASE,
branch: process.env.BUILDKITE_BRANCH,
gitRev: process.env.BUILDKITE_COMMIT,
ciBuildName: process.env.BUILDKITE_PIPELINE_SLUG,
})
.flatMap(([key, value]) => (value == null ? [] : `${key}=${value}`))
.join(','),