Skip to content
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 logging/stats #30

Open
PixeLInc opened this issue Mar 24, 2020 · 1 comment
Open

Add logging/stats #30

PixeLInc opened this issue Mar 24, 2020 · 1 comment

Comments

@PixeLInc
Copy link
Member

As of now, there are no statistics or logging of the usage of DrawBot.
This is extremely inconvenient as those stats are pretty useful in the development of the bot.

A nice solution, in my opinion, would be maybe a Grafana dashboard, stored in either a grafana db or something like Redis.
This should log command usage stats, as well as CPU/memory loads throughout the day and maybe some other things.

@z64
Copy link
Collaborator

z64 commented Mar 24, 2020

We should try to consolidate deployment as much as possible. drawbot is ridiculously simple; in general, I don't think its worth adding ancillary services that the end user doesn't directly see a benefit from.

Realistically the most I can see us adding for drawbots current scope is PG. We'll need a database at some point, whether it is SQLite or a full DBMS, and I would not underestimate what can be done with PG alone.

Stats would be perfectly fine to log with a DBMS, and there are likely plenty of existing tools we can use to generate visualizations; even something as simple as dumping a CSV to drop into google sheets / JSON.

So I'll leave it to you to decide whatever the frontend for this is, but as far as data collection itself goes, that's my two cents - do whatever gives us the most value up & down the stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants