mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: Add SPAN_KIND_ values to service map filters (#1513)
Closes #1512 Closes HDX-3100 # Summary This PR adds additional valid server/client/producer/consumer span kind values to the service map query.
This commit is contained in:
parent
141b4969b6
commit
d5181b6a67
2 changed files with 7 additions and 2 deletions
5
.changeset/cuddly-buttons-deliver.md
Normal file
5
.changeset/cuddly-buttons-deliver.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/app": patch
|
||||
---
|
||||
|
||||
fix: Add SPAN_KIND_ values to service map filters
|
||||
|
|
@ -88,7 +88,7 @@ async function getServiceMapQuery({
|
|||
...baseCTEConfig.filters,
|
||||
{
|
||||
type: 'sql',
|
||||
condition: `${source.spanKindExpression} IN ('Server', 'Consumer')`,
|
||||
condition: `${source.spanKindExpression} IN ('Server', 'Consumer', 'SPAN_KIND_SERVER', 'SPAN_KIND_CONSUMER')`,
|
||||
},
|
||||
],
|
||||
where: '',
|
||||
|
|
@ -102,7 +102,7 @@ async function getServiceMapQuery({
|
|||
...baseCTEConfig.filters,
|
||||
{
|
||||
type: 'sql',
|
||||
condition: `${source.spanKindExpression} IN ('Client', 'Producer')`,
|
||||
condition: `${source.spanKindExpression} IN ('Client', 'Producer', 'SPAN_KIND_CLIENT', 'SPAN_KIND_PRODUCER')`,
|
||||
},
|
||||
],
|
||||
where: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue