Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QoL SDK API Improvments #19

Closed
HazAT opened this issue Feb 1, 2023 · 1 comment · Fixed by getsentry/sentry-python#1960
Closed

QoL SDK API Improvments #19

HazAT opened this issue Feb 1, 2023 · 1 comment · Fixed by getsentry/sentry-python#1960

Comments

@HazAT
Copy link
Member

HazAT commented Feb 1, 2023

QoL Improvement Idea Collection

  • Product / Generic

    • Make trace more prominent in UI, maybe merge with span view on transaction so you can more easily navigate transactions and drill down into spans
    • Put JSON button in the same place for issues and transactions
  • Python

    • Decorators for Performance API
      • Instead of with.transactions → @sentry_sdk.instrument
      • Timed decorator: “sample the transaction/span for this function if it’s slower than N seconds” (for people who want to automatically ignore fast/good transactions)
      • Decorators could optionally inject the transaction/span object as a function attribute, so people don’t have to manually get the transaction to e.g. set some attributes or start a child span
  • Ruby

    • Magic import instruments functions?
  • Go

    • better global Hub / vs local Hub APIs
      • sentry.GetGlobalHub()
      • sentry.WithGlobalScope()
    • Remove StartSpan, it’s confusing
    • More ways to start transactions
    • Concrete Transaction/Span types
    • Concrete Transaction/Span context types
  • PHP

  • Java

    • Webflux support is bad, tried Replace ThreadLocal in Sentry with HubStorage and a wrapped ThreadLoc… sentry-java#2224 but that is awful DX, maybe with Java Agent magic this can be hidden and just made to work
    • Continuing a trace takes a lot of code (shouldn’t really matter if using OTEL)
    • Gradle plugin to add our integrations to a project automatically (already works for Android; not sure what needs to be done to have this for backend); if we push the Java Agent approach this might not be needed
  • Javascript

    • Get rid of additional import @sentry/tracing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant