-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add analytics #768
base: main
Are you sure you want to change the base?
Add analytics #768
Conversation
Deploying chatcraft-org with Cloudflare Pages
|
Hey @humphd , For the analytics, I think adding user metrics to supplement the given analytics would be good, like kind of having an average token usage per user, error rate trend I was also wondering, what the "Delete" functionality stands for here, is it related to how the analytics are generated when some responses are deleted? I am a bit confused Also, If you want I can work on adding more analytics and any additional features. Thank you for your time |
abe155e
to
2ebeff6
Compare
It would be helpful to get a better description of what these queries are aiming. |
Note querying SQL in a time series way used too advanced for me. Your time series query still is
|
So this is the query i got
gonna pause here for now. it seems to make sense on my data |
Part of #765. I've added code to pull some analytics from the db, and created two ways to view it:
/analytics
slash command, which dumps your stats as JSON into messages in the chatThe UI for this is all terrible at the moment, but the stuff you get out of it is cool. It would be easy to add more.