`set_tags` missing from python SDK
See original GitHub issueAccording to unified-api page, each SDK should have a set_tags
method.
https://develop.sentry.dev/sdk/unified-api/
I found it was dicscussed and implemented 2 years ago in this PR #530 but the PR was closed.
Can this feature be added?
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
python - Sentry-sdk: set tags through extra keyword on logger
I'm upgrading my current code using the raven library to the sentry-sdk library. The Client is created as follows:
Read more >The API — django-taggit 1.3.0 documentation - Read the Docs
Otherwise sets the object's tags to those specified, removing only the missing tags and adding only the new tags. Use the through_defaults argument...
Read more >Method: instances.setTags | Compute Engine Documentation
[Output Only] An ID that represents a group of operations, such as when a group of operations results from a bulkInsert API request....
Read more >Data Tags - OneSignal Documentation
Data tags are custom key : value pairs of string data used to add custom properties or event data to user records within...
Read more >Performance Monitoring: Sentry SDK API Evolution
The Python and JavaScript SDKs were the test bed where the first concepts were designed and developed. ... { /* ... some code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bityob we have something similar 😃
@sl0thentr0py is there any update? 😃
We are currently thinking how to extend our contextual logging (works in similar fashion as scope stacking in Sentry), but we can’t use
push_scope
cause it’s not automatically reporting errors.So we ended up with using
configure_scope
and following__enter__
__exit__
to get it to previous stateWe are having a pretty much nested context managers and works pretty well, but there is a downside of using private scope attribute
_tags
given there is not getter.Would it be okay for you guys to add
set_tags
and along with thatget_tags
toScope
? If yes, i can make that change pretty fast. 😃 ⏩ :shipit:Thanks