Skip to content

feat: add telemetry support for workspace agent subsystem - #7579

Merged
sreya merged 13 commits into
mainfrom
jon/envboxtelem
May 18, 2023
Merged

feat: add telemetry support for workspace agent subsystem#7579
sreya merged 13 commits into
mainfrom
jon/envboxtelem

Conversation

@sreya

@sreya sreya commented May 17, 2023

Copy link
Copy Markdown
Collaborator

This PR adds a "subsystem" field to the workspace agent that can be used to identify workspaces that are being run via custom solutions such as envbox or envbuilder. In order to register a subsystem a CODER_AGENT_SUBSYSTEM env var must be set to a valid value.

fixes #6802

@sreya
sreya marked this pull request as ready for review May 17, 2023 04:54
@sreya
sreya requested a review from coadler May 17, 2023 04:54
@sreya sreya changed the title feat: add subsystem to workspace agent feat: add telemetry support for workspace agent subsystem May 17, 2023
Comment thread cli/agent.go

@coadler coadler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops meant to hit approve button

@sreya
sreya merged commit 00a2413 into main May 18, 2023
@sreya
sreya deleted the jon/envboxtelem branch May 18, 2023 03:49
@github-actions github-actions Bot locked and limited conversation to collaborators May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

envbox: report envbox usage via telemetry

2 participants