prometheus
prometheus copied to clipboard
Set port via more than command line
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.
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.