[APM] 500 while fetching linked span without span.subtype #202370
Labels
apm
bug
Fixes for quality problems that affect the customer experience
Team:APM - DEPRECATED
Use Team:obs-ux-infra_services.
Describe the bug:
In the thread a potential issue with
:kbn/internal/apm/traces/{traceId}/span_links/{spanId}/children
endpoint was unraveled. In which while fetching linked spans APM UI will assume thatspan.subtype
is a required field and fail when the field is not set, see the required fields definition in the code.Steps to reproduce:
subtype
.Expected behavior:
Either
span.subtype
shouldn't be a required field or this error should be handled gracefully by filtering out spans which don't have the field.Screenshots (if relevant):
Provide logs and/or server output (if relevant):
GET :kbn/internal/apm/traces/{traceId}/span_links/{spanId}/children
Any additional context:
An example go script to ingest the data.
The text was updated successfully, but these errors were encountered: