When I start my server and print some logs, I get a torrent (not the p2p file kind) of queries to the influxdb service. They are like this (dozens and dozens of repeated queries per second:
appwrite-influxdb | ts=2023-02-15T19:03:03.955327Z lvl=info msg="Executing query" log_id=0g1blzn0000 service=query query="SELECT sum(value) AS value FROM telegraf.autogen.\"appwrite_usage_project_{scope}_network_requests\" WHERE time > '2023-02-14T19:03:03+00:00' AND time < '2023-02-15T19:03:03+00:00' AND metric_type = 'counter' GROUP BY time(1h), projectId, projectInternalId"
appwrite-influxdb | ts=2023-02-15T19:03:03.958221Z lvl=info msg="Executing query" log_id=0g1blzn0000 service=query query="SELECT sum(value) AS value FROM telegraf.autogen.\"appwrite_usage_project_{scope}_network_bandwidth\" WHERE time > '2023-02-14T19:03:03+00:00' AND time < '2023-02-15T19:03:03+00:00' AND metric_type = 'counter' GROUP BY time(1h), projectId, projectInternalId"
// etc
Is this normal ? I'm not even accessing any usage or admin panel from appwrite. I ran these commands two or three seconds apart:
root@myserver:~/appwrite# docker compose logs 2>&1 | grep "appwrite-influxdb" | wc -l
82502
root@myserver:~/appwrite# docker compose logs 2>&1 | grep "appwrite-influxdb" | wc -l
83134
it's normal for it to run. you can configure the interval by modifying the _APP_USAGE_AGGREGATION_INTERVAL env var. See https://appwrite.io/docs/environment-variables#general
Recommended threads
- Download appwrite Docs
Is there is a way to download appwrite Docs ? Because appwrite skill isn't enough to give the agent full understanding about how appwrite works (I noticed this ...
- How do you contact support to cancel a s...
My nephew signed up with my CC without my permission and has forgotten the password to the account. I can't for the life of me get a hold of anyone at appwrite....
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...