Kong prometheus plugin setup

Hi ,

we are planning to use the prometheus plugin for kong running in kubernetes .
if we extract data from kong admin service /metrics endpoint , will i get the combined metrics from all the pods in or we need to extract /metrics from each of the kong pods .

Need some suggestion in the setup.

Hi @piyush_gupta,

The metrics endpoints themselves do not aggregate each other, and so each endpoint only provides metrics for itself.

However if Kong is deployed via the chart and the serviceMonitor.enabled flag is set to true, then the Prometheus Operator will be automatically configured to pull from each endpoint and the data from each endpoint will be aggregated within Prometheus.

Let me know if this is helpful to you?