-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
5
-
False
-
None
-
False
-
-
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