summary refs log tree commit diff
path: root/synapse/logging/tracing.py
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-08-02 15:05:27 -0500
committerEric Eastwood <erice@element.io>2022-08-02 15:05:27 -0500
commit72c718df54c3c1dd02fd208020dfc6ccbb241870 (patch)
treebbc71e033e6c21161ec7984b6e28a37a55971aff /synapse/logging/tracing.py
parentSeems to (see test_side_by_side_spans) (diff)
parentAdd a `merge-back` command to the release script, which automates merging the... (diff)
downloadsynapse-72c718df54c3c1dd02fd208020dfc6ccbb241870.tar.xz
Merge branch 'develop' into madlittlemods/11850-migrate-to-opentelemetry
Conflicts:
	docs/usage/configuration/config_documentation.md
	synapse/logging/opentracing.py

Got changes from:

 - https://github.com/matrix-org/synapse/pull/13362/files
Diffstat (limited to 'synapse/logging/tracing.py')
-rw-r--r--synapse/logging/tracing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/logging/tracing.py b/synapse/logging/tracing.py

index 0057422db2..f8b35d2660 100644 --- a/synapse/logging/tracing.py +++ b/synapse/logging/tracing.py
@@ -878,8 +878,8 @@ def tag_args(func: Callable[P, R]) -> Callable[P, R]: def _tag_args_inner(*args: P.args, **kwargs: P.kwargs) -> R: argspec = inspect.getfullargspec(func) for i, arg in enumerate(argspec.args[1:]): - set_attribute("ARG_" + arg, args[i]) # type: ignore[index] - set_attribute("args", args[len(argspec.args) :]) # type: ignore[index] + set_attribute("ARG_" + arg, str(args[i])) # type: ignore[index] + set_attribute("args", str(args[len(argspec.args) :])) # type: ignore[index] set_attribute("kwargs", str(kwargs)) return func(*args, **kwargs)