summary refs log tree commit diff
path: root/synapse/logging/tracing.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* More clear method namesEric Eastwood2022-08-021-7/+7
|
* Fix lintsEric Eastwood2022-08-021-21/+22
|
* Revert crazy custom sampler and span process to try force tracing for usersEric Eastwood2022-08-021-140/+15
|
* Revert "Non-working try baggage to inherit force tracing/sampling"Eric Eastwood2022-08-021-53/+7
| | | | This reverts commit d15fa457c987f51908cdba440655a0d6d88573a9.
* Non-working try baggage to inherit force tracing/samplingEric Eastwood2022-08-021-7/+53
|
* PoC force tracingEric Eastwood2022-08-021-34/+162
| | | | Doesn't force tracing for the child spans yet
* Fix tests and some lintsEric Eastwood2022-08-011-1/+19
|
* Try to align read from edu contentEric Eastwood2022-08-011-2/+4
|
* Implement start_active_span_from_edu for OTELEric Eastwood2022-08-011-10/+19
| | | | | | | | AFAICT, this never worked before because everything was serialized into `content["org.matrix.opentracing_context"]` but `start_active_span_from_edu` read from `content["opentracing"]`. See https://github.com/matrix-org/synapse/pull/5852#discussion_r934960586 Do we even still want this?
* todosEric Eastwood2022-08-011-0/+5
|
* Fix some lintsEric Eastwood2022-08-011-28/+80
|
* Use HTTP_HOST attributeEric Eastwood2022-07-301-2/+1
|
* Use correct type for what start_as_current_span returnsEric Eastwood2022-07-291-1/+2
| | | | | | | See: - https://github.com/open-telemetry/opentelemetry-python/pull/198#discussion_r333399436 - https://github.com/open-telemetry/opentelemetry-python/issues/219
* Passing tests and context manager doesn't seem to be neededEric Eastwood2022-07-291-7/+9
|
* Move to start_active_spanEric Eastwood2022-07-291-48/+2
|
* Easier to follow local vs remote span tracingEric Eastwood2022-07-291-8/+54
| | | | | | | | | | | | The `incoming-federation-request` vs `process-federation_request` was first introduced in https://github.com/matrix-org/synapse/pull/11870 - Span for remote trace: `incoming-federation-request` - `child_of` reference: `origin_span_context` - `follows_from` reference: `servlet_span` - Span for local trace: `process-federation-request` - `child_of` reference: `servlet_span` (by the nature of it being active) - `follows_from` reference: `incoming-federation-request`
* Explain weird functionEric Eastwood2022-07-291-0/+4
|
* Record exceptionEric Eastwood2022-07-291-4/+8
|
* Fix using wrong type of context (`Context` vs `SpanContext`)Eric Eastwood2022-07-291-4/+8
| | | | | | | | | | | | | | | | | Fix error: ``` AttributeError: 'SpanContext' object has no attribute 'get' ``` `Context`: ``` {'current-span-1a226c96-a5db-4412-bcaa-1fdd34213c5c': _Span(name="sendToDevice", context=SpanContext(trace_id=0x5d2dcc3fdc8205046d60a5cd18672ac6, span_id=0x715c736ff5f4d208, trace_flags=0x01, trace_state=[], is_remote=False))} ``` `SpanContext`: ``` SpanContext(trace_id=0xf7cd9d058b7b76f364bdd649c4ba7b8a, span_id=0x287ce71bac31bfc4, trace_flags=0x01, trace_state=[], is_remote=False) ```
* Fix some lintsEric Eastwood2022-07-281-1/+1
|
* Fixup some todosEric Eastwood2022-07-281-30/+59
|
* Fix some lintsEric Eastwood2022-07-271-3/+3
|
* Export to Jaeger (things are showing up)Eric Eastwood2022-07-271-28/+49
|
* Server runningEric Eastwood2022-07-271-3/+6
|
* Progress towards OTELEric Eastwood2022-07-271-269/+113
|
* Some shim and some newEric Eastwood2022-07-261-0/+947