-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(logs): Add experimental user-callable logging methods #15442
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
Closed
Closed
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
bdcb9e1
initial work on .log
colin-sentry 4281cbe
improve a bit
colin-sentry 1869d6f
linting, etc
colin-sentry 4b89486
fix: Rename ourlog -> log
AbhiPrasad 2fe0e1b
ref: Namespace logging methods in experiment obj
AbhiPrasad 21b16e8
ref: Improve log creation logic and update option name
AbhiPrasad 9ac58b1
allow for multiple logs to be flushed in the same envelope
AbhiPrasad 8fc4ae2
feat: Add release and environment to logs
AbhiPrasad f3adcde
ref: Change log buffer max length from 100 -> 25
AbhiPrasad bbc170d
feat: Send severityNumber
AbhiPrasad bab4c6e
ref: re-org functions and exports
AbhiPrasad f750d08
feat: Add log function
AbhiPrasad 7218377
fix: use correct severity number for log
AbhiPrasad 3e936c9
chore: Bump size-limit
AbhiPrasad b702cf0
chore: size limit entries that were missed
AbhiPrasad 301a1ca
Update packages/core/src/log.ts
k-fish 6f3560c
Use '.' for param so it renders more nicely in the log attribute tree…
k-fish 6215ad9
json the parameters
colin-sentry 9048164
align attributes with what was agreed
AbhiPrasad 4e0d9bd
Merge branch 'develop' into colin/log-api
AbhiPrasad a8673b7
fix: Duplicate export identifier
AbhiPrasad e9fa3bc
ref: introduce format function and restructure exports
AbhiPrasad 2c3db7d
Merge branch 'develop' into colin/log-api
AbhiPrasad 3ffc54b
Merge branch 'develop' into colin/log-api
AbhiPrasad cdf8bc5
chore: bump size-limit
AbhiPrasad 0e77407
fix: ParamaterizeString typing to allow more than string values
AbhiPrasad 4d0678a
feat: Add parent_span_id to outgoing logs
AbhiPrasad 7b83155
feat: Export logging methods for node/server-side SDKs
AbhiPrasad 6994781
fix: Set parent_span_id properly
AbhiPrasad 8602f81
fix: Remove unneeded import
AbhiPrasad 7d22aa2
chore: bump size-limit
AbhiPrasad d7e3479
Merge branch 'develop' into colin/log-api
AbhiPrasad bbb1698
Merge branch 'develop' into colin/log-api
colin-sentry c4b6d2d
feat(buffer): Add beforeSendLogs for sampling decisions
colin-sentry 1da9a7f
clean up
colin-sentry 5b66ccf
remove old comment
colin-sentry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This is the side-effect y'all are probably looking for.