Files
DarkflameServer/docs/grafana/prometheus.yml
Aaron Kimbrell e213a7aeff feat: web dashboard and playground work
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch:
accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy
reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live
events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved
captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes
they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:30:43 -05:00

17 lines
804 B
YAML

# Example Prometheus scrape config for the DarkflameServer dashboard's /metrics.
# Switch metrics_enabled on (Settings > Dashboard > Metrics) first. Then either:
# - set metrics_token on the Settings page and put the same value in the file below, or
# - make an API token on the account page of an account with the metrics_view permission and use that.
# The dashboard works the numbers out at most every metrics_cache_seconds (10), so scraping more often gains nothing.
scrape_configs:
- job_name: darkflame
scrape_interval: 30s
metrics_path: /metrics
# https if the dashboard is behind a reverse proxy with TLS
scheme: http
authorization:
type: Bearer
credentials_file: /etc/prometheus/darkflame_metrics_token
static_configs:
- targets: ["127.0.0.1:2006"]