mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: Fix invalid valueExpression (#1161)
This commit is contained in:
parent
cd5cc7d2c5
commit
e7b590cc59
2 changed files with 7 additions and 2 deletions
5
.changeset/rotten-pigs-invite.md
Normal file
5
.changeset/rotten-pigs-invite.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@hyperdx/common-utils": patch
|
||||
---
|
||||
|
||||
fix: Fix invalid valueExpression
|
||||
|
|
@ -962,8 +962,8 @@ async function translateMetricChartConfig(
|
|||
);
|
||||
|
||||
const bucketValueExpr = _select.isDelta
|
||||
? renderDeltaExpression(chartConfig, _select.valueExpression)
|
||||
: `last_value(${_select.valueExpression})`;
|
||||
? renderDeltaExpression(chartConfig, 'Value')
|
||||
: `last_value(Value)`;
|
||||
|
||||
return {
|
||||
...restChartConfig,
|
||||
|
|
|
|||
Loading…
Reference in a new issue