automatic-graphql-transaction-naming-for-new-relic
automatic-graphql-transaction-naming-for-new-relic copied to clipboard
[BUG] Double Slash `\\` in transaction names causes escape character issues in the new APM UI
SELECT count(*), sum(duration) as sum, average(duration) as average FROM PageView WHERE (appId= "x"and name = 'WebTransaction/Custom/GraphQl/Controller/GraphQl\\Query\\Multiple') FACET `browserTransactionName` LIMIT MAX SINCE 3600 seconds AGO
The error I get out of the new GraphQl UI looks like
{
"data": {
"actor": {
"__typename": "Actor",
"account": {
"__typename": "Account",
"browsernrql": null,
"id": x
}
}
},
"errors": [
{
"extensions": {
"errorClass": "INVALID_INPUT"
},
"locations": [
{
"column": 128,
"line": 1
}
],
"message": "NRQL Syntax Error: Error at line 1 position 119, perhaps unterminated '",
"path": [
"actor",
"account",
"browsernrql"
]
}
]
}