Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2357 +/- ##
==========================================
+ Coverage 98.67% 98.70% +0.03%
==========================================
Files 208 209 +1
Lines 13748 13837 +89
==========================================
+ Hits 13566 13658 +92
+ Misses 182 179 -3
|
0b902f4 to
a3f2ba8
Compare
sl0thentr0py
requested changes
Aug 2, 2024
a3f2ba8 to
e9acf35
Compare
2985a36 to
de87c9a
Compare
de87c9a to
03b17f9
Compare
03b17f9 to
6f67d4e
Compare
sl0thentr0py
requested changes
Aug 7, 2024
| - Support for tracing Faraday requests ([#2345](https://github.com/getsentry/sentry-ruby/pull/2345)) | ||
| - Closes [#1795](https://github.com/getsentry/sentry-ruby/issues/1795) | ||
| - Please note that the Faraday instrumentation has some limitations in case of async requests: https://github.com/lostisland/faraday/issues/1381 | ||
| - Support for attachments ([#2357](https://github.com/getsentry/sentry-ruby/pull/2357)) |
Member
There was a problem hiding this comment.
for new features, we add a small snippet below the changelog entry that shows users how to use the new feature. So here,
Sentry.add_attachment(path: '/foo/bar.txt')
Sentry.add_attachment(filename: 'payload.json', bytes: '{"value": 42}'))
sl0thentr0py
approved these changes
Aug 8, 2024
Instructions and example for changelogPlease add an entry to Example: ## Unreleased
- File/attachment uploads ([#2357](https://github.com/getsentry/sentry-ruby/pull/2357))If none of the above apply, you can opt out of this check by adding |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds support for attaching files to the scope like this:
TODO
Sentry.add_attachment(**opts):pathoptioncontent_typeautomatically based onfilenameCloses #1548