Simple metrics exporter HTTP server for Prometheus meant to be used for private Discord servers.

Overview

Discord Prometheus Exporter

Simple metrics exporter HTTP server for Prometheus meant to be used for private Discord servers.

Thanks to the creator of promcord for the original idea! This project is meant to be a simpler replacement for it.

Metrics tracked

  • Application:
    • Discord websocket response time
  • Guild:
    • The active boost count.
  • Voice channels:
    • How many joins there have been
    • How many users are in a voice channel
  • User count:
    • How many users have joined/left
    • How many users there are in total
  • Reactions:
    • How many reactions have been added/removed
  • Messages:
    • How many messages have been created, updated, and deleted
  • Invites:
    • How many invites have been created
    • How many invites there are in total

All metrics are prefixed with discord_server_ in the final Prometheus format.

Build & Run

Run ./gradlew cleanBuild. The final jar will be available in the build/libs directory.

Discord prometheus exporter requires you to pass through your Discord bot token in the application's start parameters. You may start the application with the following flags:

  • --token (required): your Discord bot token
  • --addr (default: 0.0.0.0:9800): the address our HTTP server will bind to

Dashboard

😔 We do not have a dashboard template yet. Come back later!

You might also like...
Experimental Discord Mobile Rich Presence (Android)

MRPC Experimental Discord Mobile Rich Presence (Android) How does it work? It's pretty simple. Connect to the Discord Gateway as a normal Discord Clie

A Discord audio player that streams audio from the desktop.

Synced A Discord audio player that streams audio from the desktop. Synced runs as a bot that plays audio to your selected Discord server. You can cont

Mindusty -- Discord

Minducord Mindustry -- Discord Setup Go to Releases and download minducord.jar. After download, paste it to mods folder and run server. If you can s

Urban Dictionary discord bot.

Urban Dictionary Installation & Setup 1. Clone the repository git clone https://github.com/thexxiv/urbandictionary-discord-bot.git 2. Navigate to the

DiscordBot - Small Discord bot using JDA

Discord bot written in kotlin and using JDA Use it yourself ./gradlew build crea

Photon Framework provides cool way to Discord Slash Commands 👩‍💻 🚧

Photon Framework provides cool way to Discord Slash Commands 👩‍💻 🚧

🎧 Hacky last.fm Discord rich presence
🎧 Hacky last.fm Discord rich presence

LastFmRichPresence 🎧 Hacky last.fm Discord rich presence How to use?

An open-source reimplementation of the Discord Android app
An open-source reimplementation of the Discord Android app

OpenCord An open-source reimplementation of the Discord Android app. Chat Drawer Why does this exist? Current Discord app sucks as it doesn't support

TimmyBot is a discord bot based on Discord4J and LavaPlayer

TimmyBot TimmyBot is a discord bot based on Discord4J and LavaPlayer Invite Click here to invite Timmy to your server Commands ?play - Plays a song, e

Releases(1.0)
  • 1.0(Aug 28, 2022)

    Metrics tracked

    • Application:
      • Discord websocket response time
    • Guild:
      • The active boost count.
    • Voice channels:
      • How many joins there have been
      • How many users are in a voice channel
    • User count:
      • How many users have joined/left
      • How many users there are in total
    • Reactions:
      • How many reactions have been added/removed
    • Messages:
      • How many messages have been created, updated, and deleted
    • Invites:
      • How many invites have been created
      • How many invites there are in total
    Source code(tar.gz)
    Source code(zip)
    discord-prometheus-exporter.jar(14.68 MB)
Owner
Subham
Subham
An Android App meant to use NFC technology to communicate with and emulate RFID tags

An Android App meant to use NFC technology to communicate with and emulate RFID tags. Built by Niklaas Cotta & Jordan Whiteley, for CIS 433 WI22.

Niklaas Cotta 0 Jan 29, 2022
Synapse Moderation Bot - A bot for managing and moderating our community Discord server

Synapse Moderation Bot A bot for managing and moderating our community Discord server. Note This bot is not public. While you can host it on your own,

Synapse Technologies, LLC 1 Jul 16, 2022
A private messenger for Android.

Signal Android Signal is a messaging app for simple private communication with friends. Signal uses your phone's data connection (WiFi/3G/4G) to commu

Signal 23.2k Jan 8, 2023
A private messenger for Android.

Signal Android Signal is a messaging app for simple private communication with friends. Signal uses your phone's data connection (WiFi/3G/4G) to commu

Signal 23.2k Jan 7, 2023
Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private EOSIO blockchains

Tonomy ID is the cross-platform mobile wallet (Android and iOS) for public and private EOSIO blockchains. This application allows you to sign transactions on the block chain, share your DID and Verifiable Credentials containing your identity with others in a consensual way and log into web2 and web3 applications. If you lose your phone several mechanisms exist to allow you to recover your account without trusting anyone with custody of your private keys.

null 7 Dec 24, 2022
an android app to send private secret SMS while terrorist Islamic republic of Iran banned internet access in Iran.

Mahsa An android application which is designed to deliver safe and encrypted messages using SMS while Islamic republic of Iran banned Iranian people a

null 3 Sep 22, 2022
A performance-oriented fork of Purpur intended to increase performance for entity-heavy servers by implementing multi-threaded and asynchronous improvements.

Petal is a performance-oriented fork of Purpur intended to increase performance for entity-heavy servers by implementing multi-threaded and asynchronous improvements.

Bloom 224 Jan 3, 2023
AsukaBot - A simple Kotlin Discord Bot

The Discord bot of the serber, a private Discord server. Asuka is a Discord But running on the JDA API but made in kotlin.

Yann ItzPeaxel 2 Apr 24, 2022
🐦 Loritta's Social media relayer via Discord Webhooks micro-service

?? SocialRelayer ?? SocialRelayer is a social media relayer to Discord via webhooks, pulling Loritta's guild configurations to automatically register

Loritta 6 Jun 2, 2022
An open-source reimplementation of the Discord Android app

OpenCord An open source reimplementation of the Discord Android app. Why does this exist? Current discord app sucks as it looks ugly and doesn't suppo

Tornike Khintibidze 521 Jan 3, 2023