@@ -198,6 +198,7 @@ namespace Sentry
198198 Sentry.BaggageHeader? GetBaggage();
199199 Sentry.ISpan? GetSpan();
200200 Sentry.SentryTraceHeader? GetTraceHeader();
201+ Sentry.W3CTraceparentHeader? GetTraceparentHeader();
201202 void PauseSession();
202203 void ResumeSession();
203204 void StartSession();
@@ -718,6 +719,7 @@ namespace Sentry
718719 public int MaxQueueItems { get; set; }
719720 public Sentry.Extensibility.INetworkStatusListener? NetworkStatusListener { get; set; }
720721 public double? ProfilesSampleRate { get; set; }
722+ public bool PropagateTraceparent { get; set; }
721723 public string? Release { get; set; }
722724 public Sentry.ReportAssembliesMode ReportAssembliesMode { get; set; }
723725 public bool RequestBodyCompressionBuffered { get; set; }
@@ -864,6 +866,7 @@ namespace Sentry
864866 public static Sentry.BaggageHeader? GetBaggage() { }
865867 public static Sentry.ISpan? GetSpan() { }
866868 public static Sentry.SentryTraceHeader? GetTraceHeader() { }
869+ public static Sentry.W3CTraceparentHeader? GetTraceparentHeader() { }
867870 public static Sentry.ITransactionTracer? GetTransaction() { }
868871 public static System.IDisposable Init() { }
869872 public static System.IDisposable Init(Sentry.SentryOptions options) { }
@@ -1298,6 +1301,14 @@ namespace Sentry
12981301 protected abstract void WriteAdditionalProperties(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger);
12991302 public void WriteTo(System.Text.Json.Utf8JsonWriter writer, Sentry.Extensibility.IDiagnosticLogger? logger) { }
13001303 }
1304+ public class W3CTraceparentHeader
1305+ {
1306+ public W3CTraceparentHeader(Sentry.SentryId traceId, Sentry.SpanId spanId, bool? isSampled) { }
1307+ public bool? IsSampled { get; }
1308+ public Sentry.SpanId SpanId { get; }
1309+ public Sentry.SentryId TraceId { get; }
1310+ public override string ToString() { }
1311+ }
13011312}
13021313namespace Sentry.Ben.BlockingDetector
13031314{
@@ -1384,6 +1395,7 @@ namespace Sentry.Extensibility
13841395 public Sentry.BaggageHeader? GetBaggage() { }
13851396 public Sentry.ISpan? GetSpan() { }
13861397 public Sentry.SentryTraceHeader? GetTraceHeader() { }
1398+ public Sentry.W3CTraceparentHeader? GetTraceparentHeader() { }
13871399 public void PauseSession() { }
13881400 public System.IDisposable PushScope() { }
13891401 public System.IDisposable PushScope<TState>(TState state) { }
@@ -1433,6 +1445,7 @@ namespace Sentry.Extensibility
14331445 public Sentry.BaggageHeader? GetBaggage() { }
14341446 public Sentry.ISpan? GetSpan() { }
14351447 public Sentry.SentryTraceHeader? GetTraceHeader() { }
1448+ public Sentry.W3CTraceparentHeader? GetTraceparentHeader() { }
14361449 public void PauseSession() { }
14371450 public System.IDisposable PushScope() { }
14381451 public System.IDisposable PushScope<TState>(TState state) { }
0 commit comments