Skip to content

NameGeandert/prometheus-discord-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-discord-exporter

Metrics

  • Member Count

  • Channel Count

  • Role Count

  • Banned User Count

  • Bot Count

Setup

  • 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

Prometheus.yml

example

-  job_name:  'discord_exporter'
    scrape_interval:  5m
    static_configs:
	    -  targets:  ['localhost:9191']

Grafana

Notice

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors