summarylogtreecommitdiffstats
path: root/delimiter.patch
blob: a521c77cbb3eae226f03d85dd923ef766c66b0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/writer.go b/writer.go
index eb52e92..b8e18f8 100644
--- a/writer.go
+++ b/writer.go
@@ -33,7 +33,7 @@ func csvWriter(w io.Writer, results []Result) error {
 	for _, time := range times {
 		fmt.Fprint(w, time)
 		for _, result := range results {
-			fmt.Fprint(w, ";"+result.Values[time])
+			fmt.Fprint(w, ","+result.Values[time])
 		}
 		fmt.Fprintln(w)
 	}
@@ -51,7 +51,7 @@ func csvHeaderWriter(w io.Writer, results []Result) error {
 		header = append(header, result.Metric)
 	}
 
-	fmt.Fprintln(w, strings.Join(header, ";"))
+	fmt.Fprintln(w, strings.Join(header, ","))
 	return nil
 }