elastic / elastic/apm-agent-python
Time spent by span type to show external calls, not group on http
- Lenguaje dominante
- Python
- Estrellas
- 431
- Forks
- 239
- Merge medio
- 5 d 10 h
- PR fusionados (30 d)
- 7
Descripción
**Is your feature request related to a problem? Please describe.**
We work on microservice-based architecture where one service might be calling 3-4 other services. All these calls are getting logged in APM span but are grouped under `http`
**Describe the solution you'd like**
If one service is calling 2 other services or some external API calls like google API etc then they must be a part of the graph that shows time spent by each span. The same information should be available at the transaction level as well to identify anomalies due to calls from internal or external calls.
Currently, there is no way to know which API call was responsible for increased response time. The same information is also not available at Kibana Lens since elastic APM does not bind the transaction name with the request but the transaction id.
**Additional context**
below is an example of a service that makes calls to 11 internal/external calls. But from the graph attached these all are grouped under HTTP. So far what I have understood is that calls are grouped under sub_type of a transacton.

Guía de contribución
Línea de trabajo
El issue no menciona archivos, pruebas ni puntos de entrada. Empieza por reproducir el servicio reportado con múltiples llamadas internas y externas, e inspecciona cómo se agrupan los spans bajo `http`; el trabajo estará terminado cuando el gráfico de tiempo empleado y la vista a nivel de transacción distingan esas llamadas y expongan la misma información para su análisis.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- observability-sre
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100