Metrikler
not
Başlıklar ve tablolar Türkçe; açıklamalar koddan üretildiği için İngilizce.
GET /metrics bunları Prometheus metin formatında, giriş istemeden sunar: cluster'ın içinden scrape edin, Ingress'inizden geçirmeyin. Sayaçlar pod açılınca 0'dan başlar.
| Metrik | Tür | Label'lar | Anlamı |
|---|---|---|---|
openconsole_http_requests_total | counter | HTTP requests served. | |
openconsole_http_requests_status_total | counter | status | HTTP requests served, by status class (2xx, 3xx, 4xx, 5xx). |
openconsole_http_request_duration_ms_sum | counter | Sum of request durations in milliseconds. | |
openconsole_http_request_duration_ms_count | counter | Count of observed requests used for duration stats. | |
openconsole_audit_events_total | counter | Audit log entries recorded. | |
openconsole_audit_write_failures_total | counter | Audit events that could not be written to the database (full or locked volume); each one is also an error log line. | |
openconsole_pod_exec_sessions_total | counter | Pod exec sessions started. | |
openconsole_pod_log_streams_total | counter | Pod log WebSocket streams started. | |
openconsole_deployment_actions_total | counter | Deployment restart or scale actions attempted. | |
openconsole_pod_exec_active | gauge | Pod exec sessions currently open. | |
openconsole_cluster_requests_total | counter | cluster | Authenticated API requests per cluster. |
openconsole_cluster_connected | gauge | cluster | 1 when OpenConsole holds a live connection to the cluster. |