Today's task: rewrite the @iocaine stats bot in Rust, and restore it.
Adapting the old dashboard snapshotter to the new one was trivial, so here's a sample!
I like the memory usage graph. It looks like those heart monitors in films.
Today's task: rewrite the @iocaine stats bot in Rust, and restore it.
Adapting the old dashboard snapshotter to the new one was trivial, so here's a sample!
I like the memory usage graph. It looks like those heart monitors in films.
DailyMetrics {
resources: ResourceMetrics {
uptime: "18h 16m 20s",
cpu_time: "3h 30m 34s",
memory_used: "94.03MiB",
},
dashboard_url: "",
overview: OverviewMetrics {
total_requests: "17.46M",
garbage_generated: "34.58GiB",
breakdown: Breakdown {
garbage_percent: "86.93%",
reject_percent: "13.04%",
challenge_percent: "0.009%",
human_percent: "0.17%",
fedi_percent: "96.89%",
},
},
}
So close! Just have to format these into a toot template, and we're almost done.
In the past 24 hours, it served 19.43M requests, 88.20% of which were garbage, 11.77% passed through unscathed, and 0.009% were fed to the Cookie Monster. This required about 95.20MiB of memory on average, and 39.17GiB of absolute trash was generated for the nastiest visitors.
Top garbage consumers were:
In these trying times, 0.16% of all requests were likely of human origin: I hope you enjoyed your stay, and will visit again! Of all requests iocaine let into the garden, 96.85% were from Fediverse software. Thank you! #FediHug
A space for Bonfire maintainers and contributors to communicate