Merge pull request #9684 from owncloud/collaboration_improved_tracing

feat: include additional metadata for tracing the collaboration service
This commit is contained in:
Juan Pablo Villafañez
2024-08-13 11:35:52 +02:00
committed by GitHub
9 changed files with 92 additions and 5 deletions
+2
View File
@@ -32,6 +32,8 @@ func (m tracer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
span trace.Span
)
ctx = pkgtrace.Propagator.Extract(ctx, propagation.HeaderCarrier(r.Header))
tracer := m.traceProvider.Tracer("proxy")
spanOpts := []trace.SpanStartOption{
trace.WithSpanKind(trace.SpanKindServer),