Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

previews: Add attribute to spans so they can be filtered in Honeycomb #13213

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

ArthurSens
Copy link
Contributor

Description

Following up from gitpod-io/observability#323, this PR adds an attribute to traces that are emitted by Gitpod in preview environments. This is being done so engineers can filter spans in Honeycomb that are specific for the preview environment they're working on.

Related Issue(s)

Fixes #

How to test

  • Start a workspace from this PR
  • Spin up a preview environment
  • Start a workspace from the preview just to create some spans
  • Search for traces where preview.name = <your preview name>

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

Signed-off-by: ArthurSens <arthursens2005@gmail.com>
@ArthurSens
Copy link
Contributor Author

ArthurSens commented Sep 22, 2022

Properly tested 🙂
image

@roboquat roboquat merged commit 493da6c into main Sep 22, 2022
@roboquat roboquat deleted the as/preview-span-attribute branch September 22, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants