Kong Custom Prometheus Metrics

Has anytime tried configuring custom metrics in Kong. I am trying to add custom metrics (Plugins based / Consumer based) in kong, but prometheus is not picking up the change.
Any working example will help!!

Any updates will be appreciated…

Adding in Custom metrics in the Prometheus plugin is not supported yet.

Could you elaborate on what you are trying to accomplish?

Hi hbagdi,
I too was looking for a similar feature. Suppose if I want to collect metrics say the number of hits made based on a tenant Id which is passed as one of the query parameter while accessing an API. Also based on the client Id which is part of the jwt claims. How to achieve this. Did anyone tried this. Any working example will help.


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ