Skip to content

Commit

Permalink
[feature] flame graph units update
Browse files Browse the repository at this point in the history
**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)
  • Loading branch information
congxi committed Aug 23, 2024
1 parent e19e2e3 commit 924b62d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deepflow-querier-datasource/pkg/plugin/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ func (d *Datasource) query(ctx context.Context, pCtx backend.PluginContext, quer
return response, fmt.Errorf("unexpected type for %v, assertion failed for float64, type %T", subValue[j], subValue[j])

}
if column != "level" {
floatValue *= 1000
}
dataAll[filed_name] = append(slice, floatValue)
} else {
return response, fmt.Errorf("unexpected type for %v, assertion failed, type %T", subValue[j], subValue[j])
Expand Down

0 comments on commit 924b62d

Please sign in to comment.