Skip to content

dev/dn: create trace for PR to deploy

Administrator requested to merge dn-tracing into main

Created by: bobheadxi

When notifying for a deployment event, also create a build trace that ties all associated PRs' merge times per-service to the deployment event, to measure how long each service goes from change to a deployed environment.

Closes https://github.com/sourcegraph/sourcegraph/issues/31851 part of https://github.com/sourcegraph/sourcegraph/issues/32153

Test plan

go install ./enterprise/dev/deployment-notifier

Then head over to deploy-sourcegraph-cloud:

deployment-notifier -environment preprod -honeycomb.token=$HONEYCOMB_TOKEN -github.token=$GITHUB_TOKEN

https://github.com/sourcegraph/sourcegraph/pull/33120#issuecomment-1080969897

Merge request reports

Loading