Skip to content

Commit

Permalink
fix: monitoring table name
Browse files Browse the repository at this point in the history
  • Loading branch information
cquintana92 committed May 24, 2024
1 parent 6862ed3 commit 5f190d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5f190d4

Please sign in to comment.