Skip to content

Commit 884e520

Browse files
committed
Fix pg query exporter
1 parent 9babd62 commit 884e520

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/monitoring/pgsql_query_exporter_config.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ metrics:{% for _gid in MONITORING_PROMETHEUS_PGSQL_GID_MONITORED.split(",") if _
1515
osparc_total_number_of_successful_payment_transactions:
1616
type: gauge
1717
description: Total number of successful payment transactions
18-
osparc_total_number_of_dollars_paid:
18+
osparc_total_number_of_dollars_paid_successfully:
1919
type: gauge
2020
description: Total number of dollars paid successfully
2121
osparc_total_number_of_credits_purchased_successfully:
@@ -58,7 +58,7 @@ queries:{% for _gid in MONITORING_PROMETHEUS_PGSQL_GID_MONITORED.split(",") if _
5858
query_total_number_of_dollars_paid_successfully:
5959
interval: 55
6060
databases: [postgres]
61-
metrics: [osparc_total_number_of_dollars_paid]
61+
metrics: [osparc_total_number_of_dollars_paid_successfully]
6262
sql: |
6363
SELECT SUM(price_dollars) as osparc_total_number_of_dollars_paid_successfully
6464
FROM payments_transactions WHERE state = 'SUCCESS';

0 commit comments

Comments
 (0)