LaunchDarkly Observability plugin for the Server-Side SDK for .NET
Search Results for

    Show / Hide Table of Contents

    Class ObservabilityExtensions

    Static class containing extension methods for configuring observability

    Inheritance
    object
    ObservabilityExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Observability
    Assembly: LaunchDarkly.Observability.dll
    Syntax
    public static class ObservabilityExtensions

    Methods

    | Edit this page View Source

    AddLaunchDarklyObservability(IServiceCollection, string, Action<ObservabilityConfigBuilder>)

    Add the LaunchDarkly Observability services. This function would typically be called by the LaunchDarkly Observability plugin. This should only be called by the end user if the Observability plugin needs to be initialized earlier than the LaunchDarkly client.

    Declaration
    public static IServiceCollection AddLaunchDarklyObservability(this IServiceCollection services, string sdkKey, Action<ObservabilityConfig.ObservabilityConfigBuilder> configure)
    Parameters
    Type Name Description
    IServiceCollection services

    The service collection

    string sdkKey

    The LaunchDarkly SDK

    Action<ObservabilityConfig.ObservabilityConfigBuilder> configure

    A method to configure the services

    Returns
    Type Description
    IServiceCollection

    The service collection

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