Skip to content

Commit

Permalink
Add missing tag datatype header
Browse files Browse the repository at this point in the history
The datatype header should have 14 values to match the 14 column headers.
  • Loading branch information
clackary committed Nov 9, 2023
1 parent 070dee3 commit f564019
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class InfluxCSVFormatter {
let memory = machine.memory

if header {
let dataTypeHeader = "#datatype tag,tag,tag,tag,tag,tag,tag,tag,double,double,long,long,dateTime\n"
let dataTypeHeader = "#datatype tag,tag,tag,tag,tag,tag,tag,tag,tag,double,double,long,long,dateTime\n"
finalFileFormat.append(dataTypeHeader)
let headers = "measurement,hostName,processoryType,processors,memory,kernelVersion,metric,unit,test,value,test_average,iterations,warmup_iterations,time\n"
finalFileFormat.append(headers)
Expand Down

0 comments on commit f564019

Please sign in to comment.