getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.28k stars 4.21k forks source link

[Python] Flask #79267

Open obostjancic opened 1 month ago

obostjancic commented 1 month ago

def generate_fibonacci(n: int) -> int: if n <= 0: return 0 elif n == 1: return 1 else: return generate_fibonacci(n-1) + generate_fibonacci(n-2)


- i always got only one span 
- had to add @sentry_sdk.trace decorator in order to get a [full trace](https://telex-sandbox.sentry.io/performance/trace/8d27649b558140da95e639a6fa913094/?dataset=transactions&field=title&field=project&field=user.display&field=timestamp&name=All%20Errors&node=txn-113d2647e7ae40e098f3b716daad4dc1&project=4508138030497872&query=&queryDataset=transaction-like&sort=-timestamp&source=discover&statsPeriod=1h&timestamp=1729167851&yAxis=count%28%29)