Comments (2)
@SteinRobert we will no longer add this tag because it's no longer needed. The SDK now accepts a public DSN now so if you do want to use the same DSN you can pass it to the template in the render page by passing the DSN from the client options or something to that effect:
from sentry_sdk import last_event_id, Hub
from django.shortcuts import render
def handler500(request, *args, **argv):
dsn = Hub.current.client.options.dsn
return render(request, "500.html", {
'sentry_event_id': last_event_id(),
'dsn': Hub.current.client.options['dsn'],
}, status=500)
Secondly that tag encouraged users to configure the frontend javascript with the backend dsn as it was available even on non user feedback pages and that is a pattern we do not want users to use.
from sentry-python.
No particular reason except prioritization of features (this is one of the features that is just easy enough to implement yourself, which is why we've deprioritized it).
Also I personally am unsure if that template tag should just magically become available if somebody runs sentry_sdk.init
from sentry-python.
Related Issues (20)
- @sentry_sdk.tracing.trace changes function signature
- Celery Cron: Spurious missed_checkin issues HOT 1
- Remove Hub from SDK tests. HOT 1
- Missing git tag (and sdist) for 2.6.0 HOT 3
- Update our Codecov setup
- Sentry spamming RequestAborted on async django 5 HOT 4
- Support Django 5.1
- Sentry truncates body even with max_request_body_size set to always HOT 7
- Implement Potel SpanProcessor
- Check incoming traces with isRemote and implement logic
- Implement new start_span apis that pass through to otel
- Per-instrumentation instrumenter
- KeyError 'baggage' when using otel / OpenTelemetry plugin on 2.7.0 HOT 2
- Sentry client lost its options in a django application HOT 7
- Instrument FastAPI app with Sentry and OTel and check differences. HOT 5
- Change in Hub behavior from 1.x to 2.x HOT 1
- Frontend is still using ``culprit`` to determine subtitle of issues HOT 2
- Report dropped spans in client reports
- No trace_id set in error reports when using OpenTelemetry HOT 4
- Create Ray Serve integration
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-python.