LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Interface IDiagnosticDescription

    Optional interface for components to describe their own configuration.

    Namespace: LaunchDarkly.Sdk.Server.Subsystems
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public interface IDiagnosticDescription
    Remarks

    The SDK uses a simplified JSON representation of its configuration when recording diagnostics data. Any configuration/component builder class that implements IComponentConfigurer<T> may choose to contribute values to this representation, although the SDK may or may not use them.

    The DescribeConfiguration(LdClientContext) method should return either Nullor a JSON value. For custom components, the value must be a string that describes the basic nature of this component implementation (e.g. "Redis"). Built-in LaunchDarkly components may instead return a JSON object containing multiple properties specific to the LaunchDarkly diagnostic schema.

    Methods

    | Edit this page View Source

    DescribeConfiguration(LdClientContext)

    Called internally by the SDK to inspect the configuration. Applications do not need to call this method.

    Declaration
    LdValue DescribeConfiguration(LdClientContext context)
    Parameters
    Type Name Description
    LdClientContext context

    SDK configuration/component information

    Returns
    Type Description
    LdValue

    a JSON value

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