package tiny_httpd

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

Module Tiny_httpd_prometheus.CounterSource

Counters

Sourcetype t

A counter, monotonically increasing

Sourceval create : Registry.t -> ?tags:tags -> ?descr:string -> string -> t
Sourceval incr : t -> unit
Sourceval incr_by : t -> int -> unit
Sourceval incr_to : t -> int -> unit

Increment to the given number. If it's lower than the current value this does nothing

OCaml

Innovation. Community. Security.