Skip to content

Commit b152a4e

Browse files
committed
fix(logs): Expect log_item as rate limit category
1 parent 5747863 commit b152a4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sentry_sdk/_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class SDKInfo(TypedDict):
269269
"metric_bucket",
270270
"monitor",
271271
"span",
272-
"log",
272+
"log_item",
273273
]
274274
SessionStatus = Literal["ok", "exited", "crashed", "abnormal"]
275275

sentry_sdk/envelope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def data_category(self):
273273
elif ty == "event":
274274
return "error"
275275
elif ty == "log":
276-
return "log"
276+
return "log_item"
277277
elif ty == "client_report":
278278
return "internal"
279279
elif ty == "profile":

0 commit comments

Comments
 (0)