Tiny_httpd_prometheusExpose metrics over HTTP in the prometheus format.
This sub-library tiny_httpd.prometheus provides definitions for counters, gauges, and histogram, and endpoints to expose them for Prometheus to scrape them.
module Registry : sig ... endRegistry for metrics.
val global : Registry.tmodule Counter : sig ... endCounters
module Gauge : sig ... endGauges
module Histogram : sig ... endval http_middleware : Registry.t -> Tiny_httpd_core.Server.Middleware.tMiddleware to get basic metrics about HTTP requests
val add_route_to_server : Tiny_httpd_core.Server.t -> Registry.t -> unitAdd a "/metrics" route to the server
val instrument_server : Tiny_httpd_core.Server.t -> Registry.t -> unitAdd middleware and route
module GC_metrics : sig ... end