Provide metrics on root URL

This commit is contained in:
2022-02-20 22:47:48 +01:00
parent 79e83afafb
commit c8a043528b
23 changed files with 869 additions and 127 deletions

View File

@@ -1,21 +1,18 @@
# KafkaexLagExporter
**TODO: Add description**
To start your Phoenix server:
## Installation
* Install dependencies with `mix deps.get`
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `kafkaex_lag_exporter` to your list of dependencies in `mix.exs`:
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
```elixir
def deps do
[
{:kafkaex_lag_exporter, "~> 0.1.0"}
]
end
```
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at <https://hexdocs.pm/kafkaex_lag_exporter>.
## Learn more
* Official website: https://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Forum: https://elixirforum.com/c/phoenix-forum
* Source: https://github.com/phoenixframework/phoenix