• Creates a provider that exports traces to Phoenix.

    Parameters

    • __namedParameters: {
          baseUrl: string;
          headers: HeadersOptions;
          projectName: string;
          useBatchSpanProcessor: boolean;
      }
      • baseUrl: string

        The base URL of the Phoenix. Doesn't include the /v1/traces path.

      • headers: HeadersOptions
      • projectName: string
      • useBatchSpanProcessor: boolean

        Whether to use batching for the span processor.

        true
        

    Returns NodeTracerProvider