summary refs log tree commit diff
path: root/synapse/logging/opentracing.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/logging/opentracing.py')
-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")