Prometheus-style game metrics for Zyntex: counters, gauges, histograms, and summaries.
flushEvery
seconds (default 10s) or when you call :flush()
manually.server_id
label for every telemetry sample.sum
, avg
, min
, max
(with optional by(...)
/ without(...)
).
Functions: rate
, avg_over_time
, sum_over_time
, min_over_time
, max_over_time
, topk
, bottomk
, histogram_quantile
.
Selectors: instant vectors like metric{label="value"}
and range vectors like metric{label="value"}[5m]
.
Examples
players_joined_total
, robux_spent_total
).cpu_utilisation_percent
, server_health_percent
).buckets
, Zyntex applies backend bucketing that may evolve over time.snake_case
and include units, e.g. server_uptime_seconds_total
, ping_milliseconds
. Use labels (e.g., {region="NA"}
) for slicing.