You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prometheus exporter for oMLX monitoring. Exposes metrics about OMLX models, memory pressure, health, and request statistics via a /metrics endpoint.
Also provides ready-to-go Grafana dashboard.
Quick Start
Running with Docker Compose
# Create .env file from the example
cp .env.example .env
# Edit .env with your OMLX connection details
docker compose up -d
This starts three services:
omlx-exporter - The metrics exporter on port 8001
prometheus - Prometheus server on port 9090
grafana - Grafana dashboard on port 3000
Configuration
Configuration is loaded from config.yaml and can be overridden via environment variables.
Parameter
Description
Default
address
HTTP listen address
0.0.0.0:8001
logLevel
Log level (debug, info, warn, error)
info
omlx.targetUrl
OMLX API endpoint
http://localhost:8000
omlx.apiKey
OMLX API key
(empty)
omlx.scrapeIntervalInSec
Scrape interval in seconds
5
For running in Docker on MacOS you should use host.docker.internal:8000
Environment variable names match the YAML keys (e.g., omlx.targetUrl).