Comments (4)
@supervacuus I see that this constructs opts->user_agent
with name and version, but I couldn't find where this is used to set a user agent header on the transport, but I guess I looked at the wrong place - is this the relevant code?
from sentry-native.
Similarly, the minidump URL for crashpad is constructed from the DSN and the user-agent:
sentry-native/src/sentry_utils.c
Lines 362 to 374 in 2ae5de6
That should also make it clearly visible when checking LB issues.
from sentry-native.
Hi @kahest
Currently, the SDK only sets the
x-sentry-auth
field in the transport:
This is not true. We also set the user-agent to sdk_name/version
:
https://github.com/getsentry/sentry-native/blob/master/src/sentry_options.c#L322-L329
Since breakpad
uses the same transport as any other envelope, this is also true with minidumps from breakpad
.
With crashpad
, the current solution is to append the sentry_client
as part of a set of X-Sentry-Auth query parameters with the minidump request. The format is the same as with the user-agent above.
from sentry-native.
@supervacuus Perfect, thanks for confirming - closing this now
from sentry-native.
Related Issues (20)
- Stream envelopes to file directly HOT 3
- Request: Merge getsentry/crashpad PR #101 to fix llvm-mingw arm64 crashpad builds HOT 3
- Add WINE meta-data to OS context.
- Breadcrumbs should use more efficient ringbuffer
- Ensure unsafe functions are properly guarded HOT 2
- Only four information are in event in on_crash or before_send handler. Exception and other information is missing. HOT 3
- ANR on NativeModuleListLoader.nativeLoadModuleList HOT 4
- Android NDK Segfault crash related to `sentry_value_set_by_key_n` HOT 7
- Craspad under Epic's "Easy Anti-Cheat" HOT 6
- Stack overflow not sent to backend HOT 10
- Extend envelope API to allow event-specific attachments HOT 3
- sentry_transaction_set_data() - Discarded unknown attribute
- Only set up sigaltstack if there is none (Linux + Android)
- Add support to build for Windows 11 ARM64 HOT 2
- [Android] Support dynamic page size for Android 15+ devices HOT 2
- Breadcrumb Duplication for Multi-Transaction Applications HOT 5
- crashpad_handler processes persist after app close HOT 11
- Add static+dynamic stack usage measures and alerts in CI
- Introduce CI checks for binaries in our NDK release AAR
- Crashpad submodule reference doesn't point to a valid commit HOT 3
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-native.