Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5618

reduce cardinality of postgresql_schema_size_bytes

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2024-Oct-25
    • None
    • None
    • None

      When we fixed COST-5204, we inadvertently caused the cardinality of the postgresql_schema_size_bytes metric to increase almost 12 fold. This is due to the pid being included in the metric labels.

      We should try to figure out how to remove the pid from this metric.

      In addition, we need to verify that this metric is only provided by prometheus-push OR scrapped, not both. Here is a metric to verify:
      https://prometheus.crcp01ue1.devshift.net/graph?g0.expr=count%20by%20(job)%20(count%20by%20(job%2C%20schema)%20(postgresql_schema_size_bytes))&g0.tab=1&g0.display_mode=lines&g0.show_exemplars=0&g0.range_input=1h

              chambrid Chris Hambridge
              mskarbek Michael Skarbek
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: