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

@@ -0,0 +1,11 @@
defmodule KafkaexLagExporterWeb.Router do
use KafkaexLagExporterWeb, :router
pipeline :api do
plug :accepts, ["json"]
end
scope "/api", KafkaexLagExporterWeb do
pipe_through :api
end
end