Uses of Class
io.prometheus.metrics.exporter.httpserver.HttpErrorHandlingPolicy.Builder
Packages that use HttpErrorHandlingPolicy.Builder
-
Uses of HttpErrorHandlingPolicy.Builder in io.prometheus.metrics.exporter.httpserver
Methods in io.prometheus.metrics.exporter.httpserver that return HttpErrorHandlingPolicy.BuilderModifier and TypeMethodDescriptionHttpErrorHandlingPolicy.builder()Returns a builder for configuring scrape error handling.HttpErrorHandlingPolicy.Builder.errorReporter(Consumer<? super Exception> errorReporter) Pass scrape exceptions toerrorReporter.HttpErrorHandlingPolicy.Builder.unsafeDebugResponse(boolean unsafeDebugResponse) Configure whether the HTTP 500 response includes the full exception stack trace.