Adding prometheus custom metrics


How can I add custom metrics in golang plugin, so they will collected with all the default kong metrics ?
Currently, although my go code can get these metrics, the localhost:8001/metrics isn’t showing the additional metrics.

Hi @iyossi !

We unfortunately do not currently expose a way to add additional metrics that will then be shared through the /metrics endpoint. We’ll definitely consider your feedback for our future roadmap.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.