Coding Global Background
Coding Global

Argus-Analytical system for discord.py Bots.

Archiviert 5 hours ago
3 Nachrichten
2 Mitglieder
Erstellt a month ago
Aktualisiert 5 hours ago
In Discord öffnen
A
Astoris
Script Kiddie!
Project Name: Argus

Brief Description:
Argus is a production-grade observability platform for Discord bots built with discord.py. It provides Prometheus metrics, OpenTelemetry support, a real-time web dashboard, fleet-wide monitoring, and optional ClickHouse analytics through a single-line integration.

I built it because most Discord bot developers either have no visibility into production issues or need to manually stitch together monitoring tools. Argus aims to provide a batteries-included monitoring stack that is simple to adopt while remaining scalable for large multi-shard deployments.

Tech Stack Used:
Python
discord.py
aiohttp
Prometheus
OpenTelemetry (OTLP)
React
ClickHouse
Docker
Grafana

Key Features / Challenges Overcome:

• One-line integration for discord.py bots• Built-in Prometheus metrics endpoint• Real-time monitoring dashboard served directly by the bot• OpenTelemetry export support for external observability platforms• Fleet control plane for monitoring multiple bot processes across regions• Per-guild analytics pipeline using ClickHouse• Fail-open instrumentation that never impacts bot uptime• Privacy-focused design that prevents guild, user, and channel IDs from becoming Prometheus labels
Key challenges included designing a monitoring system with bounded metric cardinality, keeping instrumentation overhead extremely low, supporting clustered deployments, and ensuring monitoring failures could never affect the bot's event loop.

Demo:
GitHub repository:
https://github.com/AstorisTheBrave/argus

PyPI package:
https://pypi.org/project/argus-dpy/
UnoRouter KI API

Antworten (2)