Interface HttpConfigGroup


public interface HttpConfigGroup
Build / static runtime config for HTTP metrics shared between server and client.
  • Method Summary

    Modifier and Type
    Method
    Description
    Comma-separated list of additional HTTP methods to allow in the method metric tag, beyond the standard RFC 9110/5789/9512 methods (GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, QUERY).
  • Method Details

    • additionalMethods

      Optional<List<String>> additionalMethods()
      Comma-separated list of additional HTTP methods to allow in the method metric tag, beyond the standard RFC 9110/5789/9512 methods (GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH, QUERY). Non-standard HTTP methods are replaced with UNKNOWN by default to prevent metrics cardinality explosion. Use this property to allow specific custom methods (e.g. WebDAV methods like PROPFIND). The total number of methods to track cannot exceed 32.