pgcat icon indicating copy to clipboard operation
pgcat copied to clipboard

Add & fix helm metrics endpoint

Open kwongtn opened this issue 1 year ago • 2 comments

The existing declaration does not expose the deployment to collect metrics from the pods, hence no metrics are being collected.

This PR exposes the metrics port, and also includes a "for-convenience" PodMonitor. As some of us may already have metrics setup, I bumped the semver by 1 minor version to prevent anyone accidentally updating & wiping their configs.

Closes #871

Depends on:

  • https://github.com/postgresml/pgcat/pull/890

kwongtn avatar Dec 17 '24 09:12 kwongtn

Could you also add pod annotation for classic Prometheus deployments?

metadata:
  annotations:
    prometheus.io/port: "9930"
    prometheus.io/scrape: "true"

any update @kwongtn ?

shigedangao avatar Mar 21 '25 16:03 shigedangao