elastic/kibana

[APM] JSON formatting for database spans

Open

#107,751 opened on Aug 5, 2021

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

Repository metrics

Stars
 (19,065 stars)
PR merge metrics
 (Avg merge 1d 16h) (999 merged PRs in 30d)

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