Comments (1)
ConfigureScope
can be called as many times as you need.
For example:
SentrySdk.ConfigureScope(s => s.SetTag("k1", "v1");
SentrySdk.ConfigureScope(s => s.SetTag("k2", "v2");
SentrySdk.CaptureMessage("message");
Would result in a message
in sentry with the 2 tags set above.
I guess it might not be clear. It's worth mentioning that on the documentation then.
With that in mind, we would like to avoid adding things that exists on the Scope
into SentrySdk
simply to get the call a bit shorter. (AddBreadcrumb
is the exception).
from sentry-dotnet.
Related Issues (20)
- `GetFlushableBuckets_IsThreadsafe` failed on CI HOT 2
- Add ServiceCollection extensions for native Android and iOS projects HOT 3
- User ID is left blank on Android HOT 2
- High memory usage from ISpan[] and SpanTracer HOT 4
- Sentry assembly produces trim warnings when compiling AOT HOT 1
- System.IO.IOException in DebugStackTrace
- Hangfire not in cron HOT 1
- Add logs to `metrics`
- Remove FirstChanceException workaround
- Try to populate DeviceInfo if/when sentry-native is available
- Add the Refit Exception Content to Sentry HOT 4
- Improve OutOfMemory insight
- Incorrect stack traces for UWP in .NET Native HOT 5
- Filter out health check transactions HOT 6
- Cocoa Issues
- Enhanced Stack Frames with Native AOT HOT 4
- Crash in release mode when using the Logging extensions only HOT 14
- `scope.User = null` shows warning of CS8625: Cannot convert null literal to non-nullable reference type. HOT 6
- Add a benchmark action
- Make span eligible for `Requests` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-dotnet.