Prometheus Metrics

Exposed on 0.0.0.0:9888/metrics in Prometheus text format. Uses metrics-exporter-prometheus.

Histograms

MetricDescription
tetrapus_frame_time_msTotal frame time (128-sample median → FPS gauge)
tetrapus_culling_time_msFrustum + LOD culling pass
tetrapus_update_time_msEntity state + trail update
tetrapus_upload_time_msGPU buffer uploads
tetrapus_gpu_submit_msGPU command submission

Gauges

MetricDescription
tetrapus_fpsFrames per second (128-sample median of frame_time)
tetrapus_memory_bytesRSS from /proc/self/statm × 4096
tetrapus_draw_calls_currentDraw calls this frame
tetrapus_ingest_partition_queue_depthIngestion partition queue depth

Counters

MetricDescription
tetrapus_draw_calls_totalCumulative draw calls
tetrapus_triangles_totalCumulative triangles rendered
tetrapus_gpu_upload_bytes_totalCumulative GPU upload bytes
tetrapus_ingest_received_totalTotal ingested records
tetrapus_ingest_failed_totalFailed ingestion attempts

TimedMetric RAII Pattern

Rust
// Drop records elapsed time to the histogram
let _timer = start_frame_timer(); // MetricKind::Frame
// ... frame work ...
// timer dropped here → records tetrapus_frame_time_ms

Questions?

Reach out for help with integration, deployment, or custom domain codecs.