Show / Hide Table of Contents

    Interface IScopeOptions

    Options used by BaseScope

    Namespace: Sentry.Protocol
    Assembly: Sentry.Protocol.dll
    Syntax
    public interface IScopeOptions

    Properties

    | Improve this Doc View Source

    BeforeBreadcrumb

    Invoked before storing a new breadcrumb

    Declaration
    Func<Breadcrumb, Breadcrumb> BeforeBreadcrumb { get; }
    Property Value
    Type Description
    Func<Breadcrumb, Breadcrumb>
    Remarks

    Allows the callback handler access to a breadcrumb and allows modification or totally dropping the breadcrumb by returning null.

    | Improve this Doc View Source

    MaxBreadcrumbs

    Gets or sets the maximum breadcrumbs.

    Declaration
    int MaxBreadcrumbs { get; }
    Property Value
    Type Description
    Int32

    The maximum breadcrumbs per scope.

    Remarks

    When the number of events reach this configuration value, older breadcrumbs start dropping to make room for new ones.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX