Fix Swagger GET metrics
vkatsuba opened this issue · comments
erGW version
Description
Swagger API for get prometheus
metrics provide error 404
. Looks like the issue in wrong path to endpoint and in wrong accept Content-Type
in Swagger config.
Current behavior
When try to call endpoint for get prometheus
metrics will be provide error 404
instead of expected metrics data.
Expected behavior
Swagger API for get prometheus
metrics should return data of metrics.
Closed. The /metrics
was added into Swagger definitions some time ago and was not working as expected, this issue was fixed, however regarding discussion in #297 was detected that the /metrics
should not show in Swagger definitions. Removing of /metrics
from Swagger will be done in the scope of #312.