Skip to content

Commit 6c5bbe0

Browse files
congxitravilyu
congxi
authored andcommitted
[feature] flame graph units update
**Phenomenon and reproduction steps** **Root cause and solution** **Impactions** **Test method** * master **Affected branch(es)** * main **Checklist** - [ ] Dependencies update required - [ ] Common bug (similar problem in other repo)
1 parent 98d19a8 commit 6c5bbe0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deepflow-querier-datasource/pkg/plugin/datasource.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ func (d *Datasource) query(ctx context.Context, pCtx backend.PluginContext, quer
311311
return response, fmt.Errorf("unexpected type for %v, assertion failed for float64, type %T", subValue[j], subValue[j])
312312

313313
}
314+
if column != "level" {
315+
floatValue *= 1000
316+
}
314317
dataAll[filed_name] = append(slice, floatValue)
315318
} else {
316319
return response, fmt.Errorf("unexpected type for %v, assertion failed, type %T", subValue[j], subValue[j])

0 commit comments

Comments
 (0)