Skip to content

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

Merged
roboquat merged 1 commit into
mainfrom
as/preview-span-attribute
Sep 22, 2022
Merged

previews: Add attribute to spans so they can be filtered in Honeycomb#13213
roboquat merged 1 commit into
mainfrom
as/preview-span-attribute

Conversation

@ArthurSens

Copy link
Copy Markdown
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

ArthurSens commented Sep 22, 2022

Copy link
Copy Markdown
Contributor Author

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