summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-07-12 15:11:59 +0100
committerErik Johnston <erik@matrix.org>2023-07-12 15:11:59 +0100
commitcbbdf14be386c08494d7c9c2aa7c6392921f8271 (patch)
treeaafd5e0c9b6b6eaa4d306893b1dc19cdc16147a7
parentFix exemplars (diff)
downloadsynapse-cbbdf14be386c08494d7c9c2aa7c6392921f8271.tar.xz
fixup
-rw-r--r--synapse/logging/opentracing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py
index 9a7fd7026b..d8478c3f67 100644
--- a/synapse/logging/opentracing.py
+++ b/synapse/logging/opentracing.py
@@ -683,7 +683,7 @@ def get_prometheus_exemplar(
 
     trace_id = getattr(span, "trace_id", None)
 
-    return trace_id
+    return {"trace_id": trace_id}
 
 
 @ensure_active_span("set a tag")