I am facing an issue when trying to set up an alerting, by comparing expressions e.g.:
pg_stat_activity_count{namespace="my_namespace"} > pg_settings