Class EndpointConfiguration

  • All Implemented Interfaces:

    
    public final class EndpointConfiguration
    
                        

    Type-safe config DSL that controls the HTTP endpoint for telemetry exports.

    • Constructor Detail

    • Method Detail

      • getUrl

         final String getUrl()

        Base URL for HTTP export requests. The signal-specific path (e.g. /v1/logs) will be appended automatically.

      • setUrl

         final Unit setUrl(String url)

        Base URL for HTTP export requests. The signal-specific path (e.g. /v1/logs) will be appended automatically.

      • getFullUrl

         final String getFullUrl()

        Full URL for HTTP export requests. When set, this URL is used as-is without appending any signal-specific path. Use this to specify a completely custom endpoint path, for example "https://example.com/v2/logs". Note: when set, this overrides the baseUrl from the surrounding httpExport block entirely.

      • setFullUrl

         final Unit setFullUrl(String fullUrl)

        Full URL for HTTP export requests. When set, this URL is used as-is without appending any signal-specific path. Use this to specify a completely custom endpoint path, for example "https://example.com/v2/logs". Note: when set, this overrides the baseUrl from the surrounding httpExport block entirely.