Class TraceUriGenerator

  • All Implemented Interfaces:
    Function<String,​TraceInformation>

    @Immutable
    public final class TraceUriGenerator
    extends Object
    implements Function<String,​TraceInformation>
    TraceUriGenerator generates a trace uri based on a specified path.

    The purpose of this class is to minimize the amount of requests to be logged (e. g. by shortening requests), in order to avoid the creation of too many Kamon traces (causing OutOfMemory).