[Bug] Metrics Exported by Temporal Client's metrics Handler does not match with the ones used in SDK Metrics json file
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- go, grafana, prometheus
- Área
- observability
Línea de trabajo
Empieza con el JSON del dashboard de métricas del SDK y compara sus expresiones de Prometheus con los nombres de métricas exportados por el handler de métricas de Temporal Client. Usa el mapeo de reemplazo del issue para identificar discrepancias y, a continuación, verifica que los paneles de Grafana actualizados devuelvan datos con la configuración de Docker indicada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What are you really trying to do?
I'm trying to load test temporal and see the useful metrics which can tell about how my self hosted temporal deployment is working at scale. All of temporal SDK metrics are getting listed in Grafana's metrics browser, but when I try to Visualise them by importing the SDK dashboard json file, most of the charts are just empty(No data).
Only after changing the name of these metrics used in the expression I'm able to see these graph on dashboard.
Describe the bug
The name of metrics exported by temporal Client's metrics handler does not match with the ones used in JSON file for Grafana Dashboard.
Importing the SDK metrics I see this
After changing the name of metrics used in expression
Environment/Versions
I'm using temporal in local machine setup using docker, The Grafana and Prometheus have also been setup with docker.
I'm using Golang and these are the Temporal SDK version I'm using:
go.temporal.io/api v1.19.1-0.20230322213042-07fb271d475b
go.temporal.io/sdk v1.22.1
go.temporal.io/sdk/contrib/tally v0.2.0
Additional context
I wanted to know If I'm doing something wrong here or I need to do some additional changes in order to see the metrics using the dashboard JSON file.
Attaching the replacement keys used for getting these metrics shown up in Grafana Dashboard, as It can be helpful or someone else.
{
"existing_key_in_json_file": "needs to be replaced with below values",
"temporal_request": "temporal_request_total",
"temporal_request_latency_bucket": "temporal_request_latency_seconds_bucket",
"temporal_workflow_completed": "temporal_workflow_completed_total",
"temporal_workflow_failed": "temporal_workflow_failed_total",
"temporal_workflow_endtoend_latency_bucket": "temporal_workflow_endtoend_latency_seconds_bucket",
"temporal_workflow_task_queue_poll_succeed": "temporal_workflow_task_queue_poll_succeed_total",
"temporal_workflow_task_queue_poll_empty": "temporal_workflow_task_queue_poll_empty_total",
"temporal_workflow_task_schedule_to_start_latency_bucket": "temporal_workflow_task_schedule_to_start_latency_seconds_bucket",
"temporal_workflow_task_execution_latency_bucket": "temporal_workflow_task_execution_latency_seconds_bucket",
"temporal_workflow_task_replay_latency_bucket": "temporal_workflow_task_replay_latency_seconds_bucket",
"temporal_activity_execution_latency_count": "temporal_activity_execution_latency_seconds_count",
"temporal_activity_execution_failed": "temporal_activity_execution_failed_total",
"temporal_activity_execution_latency_bucket": "temporal_activity_execution_latency_seconds_bucket",
"temporal_activity_poll_no_task": "temporal_activity_poll_no_task_total",
"temporal_activity_schedule_to_start_latency_bucket": "temporal_activity_schedule_to_start_latency_seconds_bucket"
}
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 140
- Forks
- 51
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de temporalio/observability-examples
-
[Feature Request] Prometheus-based SDK Metrics Dashboard: Metric Names Out of Sync With Documentation & ExportsPosiblemente ocupada @keerthi7788 la tomó hace 79 días. Abiertoenhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
temporalio/observability-examples#75 · 1 reacción ·
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
[Bug] probable incorrect prometheus query on "State Transitions" panel used for measuring state transitions per secondQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
the poller has no targetsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
temporalio/observability-examples#42 · 1 reacción ·
Todos los issues de temporalio/observability-examples
Issues similares
-
clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P2 security
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
openclaw/openclaw#211830 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
NVIDIA-NeMo/nemo-helix#4561 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Arize-ai/openinference#4530 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
area:dashboards bug priority:low ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
jdrouet/tinyobserve#260 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
fix(metrics): nil pointer dereference panic in serverPing when OBA returns HTTP 200 with JSON nullPosiblemente ocupada @KrishSharma4406 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
OneBusAway/watchdog#541 · 1 comentario ·
Los mantenedores suelen responder en 1 día