From 6f736b849ccc3448b555bd4098f9674b6d1c202f Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 27 Oct 2020 11:10:24 +0000 Subject: [PATCH] Change opentracing to use user_id not target_user --- synapse/api/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 44186b39ba..60eacb1bce 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -208,7 +208,7 @@ class Auth: request.requester = user_id opentracing.set_tag("authenticated_entity", user_id) - opentracing.set_tag("target_user", user_id) + opentracing.set_tag("user_id", user_id) opentracing.set_tag("appservice_id", app_service.id) return requester @@ -260,7 +260,7 @@ class Auth: request.requester = requester opentracing.set_tag("authenticated_entity", user_info.token_owner) - opentracing.set_tag("target_user", user_info.user_id) + opentracing.set_tag("user_id", user_info.user_id) if device_id: opentracing.set_tag("device_id", device_id)