-
Member Count
-
Channel Count
-
Role Count
-
Banned User Count
-
Bot Count
-
copy the github repo onto your device
-
create a discord bot and invite it to your server
-
fill out the .env with the needed information
-
run 'npm i' in the directory
-
(add it to autostart)
-
start the exporter (exporter.js is the index file)
-
the exporter is now available under the port 9191
- job_name: 'discord_exporter'
scrape_interval: 5m
static_configs:
- targets: ['localhost:9191']
You can use and edit this as you wish. It's just a project i did in about an hour because i was bored.
- maybe i also add something like a total message count and more