package mirage-monitoring

  1. Overview
  2. Docs
Monitoring of MirageOS unikernels

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-monitoring-0.0.8.tbz
sha256=0ba82c65c554463e6fe91c169b8d38ec5c11a0a2d558bf72023f25808499622e
sha512=8053ad15c3334fa61399c0335e64899b00ce7c3dde4bec7891c02f972c9143b181d7c9a2201ef74942a357b1c04a134e5bf60cfa531a397cf661cc8e9d6c2c04

doc/mirage-monitoring/Mirage_monitoring/Make/index.html

Module Mirage_monitoring.MakeSource

Parameters

Signature

Sourceval create : ?interval:int -> ?hostname:string -> Ipaddr.t -> ?port:int -> ?listen_port:int -> ?memtrace_port:int -> ?sampling_rate:float -> S.t -> unit

create ~interval ~hostname ip ~port ~listen_port ~memtrace_port ~sampling_rate stack initiates monitoring on stack for the unikernel. The metrics are reported every interval (defaults to 10) seconds to ip on port (defaults to 8094) via TCP using the influxd wire protocol. On listen_port (defaults to 2323) a TCP connection can be initiated to adjust the log level and enable and disable metrics sources. On memtrace_port (defaults to 4242) a single TCP client can connect simultaneously to receive a Gc.Memprof trace. The sampling_rate defaults to 1e-4.