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

feat: instrument permit calls #1858

Merged
merged 3 commits into from
Aug 15, 2024
Merged

feat: instrument permit calls #1858

merged 3 commits into from
Aug 15, 2024

Conversation

oddgrd
Copy link
Contributor

@oddgrd oddgrd commented Aug 15, 2024

Description of change

Instrument permit client calls, and add a common field to group them.

@oddgrd oddgrd requested a review from jonaro00 August 15, 2024 09:48
Copy link
Member

@jonaro00 jonaro00 left a comment

Choose a reason for hiding this comment

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

found these. also a nit to have traling comma on the ones with multiple lines

backends/src/client/permit.rs Show resolved Hide resolved
backends/src/client/permit.rs Show resolved Hide resolved
@oddgrd oddgrd merged commit b4abc65 into main Aug 15, 2024
31 of 33 checks passed
@oddgrd oddgrd deleted the feat/instrument-permit-calls branch August 15, 2024 10:35
@@ -477,7 +477,8 @@ impl PermissionsDal for Client {
#[instrument(skip_all, fields(
shuttle.user.id = user_id,
shuttle.project.id = project_id,
shuttle.permit.client = true
shuttle.team.action = action,
Copy link
Member

Choose a reason for hiding this comment

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

would have called it shuttle.permit.action or just action but no worries :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants