package metrics-influx
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Influx reporter for the Metrics library
Install
dune-project
Dependency
Authors
Maintainers
Sources
metrics-0.4.1.tbz
sha256=77e0c20fb5c1d06103dbb0ec0bc6045bee3c61c00ad0423c97852ac7f3c6144d
sha512=8da6e5666a9196f7c6aa77de034a1410e2dd89ee717ffd179ed480c7d4cd9f9e2088abefc05ba8b53a6668bc36ff4fd2d5af2e5a1b79ecd00e2ec35592591dbf
doc/metrics-influx/Metrics_influx/index.html
Module Metrics_influxSource
encode_line_protocol tags data name encodes the tags and data to the influx line protocol, using name as measurement.
Source
val lwt_reporter :
?tags:Metrics.tags ->
?interval:int ->
(string -> unit Lwt.t) ->
(unit -> int64) ->
Metrics.reporterlwt_reporter ~tags ~interval send clock is a metrics reporter that encodes a measurement in influxdb line protocol and reports it via send. A measurement can be prefixed by an optional list of tags. If ~interval is specified and a positive amount of milliseconds, each source measurement is reported only once within this interval.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>