...

Package measured_http

import "github.com/letsencrypt/boulder/metrics/measured_http"
Overview
Index

Overview ▾

func New

func New(m serveMux, clk clock.Clock, stats prometheus.Registerer, opts ...otelhttp.Option) http.Handler

type MeasuredHandler

MeasuredHandler wraps an http.Handler and records prometheus stats

type MeasuredHandler struct {
    // contains filtered or unexported fields
}

func (*MeasuredHandler) ServeHTTP

func (h *MeasuredHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)