Provide metrics on root URL
This commit is contained in:
11
lib/kafkaex_lag_exporter_web/router.ex
Normal file
11
lib/kafkaex_lag_exporter_web/router.ex
Normal 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
|
||||
Reference in New Issue
Block a user