Instrumentation: tracing spans + /metrics endpoint #14
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_office#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
We can't answer:
Cause
No instrumentation beyond
tracing::info!log lines. Logs are unstructured; aggregation is grep.Proposed fix
tracingspans on the 4 hot RPCs (list_documents,create_editor_session,get_document,save_document) + theupload_document/delete_documentwe just added./metricsendpoint on hero_office_ui (Prometheus text format) or ametricsJSON-RPC method on hero_office_server. Counters: rpc_calls_total, rpc_errors_total. Histograms: rpc_duration_ms, save_size_bytes.metricscrate +metrics-exporter-prometheus.Acceptance