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:
Drew Davis 2025-12-29 10:55:26 -05:00 committed by GitHub
parent 141b4969b6
commit d5181b6a67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---
fix: Add SPAN_KIND_ values to service map filters

View file

@ -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: '',