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_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_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_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_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. |