Class TracerConfiguration


  • @Configuration
    @PropertySource("classpath:tracer.properties")
    @ConfigurationProperties("jeap.rest.tracing")
    @ComponentScan
    @ConditionalOnWebApplication
    public class TracerConfiguration
    extends Object
    Configuration for the REST-Tracer RestRequestTracer
    • Constructor Detail

      • TracerConfiguration

        public TracerConfiguration()
    • Method Detail

      • headerBlacklisted

        public boolean headerBlacklisted​(String headerName)
      • headersToBeMasked

        public boolean headersToBeMasked​(String headerName)
      • attributeWhitelisted

        public boolean attributeWhitelisted​(String attributeName)
      • getHeaderBlacklist

        public List<String> getHeaderBlacklist()
        A list of headers that shall not be logged, e.g. headers from CF All headers matching any of this prefixes is ignored from logging
      • getHeaderMasked

        public List<String> getHeaderMasked()
        A list of headers that must be masked, e.g. if they contain sensitive information All headers matching any of this prefixes is logged only as ***
      • getAttributesWhitelist

        public List<String> getAttributesWhitelist()
        A list of request-attributes to log. All attributes matching any of this prefixes are logged
      • getApplicationName

        public String getApplicationName()
        Name of the current application, to be added as Header. By default ${spring.application.name}
      • getUriFilterPattern

        public Pattern getUriFilterPattern()
      • isFullResponseDetailsInMessage

        public boolean isFullResponseDetailsInMessage()
      • setHeaderBlacklist

        public void setHeaderBlacklist​(List<String> headerBlacklist)
        A list of headers that shall not be logged, e.g. headers from CF All headers matching any of this prefixes is ignored from logging
      • setHeaderMasked

        public void setHeaderMasked​(List<String> headerMasked)
        A list of headers that must be masked, e.g. if they contain sensitive information All headers matching any of this prefixes is logged only as ***
      • setAttributesWhitelist

        public void setAttributesWhitelist​(List<String> attributesWhitelist)
        A list of request-attributes to log. All attributes matching any of this prefixes are logged
      • setApplicationName

        public void setApplicationName​(String applicationName)
        Name of the current application, to be added as Header. By default ${spring.application.name}
      • setUriFilterPattern

        public void setUriFilterPattern​(Pattern uriFilterPattern)
      • setFullResponseDetailsInMessage

        public void setFullResponseDetailsInMessage​(boolean fullResponseDetailsInMessage)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object