Hello!
First, thanks for your work on this great library 🥇
I've implemented auth in another way which, I think, is simpler that what is proposed with unplug:
scope "/metrics" do
pipe_through :admin_auth
get "/", PromEx.Plug, prom_ex_module: Clive.PromEx
end
Is there any problem with this approach? Otherwise I think this is what should be documented. I'd be happy to update the doc.
Cheers!
Hello!
First, thanks for your work on this great library 🥇
I've implemented auth in another way which, I think, is simpler that what is proposed with unplug:
Is there any problem with this approach? Otherwise I think this is what should be documented. I'd be happy to update the doc.
Cheers!