Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
fix: resend count attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet authored Oct 11, 2024
1 parent 9495f4a commit e6b667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiota_http/middleware/retry_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def send(self, request: httpx.Request, transport: httpx.AsyncBaseTransport
# increment the count for retries
retry_count += 1
request.headers.update({'retry-attempt': f'{retry_count}'})
_retry_span.set_attribute('http.resend_count', retry_count)
_retry_span.set_attribute('http.request.resend_count', retry_count)
continue
break
if response is None:
Expand Down

0 comments on commit e6b667b

Please sign in to comment.