package prometheus-app

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A Cohttp callback for a web-server that exposes the Prometheus metrics.

Parameters

Signature

val callback : Cohttp_lwt_unix.Server.conn -> Cohttp.Request.t -> Cohttp_lwt_body.t -> (Cohttp.Response.t * Cohttp_lwt_body.t) Lwt.t