Interface PathTracingConfig


  • public interface PathTracingConfig
    Traced system configuration for web server for a specific path.
    • Method Detail

      • create

        static PathTracingConfig create​(Config config)
        Create a new traced path configuration from Config.
        Parameters:
        config - config of a path
        Returns:
        traced path configuration
      • builder

        static PathTracingConfig.Builder builder()
        Create a new builder to configure traced path configuration.
        Returns:
        a new builder instance
      • methods

        List<String> methods()
        Method(s) this configuration should be valid for. This can be used to restrict the configuration only to specific HTTP methods (such as GET or POST).
        Returns:
        list of methods, if empty, this configuration is valid for any method
      • tracedConfig

        TracingConfig tracedConfig()
        Associated configuration of tracing valid for the configured path and (possibly) methods.
        Returns:
        traced system configuration