The Interactive UI-Driven Metrics Simulator for Prometheus
Mocketheus is a developer tool designed to make Prometheus testing painless. Instead of writing complex exporters or static configuration files, Mocketheus provides a modern Web UI to create, manage, and simulate metrics in real-time. UI driven metrics mocking.
- 🖥️ Zero-Config GUI: Create, update, and delete metrics without touching a single line of code or YAML.
- 🎛️ Real-Time Sliders: Instantly manipulate
Gaugevalues or incrementCountersvia a dashboard. - 🏷️ Visual Label Management: Add and edit Prometheus labels (key-value pairs) with ease.
- 🚀 Instant Scrape Endpoint: Your mock metrics are immediately available on the standard
/metricsendpoint.
Mocketheus acts as a bridge between your manual testing needs and the Prometheus ecosystem.
- Interact: You set the desired values on the dashboard.
- Expose: The Express backend serves these values in the official Prometheus text format.
- Scrape: Your Prometheus instance scrapes Mocketheus just like any other exporter.
- Node.js (v18 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/hb3nce04/mocketheus.git
- Install:
cd mocketheus npm install - Run:
npm run dev
