Commit d06a87b 1 parent a29782e commit d06a87b Copy full SHA for d06a87b
File tree 1 file changed +3
-3
lines changed
packages/swingset-runner/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ const AUTOBENCH_METRICS_URL = process.env.AUTOBENCH_METRICS_URL;
7
7
const AUTOBENCH_METRICS = [
8
8
{
9
9
key : 'cranks' ,
10
- metricType : 'count ' ,
10
+ metricType : 'counter ' ,
11
11
name : 'autobench_cranks_total' ,
12
12
description : 'Total number of cranks' ,
13
13
} ,
14
14
{
15
15
key : 'rounds' ,
16
- metricType : 'count ' ,
16
+ metricType : 'counter ' ,
17
17
name : 'autobench_rounds_total' ,
18
18
description : 'Total number of rounds' ,
19
19
} ,
@@ -162,7 +162,7 @@ function generateMetricsFromBenchStats(benchStats) {
162
162
const obj = JSON . parse ( benchStats ) ;
163
163
const mainLabels = [ [ 'phase' , 'prime' ] ] ;
164
164
const benchmarkLabels = [ [ 'phase' , 'bench' ] ] ;
165
- let metrics = generateCommonMetrics ( benchStats , {
165
+ let metrics = generateCommonMetrics ( obj , {
166
166
main : mainLabels ,
167
167
benchmark : benchmarkLabels ,
168
168
} ) ;
You can’t perform that action at this time.
0 commit comments