Add Authorization to metrics HTTP endpoint
mwr opened this issue · comments
Matthias Walter commented
Add Authorization to metrics HTTP endpoint
Julian commented
What about refactoring the "/metrics" route (currently in the "frontend" area) into a REST endpoint ("webapi_rest" area) and use the native Magento integrations for token based authentication?
David Lambauer commented
I decided to add an Authorization Header. In the System Config, you can generate a token which then needs to be configured in Prometheus. Will push soon