Files
mtusi2026lab7/evidence/dashboard.txt
T

37 lines
3.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# dashboard: lab6: every dashboard/rule query runs on live data, key signals present, no forbidden labels
# date: 2026-11-07 19:14:22, commit: 20afc2c + uncommitted changes
# command: python.exe student-tests/check_dashboard.py
# exit code: 0, 2.7 s
PromQL: 54 dashboard expressions + 16 rule expressions executed, 0 errors, 15 empty now (no traffic of that kind / Docker-only / no incident)
empty now: CPU контейнеров / лимит
empty now: Collector: потери и отказы
empty now: SDK приложений: экспорт и потери
empty now: alerts.yml: MessengerDbPoolSaturated
empty now: alerts.yml: MessengerHighErrorRate
empty now: alerts.yml: MessengerQueueLagGrowing
empty now: alerts.yml: MessengerWorkerNoConsumers
empty now: alerts.yml: TelemetryCollectorDown
empty now: alerts.yml: TelemetryExportFailing
empty now: Алерты Prometheus (pending/firing)
empty now: Память: RSS процесса и контейнер
LogQL ok: Предупреждения и ошибки (Loki): {service_name=~"messenger-.*"} | detected_level=~"warn|error"
TraceQL ok: Трассы с ошибками (Tempo, TraceQL): { status = error } -> 5 trace(s)
data: http_server_request_duration_seconds_count{job="messenger-api"} 54 series <- HTTP requests/duration (3)
data: messenger_job_duration_seconds_count 3 series <- jobs processed/failed + duration (3)
data: messenger_attachment_time_to_ready_seconds_count 1 series <- end-to-end time to ready (4)
data: messenger_queue_depth 2 series <- queue depth (4)
data: messenger_queue_oldest_age_seconds 1 series <- oldest job age (4)
data: db_client_connection_count 6 series <- DB pool used/idle (4)
data: db_client_connection_pending_requests 3 series <- DB pool waiting (4)
data: messenger_worker_busy 1 series <- worker busy (4)
data: messenger_worker_capacity 1 series <- worker capacity (4)
data: process_cpu_time_seconds_total 16 series <- process CPU (4)
data: process_memory_usage_bytes 8 series <- process RAM (4)
data: otelcol_exporter_queue_size 3 series <- collector queue (4)
labels used by application metrics: __name__, bao_role, cpu_mode, db_client_connection_pool_name, db_client_connection_state, deployment_environment_name, error_type, http_request_method, http_response_status_class, http_response_status_code, http_route, instance, job, job_type, le, messaging_destination_name, messenger_rate_limit, otel_component_name, otel_component_type, otel_span_parent_origin, otel_span_sampling_result, outcome, server_address, server_port, service_version, status, telemetry_sdk_language, telemetry_sdk_name, telemetry_sdk_version
http_route values (templates, not URLs): ['/api/v1/attachments/{attachment_id}', '/api/v1/attachments/{attachment_id}/content', '/api/v1/auth/sessions', '/api/v1/auth/sessions/current', '/api/v1/chats', '/api/v1/chats/{chat_id}', '/api/v1/chats/{chat_id}/attachments', '/api/v1/chats/{chat_id}/messages', '/api/v1/users', '/api/v1/users/me', '/health/live', '/health/ready']
PASS: every dashboard/rule query runs, key signals have data, no forbidden labels