EveryGoodWork / ChapterVerse

Scripture lookup bot written in Rust.
GNU General Public License v3.0
4 stars 1 forks source link

Metrics #28

Closed PeterMHammond closed 1 month ago

PeterMHammond commented 3 months ago

Function to track statistics on.

  1. Version
  2. Total Channels
  3. Total Users
  4. Scriptures
  5. Gospel Proclamations
  6. Uptime
  7. Message parsing time (this helps spot if there are problems in processing)
  8. Response parsing time (this helps spot if there are problems in processing)

Example from !status command: ChapterVerse: v3.06 | Totals: 147 channels; 8,919 users; 116,582 scriptures; 12,692 Gospel proclamations! | Current Metrics: 17:19:43:59 uptime, 438,146 messages parsed (0.108ms avg), 6,723 responses (11.288ms avg)