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

add log when starting workspace with pvc #11824

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Conversation

sagor999
Copy link
Contributor

@sagor999 sagor999 commented Aug 3, 2022

Description

Related Issue(s)

Related #11823

How to test

Release Notes

none

Documentation

Werft options:

  • /werft with-preview

@sagor999 sagor999 requested a review from a team August 3, 2022 02:36
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Aug 3, 2022
Copy link
Contributor

@andrew-farries andrew-farries left a comment

Choose a reason for hiding this comment

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

/hold for question about log vs metric

Comment on lines +1369 to +1378
log.info(
{
lastInstanceId: lastValidWorkspaceInstanceId,
volSnapshotId: volumeSnapshotId,
snapshotId: volumeSnapshots.id,
volumeHandle: volumeSnapshots.volumeHandle,
workspaceId: workspace.id,
},
"starting workspace with volume snapshot info",
);
Copy link
Contributor

Choose a reason for hiding this comment

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

would a metric be more useful than a log message or is there already something in place?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, we kind of need log instead for debugging reasons.

@sagor999
Copy link
Contributor Author

sagor999 commented Aug 3, 2022

/unhold

@roboquat roboquat merged commit cb20605 into main Aug 3, 2022
@roboquat roboquat deleted the pavel/pvc-server-log branch August 3, 2022 17:54
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants