sentry-python
sentry-python copied to clipboard
The official Python SDK for Sentry.io
We do not set `span.status`, `error.type` or `error.message` attributes anywhere else.
- it's complex and hard to understand - it's spread out over a lot of files, so you need to jump around a lot - moreover, it invites more of...
### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.46.0 ### Steps to Reproduce 1. Enable Sentry's `GRPCIntegration()` 2. Create multiple gRPC channels with `channel = grpc.secure_channel(...)` (e.g.,...
[Tag values must be strings](https://develop.sentry.dev/sdk/data-model/event-payloads/span/); however, the Python SDK's methods for setting tags (`set_tag` on the `Scope`, on `Span`, and perhaps elsewhere) are defined as taking type `Any` for the...
The Python SDK already has a `start_span` function. Figure out how to migrate to the [new API](https://develop.sentry.dev/sdk/telemetry/spans/span-api/). Write down the options and decide on a way forward.
[https://develop.sentry.dev/sdk/telemetry/spans/filtering/#filter-with-ignorespans](https://develop.sentry.dev/sdk/telemetry/spans/filtering/#filter-with-ignorespans)
* These missing attributes were found by the automatic testing tool for AI integrations * There is no customer request / complaint that I know of related to this *...
`contexts` set by the SDK should be translated into span attributes. Follow [https://getsentry.github.io/sentry-conventions/](https://getsentry.github.io/sentry-conventions/), or OTel conventions if there is no Sentry convention. Consider adding missing attributes to Sentry conventions. Notes:...
The change affects local variables on exceptions. Currently at most 10 local variables are added to exceptions, and objects up to a depth of 5 are added before `` is...