LaunchDarkly Dotnet Server SDK Telemetry Integration
Search Results for

    Show / Hide Table of Contents

    Class TracingHookBuilder

    TracingHookBuilder creates a TracingHook. The hook can be passed into the SDK's Hook configuration builder Hooks(HookConfigurationBuilder). To create a TracingHook from a builder, call Build().

    Inheritance
    object
    TracingHookBuilder
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Server.Telemetry
    Assembly: LaunchDarkly.ServerSdk.Telemetry.dll
    Syntax
    public class TracingHookBuilder

    Methods

    | Edit this page View Source

    Build()

    Builds the TracingHook with the configured options.

    The hook may be passed into Hooks(HookConfigurationBuilder).

    Declaration
    public TracingHook Build()
    Returns
    Type Description
    TracingHook

    the new hook

    | Edit this page View Source

    CreateActivities(bool)

    The TracingHook will create Activitys for flag evaluations. The activities will be children of the current activity, if one exists, or root activities. Disabled by default.

    NOTE: This is an experimental option; it may be removed and behavior is subject to change within minor versions.

    Declaration
    public TracingHookBuilder CreateActivities(bool createActivities = true)
    Parameters
    Type Name Description
    bool createActivities

    true to create activities, false otherwise

    Returns
    Type Description
    TracingHookBuilder

    this builder

    | Edit this page View Source

    IncludeVariant(bool)

    The TracingHook will include the flag variant in the current activity, if one exists. The variant representation is a JSON string. Disabled by default.

    Declaration
    public TracingHookBuilder IncludeVariant(bool includeVariant = true)
    Parameters
    Type Name Description
    bool includeVariant

    true to include variants, false otherwise

    Returns
    Type Description
    TracingHookBuilder

    this builder

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX