prometheus icon indicating copy to clipboard operation
prometheus copied to clipboard

Set port via more than command line

Open Nymphium opened this issue 3 years ago • 1 comments

Currently Prometheus_unix.serve receives config value and the type can be only generated via Prometheus_unix.opts. I think it is more flexible if the concrete type of config if exposed.

Nymphium avatar May 30 '22 09:05 Nymphium

We could expose a constructor for it (e.g. val config : ?port:int -> unit -> config). That would make it easier to add more settings later.

talex5 avatar Jun 16 '22 08:06 talex5