elastic/kibana

[APM] JSON formatting for database spans

Open

#107,751 opened on Aug 5, 2021

View on GitHub
 (10 comments) (0 reactions) (0 assignees)TypeScript (19,065 stars) (8,021 forks)batch import
Team:obs-ux-infra_services - DEPRECATEDenhancementgood first issuestale

Description

Related https://github.com/elastic/apm-agent-nodejs/issues/2019

We show queries for spans with type db, but if it's not SQL it just renders this text field:

image

Figure out if we can determine if the query language is JSON, and give it pretty formatting and highlighting in these cases.

Contributor guide