Ensure use of string representation of event.name

This commit is contained in:
Michael Anstis 2025-06-02 14:58:36 +01:00
parent c7be73fb16
commit 6e9e870cca

View file

@ -161,7 +161,7 @@ class SQLiteSpanProcessor(SpanProcessor):
""",
(
span_id,
event.name,
str(event.name),
datetime.fromtimestamp(event.timestamp / 1e9, timezone.utc).isoformat(),
json.dumps(dict(event.attributes)),
),