-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Functions executed by HTTP request don't store metrics #3078
Comments
Can you share the logs of the usage worker ?
|
I don't receive any output when including the "-g" option. Just FYI, the metrics are stored correctly if run by an event, or through the console manually. Thanks for your quick reply and assistance! |
@Shadowfita so sorry I meant The usage worker captures and stores the usage data in the database so it should have some clues to what might be going wrong. Also, are you triggering this function synchronously or asynchronously ? |
@christyjacob4 thanks for your help with this. Logs from execution times recently, and a repeated error that I've noticed:
This is being executed synchronously, |
@Shadowfita these missing table errors typically mean something went wrong during migration 👀. Any chance you'll be able to use a clean install and import the data? |
👟 Reproduction steps
Execute a function via http requests.
👍 Expected behavior
Record it's executions and CPU time in the monitor tab as expected
👎 Actual Behavior
Doesn't store any metrics
🎲 Appwrite version
Version 0.13.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: