Skip to content

Instantly share code, notes, and snippets.

@m0hadang
Last active March 9, 2024 03:38
Show Gist options
  • Save m0hadang/e150bcaccaf2374e46686e663ead0027 to your computer and use it in GitHub Desktop.
Save m0hadang/e150bcaccaf2374e46686e663ead0027 to your computer and use it in GitHub Desktop.
sentry native refrence

sentry native link

sentry capture log

[sentry] INFO using database path "C:\Users\red\source\repos\sentry-upload-tester\sentry-upload-tester\.sentry-native"
[sentry] DEBUG starting transport
[sentry] DEBUG starting background worker thread
[sentry] DEBUG starting backend
[sentry] DEBUG background worker thread started
[sentry] DEBUG starting crashpad backend with handler "C:\Users\red\source\repos\sentry-upload-tester\x64\Debug\crashpad_handler.exe"
[sentry] DEBUG using minidump URL "https://o4505957585649664.ingest.sentry.io:443/api/4505957591154688/minidump/?sentry_client=sentry.native/0.6.5&sentry_key=74459f179b2b54bd9d435c05e58855ba"
[sentry] DEBUG registering crashpad WER handler "C:\Users\red\source\repos\sentry-upload-tester\x64\Debug\crashpad_wer.dll"
[sentry] INFO started crashpad client handler
[sentry] DEBUG processing and pruning old runs
[sentry] DEBUG merging scope into event
[sentry] DEBUG adding attachments to envelope
[sentry] DEBUG sending envelope
[sentry] DEBUG submitting task to background worker thread
[sentry] DEBUG executing task on worker thread
[sentry] DEBUG sending request using winhttp to "https://o4505957585649664.ingest.sentry.io:443/api/4505957591154688/envelope/":
x-sentry-auth:Sentry sentry_key=74459f179b2b54bd9d435c05e58855ba, sentry_version=7, sentry_client=sentry.native/0.6.5
content-type:application/x-sentry-envelope
content-length:9197

[sentry] DEBUG sending envelope
[sentry] DEBUG submitting task to background worker thread
[sentry] DEBUG shutting down backend
[sentry] DEBUG shutting down transport
[sentry] DEBUG shutting down background worker thread
[sentry] DEBUG submitting task to background worker thread
[sentry] DEBUG received response:
HTTP/1.1 200 OK
Date: Thu, 28 Sep 2023 12:23:10 GMT
Via: 1.1 google
Content-Length: 41
Content-Type: application/json
Server: nginx
Vary: origin,access-control-request-method,access-control-request-headers
access-control-allow-origin: *
access-control-expose-headers: x-sentry-error,x-sentry-rate-limits,retry-after
cross-origin-resource-policy: cross-origin
x-envoy-upstream-service-time: 0
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000


[sentry] DEBUG request handled in 92ms
[sentry] DEBUG executing task on worker thread
[sentry] DEBUG sending request using winhttp to "https://o4505957585649664.ingest.sentry.io:443/api/4505957591154688/envelope/":
x-sentry-auth:Sentry sentry_key=74459f179b2b54bd9d435c05e58855ba, sentry_version=7, sentry_client=sentry.native/0.6.5
content-type:application/x-sentry-envelope
content-length:336

[sentry] DEBUG received response:
HTTP/1.1 200 OK
Date: Thu, 28 Sep 2023 12:23:10 GMT
Via: 1.1 google
Content-Length: 2
Content-Type: application/json
Server: nginx
Vary: origin,access-control-request-method,access-control-request-headers
access-control-allow-origin: *
access-control-expose-headers: x-sentry-error,x-sentry-rate-limits,retry-after
cross-origin-resource-policy: cross-origin
x-envoy-upstream-service-time: 0
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000


[sentry] DEBUG request handled in 41ms
[sentry] DEBUG executing task on worker thread
[sentry] DEBUG background worker thread shut down



curl https://sentry.io/api/hooks/release/builtin/4505957591154688/722c6e5a301dba785198049622556e0d4bba98205259ab0ee8da4fb0f79665c7/ \
  -X POST \
  -H 'Content-Type: application/json' \
  -d '{"version": "abcdefg"}'  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment