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×tamp=1729167851&yAxis=count%28%29)
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)