Metrics¶
Exported by tenax-controller (and the streamers) on :8080/metrics; the chart's ServiceMonitor scrapes them.
Generated from the code by make docs-reference.
| Metric | Type | Labels | Description |
|---|---|---|---|
tenax_ai_cost_total |
counter | provider, model, feature |
Estimated cost of model calls. |
tenax_ai_local_model_download_percent |
gauge | provider, model |
Download progress of a provider's local model. |
tenax_ai_local_model_failed |
gauge | provider, model |
1 while the in-cluster model server or its download of a provider has failed. |
tenax_ai_local_model_ready |
gauge | provider, model |
1 while the in-cluster model server of a provider is ready. |
tenax_ai_requests_total |
counter | provider, model, feature, outcome |
Model calls. |
tenax_ai_runs_total |
counter | workflow, phase |
Finished AI workflow runs. |
tenax_ai_tokens_total |
counter | provider, model, feature, kind |
Model tokens used. |
tenax_anomaly_signals_total |
counter | namespace, target, kind, strength |
Unusual changes found in a target's change stream or backups. |
tenax_backup_bytes |
gauge | namespace, target, stage |
Size of the last full backup. |
tenax_backup_duration_seconds |
histogram | namespace, target |
Duration of full backups. |
tenax_chain_broken |
gauge | namespace, target |
1 when the change stream chain is broken. |
tenax_gc_deleted_objects_total |
counter | store |
Objects deleted by GC. |
tenax_gc_last_success_timestamp_seconds |
gauge | store |
Last successful GC. |
tenax_imported_backups_total |
counter | store |
Backup objects recreated from the store's manifests. |
tenax_incident_open |
gauge | namespace, target |
1 while the target has an unresolved strong anomaly incident. |
tenax_last_success_timestamp_seconds |
gauge | namespace, target, env, kind |
Time of the last successful backup. |
tenax_pitr_window_seconds |
gauge | namespace, target |
Length of the restorable point-in-time window. |
tenax_queue_depth |
gauge | - | Backups waiting for slots. |
tenax_restore_duration_seconds |
histogram | namespace, target, mode |
Duration of restores. |
tenax_sandboxes_active |
gauge | - | Sandboxes not yet deleted. |
tenax_sandboxes_expired_pending |
gauge | - | Sandboxes past their TTL and not deleted. |
tenax_scrub_last_success_timestamp_seconds |
gauge | store |
Last finished scrub run. |
tenax_scrub_quarantined_backups_total |
counter | store |
Backups quarantined because their stored objects did not match the manifest. |
tenax_slot_max_wal_keep_bytes |
gauge | namespace, target |
max_slot_wal_keep_size of the server. |
tenax_slot_retained_wal_bytes |
gauge | namespace, target |
WAL retained by the target's slot. |
tenax_slots_in_use |
gauge | pool |
Held concurrency slots. |
tenax_store_bytes |
gauge | namespace, target |
Bytes stored per target. |
tenax_store_replica_last_sync_timestamp_seconds |
gauge | store, replica |
Last error-free copy of a store to its replica. |
tenax_store_replica_pending_objects |
gauge | store, replica |
Objects of the store not yet in the replica after the last copy. |
tenax_store_up |
gauge | store |
1 when the store is reachable. |
tenax_stream_lag_bytes |
gauge | namespace, target |
Bytes the stream is behind the server. |
tenax_stream_lag_seconds |
gauge | namespace, target |
Seconds of changes not yet committed to the store. |
tenax_stream_segments_total |
counter | namespace, target, partial |
Segments shipped. |
tenax_target_info |
gauge | namespace, target, env, engine, policy |
One per BackupTarget. |
tenax_verify_last_result |
gauge | namespace, target |
Result of the last verification restore (1 passed, 0 failed). |
tenax_verify_last_success_timestamp_seconds |
gauge | namespace, target |
Time of the last successful verification restore. |
tenax_verify_rto_seconds |
gauge | namespace, target |
Duration of the last verification restore. |