Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-8228

Metrics from globalpromstats.py not populated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • quay-v3.13.0
    • quay
    • False
    • None
    • False
    • Hide

      curl http://<your-quay-registry>:9091/metrics | grep quay_user_rows

      Show
      curl http://<your-quay-registry>:9091/metrics | grep quay_user_rows

      in config.py there's a

      class DefaultConfig(ImmutableConfig):
          ...
          # URL that specifies the location of the prometheus pushgateway.
          PROMETHEUS_PUSHGATEWAY_URL: Optional[str] = "http://localhost:9091"
      

      That (probably?) doesn't get applied because the quay_user_rows comes back 0 at the metrics endpoint. However, if I set

      PROMETHEUS_PUSHGATEWAY_URL: http://localhost:9091
      

      in config.yaml, the metrics come back with a number.

              Unassigned Unassigned
              ebbex Erik Berg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: