fix: monitoring table name

This commit is contained in:
Carlos Quintana 2024-05-24 10:52:08 +02:00
parent 6862ed3602
commit 5f190d4b46
No known key found for this signature in database
GPG Key ID: 15E73DCC410679F8
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ def log_nb_db_connection():
@newrelic.agent.background_task()
def log_pending_to_process_events():
r = Session.execute("select count(*) from sync_events WHERE taken_time IS NULL;")
r = Session.execute("select count(*) from sync_event WHERE taken_time IS NULL;")
events_pending = list(r)[0][0]
LOG.d("number of events pending to process %s", events_pending)