Skip to content

Commit

Permalink
fix: db
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Jun 22, 2022
1 parent 3501184 commit 1fcac7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruments/CDSServiceInstrumentation.ts
Expand Up @@ -69,7 +69,7 @@ export class CDSServiceInstrumentation extends CDSBaseServiceInstrumentation {
const spanParts = [
kind,
name,
req?.event ?? Object.keys(req?.query ?? {})?.[0],
req?.event ?? (req?.query instanceof Array ? "MULTI OPERATION" : Object.keys(req?.query ?? {})?.[0]),
req?.target?.name ?? getEntityNameFromQuery(req?.query),
].filter(Boolean);

Expand Down

0 comments on commit 1fcac7e

Please sign in to comment.