Uses of Class
org.microproxy.extras.AccessLogFormat
Packages that use AccessLogFormat
Package
Description
OpenTelemetry for MicroProxy, with no dependencies but the JDK: W3C Trace Context, B3 and Jaeger
propagation (
Propagators), sampling (Sampler), a SERVER span per exchange and a CLIENT span per attempt to reach
the server, INTERNAL spans for tunnels and flows, and OTLP/HTTP export of traces, metrics (the
proxy's StatsRegistry) and access logs, as protobuf or JSON (Telemetry).-
Uses of AccessLogFormat in org.microproxy.extras
Methods in org.microproxy.extras that return AccessLogFormatModifier and TypeMethodDescriptionstatic AccessLogFormatParses an Envoy format string.static AccessLogFormatA custom format: an Envoy format string (seeenvoy(java.lang.String)).static AccessLogFormatenvoyJson(Map)from the JSON text of the dictionary, as the command line passes it:{"status":"%RESPONSE_CODE%","path":"%REQ(:PATH)%"}.static AccessLogFormatA JSON format: one JSON object per line, whose keys are those ofdictionary(in its iteration order) and whose values are rendered from its values: a format string, a nested map, or a number, boolean ornullwritten as it is.static AccessLogFormatA custom JSON format: keys and the format strings of their values (seeenvoyJson(Map)).ActivityLogger.format()Returns the format of the lines.LogFormat.formatter()Returns this preset as anAccessLogFormat.static AccessLogFormatA preset by name (clf,envoy, ..., ignoring case), or else an Envoy format string: what the command line's--access-log-formattakes.Methods in org.microproxy.extras with parameters of type AccessLogFormatModifier and TypeMethodDescriptionActivityLogger.Builder.format(AccessLogFormat format) Writes lines informat.Constructors in org.microproxy.extras with parameters of type AccessLogFormatModifierConstructorDescriptionActivityLogger(AccessLogFormat format, Consumer<String> sink) Logs each line informattosink. -
Uses of AccessLogFormat in org.microproxy.otel
Methods in org.microproxy.otel with parameters of type AccessLogFormatModifier and TypeMethodDescriptionTelemetry.Builder.logFormat(AccessLogFormat format) The body of exported log records: an access-log format; Envoy's default by default.