-
Notifications
You must be signed in to change notification settings - Fork 284
Improved dev tracing P1 #1993
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
Improved dev tracing P1 #1993
Conversation
| return docResult.value.documentUuid | ||
| } catch { | ||
| return undefined | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
t please t
| @@ -0,0 +1 @@ | |||
| export { NormalizingSpanProcessor } from './normalize' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to hace this barrel file?
| (attributes['latitude.commitUuid'] as string) || HEAD_COMMIT | ||
|
|
||
| // If promptPath is provided but promptUuid is not, resolve it | ||
| if (promptPath && !promptUuid && projectId) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: instead of a comment and the logic in the if, create a constant with a readable name and add it to the if
| db: typeof database | ||
| }): Promise<string | undefined> { | ||
| try { | ||
| // Get the commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for this comment, its self explanatory
| } | ||
| const commit = commitResult.value | ||
|
|
||
| // Get the document by path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
|
What's the status of this? |
The
telemetry.trace(...)wrapper callback from the Demo Day.Note: This will NOT be the final callback look. That's why this PR doesn't include any documentation or package bump.
HoweverNonetheless, the next changes involve many files so I'd rather do the PR incrementally.Part 1/?