Class SpanBatchSenderBuilder


  • @Deprecated
    public class SpanBatchSenderBuilder
    extends java.lang.Object
    Deprecated.
    Note: This class is deprecated and will be removed in the next major version - you should move to the factories in telemetry-core
    • Method Detail

      • uriOverride

        public SpanBatchSenderBuilder uriOverride​(java.net.URI uriOverride)
                                           throws java.net.MalformedURLException
        Deprecated.
        Set a URI to override the default ingest endpoint.
        Parameters:
        uriOverride - The scheme, host, and port that should be used for the Spans API endpoint. The path component of this parameter is unused.
        Returns:
        the Builder
        Throws:
        java.net.MalformedURLException - This is thrown when the provided URI is malformed.
      • enableAuditLogging

        public SpanBatchSenderBuilder enableAuditLogging()
        Deprecated.
        Turns on audit logging. Payloads sent will be logged at the DEBUG level. Please note that if your payloads contain sensitive information, that information will be logged wherever your logs are configured.
      • httpPoster

        public SpanBatchSenderBuilder httpPoster​(HttpPoster httpPoster)
        Deprecated.
        Provide an implementation for HTTP POST. build() will throw if an implementation is not provided or this method is not called.
      • secondaryUserAgent

        public SpanBatchSenderBuilder secondaryUserAgent​(java.lang.String product,
                                                         java.lang.String version)
        Deprecated.
        Provide additional user agent information. The product is required to be non-null and non-empty. The version is optional, although highly recommended.