View Source PromEx.MetricsServer.Plug (PromEx v1.11.0)
This plug is used to serve metrics when PromEx is run in a standalone server configuration. This plug supports the following options:
:path
- The route that should expose the metrics (default is "/metrics"):prom_ex_module
- The PromEx module that this plug will expose
In order to use this standalone metrics server plug you need to have :plug
and :plug_cowboy
as dependencies in your project.