-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Basic self-reporting, core part #5129
Conversation
a54e076
to
c7e1483
Compare
Discussed with @link2xt a few days ago about aiming for writing a bot that accepts metrics and makes them available to promotheus (or some other way of creating graphs) so that the only thing for any metrics source (e.g. cronjobs at chatmail servers) to send metrics to the bot. The bot effort is not specified yet, but it probably makes sense to write a simple jsonrpc-python metrics collection bot (because that can be modified by anyone, mostly) and start with the use cases of the self-reporting and chatmail-reporting. |
Prometheus is irrelevant here, it expects to pull metrics every N seconds or so. I suggest to setup an email account and have a Python script that processes reports directly from the directory full of reports collected by the bot or even from the Maildir full of messages if we don't encrypt them. https://popcon.debian.org/ does this thing, reports are sent to [email protected] by a cronjob and then some perl and python scripts generate graphs that are presented on the website. |
3bbacb1
to
8edc1b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on deltachat/deltachat-core-rust#5129 Part of #2909
Btw, i forgot to report, i sent my statistics on |
Part of deltachat/deltachat-android#2909
For now, this is only sending a few basic metrics.
Also, it's sending to
[email protected]
, but this account doesn't exist yet. I know nothing about Promotheus, so, I'll need some help with this from @link2xt or so - alternatively, I can create a very simple bot myself (that doesn't use Promotheus).