Skip to content

Commit 802b651

Browse files
twou12031travilyu
authored andcommitted
[bugfix] querier datasource, throw error when use tracing with old version server
**Phenomenon and reproduction steps** none **Root cause and solution** none **Impactions** none **Test method** none **Affected branch(es)** - main **Checklist** - [ ] Dependencies update required - [ ] Common bug (similar problem in other repo)
1 parent c6cc354 commit 802b651

File tree

1 file changed

+1
-1
lines changed
  • deepflow-querier-datasource/src/utils

1 file changed

+1
-1
lines changed

deepflow-querier-datasource/src/utils/tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export function getTracingQuery({ metrics, tags }: any) {
387387

388388
const _tags = tags
389389
.filter((e: any) => {
390-
return !e.not_supported_operators.includes('select')
390+
return !e?.not_supported_operators.includes('select')
391391
})
392392
.map((e: any) => {
393393
const isEnumLikely = isEnumLikelyTag(e)

0 commit comments

Comments
 (0)