Enable bench and fix upload-perf

This commit is contained in:
Stephen Akridge
2018-09-24 10:20:58 -07:00
committed by sakridge
parent 35e6343d61
commit 6cdbdfbbcb
6 changed files with 16 additions and 17 deletions

View File

@@ -35,7 +35,7 @@ fn main() {
let median = v["median"].to_string().parse().unwrap();
let deviation = v["deviation"].to_string().parse().unwrap();
metrics::submit(
influxdb::Point::new(&v["name"].to_string())
influxdb::Point::new(&v["name"].as_str().unwrap().trim_matches('\"'))
.add_field("median", influxdb::Value::Integer(median))
.add_field("deviation", influxdb::Value::Integer(deviation))
.add_field(