Skip to content

Commit

Permalink
fix: Add missing tag in Influx datatype header (#197)
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 authored Nov 14, 2023
1 parent 12c3fb6 commit d632894
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 d632894

Please sign in to comment.