|
1 | | -[assembly: System.CLSCompliant(true)] |
| 1 | +[assembly: System.CLSCompliant(true)] |
2 | 2 | namespace Sentry |
3 | 3 | { |
4 | 4 | [System.Diagnostics.DebuggerDisplay("{FileName}")] |
@@ -344,8 +344,12 @@ namespace Sentry |
344 | 344 | public static void AddEventProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> processors) { } |
345 | 345 | public static void AddExceptionProcessor(this Sentry.Scope scope, Sentry.Extensibility.ISentryEventExceptionProcessor processor) { } |
346 | 346 | public static void AddExceptionProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> processors) { } |
| 347 | + public static void AddTransactionProcessor(this Sentry.Scope scope, Sentry.Extensibility.ISentryTransactionProcessor processor) { } |
| 348 | + public static void AddTransactionProcessor(this Sentry.Scope scope, System.Func<Sentry.Transaction, Sentry.Transaction?> processor) { } |
| 349 | + public static void AddTransactionProcessors(this Sentry.Scope scope, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { } |
347 | 350 | public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors(this Sentry.Scope scope) { } |
348 | 351 | public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors(this Sentry.Scope scope) { } |
| 352 | + public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors(this Sentry.Scope scope) { } |
349 | 353 | } |
350 | 354 | public sealed class SdkVersion : Sentry.IJsonSerializable |
351 | 355 | { |
@@ -528,13 +532,17 @@ namespace Sentry |
528 | 532 | public static void AddInAppExclude(this Sentry.SentryOptions options, string prefix) { } |
529 | 533 | public static void AddInAppInclude(this Sentry.SentryOptions options, string prefix) { } |
530 | 534 | public static void AddIntegration(this Sentry.SentryOptions options, Sentry.Integrations.ISdkIntegration integration) { } |
| 535 | + public static void AddTransactionProcessor(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryTransactionProcessor processor) { } |
| 536 | + public static void AddTransactionProcessorProvider(this Sentry.SentryOptions options, System.Func<System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor>> processorProvider) { } |
| 537 | + public static void AddTransactionProcessors(this Sentry.SentryOptions options, System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> processors) { } |
531 | 538 | public static void ApplyDefaultTags(this Sentry.SentryOptions options, Sentry.IHasTags hasTags) { } |
532 | 539 | public static void DisableAppDomainProcessExitFlush(this Sentry.SentryOptions options) { } |
533 | 540 | public static void DisableAppDomainUnhandledExceptionCapture(this Sentry.SentryOptions options) { } |
534 | 541 | public static void DisableDuplicateEventDetection(this Sentry.SentryOptions options) { } |
535 | 542 | public static void DisableTaskUnobservedTaskExceptionCapture(this Sentry.SentryOptions options) { } |
536 | 543 | public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventProcessor> GetAllEventProcessors(this Sentry.SentryOptions options) { } |
537 | 544 | public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryEventExceptionProcessor> GetAllExceptionProcessors(this Sentry.SentryOptions options) { } |
| 545 | + public static System.Collections.Generic.IEnumerable<Sentry.Extensibility.ISentryTransactionProcessor> GetAllTransactionProcessors(this Sentry.SentryOptions options) { } |
538 | 546 | public static void RemoveIntegration<TIntegration>(this Sentry.SentryOptions options) |
539 | 547 | where TIntegration : Sentry.Integrations.ISdkIntegration { } |
540 | 548 | public static Sentry.SentryOptions UseStackTraceFactory(this Sentry.SentryOptions options, Sentry.Extensibility.ISentryStackTraceFactory sentryStackTraceFactory) { } |
@@ -1063,6 +1071,10 @@ namespace Sentry.Extensibility |
1063 | 1071 | { |
1064 | 1072 | Sentry.SentryStackTrace? Create(System.Exception? exception = null); |
1065 | 1073 | } |
| 1074 | + public interface ISentryTransactionProcessor |
| 1075 | + { |
| 1076 | + Sentry.Transaction? Process(Sentry.Transaction transaction); |
| 1077 | + } |
1066 | 1078 | public interface ITransport |
1067 | 1079 | { |
1068 | 1080 | System.Threading.Tasks.Task SendEnvelopeAsync(Sentry.Protocol.Envelopes.Envelope envelope, System.Threading.CancellationToken cancellationToken = default); |
|
0 commit comments