You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our deployment this morning a few issues have come up:
It is currently erroring in staging with the exception provided below, it seems as though it expects usage to be retrieved from influx, but staging is using postgres for analytics.
We need to be able to test this on a per organisation basis perhaps. We don't want to deploy this and start sending alerts out to all organisations immediately (and perhaps incorrectly?)
Traceback (most recent call last):
File "/app/task_processor/processor.py", line 96, in _run_task
task.run()
File "/app/task_processor/models.py", line 66, in run
return self.callable(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/organisations/tasks.py", line 174, in handle_api_usage_notifications
_handle_api_usage_notifications(organisation)
File "/app/organisations/tasks.py", line 145, in _handle_api_usage_notifications
api_usage = get_current_api_usage(organisation.id, f"{days}d")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/app_analytics/influxdb_wrapper.py", line 350, in get_current_api_usage
assert len(result.records) == 1
^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
The text was updated successfully, but these errors were encountered:
In our deployment this morning a few issues have come up:
The text was updated successfully, but these errors were encountered: